From 243829de0ad677a3b6f9d630d53c327c5317e273 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Fri, 19 Jul 2019 10:58:22 -0700 Subject: [PATCH 1/5] [AutoPR datafactory/resource-manager] [DataFactory]Add AzurePostgreSql Sink and Oracle/SapTable/Netezza Partitions and Several Relational sets (#5302) * Generated from 286bc89ff8d226f2a683dcb48a896b8ffb3f348e remove SapBwCube and Sybase for investigation * Generated from 75bd5a9689dac5c2bb8f5828cfcb24e1a28a5950 will postpone SapBwSource in another coming PR. * Generated from 7f632e8ccaca0bd5ab8a44832710d1a3cc19e39f refine case of Oracle in description --- .../datafactory/mgmt/datafactory/models.go | 259 +- .../datafactory/mgmt/datafactory/models.go | 259 +- .../datafactory/mgmt/datafactory/models.go | 14 + .../2018-06-01/datafactory/activityruns.go | 4 +- .../mgmt/2018-06-01/datafactory/datasets.go | 16 +- .../2018-06-01/datafactory/exposurecontrol.go | 8 +- .../mgmt/2018-06-01/datafactory/factories.go | 36 +- .../datafactory/integrationruntimenodes.go | 16 +- .../integrationruntimeobjectmetadata.go | 8 +- .../datafactory/integrationruntimes.go | 64 +- .../2018-06-01/datafactory/linkedservices.go | 16 +- .../mgmt/2018-06-01/datafactory/models.go | 130594 +++++++++------ .../mgmt/2018-06-01/datafactory/operations.go | 4 +- .../2018-06-01/datafactory/pipelineruns.go | 12 +- .../mgmt/2018-06-01/datafactory/pipelines.go | 20 +- .../2018-06-01/datafactory/reruntriggers.go | 20 +- .../2018-06-01/datafactory/triggerruns.go | 4 +- .../mgmt/2018-06-01/datafactory/triggers.go | 24 +- .../datafactory/activityruns.go | 4 +- .../datafactory/datasets.go | 16 +- .../datafactory/factories.go | 32 +- .../datafactory/integrationruntimenodes.go | 12 +- .../datafactory/integrationruntimes.go | 60 +- .../datafactory/linkedservices.go | 16 +- .../2017-09-01-preview/datafactory/models.go | 258 + .../datafactory/operations.go | 4 +- .../datafactory/pipelineruns.go | 8 +- .../datafactory/pipelines.go | 20 +- .../datafactory/triggers.go | 28 +- 29 files changed, 82687 insertions(+), 49149 deletions(-) diff --git a/profiles/latest/datafactory/mgmt/datafactory/models.go b/profiles/latest/datafactory/mgmt/datafactory/models.go index e11830457f29..fd5d5138ce9b 100644 --- a/profiles/latest/datafactory/mgmt/datafactory/models.go +++ b/profiles/latest/datafactory/mgmt/datafactory/models.go @@ -126,6 +126,20 @@ const ( Succeeded DependencyCondition = original.Succeeded ) +type DynamicsAuthenticationType = original.DynamicsAuthenticationType + +const ( + Ifd DynamicsAuthenticationType = original.Ifd + Office365 DynamicsAuthenticationType = original.Office365 +) + +type DynamicsDeploymentType = original.DynamicsDeploymentType + +const ( + Online DynamicsDeploymentType = original.Online + OnPremisesWithIfd DynamicsDeploymentType = original.OnPremisesWithIfd +) + type FtpAuthenticationType = original.FtpAuthenticationType const ( @@ -260,16 +274,16 @@ const ( type IntegrationRuntimeState = original.IntegrationRuntimeState const ( - AccessDenied IntegrationRuntimeState = original.AccessDenied - Initial IntegrationRuntimeState = original.Initial - Limited IntegrationRuntimeState = original.Limited - NeedRegistration IntegrationRuntimeState = original.NeedRegistration - Offline IntegrationRuntimeState = original.Offline - Online IntegrationRuntimeState = original.Online - Started IntegrationRuntimeState = original.Started - Starting IntegrationRuntimeState = original.Starting - Stopped IntegrationRuntimeState = original.Stopped - Stopping IntegrationRuntimeState = original.Stopping + IntegrationRuntimeStateAccessDenied IntegrationRuntimeState = original.IntegrationRuntimeStateAccessDenied + IntegrationRuntimeStateInitial IntegrationRuntimeState = original.IntegrationRuntimeStateInitial + IntegrationRuntimeStateLimited IntegrationRuntimeState = original.IntegrationRuntimeStateLimited + IntegrationRuntimeStateNeedRegistration IntegrationRuntimeState = original.IntegrationRuntimeStateNeedRegistration + IntegrationRuntimeStateOffline IntegrationRuntimeState = original.IntegrationRuntimeStateOffline + IntegrationRuntimeStateOnline IntegrationRuntimeState = original.IntegrationRuntimeStateOnline + IntegrationRuntimeStateStarted IntegrationRuntimeState = original.IntegrationRuntimeStateStarted + IntegrationRuntimeStateStarting IntegrationRuntimeState = original.IntegrationRuntimeStateStarting + IntegrationRuntimeStateStopped IntegrationRuntimeState = original.IntegrationRuntimeStateStopped + IntegrationRuntimeStateStopping IntegrationRuntimeState = original.IntegrationRuntimeStateStopping ) type IntegrationRuntimeType = original.IntegrationRuntimeType @@ -290,10 +304,10 @@ const ( type ManagedIntegrationRuntimeNodeStatus = original.ManagedIntegrationRuntimeNodeStatus const ( - ManagedIntegrationRuntimeNodeStatusAvailable ManagedIntegrationRuntimeNodeStatus = original.ManagedIntegrationRuntimeNodeStatusAvailable - ManagedIntegrationRuntimeNodeStatusRecycling ManagedIntegrationRuntimeNodeStatus = original.ManagedIntegrationRuntimeNodeStatusRecycling - ManagedIntegrationRuntimeNodeStatusStarting ManagedIntegrationRuntimeNodeStatus = original.ManagedIntegrationRuntimeNodeStatusStarting - ManagedIntegrationRuntimeNodeStatusUnavailable ManagedIntegrationRuntimeNodeStatus = original.ManagedIntegrationRuntimeNodeStatusUnavailable + Available ManagedIntegrationRuntimeNodeStatus = original.Available + Recycling ManagedIntegrationRuntimeNodeStatus = original.Recycling + Starting ManagedIntegrationRuntimeNodeStatus = original.Starting + Unavailable ManagedIntegrationRuntimeNodeStatus = original.Unavailable ) type MongoDbAuthenticationType = original.MongoDbAuthenticationType @@ -303,6 +317,14 @@ const ( MongoDbAuthenticationTypeBasic MongoDbAuthenticationType = original.MongoDbAuthenticationTypeBasic ) +type NetezzaPartitionOption = original.NetezzaPartitionOption + +const ( + NetezzaPartitionOptionDataSlice NetezzaPartitionOption = original.NetezzaPartitionOptionDataSlice + NetezzaPartitionOptionDynamicRange NetezzaPartitionOption = original.NetezzaPartitionOptionDynamicRange + NetezzaPartitionOptionNone NetezzaPartitionOption = original.NetezzaPartitionOptionNone +) + type ODataAadServicePrincipalCredentialType = original.ODataAadServicePrincipalCredentialType const ( @@ -320,6 +342,14 @@ const ( ODataAuthenticationTypeWindows ODataAuthenticationType = original.ODataAuthenticationTypeWindows ) +type OraclePartitionOption = original.OraclePartitionOption + +const ( + OraclePartitionOptionDynamicRange OraclePartitionOption = original.OraclePartitionOptionDynamicRange + OraclePartitionOptionNone OraclePartitionOption = original.OraclePartitionOptionNone + OraclePartitionOptionPhysicalPartitionsOfTable OraclePartitionOption = original.OraclePartitionOptionPhysicalPartitionsOfTable +) + type ParameterType = original.ParameterType const ( @@ -450,6 +480,17 @@ const ( SapHanaAuthenticationTypeWindows SapHanaAuthenticationType = original.SapHanaAuthenticationTypeWindows ) +type SapTablePartitionOption = original.SapTablePartitionOption + +const ( + SapTablePartitionOptionNone SapTablePartitionOption = original.SapTablePartitionOptionNone + SapTablePartitionOptionPartitionOnCalendarDate SapTablePartitionOption = original.SapTablePartitionOptionPartitionOnCalendarDate + SapTablePartitionOptionPartitionOnCalendarMonth SapTablePartitionOption = original.SapTablePartitionOptionPartitionOnCalendarMonth + SapTablePartitionOptionPartitionOnCalendarYear SapTablePartitionOption = original.SapTablePartitionOptionPartitionOnCalendarYear + SapTablePartitionOptionPartitionOnInt SapTablePartitionOption = original.SapTablePartitionOptionPartitionOnInt + SapTablePartitionOptionPartitionOnTime SapTablePartitionOption = original.SapTablePartitionOptionPartitionOnTime +) + type SelfHostedIntegrationRuntimeNodeStatus = original.SelfHostedIntegrationRuntimeNodeStatus const ( @@ -510,6 +551,13 @@ const ( Project SsisObjectMetadataType = original.Project ) +type SsisPackageLocationType = original.SsisPackageLocationType + +const ( + File SsisPackageLocationType = original.File + SSISDB SsisPackageLocationType = original.SSISDB +) + type StoredProcedureParameterType = original.StoredProcedureParameterType const ( @@ -536,6 +584,14 @@ const ( TeradataAuthenticationTypeWindows TeradataAuthenticationType = original.TeradataAuthenticationTypeWindows ) +type TeradataPartitionOption = original.TeradataPartitionOption + +const ( + TeradataPartitionOptionDynamicRange TeradataPartitionOption = original.TeradataPartitionOptionDynamicRange + TeradataPartitionOptionHash TeradataPartitionOption = original.TeradataPartitionOptionHash + TeradataPartitionOptionNone TeradataPartitionOption = original.TeradataPartitionOptionNone +) + type TriggerRunStatus = original.TriggerRunStatus const ( @@ -547,9 +603,9 @@ const ( type TriggerRuntimeState = original.TriggerRuntimeState const ( - TriggerRuntimeStateDisabled TriggerRuntimeState = original.TriggerRuntimeStateDisabled - TriggerRuntimeStateStarted TriggerRuntimeState = original.TriggerRuntimeStateStarted - TriggerRuntimeStateStopped TriggerRuntimeState = original.TriggerRuntimeStateStopped + Disabled TriggerRuntimeState = original.Disabled + Started TriggerRuntimeState = original.Started + Stopped TriggerRuntimeState = original.Stopped ) type TumblingWindowFrequency = original.TumblingWindowFrequency @@ -608,28 +664,36 @@ const ( type TypeBasicCopySink = original.TypeBasicCopySink const ( - TypeAzureBlobFSSink TypeBasicCopySink = original.TypeAzureBlobFSSink - TypeAzureDataExplorerSink TypeBasicCopySink = original.TypeAzureDataExplorerSink - TypeAzureDataLakeStoreSink TypeBasicCopySink = original.TypeAzureDataLakeStoreSink - TypeAzureQueueSink TypeBasicCopySink = original.TypeAzureQueueSink - TypeAzureSearchIndexSink TypeBasicCopySink = original.TypeAzureSearchIndexSink - TypeAzureSQLSink TypeBasicCopySink = original.TypeAzureSQLSink - TypeAzureTableSink TypeBasicCopySink = original.TypeAzureTableSink - TypeBlobSink TypeBasicCopySink = original.TypeBlobSink - TypeCopySink TypeBasicCopySink = original.TypeCopySink - TypeCosmosDbMongoDbAPISink TypeBasicCopySink = original.TypeCosmosDbMongoDbAPISink - TypeDelimitedTextSink TypeBasicCopySink = original.TypeDelimitedTextSink - TypeDocumentDbCollectionSink TypeBasicCopySink = original.TypeDocumentDbCollectionSink - TypeDynamicsSink TypeBasicCopySink = original.TypeDynamicsSink - TypeFileSystemSink TypeBasicCopySink = original.TypeFileSystemSink - TypeOdbcSink TypeBasicCopySink = original.TypeOdbcSink - TypeOracleSink TypeBasicCopySink = original.TypeOracleSink - TypeParquetSink TypeBasicCopySink = original.TypeParquetSink - TypeSalesforceSink TypeBasicCopySink = original.TypeSalesforceSink - TypeSapCloudForCustomerSink TypeBasicCopySink = original.TypeSapCloudForCustomerSink - TypeSQLDWSink TypeBasicCopySink = original.TypeSQLDWSink - TypeSQLServerSink TypeBasicCopySink = original.TypeSQLServerSink - TypeSQLSink TypeBasicCopySink = original.TypeSQLSink + TypeAzureBlobFSSink TypeBasicCopySink = original.TypeAzureBlobFSSink + TypeAzureDataExplorerSink TypeBasicCopySink = original.TypeAzureDataExplorerSink + TypeAzureDataLakeStoreSink TypeBasicCopySink = original.TypeAzureDataLakeStoreSink + TypeAzurePostgreSQLSink TypeBasicCopySink = original.TypeAzurePostgreSQLSink + TypeAzureQueueSink TypeBasicCopySink = original.TypeAzureQueueSink + TypeAzureSearchIndexSink TypeBasicCopySink = original.TypeAzureSearchIndexSink + TypeAzureSQLSink TypeBasicCopySink = original.TypeAzureSQLSink + TypeAzureTableSink TypeBasicCopySink = original.TypeAzureTableSink + TypeBinarySink TypeBasicCopySink = original.TypeBinarySink + TypeBlobSink TypeBasicCopySink = original.TypeBlobSink + TypeCommonDataServiceForAppsSink TypeBasicCopySink = original.TypeCommonDataServiceForAppsSink + TypeCopySink TypeBasicCopySink = original.TypeCopySink + TypeCosmosDbMongoDbAPISink TypeBasicCopySink = original.TypeCosmosDbMongoDbAPISink + TypeDelimitedTextSink TypeBasicCopySink = original.TypeDelimitedTextSink + TypeDocumentDbCollectionSink TypeBasicCopySink = original.TypeDocumentDbCollectionSink + TypeDynamicsCrmSink TypeBasicCopySink = original.TypeDynamicsCrmSink + TypeDynamicsSink TypeBasicCopySink = original.TypeDynamicsSink + TypeFileSystemSink TypeBasicCopySink = original.TypeFileSystemSink + TypeInformixSink TypeBasicCopySink = original.TypeInformixSink + TypeMicrosoftAccessSink TypeBasicCopySink = original.TypeMicrosoftAccessSink + TypeOdbcSink TypeBasicCopySink = original.TypeOdbcSink + TypeOracleSink TypeBasicCopySink = original.TypeOracleSink + TypeParquetSink TypeBasicCopySink = original.TypeParquetSink + TypeSalesforceServiceCloudSink TypeBasicCopySink = original.TypeSalesforceServiceCloudSink + TypeSalesforceSink TypeBasicCopySink = original.TypeSalesforceSink + TypeSapCloudForCustomerSink TypeBasicCopySink = original.TypeSapCloudForCustomerSink + TypeSQLDWSink TypeBasicCopySink = original.TypeSQLDWSink + TypeSQLMISink TypeBasicCopySink = original.TypeSQLMISink + TypeSQLServerSink TypeBasicCopySink = original.TypeSQLServerSink + TypeSQLSink TypeBasicCopySink = original.TypeSQLSink ) type TypeBasicCopySource = original.TypeBasicCopySource @@ -644,16 +708,20 @@ const ( TypeAzurePostgreSQLSource TypeBasicCopySource = original.TypeAzurePostgreSQLSource TypeAzureSQLSource TypeBasicCopySource = original.TypeAzureSQLSource TypeAzureTableSource TypeBasicCopySource = original.TypeAzureTableSource + TypeBinarySource TypeBasicCopySource = original.TypeBinarySource TypeBlobSource TypeBasicCopySource = original.TypeBlobSource TypeCassandraSource TypeBasicCopySource = original.TypeCassandraSource + TypeCommonDataServiceForAppsSource TypeBasicCopySource = original.TypeCommonDataServiceForAppsSource TypeConcurSource TypeBasicCopySource = original.TypeConcurSource TypeCopySource TypeBasicCopySource = original.TypeCopySource TypeCosmosDbMongoDbAPISource TypeBasicCopySource = original.TypeCosmosDbMongoDbAPISource TypeCouchbaseSource TypeBasicCopySource = original.TypeCouchbaseSource + TypeDb2Source TypeBasicCopySource = original.TypeDb2Source TypeDelimitedTextSource TypeBasicCopySource = original.TypeDelimitedTextSource TypeDocumentDbCollectionSource TypeBasicCopySource = original.TypeDocumentDbCollectionSource TypeDrillSource TypeBasicCopySource = original.TypeDrillSource TypeDynamicsAXSource TypeBasicCopySource = original.TypeDynamicsAXSource + TypeDynamicsCrmSource TypeBasicCopySource = original.TypeDynamicsCrmSource TypeDynamicsSource TypeBasicCopySource = original.TypeDynamicsSource TypeEloquaSource TypeBasicCopySource = original.TypeEloquaSource TypeFileSystemSource TypeBasicCopySource = original.TypeFileSystemSource @@ -666,25 +734,32 @@ const ( TypeHTTPSource TypeBasicCopySource = original.TypeHTTPSource TypeHubspotSource TypeBasicCopySource = original.TypeHubspotSource TypeImpalaSource TypeBasicCopySource = original.TypeImpalaSource + TypeInformixSource TypeBasicCopySource = original.TypeInformixSource TypeJiraSource TypeBasicCopySource = original.TypeJiraSource TypeMagentoSource TypeBasicCopySource = original.TypeMagentoSource TypeMariaDBSource TypeBasicCopySource = original.TypeMariaDBSource TypeMarketoSource TypeBasicCopySource = original.TypeMarketoSource + TypeMicrosoftAccessSource TypeBasicCopySource = original.TypeMicrosoftAccessSource TypeMongoDbSource TypeBasicCopySource = original.TypeMongoDbSource TypeMongoDbV2Source TypeBasicCopySource = original.TypeMongoDbV2Source + TypeMySQLSource TypeBasicCopySource = original.TypeMySQLSource TypeNetezzaSource TypeBasicCopySource = original.TypeNetezzaSource + TypeODataSource TypeBasicCopySource = original.TypeODataSource + TypeOdbcSource TypeBasicCopySource = original.TypeOdbcSource TypeOffice365Source TypeBasicCopySource = original.TypeOffice365Source TypeOracleServiceCloudSource TypeBasicCopySource = original.TypeOracleServiceCloudSource TypeOracleSource TypeBasicCopySource = original.TypeOracleSource TypeParquetSource TypeBasicCopySource = original.TypeParquetSource TypePaypalSource TypeBasicCopySource = original.TypePaypalSource TypePhoenixSource TypeBasicCopySource = original.TypePhoenixSource + TypePostgreSQLSource TypeBasicCopySource = original.TypePostgreSQLSource TypePrestoSource TypeBasicCopySource = original.TypePrestoSource TypeQuickBooksSource TypeBasicCopySource = original.TypeQuickBooksSource TypeRelationalSource TypeBasicCopySource = original.TypeRelationalSource TypeResponsysSource TypeBasicCopySource = original.TypeResponsysSource TypeRestSource TypeBasicCopySource = original.TypeRestSource TypeSalesforceMarketingCloudSource TypeBasicCopySource = original.TypeSalesforceMarketingCloudSource + TypeSalesforceServiceCloudSource TypeBasicCopySource = original.TypeSalesforceServiceCloudSource TypeSalesforceSource TypeBasicCopySource = original.TypeSalesforceSource TypeSapCloudForCustomerSource TypeBasicCopySource = original.TypeSapCloudForCustomerSource TypeSapEccSource TypeBasicCopySource = original.TypeSapEccSource @@ -695,9 +770,12 @@ const ( TypeShopifySource TypeBasicCopySource = original.TypeShopifySource TypeSparkSource TypeBasicCopySource = original.TypeSparkSource TypeSQLDWSource TypeBasicCopySource = original.TypeSQLDWSource + TypeSQLMISource TypeBasicCopySource = original.TypeSQLMISource TypeSQLServerSource TypeBasicCopySource = original.TypeSQLServerSource TypeSQLSource TypeBasicCopySource = original.TypeSQLSource TypeSquareSource TypeBasicCopySource = original.TypeSquareSource + TypeSybaseSource TypeBasicCopySource = original.TypeSybaseSource + TypeTeradataSource TypeBasicCopySource = original.TypeTeradataSource TypeVerticaSource TypeBasicCopySource = original.TypeVerticaSource TypeWebSource TypeBasicCopySource = original.TypeWebSource TypeXeroSource TypeBasicCopySource = original.TypeXeroSource @@ -717,9 +795,12 @@ const ( TypeAzurePostgreSQLTable TypeBasicDataset = original.TypeAzurePostgreSQLTable TypeAzureSearchIndex TypeBasicDataset = original.TypeAzureSearchIndex TypeAzureSQLDWTable TypeBasicDataset = original.TypeAzureSQLDWTable + TypeAzureSQLMITable TypeBasicDataset = original.TypeAzureSQLMITable TypeAzureSQLTable TypeBasicDataset = original.TypeAzureSQLTable TypeAzureTable TypeBasicDataset = original.TypeAzureTable + TypeBinary TypeBasicDataset = original.TypeBinary TypeCassandraTable TypeBasicDataset = original.TypeCassandraTable + TypeCommonDataServiceForAppsEntity TypeBasicDataset = original.TypeCommonDataServiceForAppsEntity TypeConcurObject TypeBasicDataset = original.TypeConcurObject TypeCosmosDbMongoDbAPICollection TypeBasicDataset = original.TypeCosmosDbMongoDbAPICollection TypeCouchbaseTable TypeBasicDataset = original.TypeCouchbaseTable @@ -729,6 +810,7 @@ const ( TypeDocumentDbCollection TypeBasicDataset = original.TypeDocumentDbCollection TypeDrillTable TypeBasicDataset = original.TypeDrillTable TypeDynamicsAXResource TypeBasicDataset = original.TypeDynamicsAXResource + TypeDynamicsCrmEntity TypeBasicDataset = original.TypeDynamicsCrmEntity TypeDynamicsEntity TypeBasicDataset = original.TypeDynamicsEntity TypeEloquaObject TypeBasicDataset = original.TypeEloquaObject TypeFileShare TypeBasicDataset = original.TypeFileShare @@ -740,20 +822,25 @@ const ( TypeHTTPFile TypeBasicDataset = original.TypeHTTPFile TypeHubspotObject TypeBasicDataset = original.TypeHubspotObject TypeImpalaObject TypeBasicDataset = original.TypeImpalaObject + TypeInformixTable TypeBasicDataset = original.TypeInformixTable TypeJiraObject TypeBasicDataset = original.TypeJiraObject TypeMagentoObject TypeBasicDataset = original.TypeMagentoObject TypeMariaDBTable TypeBasicDataset = original.TypeMariaDBTable TypeMarketoObject TypeBasicDataset = original.TypeMarketoObject + TypeMicrosoftAccessTable TypeBasicDataset = original.TypeMicrosoftAccessTable TypeMongoDbCollection TypeBasicDataset = original.TypeMongoDbCollection TypeMongoDbV2Collection TypeBasicDataset = original.TypeMongoDbV2Collection + TypeMySQLTable TypeBasicDataset = original.TypeMySQLTable TypeNetezzaTable TypeBasicDataset = original.TypeNetezzaTable TypeODataResource TypeBasicDataset = original.TypeODataResource + TypeOdbcTable TypeBasicDataset = original.TypeOdbcTable TypeOffice365Table TypeBasicDataset = original.TypeOffice365Table TypeOracleServiceCloudObject TypeBasicDataset = original.TypeOracleServiceCloudObject TypeOracleTable TypeBasicDataset = original.TypeOracleTable TypeParquet TypeBasicDataset = original.TypeParquet TypePaypalObject TypeBasicDataset = original.TypePaypalObject TypePhoenixObject TypeBasicDataset = original.TypePhoenixObject + TypePostgreSQLTable TypeBasicDataset = original.TypePostgreSQLTable TypePrestoObject TypeBasicDataset = original.TypePrestoObject TypeQuickBooksObject TypeBasicDataset = original.TypeQuickBooksObject TypeRelationalTable TypeBasicDataset = original.TypeRelationalTable @@ -761,6 +848,7 @@ const ( TypeRestResource TypeBasicDataset = original.TypeRestResource TypeSalesforceMarketingCloudObject TypeBasicDataset = original.TypeSalesforceMarketingCloudObject TypeSalesforceObject TypeBasicDataset = original.TypeSalesforceObject + TypeSalesforceServiceCloudObject TypeBasicDataset = original.TypeSalesforceServiceCloudObject TypeSapCloudForCustomerResource TypeBasicDataset = original.TypeSapCloudForCustomerResource TypeSapEccResource TypeBasicDataset = original.TypeSapEccResource TypeSapHanaTable TypeBasicDataset = original.TypeSapHanaTable @@ -771,6 +859,7 @@ const ( TypeSparkObject TypeBasicDataset = original.TypeSparkObject TypeSQLServerTable TypeBasicDataset = original.TypeSQLServerTable TypeSquareObject TypeBasicDataset = original.TypeSquareObject + TypeTeradataTable TypeBasicDataset = original.TypeTeradataTable TypeVerticaTable TypeBasicDataset = original.TypeVerticaTable TypeWebTable TypeBasicDataset = original.TypeWebTable TypeXeroObject TypeBasicDataset = original.TypeXeroObject @@ -852,9 +941,11 @@ const ( TypeAzureSearch TypeBasicLinkedService = original.TypeAzureSearch TypeAzureSQLDatabase TypeBasicLinkedService = original.TypeAzureSQLDatabase TypeAzureSQLDW TypeBasicLinkedService = original.TypeAzureSQLDW + TypeAzureSQLMI TypeBasicLinkedService = original.TypeAzureSQLMI TypeAzureStorage TypeBasicLinkedService = original.TypeAzureStorage TypeAzureTableStorage TypeBasicLinkedService = original.TypeAzureTableStorage TypeCassandra TypeBasicLinkedService = original.TypeCassandra + TypeCommonDataServiceForApps TypeBasicLinkedService = original.TypeCommonDataServiceForApps TypeConcur TypeBasicLinkedService = original.TypeConcur TypeCosmosDb TypeBasicLinkedService = original.TypeCosmosDb TypeCosmosDbMongoDbAPI TypeBasicLinkedService = original.TypeCosmosDbMongoDbAPI @@ -864,6 +955,7 @@ const ( TypeDrill TypeBasicLinkedService = original.TypeDrill TypeDynamics TypeBasicLinkedService = original.TypeDynamics TypeDynamicsAX TypeBasicLinkedService = original.TypeDynamicsAX + TypeDynamicsCrm TypeBasicLinkedService = original.TypeDynamicsCrm TypeEloqua TypeBasicLinkedService = original.TypeEloqua TypeFileServer TypeBasicLinkedService = original.TypeFileServer TypeFtpServer TypeBasicLinkedService = original.TypeFtpServer @@ -878,11 +970,13 @@ const ( TypeHTTPServer TypeBasicLinkedService = original.TypeHTTPServer TypeHubspot TypeBasicLinkedService = original.TypeHubspot TypeImpala TypeBasicLinkedService = original.TypeImpala + TypeInformix TypeBasicLinkedService = original.TypeInformix TypeJira TypeBasicLinkedService = original.TypeJira TypeLinkedService TypeBasicLinkedService = original.TypeLinkedService TypeMagento TypeBasicLinkedService = original.TypeMagento TypeMariaDB TypeBasicLinkedService = original.TypeMariaDB TypeMarketo TypeBasicLinkedService = original.TypeMarketo + TypeMicrosoftAccess TypeBasicLinkedService = original.TypeMicrosoftAccess TypeMongoDb TypeBasicLinkedService = original.TypeMongoDb TypeMongoDbV2 TypeBasicLinkedService = original.TypeMongoDbV2 TypeMySQL TypeBasicLinkedService = original.TypeMySQL @@ -901,6 +995,7 @@ const ( TypeRestService TypeBasicLinkedService = original.TypeRestService TypeSalesforce TypeBasicLinkedService = original.TypeSalesforce TypeSalesforceMarketingCloud TypeBasicLinkedService = original.TypeSalesforceMarketingCloud + TypeSalesforceServiceCloud TypeBasicLinkedService = original.TypeSalesforceServiceCloud TypeSapBW TypeBasicLinkedService = original.TypeSapBW TypeSapCloudForCustomer TypeBasicLinkedService = original.TypeSapCloudForCustomer TypeSapEcc TypeBasicLinkedService = original.TypeSapEcc @@ -1047,8 +1142,10 @@ type AzureMySQLTableDataset = original.AzureMySQLTableDataset type AzureMySQLTableDatasetTypeProperties = original.AzureMySQLTableDatasetTypeProperties type AzurePostgreSQLLinkedService = original.AzurePostgreSQLLinkedService type AzurePostgreSQLLinkedServiceTypeProperties = original.AzurePostgreSQLLinkedServiceTypeProperties +type AzurePostgreSQLSink = original.AzurePostgreSQLSink type AzurePostgreSQLSource = original.AzurePostgreSQLSource type AzurePostgreSQLTableDataset = original.AzurePostgreSQLTableDataset +type AzurePostgreSQLTableDatasetTypeProperties = original.AzurePostgreSQLTableDatasetTypeProperties type AzureQueueSink = original.AzureQueueSink type AzureSQLDWLinkedService = original.AzureSQLDWLinkedService type AzureSQLDWLinkedServiceTypeProperties = original.AzureSQLDWLinkedServiceTypeProperties @@ -1056,6 +1153,10 @@ type AzureSQLDWTableDataset = original.AzureSQLDWTableDataset type AzureSQLDWTableDatasetTypeProperties = original.AzureSQLDWTableDatasetTypeProperties type AzureSQLDatabaseLinkedService = original.AzureSQLDatabaseLinkedService type AzureSQLDatabaseLinkedServiceTypeProperties = original.AzureSQLDatabaseLinkedServiceTypeProperties +type AzureSQLMILinkedService = original.AzureSQLMILinkedService +type AzureSQLMILinkedServiceTypeProperties = original.AzureSQLMILinkedServiceTypeProperties +type AzureSQLMITableDataset = original.AzureSQLMITableDataset +type AzureSQLMITableDatasetTypeProperties = original.AzureSQLMITableDatasetTypeProperties type AzureSQLSink = original.AzureSQLSink type AzureSQLSource = original.AzureSQLSource type AzureSQLTableDataset = original.AzureSQLTableDataset @@ -1093,6 +1194,10 @@ type BasicSsisObjectMetadata = original.BasicSsisObjectMetadata type BasicTrigger = original.BasicTrigger type BasicTriggerDependencyReference = original.BasicTriggerDependencyReference type BasicWebLinkedServiceTypeProperties = original.BasicWebLinkedServiceTypeProperties +type BinaryDataset = original.BinaryDataset +type BinaryDatasetTypeProperties = original.BinaryDatasetTypeProperties +type BinarySink = original.BinarySink +type BinarySource = original.BinarySource type BlobEventsTrigger = original.BlobEventsTrigger type BlobEventsTriggerTypeProperties = original.BlobEventsTriggerTypeProperties type BlobSink = original.BlobSink @@ -1106,6 +1211,12 @@ type CassandraTableDataset = original.CassandraTableDataset type CassandraTableDatasetTypeProperties = original.CassandraTableDatasetTypeProperties type CloudError = original.CloudError type CloudErrorBody = original.CloudErrorBody +type CommonDataServiceForAppsEntityDataset = original.CommonDataServiceForAppsEntityDataset +type CommonDataServiceForAppsEntityDatasetTypeProperties = original.CommonDataServiceForAppsEntityDatasetTypeProperties +type CommonDataServiceForAppsLinkedService = original.CommonDataServiceForAppsLinkedService +type CommonDataServiceForAppsLinkedServiceTypeProperties = original.CommonDataServiceForAppsLinkedServiceTypeProperties +type CommonDataServiceForAppsSink = original.CommonDataServiceForAppsSink +type CommonDataServiceForAppsSource = original.CommonDataServiceForAppsSource type ConcurLinkedService = original.ConcurLinkedService type ConcurLinkedServiceTypeProperties = original.ConcurLinkedServiceTypeProperties type ConcurObjectDataset = original.ConcurObjectDataset @@ -1159,6 +1270,7 @@ type DatasetZipDeflateCompression = original.DatasetZipDeflateCompression type DatasetsClient = original.DatasetsClient type Db2LinkedService = original.Db2LinkedService type Db2LinkedServiceTypeProperties = original.Db2LinkedServiceTypeProperties +type Db2Source = original.Db2Source type DeleteActivity = original.DeleteActivity type DeleteActivityTypeProperties = original.DeleteActivityTypeProperties type DelimitedTextDataset = original.DelimitedTextDataset @@ -1182,6 +1294,12 @@ type DynamicsAXLinkedServiceTypeProperties = original.DynamicsAXLinkedServiceTyp type DynamicsAXResourceDataset = original.DynamicsAXResourceDataset type DynamicsAXResourceDatasetTypeProperties = original.DynamicsAXResourceDatasetTypeProperties type DynamicsAXSource = original.DynamicsAXSource +type DynamicsCrmEntityDataset = original.DynamicsCrmEntityDataset +type DynamicsCrmEntityDatasetTypeProperties = original.DynamicsCrmEntityDatasetTypeProperties +type DynamicsCrmLinkedService = original.DynamicsCrmLinkedService +type DynamicsCrmLinkedServiceTypeProperties = original.DynamicsCrmLinkedServiceTypeProperties +type DynamicsCrmSink = original.DynamicsCrmSink +type DynamicsCrmSource = original.DynamicsCrmSource type DynamicsEntityDataset = original.DynamicsEntityDataset type DynamicsEntityDatasetTypeProperties = original.DynamicsEntityDatasetTypeProperties type DynamicsLinkedService = original.DynamicsLinkedService @@ -1295,6 +1413,12 @@ type ImpalaLinkedService = original.ImpalaLinkedService type ImpalaLinkedServiceTypeProperties = original.ImpalaLinkedServiceTypeProperties type ImpalaObjectDataset = original.ImpalaObjectDataset type ImpalaSource = original.ImpalaSource +type InformixLinkedService = original.InformixLinkedService +type InformixLinkedServiceTypeProperties = original.InformixLinkedServiceTypeProperties +type InformixSink = original.InformixSink +type InformixSource = original.InformixSource +type InformixTableDataset = original.InformixTableDataset +type InformixTableDatasetTypeProperties = original.InformixTableDatasetTypeProperties type IntegrationRuntime = original.IntegrationRuntime type IntegrationRuntimeAuthKeys = original.IntegrationRuntimeAuthKeys type IntegrationRuntimeComputeProperties = original.IntegrationRuntimeComputeProperties @@ -1361,6 +1485,12 @@ type MarketoLinkedService = original.MarketoLinkedService type MarketoLinkedServiceTypeProperties = original.MarketoLinkedServiceTypeProperties type MarketoObjectDataset = original.MarketoObjectDataset type MarketoSource = original.MarketoSource +type MicrosoftAccessLinkedService = original.MicrosoftAccessLinkedService +type MicrosoftAccessLinkedServiceTypeProperties = original.MicrosoftAccessLinkedServiceTypeProperties +type MicrosoftAccessSink = original.MicrosoftAccessSink +type MicrosoftAccessSource = original.MicrosoftAccessSource +type MicrosoftAccessTableDataset = original.MicrosoftAccessTableDataset +type MicrosoftAccessTableDatasetTypeProperties = original.MicrosoftAccessTableDatasetTypeProperties type MongoDbCollectionDataset = original.MongoDbCollectionDataset type MongoDbCollectionDatasetTypeProperties = original.MongoDbCollectionDatasetTypeProperties type MongoDbCursorMethodsProperties = original.MongoDbCursorMethodsProperties @@ -1375,17 +1505,25 @@ type MongoDbV2Source = original.MongoDbV2Source type MultiplePipelineTrigger = original.MultiplePipelineTrigger type MySQLLinkedService = original.MySQLLinkedService type MySQLLinkedServiceTypeProperties = original.MySQLLinkedServiceTypeProperties +type MySQLSource = original.MySQLSource +type MySQLTableDataset = original.MySQLTableDataset +type MySQLTableDatasetTypeProperties = original.MySQLTableDatasetTypeProperties type NetezzaLinkedService = original.NetezzaLinkedService type NetezzaLinkedServiceTypeProperties = original.NetezzaLinkedServiceTypeProperties +type NetezzaPartitionSettings = original.NetezzaPartitionSettings type NetezzaSource = original.NetezzaSource type NetezzaTableDataset = original.NetezzaTableDataset type ODataLinkedService = original.ODataLinkedService type ODataLinkedServiceTypeProperties = original.ODataLinkedServiceTypeProperties type ODataResourceDataset = original.ODataResourceDataset type ODataResourceDatasetTypeProperties = original.ODataResourceDatasetTypeProperties +type ODataSource = original.ODataSource type OdbcLinkedService = original.OdbcLinkedService type OdbcLinkedServiceTypeProperties = original.OdbcLinkedServiceTypeProperties type OdbcSink = original.OdbcSink +type OdbcSource = original.OdbcSource +type OdbcTableDataset = original.OdbcTableDataset +type OdbcTableDatasetTypeProperties = original.OdbcTableDatasetTypeProperties type Office365Dataset = original.Office365Dataset type Office365DatasetTypeProperties = original.Office365DatasetTypeProperties type Office365LinkedService = original.Office365LinkedService @@ -1405,6 +1543,7 @@ type OperationServiceSpecification = original.OperationServiceSpecification type OperationsClient = original.OperationsClient type OracleLinkedService = original.OracleLinkedService type OracleLinkedServiceTypeProperties = original.OracleLinkedServiceTypeProperties +type OraclePartitionSettings = original.OraclePartitionSettings type OracleServiceCloudLinkedService = original.OracleServiceCloudLinkedService type OracleServiceCloudLinkedServiceTypeProperties = original.OracleServiceCloudLinkedServiceTypeProperties type OracleServiceCloudObjectDataset = original.OracleServiceCloudObjectDataset @@ -1443,6 +1582,9 @@ type PipelinesClient = original.PipelinesClient type PolybaseSettings = original.PolybaseSettings type PostgreSQLLinkedService = original.PostgreSQLLinkedService type PostgreSQLLinkedServiceTypeProperties = original.PostgreSQLLinkedServiceTypeProperties +type PostgreSQLSource = original.PostgreSQLSource +type PostgreSQLTableDataset = original.PostgreSQLTableDataset +type PostgreSQLTableDatasetTypeProperties = original.PostgreSQLTableDatasetTypeProperties type PrestoLinkedService = original.PrestoLinkedService type PrestoLinkedServiceTypeProperties = original.PrestoLinkedServiceTypeProperties type PrestoObjectDataset = original.PrestoObjectDataset @@ -1485,6 +1627,8 @@ type RunQueryFilter = original.RunQueryFilter type RunQueryOrderBy = original.RunQueryOrderBy type SQLDWSink = original.SQLDWSink type SQLDWSource = original.SQLDWSource +type SQLMISink = original.SQLMISink +type SQLMISource = original.SQLMISource type SQLServerLinkedService = original.SQLServerLinkedService type SQLServerLinkedServiceTypeProperties = original.SQLServerLinkedServiceTypeProperties type SQLServerSink = original.SQLServerSink @@ -1495,9 +1639,13 @@ type SQLServerTableDataset = original.SQLServerTableDataset type SQLServerTableDatasetTypeProperties = original.SQLServerTableDatasetTypeProperties type SQLSink = original.SQLSink type SQLSource = original.SQLSource +type SSISAccessCredential = original.SSISAccessCredential type SSISExecutionCredential = original.SSISExecutionCredential type SSISExecutionParameter = original.SSISExecutionParameter +type SSISLogLocation = original.SSISLogLocation +type SSISLogLocationTypeProperties = original.SSISLogLocationTypeProperties type SSISPackageLocation = original.SSISPackageLocation +type SSISPackageLocationTypeProperties = original.SSISPackageLocationTypeProperties type SSISPropertyOverride = original.SSISPropertyOverride type SalesforceLinkedService = original.SalesforceLinkedService type SalesforceLinkedServiceTypeProperties = original.SalesforceLinkedServiceTypeProperties @@ -1507,6 +1655,12 @@ type SalesforceMarketingCloudObjectDataset = original.SalesforceMarketingCloudOb type SalesforceMarketingCloudSource = original.SalesforceMarketingCloudSource type SalesforceObjectDataset = original.SalesforceObjectDataset type SalesforceObjectDatasetTypeProperties = original.SalesforceObjectDatasetTypeProperties +type SalesforceServiceCloudLinkedService = original.SalesforceServiceCloudLinkedService +type SalesforceServiceCloudLinkedServiceTypeProperties = original.SalesforceServiceCloudLinkedServiceTypeProperties +type SalesforceServiceCloudObjectDataset = original.SalesforceServiceCloudObjectDataset +type SalesforceServiceCloudObjectDatasetTypeProperties = original.SalesforceServiceCloudObjectDatasetTypeProperties +type SalesforceServiceCloudSink = original.SalesforceServiceCloudSink +type SalesforceServiceCloudSource = original.SalesforceServiceCloudSource type SalesforceSink = original.SalesforceSink type SalesforceSource = original.SalesforceSource type SapBWLinkedService = original.SapBWLinkedService @@ -1534,6 +1688,7 @@ type SapOpenHubTableDataset = original.SapOpenHubTableDataset type SapOpenHubTableDatasetTypeProperties = original.SapOpenHubTableDatasetTypeProperties type SapTableLinkedService = original.SapTableLinkedService type SapTableLinkedServiceTypeProperties = original.SapTableLinkedServiceTypeProperties +type SapTablePartitionSettings = original.SapTablePartitionSettings type SapTableResourceDataset = original.SapTableResourceDataset type SapTableResourceDatasetTypeProperties = original.SapTableResourceDatasetTypeProperties type SapTableSource = original.SapTableSource @@ -1588,8 +1743,13 @@ type StoredProcedureParameter = original.StoredProcedureParameter type SubResource = original.SubResource type SybaseLinkedService = original.SybaseLinkedService type SybaseLinkedServiceTypeProperties = original.SybaseLinkedServiceTypeProperties +type SybaseSource = original.SybaseSource type TeradataLinkedService = original.TeradataLinkedService type TeradataLinkedServiceTypeProperties = original.TeradataLinkedServiceTypeProperties +type TeradataPartitionSettings = original.TeradataPartitionSettings +type TeradataSource = original.TeradataSource +type TeradataTableDataset = original.TeradataTableDataset +type TeradataTableDatasetTypeProperties = original.TeradataTableDatasetTypeProperties type TextFormat = original.TextFormat type Trigger = original.Trigger type TriggerDependencyReference = original.TriggerDependencyReference @@ -1813,6 +1973,12 @@ func PossibleDb2AuthenticationTypeValues() []Db2AuthenticationType { func PossibleDependencyConditionValues() []DependencyCondition { return original.PossibleDependencyConditionValues() } +func PossibleDynamicsAuthenticationTypeValues() []DynamicsAuthenticationType { + return original.PossibleDynamicsAuthenticationTypeValues() +} +func PossibleDynamicsDeploymentTypeValues() []DynamicsDeploymentType { + return original.PossibleDynamicsDeploymentTypeValues() +} func PossibleFtpAuthenticationTypeValues() []FtpAuthenticationType { return original.PossibleFtpAuthenticationTypeValues() } @@ -1879,12 +2045,18 @@ func PossibleManagedIntegrationRuntimeNodeStatusValues() []ManagedIntegrationRun func PossibleMongoDbAuthenticationTypeValues() []MongoDbAuthenticationType { return original.PossibleMongoDbAuthenticationTypeValues() } +func PossibleNetezzaPartitionOptionValues() []NetezzaPartitionOption { + return original.PossibleNetezzaPartitionOptionValues() +} func PossibleODataAadServicePrincipalCredentialTypeValues() []ODataAadServicePrincipalCredentialType { return original.PossibleODataAadServicePrincipalCredentialTypeValues() } func PossibleODataAuthenticationTypeValues() []ODataAuthenticationType { return original.PossibleODataAuthenticationTypeValues() } +func PossibleOraclePartitionOptionValues() []OraclePartitionOption { + return original.PossibleOraclePartitionOptionValues() +} func PossibleParameterTypeValues() []ParameterType { return original.PossibleParameterTypeValues() } @@ -1927,6 +2099,9 @@ func PossibleSapCloudForCustomerSinkWriteBehaviorValues() []SapCloudForCustomerS func PossibleSapHanaAuthenticationTypeValues() []SapHanaAuthenticationType { return original.PossibleSapHanaAuthenticationTypeValues() } +func PossibleSapTablePartitionOptionValues() []SapTablePartitionOption { + return original.PossibleSapTablePartitionOptionValues() +} func PossibleSelfHostedIntegrationRuntimeNodeStatusValues() []SelfHostedIntegrationRuntimeNodeStatus { return original.PossibleSelfHostedIntegrationRuntimeNodeStatusValues() } @@ -1948,6 +2123,9 @@ func PossibleSparkThriftTransportProtocolValues() []SparkThriftTransportProtocol func PossibleSsisObjectMetadataTypeValues() []SsisObjectMetadataType { return original.PossibleSsisObjectMetadataTypeValues() } +func PossibleSsisPackageLocationTypeValues() []SsisPackageLocationType { + return original.PossibleSsisPackageLocationTypeValues() +} func PossibleStoredProcedureParameterTypeValues() []StoredProcedureParameterType { return original.PossibleStoredProcedureParameterTypeValues() } @@ -1957,6 +2135,9 @@ func PossibleSybaseAuthenticationTypeValues() []SybaseAuthenticationType { func PossibleTeradataAuthenticationTypeValues() []TeradataAuthenticationType { return original.PossibleTeradataAuthenticationTypeValues() } +func PossibleTeradataPartitionOptionValues() []TeradataPartitionOption { + return original.PossibleTeradataPartitionOptionValues() +} func PossibleTriggerRunStatusValues() []TriggerRunStatus { return original.PossibleTriggerRunStatusValues() } diff --git a/profiles/preview/datafactory/mgmt/datafactory/models.go b/profiles/preview/datafactory/mgmt/datafactory/models.go index 32e6e88d355b..eafb88c325c0 100644 --- a/profiles/preview/datafactory/mgmt/datafactory/models.go +++ b/profiles/preview/datafactory/mgmt/datafactory/models.go @@ -126,6 +126,20 @@ const ( Succeeded DependencyCondition = original.Succeeded ) +type DynamicsAuthenticationType = original.DynamicsAuthenticationType + +const ( + Ifd DynamicsAuthenticationType = original.Ifd + Office365 DynamicsAuthenticationType = original.Office365 +) + +type DynamicsDeploymentType = original.DynamicsDeploymentType + +const ( + Online DynamicsDeploymentType = original.Online + OnPremisesWithIfd DynamicsDeploymentType = original.OnPremisesWithIfd +) + type FtpAuthenticationType = original.FtpAuthenticationType const ( @@ -260,16 +274,16 @@ const ( type IntegrationRuntimeState = original.IntegrationRuntimeState const ( - AccessDenied IntegrationRuntimeState = original.AccessDenied - Initial IntegrationRuntimeState = original.Initial - Limited IntegrationRuntimeState = original.Limited - NeedRegistration IntegrationRuntimeState = original.NeedRegistration - Offline IntegrationRuntimeState = original.Offline - Online IntegrationRuntimeState = original.Online - Started IntegrationRuntimeState = original.Started - Starting IntegrationRuntimeState = original.Starting - Stopped IntegrationRuntimeState = original.Stopped - Stopping IntegrationRuntimeState = original.Stopping + IntegrationRuntimeStateAccessDenied IntegrationRuntimeState = original.IntegrationRuntimeStateAccessDenied + IntegrationRuntimeStateInitial IntegrationRuntimeState = original.IntegrationRuntimeStateInitial + IntegrationRuntimeStateLimited IntegrationRuntimeState = original.IntegrationRuntimeStateLimited + IntegrationRuntimeStateNeedRegistration IntegrationRuntimeState = original.IntegrationRuntimeStateNeedRegistration + IntegrationRuntimeStateOffline IntegrationRuntimeState = original.IntegrationRuntimeStateOffline + IntegrationRuntimeStateOnline IntegrationRuntimeState = original.IntegrationRuntimeStateOnline + IntegrationRuntimeStateStarted IntegrationRuntimeState = original.IntegrationRuntimeStateStarted + IntegrationRuntimeStateStarting IntegrationRuntimeState = original.IntegrationRuntimeStateStarting + IntegrationRuntimeStateStopped IntegrationRuntimeState = original.IntegrationRuntimeStateStopped + IntegrationRuntimeStateStopping IntegrationRuntimeState = original.IntegrationRuntimeStateStopping ) type IntegrationRuntimeType = original.IntegrationRuntimeType @@ -290,10 +304,10 @@ const ( type ManagedIntegrationRuntimeNodeStatus = original.ManagedIntegrationRuntimeNodeStatus const ( - ManagedIntegrationRuntimeNodeStatusAvailable ManagedIntegrationRuntimeNodeStatus = original.ManagedIntegrationRuntimeNodeStatusAvailable - ManagedIntegrationRuntimeNodeStatusRecycling ManagedIntegrationRuntimeNodeStatus = original.ManagedIntegrationRuntimeNodeStatusRecycling - ManagedIntegrationRuntimeNodeStatusStarting ManagedIntegrationRuntimeNodeStatus = original.ManagedIntegrationRuntimeNodeStatusStarting - ManagedIntegrationRuntimeNodeStatusUnavailable ManagedIntegrationRuntimeNodeStatus = original.ManagedIntegrationRuntimeNodeStatusUnavailable + Available ManagedIntegrationRuntimeNodeStatus = original.Available + Recycling ManagedIntegrationRuntimeNodeStatus = original.Recycling + Starting ManagedIntegrationRuntimeNodeStatus = original.Starting + Unavailable ManagedIntegrationRuntimeNodeStatus = original.Unavailable ) type MongoDbAuthenticationType = original.MongoDbAuthenticationType @@ -303,6 +317,14 @@ const ( MongoDbAuthenticationTypeBasic MongoDbAuthenticationType = original.MongoDbAuthenticationTypeBasic ) +type NetezzaPartitionOption = original.NetezzaPartitionOption + +const ( + NetezzaPartitionOptionDataSlice NetezzaPartitionOption = original.NetezzaPartitionOptionDataSlice + NetezzaPartitionOptionDynamicRange NetezzaPartitionOption = original.NetezzaPartitionOptionDynamicRange + NetezzaPartitionOptionNone NetezzaPartitionOption = original.NetezzaPartitionOptionNone +) + type ODataAadServicePrincipalCredentialType = original.ODataAadServicePrincipalCredentialType const ( @@ -320,6 +342,14 @@ const ( ODataAuthenticationTypeWindows ODataAuthenticationType = original.ODataAuthenticationTypeWindows ) +type OraclePartitionOption = original.OraclePartitionOption + +const ( + OraclePartitionOptionDynamicRange OraclePartitionOption = original.OraclePartitionOptionDynamicRange + OraclePartitionOptionNone OraclePartitionOption = original.OraclePartitionOptionNone + OraclePartitionOptionPhysicalPartitionsOfTable OraclePartitionOption = original.OraclePartitionOptionPhysicalPartitionsOfTable +) + type ParameterType = original.ParameterType const ( @@ -450,6 +480,17 @@ const ( SapHanaAuthenticationTypeWindows SapHanaAuthenticationType = original.SapHanaAuthenticationTypeWindows ) +type SapTablePartitionOption = original.SapTablePartitionOption + +const ( + SapTablePartitionOptionNone SapTablePartitionOption = original.SapTablePartitionOptionNone + SapTablePartitionOptionPartitionOnCalendarDate SapTablePartitionOption = original.SapTablePartitionOptionPartitionOnCalendarDate + SapTablePartitionOptionPartitionOnCalendarMonth SapTablePartitionOption = original.SapTablePartitionOptionPartitionOnCalendarMonth + SapTablePartitionOptionPartitionOnCalendarYear SapTablePartitionOption = original.SapTablePartitionOptionPartitionOnCalendarYear + SapTablePartitionOptionPartitionOnInt SapTablePartitionOption = original.SapTablePartitionOptionPartitionOnInt + SapTablePartitionOptionPartitionOnTime SapTablePartitionOption = original.SapTablePartitionOptionPartitionOnTime +) + type SelfHostedIntegrationRuntimeNodeStatus = original.SelfHostedIntegrationRuntimeNodeStatus const ( @@ -510,6 +551,13 @@ const ( Project SsisObjectMetadataType = original.Project ) +type SsisPackageLocationType = original.SsisPackageLocationType + +const ( + File SsisPackageLocationType = original.File + SSISDB SsisPackageLocationType = original.SSISDB +) + type StoredProcedureParameterType = original.StoredProcedureParameterType const ( @@ -536,6 +584,14 @@ const ( TeradataAuthenticationTypeWindows TeradataAuthenticationType = original.TeradataAuthenticationTypeWindows ) +type TeradataPartitionOption = original.TeradataPartitionOption + +const ( + TeradataPartitionOptionDynamicRange TeradataPartitionOption = original.TeradataPartitionOptionDynamicRange + TeradataPartitionOptionHash TeradataPartitionOption = original.TeradataPartitionOptionHash + TeradataPartitionOptionNone TeradataPartitionOption = original.TeradataPartitionOptionNone +) + type TriggerRunStatus = original.TriggerRunStatus const ( @@ -547,9 +603,9 @@ const ( type TriggerRuntimeState = original.TriggerRuntimeState const ( - TriggerRuntimeStateDisabled TriggerRuntimeState = original.TriggerRuntimeStateDisabled - TriggerRuntimeStateStarted TriggerRuntimeState = original.TriggerRuntimeStateStarted - TriggerRuntimeStateStopped TriggerRuntimeState = original.TriggerRuntimeStateStopped + Disabled TriggerRuntimeState = original.Disabled + Started TriggerRuntimeState = original.Started + Stopped TriggerRuntimeState = original.Stopped ) type TumblingWindowFrequency = original.TumblingWindowFrequency @@ -608,28 +664,36 @@ const ( type TypeBasicCopySink = original.TypeBasicCopySink const ( - TypeAzureBlobFSSink TypeBasicCopySink = original.TypeAzureBlobFSSink - TypeAzureDataExplorerSink TypeBasicCopySink = original.TypeAzureDataExplorerSink - TypeAzureDataLakeStoreSink TypeBasicCopySink = original.TypeAzureDataLakeStoreSink - TypeAzureQueueSink TypeBasicCopySink = original.TypeAzureQueueSink - TypeAzureSearchIndexSink TypeBasicCopySink = original.TypeAzureSearchIndexSink - TypeAzureSQLSink TypeBasicCopySink = original.TypeAzureSQLSink - TypeAzureTableSink TypeBasicCopySink = original.TypeAzureTableSink - TypeBlobSink TypeBasicCopySink = original.TypeBlobSink - TypeCopySink TypeBasicCopySink = original.TypeCopySink - TypeCosmosDbMongoDbAPISink TypeBasicCopySink = original.TypeCosmosDbMongoDbAPISink - TypeDelimitedTextSink TypeBasicCopySink = original.TypeDelimitedTextSink - TypeDocumentDbCollectionSink TypeBasicCopySink = original.TypeDocumentDbCollectionSink - TypeDynamicsSink TypeBasicCopySink = original.TypeDynamicsSink - TypeFileSystemSink TypeBasicCopySink = original.TypeFileSystemSink - TypeOdbcSink TypeBasicCopySink = original.TypeOdbcSink - TypeOracleSink TypeBasicCopySink = original.TypeOracleSink - TypeParquetSink TypeBasicCopySink = original.TypeParquetSink - TypeSalesforceSink TypeBasicCopySink = original.TypeSalesforceSink - TypeSapCloudForCustomerSink TypeBasicCopySink = original.TypeSapCloudForCustomerSink - TypeSQLDWSink TypeBasicCopySink = original.TypeSQLDWSink - TypeSQLServerSink TypeBasicCopySink = original.TypeSQLServerSink - TypeSQLSink TypeBasicCopySink = original.TypeSQLSink + TypeAzureBlobFSSink TypeBasicCopySink = original.TypeAzureBlobFSSink + TypeAzureDataExplorerSink TypeBasicCopySink = original.TypeAzureDataExplorerSink + TypeAzureDataLakeStoreSink TypeBasicCopySink = original.TypeAzureDataLakeStoreSink + TypeAzurePostgreSQLSink TypeBasicCopySink = original.TypeAzurePostgreSQLSink + TypeAzureQueueSink TypeBasicCopySink = original.TypeAzureQueueSink + TypeAzureSearchIndexSink TypeBasicCopySink = original.TypeAzureSearchIndexSink + TypeAzureSQLSink TypeBasicCopySink = original.TypeAzureSQLSink + TypeAzureTableSink TypeBasicCopySink = original.TypeAzureTableSink + TypeBinarySink TypeBasicCopySink = original.TypeBinarySink + TypeBlobSink TypeBasicCopySink = original.TypeBlobSink + TypeCommonDataServiceForAppsSink TypeBasicCopySink = original.TypeCommonDataServiceForAppsSink + TypeCopySink TypeBasicCopySink = original.TypeCopySink + TypeCosmosDbMongoDbAPISink TypeBasicCopySink = original.TypeCosmosDbMongoDbAPISink + TypeDelimitedTextSink TypeBasicCopySink = original.TypeDelimitedTextSink + TypeDocumentDbCollectionSink TypeBasicCopySink = original.TypeDocumentDbCollectionSink + TypeDynamicsCrmSink TypeBasicCopySink = original.TypeDynamicsCrmSink + TypeDynamicsSink TypeBasicCopySink = original.TypeDynamicsSink + TypeFileSystemSink TypeBasicCopySink = original.TypeFileSystemSink + TypeInformixSink TypeBasicCopySink = original.TypeInformixSink + TypeMicrosoftAccessSink TypeBasicCopySink = original.TypeMicrosoftAccessSink + TypeOdbcSink TypeBasicCopySink = original.TypeOdbcSink + TypeOracleSink TypeBasicCopySink = original.TypeOracleSink + TypeParquetSink TypeBasicCopySink = original.TypeParquetSink + TypeSalesforceServiceCloudSink TypeBasicCopySink = original.TypeSalesforceServiceCloudSink + TypeSalesforceSink TypeBasicCopySink = original.TypeSalesforceSink + TypeSapCloudForCustomerSink TypeBasicCopySink = original.TypeSapCloudForCustomerSink + TypeSQLDWSink TypeBasicCopySink = original.TypeSQLDWSink + TypeSQLMISink TypeBasicCopySink = original.TypeSQLMISink + TypeSQLServerSink TypeBasicCopySink = original.TypeSQLServerSink + TypeSQLSink TypeBasicCopySink = original.TypeSQLSink ) type TypeBasicCopySource = original.TypeBasicCopySource @@ -644,16 +708,20 @@ const ( TypeAzurePostgreSQLSource TypeBasicCopySource = original.TypeAzurePostgreSQLSource TypeAzureSQLSource TypeBasicCopySource = original.TypeAzureSQLSource TypeAzureTableSource TypeBasicCopySource = original.TypeAzureTableSource + TypeBinarySource TypeBasicCopySource = original.TypeBinarySource TypeBlobSource TypeBasicCopySource = original.TypeBlobSource TypeCassandraSource TypeBasicCopySource = original.TypeCassandraSource + TypeCommonDataServiceForAppsSource TypeBasicCopySource = original.TypeCommonDataServiceForAppsSource TypeConcurSource TypeBasicCopySource = original.TypeConcurSource TypeCopySource TypeBasicCopySource = original.TypeCopySource TypeCosmosDbMongoDbAPISource TypeBasicCopySource = original.TypeCosmosDbMongoDbAPISource TypeCouchbaseSource TypeBasicCopySource = original.TypeCouchbaseSource + TypeDb2Source TypeBasicCopySource = original.TypeDb2Source TypeDelimitedTextSource TypeBasicCopySource = original.TypeDelimitedTextSource TypeDocumentDbCollectionSource TypeBasicCopySource = original.TypeDocumentDbCollectionSource TypeDrillSource TypeBasicCopySource = original.TypeDrillSource TypeDynamicsAXSource TypeBasicCopySource = original.TypeDynamicsAXSource + TypeDynamicsCrmSource TypeBasicCopySource = original.TypeDynamicsCrmSource TypeDynamicsSource TypeBasicCopySource = original.TypeDynamicsSource TypeEloquaSource TypeBasicCopySource = original.TypeEloquaSource TypeFileSystemSource TypeBasicCopySource = original.TypeFileSystemSource @@ -666,25 +734,32 @@ const ( TypeHTTPSource TypeBasicCopySource = original.TypeHTTPSource TypeHubspotSource TypeBasicCopySource = original.TypeHubspotSource TypeImpalaSource TypeBasicCopySource = original.TypeImpalaSource + TypeInformixSource TypeBasicCopySource = original.TypeInformixSource TypeJiraSource TypeBasicCopySource = original.TypeJiraSource TypeMagentoSource TypeBasicCopySource = original.TypeMagentoSource TypeMariaDBSource TypeBasicCopySource = original.TypeMariaDBSource TypeMarketoSource TypeBasicCopySource = original.TypeMarketoSource + TypeMicrosoftAccessSource TypeBasicCopySource = original.TypeMicrosoftAccessSource TypeMongoDbSource TypeBasicCopySource = original.TypeMongoDbSource TypeMongoDbV2Source TypeBasicCopySource = original.TypeMongoDbV2Source + TypeMySQLSource TypeBasicCopySource = original.TypeMySQLSource TypeNetezzaSource TypeBasicCopySource = original.TypeNetezzaSource + TypeODataSource TypeBasicCopySource = original.TypeODataSource + TypeOdbcSource TypeBasicCopySource = original.TypeOdbcSource TypeOffice365Source TypeBasicCopySource = original.TypeOffice365Source TypeOracleServiceCloudSource TypeBasicCopySource = original.TypeOracleServiceCloudSource TypeOracleSource TypeBasicCopySource = original.TypeOracleSource TypeParquetSource TypeBasicCopySource = original.TypeParquetSource TypePaypalSource TypeBasicCopySource = original.TypePaypalSource TypePhoenixSource TypeBasicCopySource = original.TypePhoenixSource + TypePostgreSQLSource TypeBasicCopySource = original.TypePostgreSQLSource TypePrestoSource TypeBasicCopySource = original.TypePrestoSource TypeQuickBooksSource TypeBasicCopySource = original.TypeQuickBooksSource TypeRelationalSource TypeBasicCopySource = original.TypeRelationalSource TypeResponsysSource TypeBasicCopySource = original.TypeResponsysSource TypeRestSource TypeBasicCopySource = original.TypeRestSource TypeSalesforceMarketingCloudSource TypeBasicCopySource = original.TypeSalesforceMarketingCloudSource + TypeSalesforceServiceCloudSource TypeBasicCopySource = original.TypeSalesforceServiceCloudSource TypeSalesforceSource TypeBasicCopySource = original.TypeSalesforceSource TypeSapCloudForCustomerSource TypeBasicCopySource = original.TypeSapCloudForCustomerSource TypeSapEccSource TypeBasicCopySource = original.TypeSapEccSource @@ -695,9 +770,12 @@ const ( TypeShopifySource TypeBasicCopySource = original.TypeShopifySource TypeSparkSource TypeBasicCopySource = original.TypeSparkSource TypeSQLDWSource TypeBasicCopySource = original.TypeSQLDWSource + TypeSQLMISource TypeBasicCopySource = original.TypeSQLMISource TypeSQLServerSource TypeBasicCopySource = original.TypeSQLServerSource TypeSQLSource TypeBasicCopySource = original.TypeSQLSource TypeSquareSource TypeBasicCopySource = original.TypeSquareSource + TypeSybaseSource TypeBasicCopySource = original.TypeSybaseSource + TypeTeradataSource TypeBasicCopySource = original.TypeTeradataSource TypeVerticaSource TypeBasicCopySource = original.TypeVerticaSource TypeWebSource TypeBasicCopySource = original.TypeWebSource TypeXeroSource TypeBasicCopySource = original.TypeXeroSource @@ -717,9 +795,12 @@ const ( TypeAzurePostgreSQLTable TypeBasicDataset = original.TypeAzurePostgreSQLTable TypeAzureSearchIndex TypeBasicDataset = original.TypeAzureSearchIndex TypeAzureSQLDWTable TypeBasicDataset = original.TypeAzureSQLDWTable + TypeAzureSQLMITable TypeBasicDataset = original.TypeAzureSQLMITable TypeAzureSQLTable TypeBasicDataset = original.TypeAzureSQLTable TypeAzureTable TypeBasicDataset = original.TypeAzureTable + TypeBinary TypeBasicDataset = original.TypeBinary TypeCassandraTable TypeBasicDataset = original.TypeCassandraTable + TypeCommonDataServiceForAppsEntity TypeBasicDataset = original.TypeCommonDataServiceForAppsEntity TypeConcurObject TypeBasicDataset = original.TypeConcurObject TypeCosmosDbMongoDbAPICollection TypeBasicDataset = original.TypeCosmosDbMongoDbAPICollection TypeCouchbaseTable TypeBasicDataset = original.TypeCouchbaseTable @@ -729,6 +810,7 @@ const ( TypeDocumentDbCollection TypeBasicDataset = original.TypeDocumentDbCollection TypeDrillTable TypeBasicDataset = original.TypeDrillTable TypeDynamicsAXResource TypeBasicDataset = original.TypeDynamicsAXResource + TypeDynamicsCrmEntity TypeBasicDataset = original.TypeDynamicsCrmEntity TypeDynamicsEntity TypeBasicDataset = original.TypeDynamicsEntity TypeEloquaObject TypeBasicDataset = original.TypeEloquaObject TypeFileShare TypeBasicDataset = original.TypeFileShare @@ -740,20 +822,25 @@ const ( TypeHTTPFile TypeBasicDataset = original.TypeHTTPFile TypeHubspotObject TypeBasicDataset = original.TypeHubspotObject TypeImpalaObject TypeBasicDataset = original.TypeImpalaObject + TypeInformixTable TypeBasicDataset = original.TypeInformixTable TypeJiraObject TypeBasicDataset = original.TypeJiraObject TypeMagentoObject TypeBasicDataset = original.TypeMagentoObject TypeMariaDBTable TypeBasicDataset = original.TypeMariaDBTable TypeMarketoObject TypeBasicDataset = original.TypeMarketoObject + TypeMicrosoftAccessTable TypeBasicDataset = original.TypeMicrosoftAccessTable TypeMongoDbCollection TypeBasicDataset = original.TypeMongoDbCollection TypeMongoDbV2Collection TypeBasicDataset = original.TypeMongoDbV2Collection + TypeMySQLTable TypeBasicDataset = original.TypeMySQLTable TypeNetezzaTable TypeBasicDataset = original.TypeNetezzaTable TypeODataResource TypeBasicDataset = original.TypeODataResource + TypeOdbcTable TypeBasicDataset = original.TypeOdbcTable TypeOffice365Table TypeBasicDataset = original.TypeOffice365Table TypeOracleServiceCloudObject TypeBasicDataset = original.TypeOracleServiceCloudObject TypeOracleTable TypeBasicDataset = original.TypeOracleTable TypeParquet TypeBasicDataset = original.TypeParquet TypePaypalObject TypeBasicDataset = original.TypePaypalObject TypePhoenixObject TypeBasicDataset = original.TypePhoenixObject + TypePostgreSQLTable TypeBasicDataset = original.TypePostgreSQLTable TypePrestoObject TypeBasicDataset = original.TypePrestoObject TypeQuickBooksObject TypeBasicDataset = original.TypeQuickBooksObject TypeRelationalTable TypeBasicDataset = original.TypeRelationalTable @@ -761,6 +848,7 @@ const ( TypeRestResource TypeBasicDataset = original.TypeRestResource TypeSalesforceMarketingCloudObject TypeBasicDataset = original.TypeSalesforceMarketingCloudObject TypeSalesforceObject TypeBasicDataset = original.TypeSalesforceObject + TypeSalesforceServiceCloudObject TypeBasicDataset = original.TypeSalesforceServiceCloudObject TypeSapCloudForCustomerResource TypeBasicDataset = original.TypeSapCloudForCustomerResource TypeSapEccResource TypeBasicDataset = original.TypeSapEccResource TypeSapHanaTable TypeBasicDataset = original.TypeSapHanaTable @@ -771,6 +859,7 @@ const ( TypeSparkObject TypeBasicDataset = original.TypeSparkObject TypeSQLServerTable TypeBasicDataset = original.TypeSQLServerTable TypeSquareObject TypeBasicDataset = original.TypeSquareObject + TypeTeradataTable TypeBasicDataset = original.TypeTeradataTable TypeVerticaTable TypeBasicDataset = original.TypeVerticaTable TypeWebTable TypeBasicDataset = original.TypeWebTable TypeXeroObject TypeBasicDataset = original.TypeXeroObject @@ -852,9 +941,11 @@ const ( TypeAzureSearch TypeBasicLinkedService = original.TypeAzureSearch TypeAzureSQLDatabase TypeBasicLinkedService = original.TypeAzureSQLDatabase TypeAzureSQLDW TypeBasicLinkedService = original.TypeAzureSQLDW + TypeAzureSQLMI TypeBasicLinkedService = original.TypeAzureSQLMI TypeAzureStorage TypeBasicLinkedService = original.TypeAzureStorage TypeAzureTableStorage TypeBasicLinkedService = original.TypeAzureTableStorage TypeCassandra TypeBasicLinkedService = original.TypeCassandra + TypeCommonDataServiceForApps TypeBasicLinkedService = original.TypeCommonDataServiceForApps TypeConcur TypeBasicLinkedService = original.TypeConcur TypeCosmosDb TypeBasicLinkedService = original.TypeCosmosDb TypeCosmosDbMongoDbAPI TypeBasicLinkedService = original.TypeCosmosDbMongoDbAPI @@ -864,6 +955,7 @@ const ( TypeDrill TypeBasicLinkedService = original.TypeDrill TypeDynamics TypeBasicLinkedService = original.TypeDynamics TypeDynamicsAX TypeBasicLinkedService = original.TypeDynamicsAX + TypeDynamicsCrm TypeBasicLinkedService = original.TypeDynamicsCrm TypeEloqua TypeBasicLinkedService = original.TypeEloqua TypeFileServer TypeBasicLinkedService = original.TypeFileServer TypeFtpServer TypeBasicLinkedService = original.TypeFtpServer @@ -878,11 +970,13 @@ const ( TypeHTTPServer TypeBasicLinkedService = original.TypeHTTPServer TypeHubspot TypeBasicLinkedService = original.TypeHubspot TypeImpala TypeBasicLinkedService = original.TypeImpala + TypeInformix TypeBasicLinkedService = original.TypeInformix TypeJira TypeBasicLinkedService = original.TypeJira TypeLinkedService TypeBasicLinkedService = original.TypeLinkedService TypeMagento TypeBasicLinkedService = original.TypeMagento TypeMariaDB TypeBasicLinkedService = original.TypeMariaDB TypeMarketo TypeBasicLinkedService = original.TypeMarketo + TypeMicrosoftAccess TypeBasicLinkedService = original.TypeMicrosoftAccess TypeMongoDb TypeBasicLinkedService = original.TypeMongoDb TypeMongoDbV2 TypeBasicLinkedService = original.TypeMongoDbV2 TypeMySQL TypeBasicLinkedService = original.TypeMySQL @@ -901,6 +995,7 @@ const ( TypeRestService TypeBasicLinkedService = original.TypeRestService TypeSalesforce TypeBasicLinkedService = original.TypeSalesforce TypeSalesforceMarketingCloud TypeBasicLinkedService = original.TypeSalesforceMarketingCloud + TypeSalesforceServiceCloud TypeBasicLinkedService = original.TypeSalesforceServiceCloud TypeSapBW TypeBasicLinkedService = original.TypeSapBW TypeSapCloudForCustomer TypeBasicLinkedService = original.TypeSapCloudForCustomer TypeSapEcc TypeBasicLinkedService = original.TypeSapEcc @@ -1047,8 +1142,10 @@ type AzureMySQLTableDataset = original.AzureMySQLTableDataset type AzureMySQLTableDatasetTypeProperties = original.AzureMySQLTableDatasetTypeProperties type AzurePostgreSQLLinkedService = original.AzurePostgreSQLLinkedService type AzurePostgreSQLLinkedServiceTypeProperties = original.AzurePostgreSQLLinkedServiceTypeProperties +type AzurePostgreSQLSink = original.AzurePostgreSQLSink type AzurePostgreSQLSource = original.AzurePostgreSQLSource type AzurePostgreSQLTableDataset = original.AzurePostgreSQLTableDataset +type AzurePostgreSQLTableDatasetTypeProperties = original.AzurePostgreSQLTableDatasetTypeProperties type AzureQueueSink = original.AzureQueueSink type AzureSQLDWLinkedService = original.AzureSQLDWLinkedService type AzureSQLDWLinkedServiceTypeProperties = original.AzureSQLDWLinkedServiceTypeProperties @@ -1056,6 +1153,10 @@ type AzureSQLDWTableDataset = original.AzureSQLDWTableDataset type AzureSQLDWTableDatasetTypeProperties = original.AzureSQLDWTableDatasetTypeProperties type AzureSQLDatabaseLinkedService = original.AzureSQLDatabaseLinkedService type AzureSQLDatabaseLinkedServiceTypeProperties = original.AzureSQLDatabaseLinkedServiceTypeProperties +type AzureSQLMILinkedService = original.AzureSQLMILinkedService +type AzureSQLMILinkedServiceTypeProperties = original.AzureSQLMILinkedServiceTypeProperties +type AzureSQLMITableDataset = original.AzureSQLMITableDataset +type AzureSQLMITableDatasetTypeProperties = original.AzureSQLMITableDatasetTypeProperties type AzureSQLSink = original.AzureSQLSink type AzureSQLSource = original.AzureSQLSource type AzureSQLTableDataset = original.AzureSQLTableDataset @@ -1093,6 +1194,10 @@ type BasicSsisObjectMetadata = original.BasicSsisObjectMetadata type BasicTrigger = original.BasicTrigger type BasicTriggerDependencyReference = original.BasicTriggerDependencyReference type BasicWebLinkedServiceTypeProperties = original.BasicWebLinkedServiceTypeProperties +type BinaryDataset = original.BinaryDataset +type BinaryDatasetTypeProperties = original.BinaryDatasetTypeProperties +type BinarySink = original.BinarySink +type BinarySource = original.BinarySource type BlobEventsTrigger = original.BlobEventsTrigger type BlobEventsTriggerTypeProperties = original.BlobEventsTriggerTypeProperties type BlobSink = original.BlobSink @@ -1106,6 +1211,12 @@ type CassandraTableDataset = original.CassandraTableDataset type CassandraTableDatasetTypeProperties = original.CassandraTableDatasetTypeProperties type CloudError = original.CloudError type CloudErrorBody = original.CloudErrorBody +type CommonDataServiceForAppsEntityDataset = original.CommonDataServiceForAppsEntityDataset +type CommonDataServiceForAppsEntityDatasetTypeProperties = original.CommonDataServiceForAppsEntityDatasetTypeProperties +type CommonDataServiceForAppsLinkedService = original.CommonDataServiceForAppsLinkedService +type CommonDataServiceForAppsLinkedServiceTypeProperties = original.CommonDataServiceForAppsLinkedServiceTypeProperties +type CommonDataServiceForAppsSink = original.CommonDataServiceForAppsSink +type CommonDataServiceForAppsSource = original.CommonDataServiceForAppsSource type ConcurLinkedService = original.ConcurLinkedService type ConcurLinkedServiceTypeProperties = original.ConcurLinkedServiceTypeProperties type ConcurObjectDataset = original.ConcurObjectDataset @@ -1159,6 +1270,7 @@ type DatasetZipDeflateCompression = original.DatasetZipDeflateCompression type DatasetsClient = original.DatasetsClient type Db2LinkedService = original.Db2LinkedService type Db2LinkedServiceTypeProperties = original.Db2LinkedServiceTypeProperties +type Db2Source = original.Db2Source type DeleteActivity = original.DeleteActivity type DeleteActivityTypeProperties = original.DeleteActivityTypeProperties type DelimitedTextDataset = original.DelimitedTextDataset @@ -1182,6 +1294,12 @@ type DynamicsAXLinkedServiceTypeProperties = original.DynamicsAXLinkedServiceTyp type DynamicsAXResourceDataset = original.DynamicsAXResourceDataset type DynamicsAXResourceDatasetTypeProperties = original.DynamicsAXResourceDatasetTypeProperties type DynamicsAXSource = original.DynamicsAXSource +type DynamicsCrmEntityDataset = original.DynamicsCrmEntityDataset +type DynamicsCrmEntityDatasetTypeProperties = original.DynamicsCrmEntityDatasetTypeProperties +type DynamicsCrmLinkedService = original.DynamicsCrmLinkedService +type DynamicsCrmLinkedServiceTypeProperties = original.DynamicsCrmLinkedServiceTypeProperties +type DynamicsCrmSink = original.DynamicsCrmSink +type DynamicsCrmSource = original.DynamicsCrmSource type DynamicsEntityDataset = original.DynamicsEntityDataset type DynamicsEntityDatasetTypeProperties = original.DynamicsEntityDatasetTypeProperties type DynamicsLinkedService = original.DynamicsLinkedService @@ -1295,6 +1413,12 @@ type ImpalaLinkedService = original.ImpalaLinkedService type ImpalaLinkedServiceTypeProperties = original.ImpalaLinkedServiceTypeProperties type ImpalaObjectDataset = original.ImpalaObjectDataset type ImpalaSource = original.ImpalaSource +type InformixLinkedService = original.InformixLinkedService +type InformixLinkedServiceTypeProperties = original.InformixLinkedServiceTypeProperties +type InformixSink = original.InformixSink +type InformixSource = original.InformixSource +type InformixTableDataset = original.InformixTableDataset +type InformixTableDatasetTypeProperties = original.InformixTableDatasetTypeProperties type IntegrationRuntime = original.IntegrationRuntime type IntegrationRuntimeAuthKeys = original.IntegrationRuntimeAuthKeys type IntegrationRuntimeComputeProperties = original.IntegrationRuntimeComputeProperties @@ -1361,6 +1485,12 @@ type MarketoLinkedService = original.MarketoLinkedService type MarketoLinkedServiceTypeProperties = original.MarketoLinkedServiceTypeProperties type MarketoObjectDataset = original.MarketoObjectDataset type MarketoSource = original.MarketoSource +type MicrosoftAccessLinkedService = original.MicrosoftAccessLinkedService +type MicrosoftAccessLinkedServiceTypeProperties = original.MicrosoftAccessLinkedServiceTypeProperties +type MicrosoftAccessSink = original.MicrosoftAccessSink +type MicrosoftAccessSource = original.MicrosoftAccessSource +type MicrosoftAccessTableDataset = original.MicrosoftAccessTableDataset +type MicrosoftAccessTableDatasetTypeProperties = original.MicrosoftAccessTableDatasetTypeProperties type MongoDbCollectionDataset = original.MongoDbCollectionDataset type MongoDbCollectionDatasetTypeProperties = original.MongoDbCollectionDatasetTypeProperties type MongoDbCursorMethodsProperties = original.MongoDbCursorMethodsProperties @@ -1375,17 +1505,25 @@ type MongoDbV2Source = original.MongoDbV2Source type MultiplePipelineTrigger = original.MultiplePipelineTrigger type MySQLLinkedService = original.MySQLLinkedService type MySQLLinkedServiceTypeProperties = original.MySQLLinkedServiceTypeProperties +type MySQLSource = original.MySQLSource +type MySQLTableDataset = original.MySQLTableDataset +type MySQLTableDatasetTypeProperties = original.MySQLTableDatasetTypeProperties type NetezzaLinkedService = original.NetezzaLinkedService type NetezzaLinkedServiceTypeProperties = original.NetezzaLinkedServiceTypeProperties +type NetezzaPartitionSettings = original.NetezzaPartitionSettings type NetezzaSource = original.NetezzaSource type NetezzaTableDataset = original.NetezzaTableDataset type ODataLinkedService = original.ODataLinkedService type ODataLinkedServiceTypeProperties = original.ODataLinkedServiceTypeProperties type ODataResourceDataset = original.ODataResourceDataset type ODataResourceDatasetTypeProperties = original.ODataResourceDatasetTypeProperties +type ODataSource = original.ODataSource type OdbcLinkedService = original.OdbcLinkedService type OdbcLinkedServiceTypeProperties = original.OdbcLinkedServiceTypeProperties type OdbcSink = original.OdbcSink +type OdbcSource = original.OdbcSource +type OdbcTableDataset = original.OdbcTableDataset +type OdbcTableDatasetTypeProperties = original.OdbcTableDatasetTypeProperties type Office365Dataset = original.Office365Dataset type Office365DatasetTypeProperties = original.Office365DatasetTypeProperties type Office365LinkedService = original.Office365LinkedService @@ -1405,6 +1543,7 @@ type OperationServiceSpecification = original.OperationServiceSpecification type OperationsClient = original.OperationsClient type OracleLinkedService = original.OracleLinkedService type OracleLinkedServiceTypeProperties = original.OracleLinkedServiceTypeProperties +type OraclePartitionSettings = original.OraclePartitionSettings type OracleServiceCloudLinkedService = original.OracleServiceCloudLinkedService type OracleServiceCloudLinkedServiceTypeProperties = original.OracleServiceCloudLinkedServiceTypeProperties type OracleServiceCloudObjectDataset = original.OracleServiceCloudObjectDataset @@ -1443,6 +1582,9 @@ type PipelinesClient = original.PipelinesClient type PolybaseSettings = original.PolybaseSettings type PostgreSQLLinkedService = original.PostgreSQLLinkedService type PostgreSQLLinkedServiceTypeProperties = original.PostgreSQLLinkedServiceTypeProperties +type PostgreSQLSource = original.PostgreSQLSource +type PostgreSQLTableDataset = original.PostgreSQLTableDataset +type PostgreSQLTableDatasetTypeProperties = original.PostgreSQLTableDatasetTypeProperties type PrestoLinkedService = original.PrestoLinkedService type PrestoLinkedServiceTypeProperties = original.PrestoLinkedServiceTypeProperties type PrestoObjectDataset = original.PrestoObjectDataset @@ -1485,6 +1627,8 @@ type RunQueryFilter = original.RunQueryFilter type RunQueryOrderBy = original.RunQueryOrderBy type SQLDWSink = original.SQLDWSink type SQLDWSource = original.SQLDWSource +type SQLMISink = original.SQLMISink +type SQLMISource = original.SQLMISource type SQLServerLinkedService = original.SQLServerLinkedService type SQLServerLinkedServiceTypeProperties = original.SQLServerLinkedServiceTypeProperties type SQLServerSink = original.SQLServerSink @@ -1495,9 +1639,13 @@ type SQLServerTableDataset = original.SQLServerTableDataset type SQLServerTableDatasetTypeProperties = original.SQLServerTableDatasetTypeProperties type SQLSink = original.SQLSink type SQLSource = original.SQLSource +type SSISAccessCredential = original.SSISAccessCredential type SSISExecutionCredential = original.SSISExecutionCredential type SSISExecutionParameter = original.SSISExecutionParameter +type SSISLogLocation = original.SSISLogLocation +type SSISLogLocationTypeProperties = original.SSISLogLocationTypeProperties type SSISPackageLocation = original.SSISPackageLocation +type SSISPackageLocationTypeProperties = original.SSISPackageLocationTypeProperties type SSISPropertyOverride = original.SSISPropertyOverride type SalesforceLinkedService = original.SalesforceLinkedService type SalesforceLinkedServiceTypeProperties = original.SalesforceLinkedServiceTypeProperties @@ -1507,6 +1655,12 @@ type SalesforceMarketingCloudObjectDataset = original.SalesforceMarketingCloudOb type SalesforceMarketingCloudSource = original.SalesforceMarketingCloudSource type SalesforceObjectDataset = original.SalesforceObjectDataset type SalesforceObjectDatasetTypeProperties = original.SalesforceObjectDatasetTypeProperties +type SalesforceServiceCloudLinkedService = original.SalesforceServiceCloudLinkedService +type SalesforceServiceCloudLinkedServiceTypeProperties = original.SalesforceServiceCloudLinkedServiceTypeProperties +type SalesforceServiceCloudObjectDataset = original.SalesforceServiceCloudObjectDataset +type SalesforceServiceCloudObjectDatasetTypeProperties = original.SalesforceServiceCloudObjectDatasetTypeProperties +type SalesforceServiceCloudSink = original.SalesforceServiceCloudSink +type SalesforceServiceCloudSource = original.SalesforceServiceCloudSource type SalesforceSink = original.SalesforceSink type SalesforceSource = original.SalesforceSource type SapBWLinkedService = original.SapBWLinkedService @@ -1534,6 +1688,7 @@ type SapOpenHubTableDataset = original.SapOpenHubTableDataset type SapOpenHubTableDatasetTypeProperties = original.SapOpenHubTableDatasetTypeProperties type SapTableLinkedService = original.SapTableLinkedService type SapTableLinkedServiceTypeProperties = original.SapTableLinkedServiceTypeProperties +type SapTablePartitionSettings = original.SapTablePartitionSettings type SapTableResourceDataset = original.SapTableResourceDataset type SapTableResourceDatasetTypeProperties = original.SapTableResourceDatasetTypeProperties type SapTableSource = original.SapTableSource @@ -1588,8 +1743,13 @@ type StoredProcedureParameter = original.StoredProcedureParameter type SubResource = original.SubResource type SybaseLinkedService = original.SybaseLinkedService type SybaseLinkedServiceTypeProperties = original.SybaseLinkedServiceTypeProperties +type SybaseSource = original.SybaseSource type TeradataLinkedService = original.TeradataLinkedService type TeradataLinkedServiceTypeProperties = original.TeradataLinkedServiceTypeProperties +type TeradataPartitionSettings = original.TeradataPartitionSettings +type TeradataSource = original.TeradataSource +type TeradataTableDataset = original.TeradataTableDataset +type TeradataTableDatasetTypeProperties = original.TeradataTableDatasetTypeProperties type TextFormat = original.TextFormat type Trigger = original.Trigger type TriggerDependencyReference = original.TriggerDependencyReference @@ -1813,6 +1973,12 @@ func PossibleDb2AuthenticationTypeValues() []Db2AuthenticationType { func PossibleDependencyConditionValues() []DependencyCondition { return original.PossibleDependencyConditionValues() } +func PossibleDynamicsAuthenticationTypeValues() []DynamicsAuthenticationType { + return original.PossibleDynamicsAuthenticationTypeValues() +} +func PossibleDynamicsDeploymentTypeValues() []DynamicsDeploymentType { + return original.PossibleDynamicsDeploymentTypeValues() +} func PossibleFtpAuthenticationTypeValues() []FtpAuthenticationType { return original.PossibleFtpAuthenticationTypeValues() } @@ -1879,12 +2045,18 @@ func PossibleManagedIntegrationRuntimeNodeStatusValues() []ManagedIntegrationRun func PossibleMongoDbAuthenticationTypeValues() []MongoDbAuthenticationType { return original.PossibleMongoDbAuthenticationTypeValues() } +func PossibleNetezzaPartitionOptionValues() []NetezzaPartitionOption { + return original.PossibleNetezzaPartitionOptionValues() +} func PossibleODataAadServicePrincipalCredentialTypeValues() []ODataAadServicePrincipalCredentialType { return original.PossibleODataAadServicePrincipalCredentialTypeValues() } func PossibleODataAuthenticationTypeValues() []ODataAuthenticationType { return original.PossibleODataAuthenticationTypeValues() } +func PossibleOraclePartitionOptionValues() []OraclePartitionOption { + return original.PossibleOraclePartitionOptionValues() +} func PossibleParameterTypeValues() []ParameterType { return original.PossibleParameterTypeValues() } @@ -1927,6 +2099,9 @@ func PossibleSapCloudForCustomerSinkWriteBehaviorValues() []SapCloudForCustomerS func PossibleSapHanaAuthenticationTypeValues() []SapHanaAuthenticationType { return original.PossibleSapHanaAuthenticationTypeValues() } +func PossibleSapTablePartitionOptionValues() []SapTablePartitionOption { + return original.PossibleSapTablePartitionOptionValues() +} func PossibleSelfHostedIntegrationRuntimeNodeStatusValues() []SelfHostedIntegrationRuntimeNodeStatus { return original.PossibleSelfHostedIntegrationRuntimeNodeStatusValues() } @@ -1948,6 +2123,9 @@ func PossibleSparkThriftTransportProtocolValues() []SparkThriftTransportProtocol func PossibleSsisObjectMetadataTypeValues() []SsisObjectMetadataType { return original.PossibleSsisObjectMetadataTypeValues() } +func PossibleSsisPackageLocationTypeValues() []SsisPackageLocationType { + return original.PossibleSsisPackageLocationTypeValues() +} func PossibleStoredProcedureParameterTypeValues() []StoredProcedureParameterType { return original.PossibleStoredProcedureParameterTypeValues() } @@ -1957,6 +2135,9 @@ func PossibleSybaseAuthenticationTypeValues() []SybaseAuthenticationType { func PossibleTeradataAuthenticationTypeValues() []TeradataAuthenticationType { return original.PossibleTeradataAuthenticationTypeValues() } +func PossibleTeradataPartitionOptionValues() []TeradataPartitionOption { + return original.PossibleTeradataPartitionOptionValues() +} func PossibleTriggerRunStatusValues() []TriggerRunStatus { return original.PossibleTriggerRunStatusValues() } diff --git a/profiles/preview/preview/datafactory/mgmt/datafactory/models.go b/profiles/preview/preview/datafactory/mgmt/datafactory/models.go index 31198d7fd4ab..bb4c99891be0 100644 --- a/profiles/preview/preview/datafactory/mgmt/datafactory/models.go +++ b/profiles/preview/preview/datafactory/mgmt/datafactory/models.go @@ -394,6 +394,13 @@ const ( SparkThriftTransportProtocolSASL SparkThriftTransportProtocol = original.SparkThriftTransportProtocolSASL ) +type SsisPackageLocationType = original.SsisPackageLocationType + +const ( + File SsisPackageLocationType = original.File + SSISDB SsisPackageLocationType = original.SSISDB +) + type SybaseAuthenticationType = original.SybaseAuthenticationType const ( @@ -1134,9 +1141,13 @@ type SQLServerTableDataset = original.SQLServerTableDataset type SQLServerTableDatasetTypeProperties = original.SQLServerTableDatasetTypeProperties type SQLSink = original.SQLSink type SQLSource = original.SQLSource +type SSISAccessCredential = original.SSISAccessCredential type SSISExecutionCredential = original.SSISExecutionCredential type SSISExecutionParameter = original.SSISExecutionParameter +type SSISLogLocation = original.SSISLogLocation +type SSISLogLocationTypeProperties = original.SSISLogLocationTypeProperties type SSISPackageLocation = original.SSISPackageLocation +type SSISPackageLocationTypeProperties = original.SSISPackageLocationTypeProperties type SSISPropertyOverride = original.SSISPropertyOverride type SalesforceLinkedService = original.SalesforceLinkedService type SalesforceLinkedServiceTypeProperties = original.SalesforceLinkedServiceTypeProperties @@ -1489,6 +1500,9 @@ func PossibleSparkServerTypeValues() []SparkServerType { func PossibleSparkThriftTransportProtocolValues() []SparkThriftTransportProtocol { return original.PossibleSparkThriftTransportProtocolValues() } +func PossibleSsisPackageLocationTypeValues() []SsisPackageLocationType { + return original.PossibleSsisPackageLocationTypeValues() +} func PossibleSybaseAuthenticationTypeValues() []SybaseAuthenticationType { return original.PossibleSybaseAuthenticationTypeValues() } diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/activityruns.go b/services/datafactory/mgmt/2018-06-01/datafactory/activityruns.go index 40c6454ea1c7..ae94efdbb01f 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/activityruns.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/activityruns.go @@ -122,8 +122,8 @@ func (client ActivityRunsClient) QueryByPipelineRunPreparer(ctx context.Context, // QueryByPipelineRunSender sends the QueryByPipelineRun request. The method will close the // http.Response Body if it receives an error. func (client ActivityRunsClient) QueryByPipelineRunSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // QueryByPipelineRunResponder handles the response to the QueryByPipelineRun request. The method always diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/datasets.go b/services/datafactory/mgmt/2018-06-01/datafactory/datasets.go index e22080d4aa19..9f30025d49f4 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/datasets.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/datasets.go @@ -136,8 +136,8 @@ func (client DatasetsClient) CreateOrUpdatePreparer(ctx context.Context, resourc // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client DatasetsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always @@ -231,8 +231,8 @@ func (client DatasetsClient) DeletePreparer(ctx context.Context, resourceGroupNa // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client DatasetsClient) DeleteSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // DeleteResponder handles the response to the Delete request. The method always @@ -331,8 +331,8 @@ func (client DatasetsClient) GetPreparer(ctx context.Context, resourceGroupName // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client DatasetsClient) GetSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // GetResponder handles the response to the Get request. The method always @@ -421,8 +421,8 @@ func (client DatasetsClient) ListByFactoryPreparer(ctx context.Context, resource // ListByFactorySender sends the ListByFactory request. The method will close the // http.Response Body if it receives an error. func (client DatasetsClient) ListByFactorySender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // ListByFactoryResponder handles the response to the ListByFactory request. The method always diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/exposurecontrol.go b/services/datafactory/mgmt/2018-06-01/datafactory/exposurecontrol.go index 6b157276427e..7463fdaa347e 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/exposurecontrol.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/exposurecontrol.go @@ -103,8 +103,8 @@ func (client ExposureControlClient) GetFeatureValuePreparer(ctx context.Context, // GetFeatureValueSender sends the GetFeatureValue request. The method will close the // http.Response Body if it receives an error. func (client ExposureControlClient) GetFeatureValueSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // GetFeatureValueResponder handles the response to the GetFeatureValue request. The method always @@ -195,8 +195,8 @@ func (client ExposureControlClient) GetFeatureValueByFactoryPreparer(ctx context // GetFeatureValueByFactorySender sends the GetFeatureValueByFactory request. The method will close the // http.Response Body if it receives an error. func (client ExposureControlClient) GetFeatureValueByFactorySender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // GetFeatureValueByFactoryResponder handles the response to the GetFeatureValueByFactory request. The method always diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/factories.go b/services/datafactory/mgmt/2018-06-01/datafactory/factories.go index 09e0ed6d9283..a38f605234f1 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/factories.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/factories.go @@ -114,8 +114,8 @@ func (client FactoriesClient) ConfigureFactoryRepoPreparer(ctx context.Context, // ConfigureFactoryRepoSender sends the ConfigureFactoryRepo request. The method will close the // http.Response Body if it receives an error. func (client FactoriesClient) ConfigureFactoryRepoSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // ConfigureFactoryRepoResponder handles the response to the ConfigureFactoryRepo request. The method always @@ -223,8 +223,8 @@ func (client FactoriesClient) CreateOrUpdatePreparer(ctx context.Context, resour // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client FactoriesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always @@ -312,8 +312,8 @@ func (client FactoriesClient) DeletePreparer(ctx context.Context, resourceGroupN // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client FactoriesClient) DeleteSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // DeleteResponder handles the response to the Delete request. The method always @@ -406,8 +406,8 @@ func (client FactoriesClient) GetPreparer(ctx context.Context, resourceGroupName // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client FactoriesClient) GetSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // GetResponder handles the response to the Get request. The method always @@ -498,8 +498,8 @@ func (client FactoriesClient) GetDataPlaneAccessPreparer(ctx context.Context, re // GetDataPlaneAccessSender sends the GetDataPlaneAccess request. The method will close the // http.Response Body if it receives an error. func (client FactoriesClient) GetDataPlaneAccessSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // GetDataPlaneAccessResponder handles the response to the GetDataPlaneAccess request. The method always @@ -593,8 +593,8 @@ func (client FactoriesClient) GetGitHubAccessTokenPreparer(ctx context.Context, // GetGitHubAccessTokenSender sends the GetGitHubAccessToken request. The method will close the // http.Response Body if it receives an error. func (client FactoriesClient) GetGitHubAccessTokenSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // GetGitHubAccessTokenResponder handles the response to the GetGitHubAccessToken request. The method always @@ -666,8 +666,8 @@ func (client FactoriesClient) ListPreparer(ctx context.Context) (*http.Request, // ListSender sends the List request. The method will close the // http.Response Body if it receives an error. func (client FactoriesClient) ListSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // ListResponder handles the response to the List request. The method always @@ -787,8 +787,8 @@ func (client FactoriesClient) ListByResourceGroupPreparer(ctx context.Context, r // ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the // http.Response Body if it receives an error. func (client FactoriesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always @@ -916,8 +916,8 @@ func (client FactoriesClient) UpdatePreparer(ctx context.Context, resourceGroupN // UpdateSender sends the Update request. The method will close the // http.Response Body if it receives an error. func (client FactoriesClient) UpdateSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // UpdateResponder handles the response to the Update request. The method always diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimenodes.go b/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimenodes.go index f92a7f2692de..007184ec149e 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimenodes.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimenodes.go @@ -126,8 +126,8 @@ func (client IntegrationRuntimeNodesClient) DeletePreparer(ctx context.Context, // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimeNodesClient) DeleteSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // DeleteResponder handles the response to the Delete request. The method always @@ -226,8 +226,8 @@ func (client IntegrationRuntimeNodesClient) GetPreparer(ctx context.Context, res // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimeNodesClient) GetSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // GetResponder handles the response to the Get request. The method always @@ -327,8 +327,8 @@ func (client IntegrationRuntimeNodesClient) GetIPAddressPreparer(ctx context.Con // GetIPAddressSender sends the GetIPAddress request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimeNodesClient) GetIPAddressSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // GetIPAddressResponder handles the response to the GetIPAddress request. The method always @@ -431,8 +431,8 @@ func (client IntegrationRuntimeNodesClient) UpdatePreparer(ctx context.Context, // UpdateSender sends the Update request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimeNodesClient) UpdateSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // UpdateResponder handles the response to the Update request. The method always diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimeobjectmetadata.go b/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimeobjectmetadata.go index a97b530b1c0b..a32e614cd3f1 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimeobjectmetadata.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimeobjectmetadata.go @@ -127,8 +127,8 @@ func (client IntegrationRuntimeObjectMetadataClient) GetPreparer(ctx context.Con // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimeObjectMetadataClient) GetSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // GetResponder handles the response to the Get request. The method always @@ -216,9 +216,9 @@ func (client IntegrationRuntimeObjectMetadataClient) RefreshPreparer(ctx context // RefreshSender sends the Refresh request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimeObjectMetadataClient) RefreshSender(req *http.Request) (future IntegrationRuntimeObjectMetadataRefreshFuture, err error) { + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) var resp *http.Response - resp, err = autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + resp, err = autorest.SendWithSender(client, req, sd...) if err != nil { return } diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimes.go b/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimes.go index 9d56d985b159..7be42541bdae 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimes.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimes.go @@ -123,8 +123,8 @@ func (client IntegrationRuntimesClient) CreateLinkedIntegrationRuntimePreparer(c // CreateLinkedIntegrationRuntimeSender sends the CreateLinkedIntegrationRuntime request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimesClient) CreateLinkedIntegrationRuntimeSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // CreateLinkedIntegrationRuntimeResponder handles the response to the CreateLinkedIntegrationRuntime request. The method always @@ -229,8 +229,8 @@ func (client IntegrationRuntimesClient) CreateOrUpdatePreparer(ctx context.Conte // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always @@ -324,8 +324,8 @@ func (client IntegrationRuntimesClient) DeletePreparer(ctx context.Context, reso // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimesClient) DeleteSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // DeleteResponder handles the response to the Delete request. The method always @@ -424,8 +424,8 @@ func (client IntegrationRuntimesClient) GetPreparer(ctx context.Context, resourc // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimesClient) GetSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // GetResponder handles the response to the Get request. The method always @@ -520,8 +520,8 @@ func (client IntegrationRuntimesClient) GetConnectionInfoPreparer(ctx context.Co // GetConnectionInfoSender sends the GetConnectionInfo request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimesClient) GetConnectionInfoSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // GetConnectionInfoResponder handles the response to the GetConnectionInfo request. The method always @@ -616,8 +616,8 @@ func (client IntegrationRuntimesClient) GetMonitoringDataPreparer(ctx context.Co // GetMonitoringDataSender sends the GetMonitoringData request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimesClient) GetMonitoringDataSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // GetMonitoringDataResponder handles the response to the GetMonitoringData request. The method always @@ -711,8 +711,8 @@ func (client IntegrationRuntimesClient) GetStatusPreparer(ctx context.Context, r // GetStatusSender sends the GetStatus request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimesClient) GetStatusSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // GetStatusResponder handles the response to the GetStatus request. The method always @@ -806,8 +806,8 @@ func (client IntegrationRuntimesClient) ListAuthKeysPreparer(ctx context.Context // ListAuthKeysSender sends the ListAuthKeys request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimesClient) ListAuthKeysSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // ListAuthKeysResponder handles the response to the ListAuthKeys request. The method always @@ -896,8 +896,8 @@ func (client IntegrationRuntimesClient) ListByFactoryPreparer(ctx context.Contex // ListByFactorySender sends the ListByFactory request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimesClient) ListByFactorySender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // ListByFactoryResponder handles the response to the ListByFactory request. The method always @@ -1031,8 +1031,8 @@ func (client IntegrationRuntimesClient) RegenerateAuthKeyPreparer(ctx context.Co // RegenerateAuthKeySender sends the RegenerateAuthKey request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimesClient) RegenerateAuthKeySender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // RegenerateAuthKeyResponder handles the response to the RegenerateAuthKey request. The method always @@ -1131,8 +1131,8 @@ func (client IntegrationRuntimesClient) RemoveLinksPreparer(ctx context.Context, // RemoveLinksSender sends the RemoveLinks request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimesClient) RemoveLinksSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // RemoveLinksResponder handles the response to the RemoveLinks request. The method always @@ -1219,9 +1219,9 @@ func (client IntegrationRuntimesClient) StartPreparer(ctx context.Context, resou // StartSender sends the Start request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimesClient) StartSender(req *http.Request) (future IntegrationRuntimesStartFuture, err error) { + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) var resp *http.Response - resp, err = autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + resp, err = autorest.SendWithSender(client, req, sd...) if err != nil { return } @@ -1314,9 +1314,9 @@ func (client IntegrationRuntimesClient) StopPreparer(ctx context.Context, resour // StopSender sends the Stop request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimesClient) StopSender(req *http.Request) (future IntegrationRuntimesStopFuture, err error) { + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) var resp *http.Response - resp, err = autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + resp, err = autorest.SendWithSender(client, req, sd...) if err != nil { return } @@ -1417,8 +1417,8 @@ func (client IntegrationRuntimesClient) SyncCredentialsPreparer(ctx context.Cont // SyncCredentialsSender sends the SyncCredentials request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimesClient) SyncCredentialsSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // SyncCredentialsResponder handles the response to the SyncCredentials request. The method always @@ -1514,8 +1514,8 @@ func (client IntegrationRuntimesClient) UpdatePreparer(ctx context.Context, reso // UpdateSender sends the Update request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimesClient) UpdateSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // UpdateResponder handles the response to the Update request. The method always @@ -1609,8 +1609,8 @@ func (client IntegrationRuntimesClient) UpgradePreparer(ctx context.Context, res // UpgradeSender sends the Upgrade request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimesClient) UpgradeSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // UpgradeResponder handles the response to the Upgrade request. The method always diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/linkedservices.go b/services/datafactory/mgmt/2018-06-01/datafactory/linkedservices.go index 952b6a5a0453..2dc34f42c5d8 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/linkedservices.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/linkedservices.go @@ -136,8 +136,8 @@ func (client LinkedServicesClient) CreateOrUpdatePreparer(ctx context.Context, r // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client LinkedServicesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always @@ -231,8 +231,8 @@ func (client LinkedServicesClient) DeletePreparer(ctx context.Context, resourceG // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client LinkedServicesClient) DeleteSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // DeleteResponder handles the response to the Delete request. The method always @@ -331,8 +331,8 @@ func (client LinkedServicesClient) GetPreparer(ctx context.Context, resourceGrou // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client LinkedServicesClient) GetSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // GetResponder handles the response to the Get request. The method always @@ -421,8 +421,8 @@ func (client LinkedServicesClient) ListByFactoryPreparer(ctx context.Context, re // ListByFactorySender sends the ListByFactory request. The method will close the // http.Response Body if it receives an error. func (client LinkedServicesClient) ListByFactorySender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // ListByFactoryResponder handles the response to the ListByFactory request. The method always diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/models.go b/services/datafactory/mgmt/2018-06-01/datafactory/models.go index a58c8ac953fd..b9da4929a35e 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/models.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/models.go @@ -236,6 +236,36 @@ func PossibleDependencyConditionValues() []DependencyCondition { return []DependencyCondition{Completed, Failed, Skipped, Succeeded} } +// DynamicsAuthenticationType enumerates the values for dynamics authentication type. +type DynamicsAuthenticationType string + +const ( + // Ifd ... + Ifd DynamicsAuthenticationType = "Ifd" + // Office365 ... + Office365 DynamicsAuthenticationType = "Office365" +) + +// PossibleDynamicsAuthenticationTypeValues returns an array of possible values for the DynamicsAuthenticationType const type. +func PossibleDynamicsAuthenticationTypeValues() []DynamicsAuthenticationType { + return []DynamicsAuthenticationType{Ifd, Office365} +} + +// DynamicsDeploymentType enumerates the values for dynamics deployment type. +type DynamicsDeploymentType string + +const ( + // Online ... + Online DynamicsDeploymentType = "Online" + // OnPremisesWithIfd ... + OnPremisesWithIfd DynamicsDeploymentType = "OnPremisesWithIfd" +) + +// PossibleDynamicsDeploymentTypeValues returns an array of possible values for the DynamicsDeploymentType const type. +func PossibleDynamicsDeploymentTypeValues() []DynamicsDeploymentType { + return []DynamicsDeploymentType{Online, OnPremisesWithIfd} +} + // FtpAuthenticationType enumerates the values for ftp authentication type. type FtpAuthenticationType string @@ -521,31 +551,31 @@ func PossibleIntegrationRuntimeSsisCatalogPricingTierValues() []IntegrationRunti type IntegrationRuntimeState string const ( - // AccessDenied ... - AccessDenied IntegrationRuntimeState = "AccessDenied" - // Initial ... - Initial IntegrationRuntimeState = "Initial" - // Limited ... - Limited IntegrationRuntimeState = "Limited" - // NeedRegistration ... - NeedRegistration IntegrationRuntimeState = "NeedRegistration" - // Offline ... - Offline IntegrationRuntimeState = "Offline" - // Online ... - Online IntegrationRuntimeState = "Online" - // Started ... - Started IntegrationRuntimeState = "Started" - // Starting ... - Starting IntegrationRuntimeState = "Starting" - // Stopped ... - Stopped IntegrationRuntimeState = "Stopped" - // Stopping ... - Stopping IntegrationRuntimeState = "Stopping" + // IntegrationRuntimeStateAccessDenied ... + IntegrationRuntimeStateAccessDenied IntegrationRuntimeState = "AccessDenied" + // IntegrationRuntimeStateInitial ... + IntegrationRuntimeStateInitial IntegrationRuntimeState = "Initial" + // IntegrationRuntimeStateLimited ... + IntegrationRuntimeStateLimited IntegrationRuntimeState = "Limited" + // IntegrationRuntimeStateNeedRegistration ... + IntegrationRuntimeStateNeedRegistration IntegrationRuntimeState = "NeedRegistration" + // IntegrationRuntimeStateOffline ... + IntegrationRuntimeStateOffline IntegrationRuntimeState = "Offline" + // IntegrationRuntimeStateOnline ... + IntegrationRuntimeStateOnline IntegrationRuntimeState = "Online" + // IntegrationRuntimeStateStarted ... + IntegrationRuntimeStateStarted IntegrationRuntimeState = "Started" + // IntegrationRuntimeStateStarting ... + IntegrationRuntimeStateStarting IntegrationRuntimeState = "Starting" + // IntegrationRuntimeStateStopped ... + IntegrationRuntimeStateStopped IntegrationRuntimeState = "Stopped" + // IntegrationRuntimeStateStopping ... + IntegrationRuntimeStateStopping IntegrationRuntimeState = "Stopping" ) // PossibleIntegrationRuntimeStateValues returns an array of possible values for the IntegrationRuntimeState const type. func PossibleIntegrationRuntimeStateValues() []IntegrationRuntimeState { - return []IntegrationRuntimeState{AccessDenied, Initial, Limited, NeedRegistration, Offline, Online, Started, Starting, Stopped, Stopping} + return []IntegrationRuntimeState{IntegrationRuntimeStateAccessDenied, IntegrationRuntimeStateInitial, IntegrationRuntimeStateLimited, IntegrationRuntimeStateNeedRegistration, IntegrationRuntimeStateOffline, IntegrationRuntimeStateOnline, IntegrationRuntimeStateStarted, IntegrationRuntimeStateStarting, IntegrationRuntimeStateStopped, IntegrationRuntimeStateStopping} } // IntegrationRuntimeType enumerates the values for integration runtime type. @@ -584,19 +614,19 @@ func PossibleIntegrationRuntimeUpdateResultValues() []IntegrationRuntimeUpdateRe type ManagedIntegrationRuntimeNodeStatus string const ( - // ManagedIntegrationRuntimeNodeStatusAvailable ... - ManagedIntegrationRuntimeNodeStatusAvailable ManagedIntegrationRuntimeNodeStatus = "Available" - // ManagedIntegrationRuntimeNodeStatusRecycling ... - ManagedIntegrationRuntimeNodeStatusRecycling ManagedIntegrationRuntimeNodeStatus = "Recycling" - // ManagedIntegrationRuntimeNodeStatusStarting ... - ManagedIntegrationRuntimeNodeStatusStarting ManagedIntegrationRuntimeNodeStatus = "Starting" - // ManagedIntegrationRuntimeNodeStatusUnavailable ... - ManagedIntegrationRuntimeNodeStatusUnavailable ManagedIntegrationRuntimeNodeStatus = "Unavailable" + // Available ... + Available ManagedIntegrationRuntimeNodeStatus = "Available" + // Recycling ... + Recycling ManagedIntegrationRuntimeNodeStatus = "Recycling" + // Starting ... + Starting ManagedIntegrationRuntimeNodeStatus = "Starting" + // Unavailable ... + Unavailable ManagedIntegrationRuntimeNodeStatus = "Unavailable" ) // PossibleManagedIntegrationRuntimeNodeStatusValues returns an array of possible values for the ManagedIntegrationRuntimeNodeStatus const type. func PossibleManagedIntegrationRuntimeNodeStatusValues() []ManagedIntegrationRuntimeNodeStatus { - return []ManagedIntegrationRuntimeNodeStatus{ManagedIntegrationRuntimeNodeStatusAvailable, ManagedIntegrationRuntimeNodeStatusRecycling, ManagedIntegrationRuntimeNodeStatusStarting, ManagedIntegrationRuntimeNodeStatusUnavailable} + return []ManagedIntegrationRuntimeNodeStatus{Available, Recycling, Starting, Unavailable} } // MongoDbAuthenticationType enumerates the values for mongo db authentication type. @@ -614,6 +644,23 @@ func PossibleMongoDbAuthenticationTypeValues() []MongoDbAuthenticationType { return []MongoDbAuthenticationType{MongoDbAuthenticationTypeAnonymous, MongoDbAuthenticationTypeBasic} } +// NetezzaPartitionOption enumerates the values for netezza partition option. +type NetezzaPartitionOption string + +const ( + // NetezzaPartitionOptionDataSlice ... + NetezzaPartitionOptionDataSlice NetezzaPartitionOption = "DataSlice" + // NetezzaPartitionOptionDynamicRange ... + NetezzaPartitionOptionDynamicRange NetezzaPartitionOption = "DynamicRange" + // NetezzaPartitionOptionNone ... + NetezzaPartitionOptionNone NetezzaPartitionOption = "None" +) + +// PossibleNetezzaPartitionOptionValues returns an array of possible values for the NetezzaPartitionOption const type. +func PossibleNetezzaPartitionOptionValues() []NetezzaPartitionOption { + return []NetezzaPartitionOption{NetezzaPartitionOptionDataSlice, NetezzaPartitionOptionDynamicRange, NetezzaPartitionOptionNone} +} + // ODataAadServicePrincipalCredentialType enumerates the values for o data aad service principal credential // type. type ODataAadServicePrincipalCredentialType string @@ -651,6 +698,23 @@ func PossibleODataAuthenticationTypeValues() []ODataAuthenticationType { return []ODataAuthenticationType{ODataAuthenticationTypeAadServicePrincipal, ODataAuthenticationTypeAnonymous, ODataAuthenticationTypeBasic, ODataAuthenticationTypeManagedServiceIdentity, ODataAuthenticationTypeWindows} } +// OraclePartitionOption enumerates the values for oracle partition option. +type OraclePartitionOption string + +const ( + // OraclePartitionOptionDynamicRange ... + OraclePartitionOptionDynamicRange OraclePartitionOption = "DynamicRange" + // OraclePartitionOptionNone ... + OraclePartitionOptionNone OraclePartitionOption = "None" + // OraclePartitionOptionPhysicalPartitionsOfTable ... + OraclePartitionOptionPhysicalPartitionsOfTable OraclePartitionOption = "PhysicalPartitionsOfTable" +) + +// PossibleOraclePartitionOptionValues returns an array of possible values for the OraclePartitionOption const type. +func PossibleOraclePartitionOptionValues() []OraclePartitionOption { + return []OraclePartitionOption{OraclePartitionOptionDynamicRange, OraclePartitionOptionNone, OraclePartitionOptionPhysicalPartitionsOfTable} +} + // ParameterType enumerates the values for parameter type. type ParameterType string @@ -925,6 +989,29 @@ func PossibleSapHanaAuthenticationTypeValues() []SapHanaAuthenticationType { return []SapHanaAuthenticationType{SapHanaAuthenticationTypeBasic, SapHanaAuthenticationTypeWindows} } +// SapTablePartitionOption enumerates the values for sap table partition option. +type SapTablePartitionOption string + +const ( + // SapTablePartitionOptionNone ... + SapTablePartitionOptionNone SapTablePartitionOption = "None" + // SapTablePartitionOptionPartitionOnCalendarDate ... + SapTablePartitionOptionPartitionOnCalendarDate SapTablePartitionOption = "PartitionOnCalendarDate" + // SapTablePartitionOptionPartitionOnCalendarMonth ... + SapTablePartitionOptionPartitionOnCalendarMonth SapTablePartitionOption = "PartitionOnCalendarMonth" + // SapTablePartitionOptionPartitionOnCalendarYear ... + SapTablePartitionOptionPartitionOnCalendarYear SapTablePartitionOption = "PartitionOnCalendarYear" + // SapTablePartitionOptionPartitionOnInt ... + SapTablePartitionOptionPartitionOnInt SapTablePartitionOption = "PartitionOnInt" + // SapTablePartitionOptionPartitionOnTime ... + SapTablePartitionOptionPartitionOnTime SapTablePartitionOption = "PartitionOnTime" +) + +// PossibleSapTablePartitionOptionValues returns an array of possible values for the SapTablePartitionOption const type. +func PossibleSapTablePartitionOptionValues() []SapTablePartitionOption { + return []SapTablePartitionOption{SapTablePartitionOptionNone, SapTablePartitionOptionPartitionOnCalendarDate, SapTablePartitionOptionPartitionOnCalendarMonth, SapTablePartitionOptionPartitionOnCalendarYear, SapTablePartitionOptionPartitionOnInt, SapTablePartitionOptionPartitionOnTime} +} + // SelfHostedIntegrationRuntimeNodeStatus enumerates the values for self hosted integration runtime node // status. type SelfHostedIntegrationRuntimeNodeStatus string @@ -1053,6 +1140,21 @@ func PossibleSsisObjectMetadataTypeValues() []SsisObjectMetadataType { return []SsisObjectMetadataType{Environment, Folder, Package, Project} } +// SsisPackageLocationType enumerates the values for ssis package location type. +type SsisPackageLocationType string + +const ( + // File ... + File SsisPackageLocationType = "File" + // SSISDB ... + SSISDB SsisPackageLocationType = "SSISDB" +) + +// PossibleSsisPackageLocationTypeValues returns an array of possible values for the SsisPackageLocationType const type. +func PossibleSsisPackageLocationTypeValues() []SsisPackageLocationType { + return []SsisPackageLocationType{File, SSISDB} +} + // StoredProcedureParameterType enumerates the values for stored procedure parameter type. type StoredProcedureParameterType string @@ -1108,6 +1210,23 @@ func PossibleTeradataAuthenticationTypeValues() []TeradataAuthenticationType { return []TeradataAuthenticationType{TeradataAuthenticationTypeBasic, TeradataAuthenticationTypeWindows} } +// TeradataPartitionOption enumerates the values for teradata partition option. +type TeradataPartitionOption string + +const ( + // TeradataPartitionOptionDynamicRange ... + TeradataPartitionOptionDynamicRange TeradataPartitionOption = "DynamicRange" + // TeradataPartitionOptionHash ... + TeradataPartitionOptionHash TeradataPartitionOption = "Hash" + // TeradataPartitionOptionNone ... + TeradataPartitionOptionNone TeradataPartitionOption = "None" +) + +// PossibleTeradataPartitionOptionValues returns an array of possible values for the TeradataPartitionOption const type. +func PossibleTeradataPartitionOptionValues() []TeradataPartitionOption { + return []TeradataPartitionOption{TeradataPartitionOptionDynamicRange, TeradataPartitionOptionHash, TeradataPartitionOptionNone} +} + // TriggerRunStatus enumerates the values for trigger run status. type TriggerRunStatus string @@ -1129,17 +1248,17 @@ func PossibleTriggerRunStatusValues() []TriggerRunStatus { type TriggerRuntimeState string const ( - // TriggerRuntimeStateDisabled ... - TriggerRuntimeStateDisabled TriggerRuntimeState = "Disabled" - // TriggerRuntimeStateStarted ... - TriggerRuntimeStateStarted TriggerRuntimeState = "Started" - // TriggerRuntimeStateStopped ... - TriggerRuntimeStateStopped TriggerRuntimeState = "Stopped" + // Disabled ... + Disabled TriggerRuntimeState = "Disabled" + // Started ... + Started TriggerRuntimeState = "Started" + // Stopped ... + Stopped TriggerRuntimeState = "Stopped" ) // PossibleTriggerRuntimeStateValues returns an array of possible values for the TriggerRuntimeState const type. func PossibleTriggerRuntimeStateValues() []TriggerRuntimeState { - return []TriggerRuntimeState{TriggerRuntimeStateDisabled, TriggerRuntimeStateStarted, TriggerRuntimeStateStopped} + return []TriggerRuntimeState{Disabled, Started, Stopped} } // TumblingWindowFrequency enumerates the values for tumbling window frequency. @@ -1261,6 +1380,8 @@ const ( TypeAzureDataExplorerSink TypeBasicCopySink = "AzureDataExplorerSink" // TypeAzureDataLakeStoreSink ... TypeAzureDataLakeStoreSink TypeBasicCopySink = "AzureDataLakeStoreSink" + // TypeAzurePostgreSQLSink ... + TypeAzurePostgreSQLSink TypeBasicCopySink = "AzurePostgreSqlSink" // TypeAzureQueueSink ... TypeAzureQueueSink TypeBasicCopySink = "AzureQueueSink" // TypeAzureSearchIndexSink ... @@ -1269,8 +1390,12 @@ const ( TypeAzureSQLSink TypeBasicCopySink = "AzureSqlSink" // TypeAzureTableSink ... TypeAzureTableSink TypeBasicCopySink = "AzureTableSink" + // TypeBinarySink ... + TypeBinarySink TypeBasicCopySink = "BinarySink" // TypeBlobSink ... TypeBlobSink TypeBasicCopySink = "BlobSink" + // TypeCommonDataServiceForAppsSink ... + TypeCommonDataServiceForAppsSink TypeBasicCopySink = "CommonDataServiceForAppsSink" // TypeCopySink ... TypeCopySink TypeBasicCopySink = "CopySink" // TypeCosmosDbMongoDbAPISink ... @@ -1279,22 +1404,32 @@ const ( TypeDelimitedTextSink TypeBasicCopySink = "DelimitedTextSink" // TypeDocumentDbCollectionSink ... TypeDocumentDbCollectionSink TypeBasicCopySink = "DocumentDbCollectionSink" + // TypeDynamicsCrmSink ... + TypeDynamicsCrmSink TypeBasicCopySink = "DynamicsCrmSink" // TypeDynamicsSink ... TypeDynamicsSink TypeBasicCopySink = "DynamicsSink" // TypeFileSystemSink ... TypeFileSystemSink TypeBasicCopySink = "FileSystemSink" + // TypeInformixSink ... + TypeInformixSink TypeBasicCopySink = "InformixSink" + // TypeMicrosoftAccessSink ... + TypeMicrosoftAccessSink TypeBasicCopySink = "MicrosoftAccessSink" // TypeOdbcSink ... TypeOdbcSink TypeBasicCopySink = "OdbcSink" // TypeOracleSink ... TypeOracleSink TypeBasicCopySink = "OracleSink" // TypeParquetSink ... TypeParquetSink TypeBasicCopySink = "ParquetSink" + // TypeSalesforceServiceCloudSink ... + TypeSalesforceServiceCloudSink TypeBasicCopySink = "SalesforceServiceCloudSink" // TypeSalesforceSink ... TypeSalesforceSink TypeBasicCopySink = "SalesforceSink" // TypeSapCloudForCustomerSink ... TypeSapCloudForCustomerSink TypeBasicCopySink = "SapCloudForCustomerSink" // TypeSQLDWSink ... TypeSQLDWSink TypeBasicCopySink = "SqlDWSink" + // TypeSQLMISink ... + TypeSQLMISink TypeBasicCopySink = "SqlMISink" // TypeSQLServerSink ... TypeSQLServerSink TypeBasicCopySink = "SqlServerSink" // TypeSQLSink ... @@ -1303,7 +1438,7 @@ const ( // PossibleTypeBasicCopySinkValues returns an array of possible values for the TypeBasicCopySink const type. func PossibleTypeBasicCopySinkValues() []TypeBasicCopySink { - return []TypeBasicCopySink{TypeAzureBlobFSSink, TypeAzureDataExplorerSink, TypeAzureDataLakeStoreSink, TypeAzureQueueSink, TypeAzureSearchIndexSink, TypeAzureSQLSink, TypeAzureTableSink, TypeBlobSink, TypeCopySink, TypeCosmosDbMongoDbAPISink, TypeDelimitedTextSink, TypeDocumentDbCollectionSink, TypeDynamicsSink, TypeFileSystemSink, TypeOdbcSink, TypeOracleSink, TypeParquetSink, TypeSalesforceSink, TypeSapCloudForCustomerSink, TypeSQLDWSink, TypeSQLServerSink, TypeSQLSink} + return []TypeBasicCopySink{TypeAzureBlobFSSink, TypeAzureDataExplorerSink, TypeAzureDataLakeStoreSink, TypeAzurePostgreSQLSink, TypeAzureQueueSink, TypeAzureSearchIndexSink, TypeAzureSQLSink, TypeAzureTableSink, TypeBinarySink, TypeBlobSink, TypeCommonDataServiceForAppsSink, TypeCopySink, TypeCosmosDbMongoDbAPISink, TypeDelimitedTextSink, TypeDocumentDbCollectionSink, TypeDynamicsCrmSink, TypeDynamicsSink, TypeFileSystemSink, TypeInformixSink, TypeMicrosoftAccessSink, TypeOdbcSink, TypeOracleSink, TypeParquetSink, TypeSalesforceServiceCloudSink, TypeSalesforceSink, TypeSapCloudForCustomerSink, TypeSQLDWSink, TypeSQLMISink, TypeSQLServerSink, TypeSQLSink} } // TypeBasicCopySource enumerates the values for type basic copy source. @@ -1328,10 +1463,14 @@ const ( TypeAzureSQLSource TypeBasicCopySource = "AzureSqlSource" // TypeAzureTableSource ... TypeAzureTableSource TypeBasicCopySource = "AzureTableSource" + // TypeBinarySource ... + TypeBinarySource TypeBasicCopySource = "BinarySource" // TypeBlobSource ... TypeBlobSource TypeBasicCopySource = "BlobSource" // TypeCassandraSource ... TypeCassandraSource TypeBasicCopySource = "CassandraSource" + // TypeCommonDataServiceForAppsSource ... + TypeCommonDataServiceForAppsSource TypeBasicCopySource = "CommonDataServiceForAppsSource" // TypeConcurSource ... TypeConcurSource TypeBasicCopySource = "ConcurSource" // TypeCopySource ... @@ -1340,6 +1479,8 @@ const ( TypeCosmosDbMongoDbAPISource TypeBasicCopySource = "CosmosDbMongoDbApiSource" // TypeCouchbaseSource ... TypeCouchbaseSource TypeBasicCopySource = "CouchbaseSource" + // TypeDb2Source ... + TypeDb2Source TypeBasicCopySource = "Db2Source" // TypeDelimitedTextSource ... TypeDelimitedTextSource TypeBasicCopySource = "DelimitedTextSource" // TypeDocumentDbCollectionSource ... @@ -1348,6 +1489,8 @@ const ( TypeDrillSource TypeBasicCopySource = "DrillSource" // TypeDynamicsAXSource ... TypeDynamicsAXSource TypeBasicCopySource = "DynamicsAXSource" + // TypeDynamicsCrmSource ... + TypeDynamicsCrmSource TypeBasicCopySource = "DynamicsCrmSource" // TypeDynamicsSource ... TypeDynamicsSource TypeBasicCopySource = "DynamicsSource" // TypeEloquaSource ... @@ -1372,6 +1515,8 @@ const ( TypeHubspotSource TypeBasicCopySource = "HubspotSource" // TypeImpalaSource ... TypeImpalaSource TypeBasicCopySource = "ImpalaSource" + // TypeInformixSource ... + TypeInformixSource TypeBasicCopySource = "InformixSource" // TypeJiraSource ... TypeJiraSource TypeBasicCopySource = "JiraSource" // TypeMagentoSource ... @@ -1380,12 +1525,20 @@ const ( TypeMariaDBSource TypeBasicCopySource = "MariaDBSource" // TypeMarketoSource ... TypeMarketoSource TypeBasicCopySource = "MarketoSource" + // TypeMicrosoftAccessSource ... + TypeMicrosoftAccessSource TypeBasicCopySource = "MicrosoftAccessSource" // TypeMongoDbSource ... TypeMongoDbSource TypeBasicCopySource = "MongoDbSource" // TypeMongoDbV2Source ... TypeMongoDbV2Source TypeBasicCopySource = "MongoDbV2Source" + // TypeMySQLSource ... + TypeMySQLSource TypeBasicCopySource = "MySqlSource" // TypeNetezzaSource ... TypeNetezzaSource TypeBasicCopySource = "NetezzaSource" + // TypeODataSource ... + TypeODataSource TypeBasicCopySource = "ODataSource" + // TypeOdbcSource ... + TypeOdbcSource TypeBasicCopySource = "OdbcSource" // TypeOffice365Source ... TypeOffice365Source TypeBasicCopySource = "Office365Source" // TypeOracleServiceCloudSource ... @@ -1398,6 +1551,8 @@ const ( TypePaypalSource TypeBasicCopySource = "PaypalSource" // TypePhoenixSource ... TypePhoenixSource TypeBasicCopySource = "PhoenixSource" + // TypePostgreSQLSource ... + TypePostgreSQLSource TypeBasicCopySource = "PostgreSqlSource" // TypePrestoSource ... TypePrestoSource TypeBasicCopySource = "PrestoSource" // TypeQuickBooksSource ... @@ -1410,6 +1565,8 @@ const ( TypeRestSource TypeBasicCopySource = "RestSource" // TypeSalesforceMarketingCloudSource ... TypeSalesforceMarketingCloudSource TypeBasicCopySource = "SalesforceMarketingCloudSource" + // TypeSalesforceServiceCloudSource ... + TypeSalesforceServiceCloudSource TypeBasicCopySource = "SalesforceServiceCloudSource" // TypeSalesforceSource ... TypeSalesforceSource TypeBasicCopySource = "SalesforceSource" // TypeSapCloudForCustomerSource ... @@ -1430,12 +1587,18 @@ const ( TypeSparkSource TypeBasicCopySource = "SparkSource" // TypeSQLDWSource ... TypeSQLDWSource TypeBasicCopySource = "SqlDWSource" + // TypeSQLMISource ... + TypeSQLMISource TypeBasicCopySource = "SqlMISource" // TypeSQLServerSource ... TypeSQLServerSource TypeBasicCopySource = "SqlServerSource" // TypeSQLSource ... TypeSQLSource TypeBasicCopySource = "SqlSource" // TypeSquareSource ... TypeSquareSource TypeBasicCopySource = "SquareSource" + // TypeSybaseSource ... + TypeSybaseSource TypeBasicCopySource = "SybaseSource" + // TypeTeradataSource ... + TypeTeradataSource TypeBasicCopySource = "TeradataSource" // TypeVerticaSource ... TypeVerticaSource TypeBasicCopySource = "VerticaSource" // TypeWebSource ... @@ -1448,7 +1611,7 @@ const ( // PossibleTypeBasicCopySourceValues returns an array of possible values for the TypeBasicCopySource const type. func PossibleTypeBasicCopySourceValues() []TypeBasicCopySource { - return []TypeBasicCopySource{TypeAmazonMWSSource, TypeAmazonRedshiftSource, TypeAzureBlobFSSource, TypeAzureDataExplorerSource, TypeAzureDataLakeStoreSource, TypeAzureMySQLSource, TypeAzurePostgreSQLSource, TypeAzureSQLSource, TypeAzureTableSource, TypeBlobSource, TypeCassandraSource, TypeConcurSource, TypeCopySource, TypeCosmosDbMongoDbAPISource, TypeCouchbaseSource, TypeDelimitedTextSource, TypeDocumentDbCollectionSource, TypeDrillSource, TypeDynamicsAXSource, TypeDynamicsSource, TypeEloquaSource, TypeFileSystemSource, TypeGoogleAdWordsSource, TypeGoogleBigQuerySource, TypeGreenplumSource, TypeHBaseSource, TypeHdfsSource, TypeHiveSource, TypeHTTPSource, TypeHubspotSource, TypeImpalaSource, TypeJiraSource, TypeMagentoSource, TypeMariaDBSource, TypeMarketoSource, TypeMongoDbSource, TypeMongoDbV2Source, TypeNetezzaSource, TypeOffice365Source, TypeOracleServiceCloudSource, TypeOracleSource, TypeParquetSource, TypePaypalSource, TypePhoenixSource, TypePrestoSource, TypeQuickBooksSource, TypeRelationalSource, TypeResponsysSource, TypeRestSource, TypeSalesforceMarketingCloudSource, TypeSalesforceSource, TypeSapCloudForCustomerSource, TypeSapEccSource, TypeSapHanaSource, TypeSapOpenHubSource, TypeSapTableSource, TypeServiceNowSource, TypeShopifySource, TypeSparkSource, TypeSQLDWSource, TypeSQLServerSource, TypeSQLSource, TypeSquareSource, TypeVerticaSource, TypeWebSource, TypeXeroSource, TypeZohoSource} + return []TypeBasicCopySource{TypeAmazonMWSSource, TypeAmazonRedshiftSource, TypeAzureBlobFSSource, TypeAzureDataExplorerSource, TypeAzureDataLakeStoreSource, TypeAzureMySQLSource, TypeAzurePostgreSQLSource, TypeAzureSQLSource, TypeAzureTableSource, TypeBinarySource, TypeBlobSource, TypeCassandraSource, TypeCommonDataServiceForAppsSource, TypeConcurSource, TypeCopySource, TypeCosmosDbMongoDbAPISource, TypeCouchbaseSource, TypeDb2Source, TypeDelimitedTextSource, TypeDocumentDbCollectionSource, TypeDrillSource, TypeDynamicsAXSource, TypeDynamicsCrmSource, TypeDynamicsSource, TypeEloquaSource, TypeFileSystemSource, TypeGoogleAdWordsSource, TypeGoogleBigQuerySource, TypeGreenplumSource, TypeHBaseSource, TypeHdfsSource, TypeHiveSource, TypeHTTPSource, TypeHubspotSource, TypeImpalaSource, TypeInformixSource, TypeJiraSource, TypeMagentoSource, TypeMariaDBSource, TypeMarketoSource, TypeMicrosoftAccessSource, TypeMongoDbSource, TypeMongoDbV2Source, TypeMySQLSource, TypeNetezzaSource, TypeODataSource, TypeOdbcSource, TypeOffice365Source, TypeOracleServiceCloudSource, TypeOracleSource, TypeParquetSource, TypePaypalSource, TypePhoenixSource, TypePostgreSQLSource, TypePrestoSource, TypeQuickBooksSource, TypeRelationalSource, TypeResponsysSource, TypeRestSource, TypeSalesforceMarketingCloudSource, TypeSalesforceServiceCloudSource, TypeSalesforceSource, TypeSapCloudForCustomerSource, TypeSapEccSource, TypeSapHanaSource, TypeSapOpenHubSource, TypeSapTableSource, TypeServiceNowSource, TypeShopifySource, TypeSparkSource, TypeSQLDWSource, TypeSQLMISource, TypeSQLServerSource, TypeSQLSource, TypeSquareSource, TypeSybaseSource, TypeTeradataSource, TypeVerticaSource, TypeWebSource, TypeXeroSource, TypeZohoSource} } // TypeBasicDataset enumerates the values for type basic dataset. @@ -1475,12 +1638,18 @@ const ( TypeAzureSearchIndex TypeBasicDataset = "AzureSearchIndex" // TypeAzureSQLDWTable ... TypeAzureSQLDWTable TypeBasicDataset = "AzureSqlDWTable" + // TypeAzureSQLMITable ... + TypeAzureSQLMITable TypeBasicDataset = "AzureSqlMITable" // TypeAzureSQLTable ... TypeAzureSQLTable TypeBasicDataset = "AzureSqlTable" // TypeAzureTable ... TypeAzureTable TypeBasicDataset = "AzureTable" + // TypeBinary ... + TypeBinary TypeBasicDataset = "Binary" // TypeCassandraTable ... TypeCassandraTable TypeBasicDataset = "CassandraTable" + // TypeCommonDataServiceForAppsEntity ... + TypeCommonDataServiceForAppsEntity TypeBasicDataset = "CommonDataServiceForAppsEntity" // TypeConcurObject ... TypeConcurObject TypeBasicDataset = "ConcurObject" // TypeCosmosDbMongoDbAPICollection ... @@ -1499,6 +1668,8 @@ const ( TypeDrillTable TypeBasicDataset = "DrillTable" // TypeDynamicsAXResource ... TypeDynamicsAXResource TypeBasicDataset = "DynamicsAXResource" + // TypeDynamicsCrmEntity ... + TypeDynamicsCrmEntity TypeBasicDataset = "DynamicsCrmEntity" // TypeDynamicsEntity ... TypeDynamicsEntity TypeBasicDataset = "DynamicsEntity" // TypeEloquaObject ... @@ -1521,6 +1692,8 @@ const ( TypeHubspotObject TypeBasicDataset = "HubspotObject" // TypeImpalaObject ... TypeImpalaObject TypeBasicDataset = "ImpalaObject" + // TypeInformixTable ... + TypeInformixTable TypeBasicDataset = "InformixTable" // TypeJiraObject ... TypeJiraObject TypeBasicDataset = "JiraObject" // TypeMagentoObject ... @@ -1529,14 +1702,20 @@ const ( TypeMariaDBTable TypeBasicDataset = "MariaDBTable" // TypeMarketoObject ... TypeMarketoObject TypeBasicDataset = "MarketoObject" + // TypeMicrosoftAccessTable ... + TypeMicrosoftAccessTable TypeBasicDataset = "MicrosoftAccessTable" // TypeMongoDbCollection ... TypeMongoDbCollection TypeBasicDataset = "MongoDbCollection" // TypeMongoDbV2Collection ... TypeMongoDbV2Collection TypeBasicDataset = "MongoDbV2Collection" + // TypeMySQLTable ... + TypeMySQLTable TypeBasicDataset = "MySqlTable" // TypeNetezzaTable ... TypeNetezzaTable TypeBasicDataset = "NetezzaTable" // TypeODataResource ... TypeODataResource TypeBasicDataset = "ODataResource" + // TypeOdbcTable ... + TypeOdbcTable TypeBasicDataset = "OdbcTable" // TypeOffice365Table ... TypeOffice365Table TypeBasicDataset = "Office365Table" // TypeOracleServiceCloudObject ... @@ -1549,6 +1728,8 @@ const ( TypePaypalObject TypeBasicDataset = "PaypalObject" // TypePhoenixObject ... TypePhoenixObject TypeBasicDataset = "PhoenixObject" + // TypePostgreSQLTable ... + TypePostgreSQLTable TypeBasicDataset = "PostgreSqlTable" // TypePrestoObject ... TypePrestoObject TypeBasicDataset = "PrestoObject" // TypeQuickBooksObject ... @@ -1563,6 +1744,8 @@ const ( TypeSalesforceMarketingCloudObject TypeBasicDataset = "SalesforceMarketingCloudObject" // TypeSalesforceObject ... TypeSalesforceObject TypeBasicDataset = "SalesforceObject" + // TypeSalesforceServiceCloudObject ... + TypeSalesforceServiceCloudObject TypeBasicDataset = "SalesforceServiceCloudObject" // TypeSapCloudForCustomerResource ... TypeSapCloudForCustomerResource TypeBasicDataset = "SapCloudForCustomerResource" // TypeSapEccResource ... @@ -1583,6 +1766,8 @@ const ( TypeSQLServerTable TypeBasicDataset = "SqlServerTable" // TypeSquareObject ... TypeSquareObject TypeBasicDataset = "SquareObject" + // TypeTeradataTable ... + TypeTeradataTable TypeBasicDataset = "TeradataTable" // TypeVerticaTable ... TypeVerticaTable TypeBasicDataset = "VerticaTable" // TypeWebTable ... @@ -1595,7 +1780,7 @@ const ( // PossibleTypeBasicDatasetValues returns an array of possible values for the TypeBasicDataset const type. func PossibleTypeBasicDatasetValues() []TypeBasicDataset { - return []TypeBasicDataset{TypeAmazonMWSObject, TypeAmazonS3Object, TypeAzureBlob, TypeAzureBlobFSFile, TypeAzureDataExplorerTable, TypeAzureDataLakeStoreFile, TypeAzureMySQLTable, TypeAzurePostgreSQLTable, TypeAzureSearchIndex, TypeAzureSQLDWTable, TypeAzureSQLTable, TypeAzureTable, TypeCassandraTable, TypeConcurObject, TypeCosmosDbMongoDbAPICollection, TypeCouchbaseTable, TypeCustomDataset, TypeDataset, TypeDelimitedText, TypeDocumentDbCollection, TypeDrillTable, TypeDynamicsAXResource, TypeDynamicsEntity, TypeEloquaObject, TypeFileShare, TypeGoogleAdWordsObject, TypeGoogleBigQueryObject, TypeGreenplumTable, TypeHBaseObject, TypeHiveObject, TypeHTTPFile, TypeHubspotObject, TypeImpalaObject, TypeJiraObject, TypeMagentoObject, TypeMariaDBTable, TypeMarketoObject, TypeMongoDbCollection, TypeMongoDbV2Collection, TypeNetezzaTable, TypeODataResource, TypeOffice365Table, TypeOracleServiceCloudObject, TypeOracleTable, TypeParquet, TypePaypalObject, TypePhoenixObject, TypePrestoObject, TypeQuickBooksObject, TypeRelationalTable, TypeResponsysObject, TypeRestResource, TypeSalesforceMarketingCloudObject, TypeSalesforceObject, TypeSapCloudForCustomerResource, TypeSapEccResource, TypeSapHanaTable, TypeSapOpenHubTable, TypeSapTableResource, TypeServiceNowObject, TypeShopifyObject, TypeSparkObject, TypeSQLServerTable, TypeSquareObject, TypeVerticaTable, TypeWebTable, TypeXeroObject, TypeZohoObject} + return []TypeBasicDataset{TypeAmazonMWSObject, TypeAmazonS3Object, TypeAzureBlob, TypeAzureBlobFSFile, TypeAzureDataExplorerTable, TypeAzureDataLakeStoreFile, TypeAzureMySQLTable, TypeAzurePostgreSQLTable, TypeAzureSearchIndex, TypeAzureSQLDWTable, TypeAzureSQLMITable, TypeAzureSQLTable, TypeAzureTable, TypeBinary, TypeCassandraTable, TypeCommonDataServiceForAppsEntity, TypeConcurObject, TypeCosmosDbMongoDbAPICollection, TypeCouchbaseTable, TypeCustomDataset, TypeDataset, TypeDelimitedText, TypeDocumentDbCollection, TypeDrillTable, TypeDynamicsAXResource, TypeDynamicsCrmEntity, TypeDynamicsEntity, TypeEloquaObject, TypeFileShare, TypeGoogleAdWordsObject, TypeGoogleBigQueryObject, TypeGreenplumTable, TypeHBaseObject, TypeHiveObject, TypeHTTPFile, TypeHubspotObject, TypeImpalaObject, TypeInformixTable, TypeJiraObject, TypeMagentoObject, TypeMariaDBTable, TypeMarketoObject, TypeMicrosoftAccessTable, TypeMongoDbCollection, TypeMongoDbV2Collection, TypeMySQLTable, TypeNetezzaTable, TypeODataResource, TypeOdbcTable, TypeOffice365Table, TypeOracleServiceCloudObject, TypeOracleTable, TypeParquet, TypePaypalObject, TypePhoenixObject, TypePostgreSQLTable, TypePrestoObject, TypeQuickBooksObject, TypeRelationalTable, TypeResponsysObject, TypeRestResource, TypeSalesforceMarketingCloudObject, TypeSalesforceObject, TypeSalesforceServiceCloudObject, TypeSapCloudForCustomerResource, TypeSapEccResource, TypeSapHanaTable, TypeSapOpenHubTable, TypeSapTableResource, TypeServiceNowObject, TypeShopifyObject, TypeSparkObject, TypeSQLServerTable, TypeSquareObject, TypeTeradataTable, TypeVerticaTable, TypeWebTable, TypeXeroObject, TypeZohoObject} } // TypeBasicDatasetCompression enumerates the values for type basic dataset compression. @@ -1752,12 +1937,16 @@ const ( TypeAzureSQLDatabase TypeBasicLinkedService = "AzureSqlDatabase" // TypeAzureSQLDW ... TypeAzureSQLDW TypeBasicLinkedService = "AzureSqlDW" + // TypeAzureSQLMI ... + TypeAzureSQLMI TypeBasicLinkedService = "AzureSqlMI" // TypeAzureStorage ... TypeAzureStorage TypeBasicLinkedService = "AzureStorage" // TypeAzureTableStorage ... TypeAzureTableStorage TypeBasicLinkedService = "AzureTableStorage" // TypeCassandra ... TypeCassandra TypeBasicLinkedService = "Cassandra" + // TypeCommonDataServiceForApps ... + TypeCommonDataServiceForApps TypeBasicLinkedService = "CommonDataServiceForApps" // TypeConcur ... TypeConcur TypeBasicLinkedService = "Concur" // TypeCosmosDb ... @@ -1776,6 +1965,8 @@ const ( TypeDynamics TypeBasicLinkedService = "Dynamics" // TypeDynamicsAX ... TypeDynamicsAX TypeBasicLinkedService = "DynamicsAX" + // TypeDynamicsCrm ... + TypeDynamicsCrm TypeBasicLinkedService = "DynamicsCrm" // TypeEloqua ... TypeEloqua TypeBasicLinkedService = "Eloqua" // TypeFileServer ... @@ -1804,6 +1995,8 @@ const ( TypeHubspot TypeBasicLinkedService = "Hubspot" // TypeImpala ... TypeImpala TypeBasicLinkedService = "Impala" + // TypeInformix ... + TypeInformix TypeBasicLinkedService = "Informix" // TypeJira ... TypeJira TypeBasicLinkedService = "Jira" // TypeLinkedService ... @@ -1814,6 +2007,8 @@ const ( TypeMariaDB TypeBasicLinkedService = "MariaDB" // TypeMarketo ... TypeMarketo TypeBasicLinkedService = "Marketo" + // TypeMicrosoftAccess ... + TypeMicrosoftAccess TypeBasicLinkedService = "MicrosoftAccess" // TypeMongoDb ... TypeMongoDb TypeBasicLinkedService = "MongoDb" // TypeMongoDbV2 ... @@ -1850,6 +2045,8 @@ const ( TypeSalesforce TypeBasicLinkedService = "Salesforce" // TypeSalesforceMarketingCloud ... TypeSalesforceMarketingCloud TypeBasicLinkedService = "SalesforceMarketingCloud" + // TypeSalesforceServiceCloud ... + TypeSalesforceServiceCloud TypeBasicLinkedService = "SalesforceServiceCloud" // TypeSapBW ... TypeSapBW TypeBasicLinkedService = "SapBW" // TypeSapCloudForCustomer ... @@ -1890,7 +2087,7 @@ const ( // PossibleTypeBasicLinkedServiceValues returns an array of possible values for the TypeBasicLinkedService const type. func PossibleTypeBasicLinkedServiceValues() []TypeBasicLinkedService { - return []TypeBasicLinkedService{TypeAmazonMWS, TypeAmazonRedshift, TypeAmazonS3, TypeAzureBatch, TypeAzureBlobFS, TypeAzureBlobStorage, TypeAzureDatabricks, TypeAzureDataExplorer, TypeAzureDataLakeAnalytics, TypeAzureDataLakeStore, TypeAzureFunction, TypeAzureKeyVault, TypeAzureML, TypeAzureMySQL, TypeAzurePostgreSQL, TypeAzureSearch, TypeAzureSQLDatabase, TypeAzureSQLDW, TypeAzureStorage, TypeAzureTableStorage, TypeCassandra, TypeConcur, TypeCosmosDb, TypeCosmosDbMongoDbAPI, TypeCouchbase, TypeCustomDataSource, TypeDb2, TypeDrill, TypeDynamics, TypeDynamicsAX, TypeEloqua, TypeFileServer, TypeFtpServer, TypeGoogleAdWords, TypeGoogleBigQuery, TypeGreenplum, TypeHBase, TypeHdfs, TypeHDInsight, TypeHDInsightOnDemand, TypeHive, TypeHTTPServer, TypeHubspot, TypeImpala, TypeJira, TypeLinkedService, TypeMagento, TypeMariaDB, TypeMarketo, TypeMongoDb, TypeMongoDbV2, TypeMySQL, TypeNetezza, TypeOData, TypeOdbc, TypeOffice365, TypeOracle, TypeOracleServiceCloud, TypePaypal, TypePhoenix, TypePostgreSQL, TypePresto, TypeQuickBooks, TypeResponsys, TypeRestService, TypeSalesforce, TypeSalesforceMarketingCloud, TypeSapBW, TypeSapCloudForCustomer, TypeSapEcc, TypeSapHana, TypeSapOpenHub, TypeSapTable, TypeServiceNow, TypeSftp, TypeShopify, TypeSpark, TypeSQLServer, TypeSquare, TypeSybase, TypeTeradata, TypeVertica, TypeWeb, TypeXero, TypeZoho} + return []TypeBasicLinkedService{TypeAmazonMWS, TypeAmazonRedshift, TypeAmazonS3, TypeAzureBatch, TypeAzureBlobFS, TypeAzureBlobStorage, TypeAzureDatabricks, TypeAzureDataExplorer, TypeAzureDataLakeAnalytics, TypeAzureDataLakeStore, TypeAzureFunction, TypeAzureKeyVault, TypeAzureML, TypeAzureMySQL, TypeAzurePostgreSQL, TypeAzureSearch, TypeAzureSQLDatabase, TypeAzureSQLDW, TypeAzureSQLMI, TypeAzureStorage, TypeAzureTableStorage, TypeCassandra, TypeCommonDataServiceForApps, TypeConcur, TypeCosmosDb, TypeCosmosDbMongoDbAPI, TypeCouchbase, TypeCustomDataSource, TypeDb2, TypeDrill, TypeDynamics, TypeDynamicsAX, TypeDynamicsCrm, TypeEloqua, TypeFileServer, TypeFtpServer, TypeGoogleAdWords, TypeGoogleBigQuery, TypeGreenplum, TypeHBase, TypeHdfs, TypeHDInsight, TypeHDInsightOnDemand, TypeHive, TypeHTTPServer, TypeHubspot, TypeImpala, TypeInformix, TypeJira, TypeLinkedService, TypeMagento, TypeMariaDB, TypeMarketo, TypeMicrosoftAccess, TypeMongoDb, TypeMongoDbV2, TypeMySQL, TypeNetezza, TypeOData, TypeOdbc, TypeOffice365, TypeOracle, TypeOracleServiceCloud, TypePaypal, TypePhoenix, TypePostgreSQL, TypePresto, TypeQuickBooks, TypeResponsys, TypeRestService, TypeSalesforce, TypeSalesforceMarketingCloud, TypeSalesforceServiceCloud, TypeSapBW, TypeSapCloudForCustomer, TypeSapEcc, TypeSapHana, TypeSapOpenHub, TypeSapTable, TypeServiceNow, TypeSftp, TypeShopify, TypeSpark, TypeSQLServer, TypeSquare, TypeSybase, TypeTeradata, TypeVertica, TypeWeb, TypeXero, TypeZoho} } // TypeBasicSsisObjectMetadata enumerates the values for type basic ssis object metadata. @@ -2882,7 +3079,7 @@ type AmazonMWSLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -3174,6 +3371,11 @@ func (amls AmazonMWSLinkedService) AsSapCloudForCustomerLinkedService() (*SapClo return nil, false } +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService. +func (amls AmazonMWSLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + // AsSalesforceLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService. func (amls AmazonMWSLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false @@ -3229,6 +3431,16 @@ func (amls AmazonMWSLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bo return nil, false } +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService. +func (amls AmazonMWSLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService. +func (amls AmazonMWSLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + // AsOdbcLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService. func (amls AmazonMWSLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false @@ -3284,6 +3496,16 @@ func (amls AmazonMWSLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedS return nil, false } +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService. +func (amls AmazonMWSLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService. +func (amls AmazonMWSLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + // AsDynamicsLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService. func (amls AmazonMWSLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false @@ -3304,6 +3526,11 @@ func (amls AmazonMWSLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinke return nil, false } +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService. +func (amls AmazonMWSLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + // AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService. func (amls AmazonMWSLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false @@ -3572,7 +3799,7 @@ type AmazonMWSObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -3833,11 +4060,41 @@ func (amod AmazonMWSObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapC return nil, false } +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AmazonMWSObjectDataset. +func (amod AmazonMWSObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { + return nil, false +} + // AsSalesforceObjectDataset is the BasicDataset implementation for AmazonMWSObjectDataset. func (amod AmazonMWSObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for AmazonMWSObjectDataset. +func (amod AmazonMWSObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { + return nil, false +} + +// AsPostgreSQLTableDataset is the BasicDataset implementation for AmazonMWSObjectDataset. +func (amod AmazonMWSObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { + return nil, false +} + +// AsMySQLTableDataset is the BasicDataset implementation for AmazonMWSObjectDataset. +func (amod AmazonMWSObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { + return nil, false +} + +// AsOdbcTableDataset is the BasicDataset implementation for AmazonMWSObjectDataset. +func (amod AmazonMWSObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { + return nil, false +} + +// AsInformixTableDataset is the BasicDataset implementation for AmazonMWSObjectDataset. +func (amod AmazonMWSObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { + return nil, false +} + // AsRelationalTableDataset is the BasicDataset implementation for AmazonMWSObjectDataset. func (amod AmazonMWSObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false @@ -3848,6 +4105,11 @@ func (amod AmazonMWSObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableD return nil, false } +// AsTeradataTableDataset is the BasicDataset implementation for AmazonMWSObjectDataset. +func (amod AmazonMWSObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { + return nil, false +} + // AsOracleTableDataset is the BasicDataset implementation for AmazonMWSObjectDataset. func (amod AmazonMWSObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false @@ -3893,6 +4155,16 @@ func (amod AmazonMWSObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLake return nil, false } +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for AmazonMWSObjectDataset. +func (amod AmazonMWSObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { + return nil, false +} + +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for AmazonMWSObjectDataset. +func (amod AmazonMWSObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { + return nil, false +} + // AsDynamicsEntityDataset is the BasicDataset implementation for AmazonMWSObjectDataset. func (amod AmazonMWSObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false @@ -3918,6 +4190,11 @@ func (amod AmazonMWSObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableD return nil, false } +// AsAzureSQLMITableDataset is the BasicDataset implementation for AmazonMWSObjectDataset. +func (amod AmazonMWSObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + // AsAzureSQLTableDataset is the BasicDataset implementation for AmazonMWSObjectDataset. func (amod AmazonMWSObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false @@ -3933,6 +4210,11 @@ func (amod AmazonMWSObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool return nil, false } +// AsBinaryDataset is the BasicDataset implementation for AmazonMWSObjectDataset. +func (amod AmazonMWSObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for AmazonMWSObjectDataset. func (amod AmazonMWSObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -4078,7 +4360,7 @@ type AmazonMWSSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -4322,6 +4604,11 @@ func (ams AmazonMWSSource) AsWebSource() (*WebSource, bool) { return nil, false } +// AsTeradataSource is the BasicCopySource implementation for AmazonMWSSource. +func (ams AmazonMWSSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + // AsOracleSource is the BasicCopySource implementation for AmazonMWSSource. func (ams AmazonMWSSource) AsOracleSource() (*OracleSource, bool) { return nil, false @@ -4352,6 +4639,11 @@ func (ams AmazonMWSSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } +// AsSQLMISource is the BasicCopySource implementation for AmazonMWSSource. +func (ams AmazonMWSSource) AsSQLMISource() (*SQLMISource, bool) { + return nil, false +} + // AsAzureSQLSource is the BasicCopySource implementation for AmazonMWSSource. func (ams AmazonMWSSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false @@ -4397,16 +4689,71 @@ func (ams AmazonMWSSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSo return nil, false } +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for AmazonMWSSource. +func (ams AmazonMWSSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + // AsSalesforceSource is the BasicCopySource implementation for AmazonMWSSource. func (ams AmazonMWSSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } +// AsODataSource is the BasicCopySource implementation for AmazonMWSSource. +func (ams AmazonMWSSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsSybaseSource is the BasicCopySource implementation for AmazonMWSSource. +func (ams AmazonMWSSource) AsSybaseSource() (*SybaseSource, bool) { + return nil, false +} + +// AsPostgreSQLSource is the BasicCopySource implementation for AmazonMWSSource. +func (ams AmazonMWSSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false +} + +// AsMySQLSource is the BasicCopySource implementation for AmazonMWSSource. +func (ams AmazonMWSSource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false +} + +// AsOdbcSource is the BasicCopySource implementation for AmazonMWSSource. +func (ams AmazonMWSSource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false +} + +// AsDb2Source is the BasicCopySource implementation for AmazonMWSSource. +func (ams AmazonMWSSource) AsDb2Source() (*Db2Source, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for AmazonMWSSource. +func (ams AmazonMWSSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for AmazonMWSSource. +func (ams AmazonMWSSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + // AsRelationalSource is the BasicCopySource implementation for AmazonMWSSource. func (ams AmazonMWSSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for AmazonMWSSource. +func (ams AmazonMWSSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for AmazonMWSSource. +func (ams AmazonMWSSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + // AsDynamicsSource is the BasicCopySource implementation for AmazonMWSSource. func (ams AmazonMWSSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false @@ -4427,6 +4774,11 @@ func (ams AmazonMWSSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } +// AsBinarySource is the BasicCopySource implementation for AmazonMWSSource. +func (ams AmazonMWSSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + // AsDelimitedTextSource is the BasicCopySource implementation for AmazonMWSSource. func (ams AmazonMWSSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false @@ -4533,7 +4885,7 @@ type AmazonRedshiftLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -4825,6 +5177,11 @@ func (arls AmazonRedshiftLinkedService) AsSapCloudForCustomerLinkedService() (*S return nil, false } +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService. +func (arls AmazonRedshiftLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + // AsSalesforceLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService. func (arls AmazonRedshiftLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false @@ -4880,6 +5237,16 @@ func (arls AmazonRedshiftLinkedService) AsHdfsLinkedService() (*HdfsLinkedServic return nil, false } +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService. +func (arls AmazonRedshiftLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService. +func (arls AmazonRedshiftLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + // AsOdbcLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService. func (arls AmazonRedshiftLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false @@ -4935,6 +5302,16 @@ func (arls AmazonRedshiftLinkedService) AsHDInsightLinkedService() (*HDInsightLi return nil, false } +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService. +func (arls AmazonRedshiftLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService. +func (arls AmazonRedshiftLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + // AsDynamicsLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService. func (arls AmazonRedshiftLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false @@ -4955,6 +5332,11 @@ func (arls AmazonRedshiftLinkedService) AsAzureBatchLinkedService() (*AzureBatch return nil, false } +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService. +func (arls AmazonRedshiftLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + // AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService. func (arls AmazonRedshiftLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false @@ -5174,7 +5556,7 @@ type AmazonRedshiftSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -5421,6 +5803,11 @@ func (ars AmazonRedshiftSource) AsWebSource() (*WebSource, bool) { return nil, false } +// AsTeradataSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + // AsOracleSource is the BasicCopySource implementation for AmazonRedshiftSource. func (ars AmazonRedshiftSource) AsOracleSource() (*OracleSource, bool) { return nil, false @@ -5451,6 +5838,11 @@ func (ars AmazonRedshiftSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } +// AsSQLMISource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsSQLMISource() (*SQLMISource, bool) { + return nil, false +} + // AsAzureSQLSource is the BasicCopySource implementation for AmazonRedshiftSource. func (ars AmazonRedshiftSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false @@ -5496,16 +5888,71 @@ func (ars AmazonRedshiftSource) AsSapCloudForCustomerSource() (*SapCloudForCusto return nil, false } +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + // AsSalesforceSource is the BasicCopySource implementation for AmazonRedshiftSource. func (ars AmazonRedshiftSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } +// AsODataSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsSybaseSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsSybaseSource() (*SybaseSource, bool) { + return nil, false +} + +// AsPostgreSQLSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false +} + +// AsMySQLSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false +} + +// AsOdbcSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false +} + +// AsDb2Source is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsDb2Source() (*Db2Source, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + // AsRelationalSource is the BasicCopySource implementation for AmazonRedshiftSource. func (ars AmazonRedshiftSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + // AsDynamicsSource is the BasicCopySource implementation for AmazonRedshiftSource. func (ars AmazonRedshiftSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false @@ -5526,6 +5973,11 @@ func (ars AmazonRedshiftSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } +// AsBinarySource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + // AsDelimitedTextSource is the BasicCopySource implementation for AmazonRedshiftSource. func (ars AmazonRedshiftSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false @@ -5647,7 +6099,7 @@ type AmazonS3Dataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -5908,11 +6360,41 @@ func (asd AmazonS3Dataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForC return nil, false } +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AmazonS3Dataset. +func (asd AmazonS3Dataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { + return nil, false +} + // AsSalesforceObjectDataset is the BasicDataset implementation for AmazonS3Dataset. func (asd AmazonS3Dataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for AmazonS3Dataset. +func (asd AmazonS3Dataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { + return nil, false +} + +// AsPostgreSQLTableDataset is the BasicDataset implementation for AmazonS3Dataset. +func (asd AmazonS3Dataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { + return nil, false +} + +// AsMySQLTableDataset is the BasicDataset implementation for AmazonS3Dataset. +func (asd AmazonS3Dataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { + return nil, false +} + +// AsOdbcTableDataset is the BasicDataset implementation for AmazonS3Dataset. +func (asd AmazonS3Dataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { + return nil, false +} + +// AsInformixTableDataset is the BasicDataset implementation for AmazonS3Dataset. +func (asd AmazonS3Dataset) AsInformixTableDataset() (*InformixTableDataset, bool) { + return nil, false +} + // AsRelationalTableDataset is the BasicDataset implementation for AmazonS3Dataset. func (asd AmazonS3Dataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false @@ -5923,6 +6405,11 @@ func (asd AmazonS3Dataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, return nil, false } +// AsTeradataTableDataset is the BasicDataset implementation for AmazonS3Dataset. +func (asd AmazonS3Dataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { + return nil, false +} + // AsOracleTableDataset is the BasicDataset implementation for AmazonS3Dataset. func (asd AmazonS3Dataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false @@ -5968,6 +6455,16 @@ func (asd AmazonS3Dataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDat return nil, false } +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for AmazonS3Dataset. +func (asd AmazonS3Dataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { + return nil, false +} + +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for AmazonS3Dataset. +func (asd AmazonS3Dataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { + return nil, false +} + // AsDynamicsEntityDataset is the BasicDataset implementation for AmazonS3Dataset. func (asd AmazonS3Dataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false @@ -5993,6 +6490,11 @@ func (asd AmazonS3Dataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, return nil, false } +// AsAzureSQLMITableDataset is the BasicDataset implementation for AmazonS3Dataset. +func (asd AmazonS3Dataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + // AsAzureSQLTableDataset is the BasicDataset implementation for AmazonS3Dataset. func (asd AmazonS3Dataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false @@ -6008,6 +6510,11 @@ func (asd AmazonS3Dataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } +// AsBinaryDataset is the BasicDataset implementation for AmazonS3Dataset. +func (asd AmazonS3Dataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for AmazonS3Dataset. func (asd AmazonS3Dataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -6260,7 +6767,7 @@ type AmazonS3LinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -6552,6 +7059,11 @@ func (asls AmazonS3LinkedService) AsSapCloudForCustomerLinkedService() (*SapClou return nil, false } +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService. +func (asls AmazonS3LinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + // AsSalesforceLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService. func (asls AmazonS3LinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false @@ -6607,6 +7119,16 @@ func (asls AmazonS3LinkedService) AsHdfsLinkedService() (*HdfsLinkedService, boo return nil, false } +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService. +func (asls AmazonS3LinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService. +func (asls AmazonS3LinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + // AsOdbcLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService. func (asls AmazonS3LinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false @@ -6662,6 +7184,16 @@ func (asls AmazonS3LinkedService) AsHDInsightLinkedService() (*HDInsightLinkedSe return nil, false } +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService. +func (asls AmazonS3LinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService. +func (asls AmazonS3LinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + // AsDynamicsLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService. func (asls AmazonS3LinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false @@ -6682,6 +7214,11 @@ func (asls AmazonS3LinkedService) AsAzureBatchLinkedService() (*AzureBatchLinked return nil, false } +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AmazonS3LinkedService. +func (asls AmazonS3LinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + // AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService. func (asls AmazonS3LinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false @@ -7594,7 +8131,7 @@ type AzureBatchLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -7886,6 +8423,11 @@ func (abls AzureBatchLinkedService) AsSapCloudForCustomerLinkedService() (*SapCl return nil, false } +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService. +func (abls AzureBatchLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + // AsSalesforceLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService. func (abls AzureBatchLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false @@ -7941,6 +8483,16 @@ func (abls AzureBatchLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, b return nil, false } +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService. +func (abls AzureBatchLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService. +func (abls AzureBatchLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + // AsOdbcLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService. func (abls AzureBatchLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false @@ -7996,6 +8548,16 @@ func (abls AzureBatchLinkedService) AsHDInsightLinkedService() (*HDInsightLinked return nil, false } +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService. +func (abls AzureBatchLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService. +func (abls AzureBatchLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + // AsDynamicsLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService. func (abls AzureBatchLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false @@ -8016,6 +8578,11 @@ func (abls AzureBatchLinkedService) AsAzureBatchLinkedService() (*AzureBatchLink return &abls, true } +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzureBatchLinkedService. +func (abls AzureBatchLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + // AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService. func (abls AzureBatchLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false @@ -8241,7 +8808,7 @@ type AzureBlobDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -8502,11 +9069,41 @@ func (abd AzureBlobDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudFor return nil, false } +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AzureBlobDataset. +func (abd AzureBlobDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { + return nil, false +} + // AsSalesforceObjectDataset is the BasicDataset implementation for AzureBlobDataset. func (abd AzureBlobDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for AzureBlobDataset. +func (abd AzureBlobDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { + return nil, false +} + +// AsPostgreSQLTableDataset is the BasicDataset implementation for AzureBlobDataset. +func (abd AzureBlobDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { + return nil, false +} + +// AsMySQLTableDataset is the BasicDataset implementation for AzureBlobDataset. +func (abd AzureBlobDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { + return nil, false +} + +// AsOdbcTableDataset is the BasicDataset implementation for AzureBlobDataset. +func (abd AzureBlobDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { + return nil, false +} + +// AsInformixTableDataset is the BasicDataset implementation for AzureBlobDataset. +func (abd AzureBlobDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { + return nil, false +} + // AsRelationalTableDataset is the BasicDataset implementation for AzureBlobDataset. func (abd AzureBlobDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false @@ -8517,6 +9114,11 @@ func (abd AzureBlobDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, return nil, false } +// AsTeradataTableDataset is the BasicDataset implementation for AzureBlobDataset. +func (abd AzureBlobDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { + return nil, false +} + // AsOracleTableDataset is the BasicDataset implementation for AzureBlobDataset. func (abd AzureBlobDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false @@ -8562,6 +9164,16 @@ func (abd AzureBlobDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDa return nil, false } +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for AzureBlobDataset. +func (abd AzureBlobDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { + return nil, false +} + +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for AzureBlobDataset. +func (abd AzureBlobDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { + return nil, false +} + // AsDynamicsEntityDataset is the BasicDataset implementation for AzureBlobDataset. func (abd AzureBlobDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false @@ -8587,6 +9199,11 @@ func (abd AzureBlobDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, return nil, false } +// AsAzureSQLMITableDataset is the BasicDataset implementation for AzureBlobDataset. +func (abd AzureBlobDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + // AsAzureSQLTableDataset is the BasicDataset implementation for AzureBlobDataset. func (abd AzureBlobDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false @@ -8602,6 +9219,11 @@ func (abd AzureBlobDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return &abd, true } +// AsBinaryDataset is the BasicDataset implementation for AzureBlobDataset. +func (abd AzureBlobDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for AzureBlobDataset. func (abd AzureBlobDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -8849,7 +9471,7 @@ type AzureBlobFSDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -9110,11 +9732,41 @@ func (abfd AzureBlobFSDataset) AsSapCloudForCustomerResourceDataset() (*SapCloud return nil, false } +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AzureBlobFSDataset. +func (abfd AzureBlobFSDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { + return nil, false +} + // AsSalesforceObjectDataset is the BasicDataset implementation for AzureBlobFSDataset. func (abfd AzureBlobFSDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for AzureBlobFSDataset. +func (abfd AzureBlobFSDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { + return nil, false +} + +// AsPostgreSQLTableDataset is the BasicDataset implementation for AzureBlobFSDataset. +func (abfd AzureBlobFSDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { + return nil, false +} + +// AsMySQLTableDataset is the BasicDataset implementation for AzureBlobFSDataset. +func (abfd AzureBlobFSDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { + return nil, false +} + +// AsOdbcTableDataset is the BasicDataset implementation for AzureBlobFSDataset. +func (abfd AzureBlobFSDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { + return nil, false +} + +// AsInformixTableDataset is the BasicDataset implementation for AzureBlobFSDataset. +func (abfd AzureBlobFSDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { + return nil, false +} + // AsRelationalTableDataset is the BasicDataset implementation for AzureBlobFSDataset. func (abfd AzureBlobFSDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false @@ -9125,6 +9777,11 @@ func (abfd AzureBlobFSDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDatas return nil, false } +// AsTeradataTableDataset is the BasicDataset implementation for AzureBlobFSDataset. +func (abfd AzureBlobFSDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { + return nil, false +} + // AsOracleTableDataset is the BasicDataset implementation for AzureBlobFSDataset. func (abfd AzureBlobFSDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false @@ -9170,6 +9827,16 @@ func (abfd AzureBlobFSDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStor return nil, false } +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for AzureBlobFSDataset. +func (abfd AzureBlobFSDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { + return nil, false +} + +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for AzureBlobFSDataset. +func (abfd AzureBlobFSDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { + return nil, false +} + // AsDynamicsEntityDataset is the BasicDataset implementation for AzureBlobFSDataset. func (abfd AzureBlobFSDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false @@ -9195,6 +9862,11 @@ func (abfd AzureBlobFSDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDatas return nil, false } +// AsAzureSQLMITableDataset is the BasicDataset implementation for AzureBlobFSDataset. +func (abfd AzureBlobFSDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + // AsAzureSQLTableDataset is the BasicDataset implementation for AzureBlobFSDataset. func (abfd AzureBlobFSDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false @@ -9210,6 +9882,11 @@ func (abfd AzureBlobFSDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } +// AsBinaryDataset is the BasicDataset implementation for AzureBlobFSDataset. +func (abfd AzureBlobFSDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for AzureBlobFSDataset. func (abfd AzureBlobFSDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -9418,7 +10095,7 @@ type AzureBlobFSLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -9710,6 +10387,11 @@ func (abfls AzureBlobFSLinkedService) AsSapCloudForCustomerLinkedService() (*Sap return nil, false } +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzureBlobFSLinkedService. +func (abfls AzureBlobFSLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + // AsSalesforceLinkedService is the BasicLinkedService implementation for AzureBlobFSLinkedService. func (abfls AzureBlobFSLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false @@ -9765,6 +10447,16 @@ func (abfls AzureBlobFSLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, return nil, false } +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzureBlobFSLinkedService. +func (abfls AzureBlobFSLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for AzureBlobFSLinkedService. +func (abfls AzureBlobFSLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + // AsOdbcLinkedService is the BasicLinkedService implementation for AzureBlobFSLinkedService. func (abfls AzureBlobFSLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false @@ -9820,6 +10512,16 @@ func (abfls AzureBlobFSLinkedService) AsHDInsightLinkedService() (*HDInsightLink return nil, false } +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzureBlobFSLinkedService. +func (abfls AzureBlobFSLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzureBlobFSLinkedService. +func (abfls AzureBlobFSLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + // AsDynamicsLinkedService is the BasicLinkedService implementation for AzureBlobFSLinkedService. func (abfls AzureBlobFSLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false @@ -9840,6 +10542,11 @@ func (abfls AzureBlobFSLinkedService) AsAzureBatchLinkedService() (*AzureBatchLi return nil, false } +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzureBlobFSLinkedService. +func (abfls AzureBlobFSLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + // AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureBlobFSLinkedService. func (abfls AzureBlobFSLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false @@ -10313,7 +11020,7 @@ type AzureBlobFSSink struct { SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeDelimitedTextSink' + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -10353,6 +11060,11 @@ func (abfs AzureBlobFSSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, return nil, false } +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for AzureBlobFSSink. +func (abfs AzureBlobFSSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { + return nil, false +} + // AsSalesforceSink is the BasicCopySink implementation for AzureBlobFSSink. func (abfs AzureBlobFSSink) AsSalesforceSink() (*SalesforceSink, bool) { return nil, false @@ -10363,11 +11075,31 @@ func (abfs AzureBlobFSSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, b return nil, false } +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for AzureBlobFSSink. +func (abfs AzureBlobFSSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { + return nil, false +} + +// AsDynamicsCrmSink is the BasicCopySink implementation for AzureBlobFSSink. +func (abfs AzureBlobFSSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { + return nil, false +} + // AsDynamicsSink is the BasicCopySink implementation for AzureBlobFSSink. func (abfs AzureBlobFSSink) AsDynamicsSink() (*DynamicsSink, bool) { return nil, false } +// AsMicrosoftAccessSink is the BasicCopySink implementation for AzureBlobFSSink. +func (abfs AzureBlobFSSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { + return nil, false +} + +// AsInformixSink is the BasicCopySink implementation for AzureBlobFSSink. +func (abfs AzureBlobFSSink) AsInformixSink() (*InformixSink, bool) { + return nil, false +} + // AsOdbcSink is the BasicCopySink implementation for AzureBlobFSSink. func (abfs AzureBlobFSSink) AsOdbcSink() (*OdbcSink, bool) { return nil, false @@ -10398,6 +11130,11 @@ func (abfs AzureBlobFSSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false } +// AsSQLMISink is the BasicCopySink implementation for AzureBlobFSSink. +func (abfs AzureBlobFSSink) AsSQLMISink() (*SQLMISink, bool) { + return nil, false +} + // AsAzureSQLSink is the BasicCopySink implementation for AzureBlobFSSink. func (abfs AzureBlobFSSink) AsAzureSQLSink() (*AzureSQLSink, bool) { return nil, false @@ -10428,6 +11165,11 @@ func (abfs AzureBlobFSSink) AsBlobSink() (*BlobSink, bool) { return nil, false } +// AsBinarySink is the BasicCopySink implementation for AzureBlobFSSink. +func (abfs AzureBlobFSSink) AsBinarySink() (*BinarySink, bool) { + return nil, false +} + // AsParquetSink is the BasicCopySink implementation for AzureBlobFSSink. func (abfs AzureBlobFSSink) AsParquetSink() (*ParquetSink, bool) { return nil, false @@ -10448,6 +11190,11 @@ func (abfs AzureBlobFSSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSin return nil, false } +// AsAzurePostgreSQLSink is the BasicCopySink implementation for AzureBlobFSSink. +func (abfs AzureBlobFSSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { + return nil, false +} + // AsDelimitedTextSink is the BasicCopySink implementation for AzureBlobFSSink. func (abfs AzureBlobFSSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { return nil, false @@ -10569,7 +11316,7 @@ type AzureBlobFSSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -10819,6 +11566,11 @@ func (abfs AzureBlobFSSource) AsWebSource() (*WebSource, bool) { return nil, false } +// AsTeradataSource is the BasicCopySource implementation for AzureBlobFSSource. +func (abfs AzureBlobFSSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + // AsOracleSource is the BasicCopySource implementation for AzureBlobFSSource. func (abfs AzureBlobFSSource) AsOracleSource() (*OracleSource, bool) { return nil, false @@ -10849,6 +11601,11 @@ func (abfs AzureBlobFSSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } +// AsSQLMISource is the BasicCopySource implementation for AzureBlobFSSource. +func (abfs AzureBlobFSSource) AsSQLMISource() (*SQLMISource, bool) { + return nil, false +} + // AsAzureSQLSource is the BasicCopySource implementation for AzureBlobFSSource. func (abfs AzureBlobFSSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false @@ -10894,16 +11651,71 @@ func (abfs AzureBlobFSSource) AsSapCloudForCustomerSource() (*SapCloudForCustome return nil, false } +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for AzureBlobFSSource. +func (abfs AzureBlobFSSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + // AsSalesforceSource is the BasicCopySource implementation for AzureBlobFSSource. func (abfs AzureBlobFSSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } +// AsODataSource is the BasicCopySource implementation for AzureBlobFSSource. +func (abfs AzureBlobFSSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsSybaseSource is the BasicCopySource implementation for AzureBlobFSSource. +func (abfs AzureBlobFSSource) AsSybaseSource() (*SybaseSource, bool) { + return nil, false +} + +// AsPostgreSQLSource is the BasicCopySource implementation for AzureBlobFSSource. +func (abfs AzureBlobFSSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false +} + +// AsMySQLSource is the BasicCopySource implementation for AzureBlobFSSource. +func (abfs AzureBlobFSSource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false +} + +// AsOdbcSource is the BasicCopySource implementation for AzureBlobFSSource. +func (abfs AzureBlobFSSource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false +} + +// AsDb2Source is the BasicCopySource implementation for AzureBlobFSSource. +func (abfs AzureBlobFSSource) AsDb2Source() (*Db2Source, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for AzureBlobFSSource. +func (abfs AzureBlobFSSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for AzureBlobFSSource. +func (abfs AzureBlobFSSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + // AsRelationalSource is the BasicCopySource implementation for AzureBlobFSSource. func (abfs AzureBlobFSSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for AzureBlobFSSource. +func (abfs AzureBlobFSSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for AzureBlobFSSource. +func (abfs AzureBlobFSSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + // AsDynamicsSource is the BasicCopySource implementation for AzureBlobFSSource. func (abfs AzureBlobFSSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false @@ -10924,6 +11736,11 @@ func (abfs AzureBlobFSSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } +// AsBinarySource is the BasicCopySource implementation for AzureBlobFSSource. +func (abfs AzureBlobFSSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + // AsDelimitedTextSource is the BasicCopySource implementation for AzureBlobFSSource. func (abfs AzureBlobFSSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false @@ -11132,7 +11949,7 @@ type AzureBlobStorageLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -11424,6 +12241,11 @@ func (absls AzureBlobStorageLinkedService) AsSapCloudForCustomerLinkedService() return nil, false } +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzureBlobStorageLinkedService. +func (absls AzureBlobStorageLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + // AsSalesforceLinkedService is the BasicLinkedService implementation for AzureBlobStorageLinkedService. func (absls AzureBlobStorageLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false @@ -11479,6 +12301,16 @@ func (absls AzureBlobStorageLinkedService) AsHdfsLinkedService() (*HdfsLinkedSer return nil, false } +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzureBlobStorageLinkedService. +func (absls AzureBlobStorageLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for AzureBlobStorageLinkedService. +func (absls AzureBlobStorageLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + // AsOdbcLinkedService is the BasicLinkedService implementation for AzureBlobStorageLinkedService. func (absls AzureBlobStorageLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false @@ -11534,6 +12366,16 @@ func (absls AzureBlobStorageLinkedService) AsHDInsightLinkedService() (*HDInsigh return nil, false } +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzureBlobStorageLinkedService. +func (absls AzureBlobStorageLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzureBlobStorageLinkedService. +func (absls AzureBlobStorageLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + // AsDynamicsLinkedService is the BasicLinkedService implementation for AzureBlobStorageLinkedService. func (absls AzureBlobStorageLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false @@ -11554,6 +12396,11 @@ func (absls AzureBlobStorageLinkedService) AsAzureBatchLinkedService() (*AzureBa return nil, false } +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzureBlobStorageLinkedService. +func (absls AzureBlobStorageLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + // AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureBlobStorageLinkedService. func (absls AzureBlobStorageLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false @@ -12142,7 +12989,7 @@ type AzureDatabricksLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -12434,6 +13281,11 @@ func (adls AzureDatabricksLinkedService) AsSapCloudForCustomerLinkedService() (* return nil, false } +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + // AsSalesforceLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. func (adls AzureDatabricksLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false @@ -12489,6 +13341,16 @@ func (adls AzureDatabricksLinkedService) AsHdfsLinkedService() (*HdfsLinkedServi return nil, false } +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + // AsOdbcLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. func (adls AzureDatabricksLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false @@ -12544,6 +13406,16 @@ func (adls AzureDatabricksLinkedService) AsHDInsightLinkedService() (*HDInsightL return nil, false } +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + // AsDynamicsLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. func (adls AzureDatabricksLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false @@ -12564,6 +13436,11 @@ func (adls AzureDatabricksLinkedService) AsAzureBatchLinkedService() (*AzureBatc return nil, false } +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + // AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. func (adls AzureDatabricksLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false @@ -12909,7 +13786,7 @@ type AzureDataExplorerLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -13201,6 +14078,11 @@ func (adels AzureDataExplorerLinkedService) AsSapCloudForCustomerLinkedService() return nil, false } +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzureDataExplorerLinkedService. +func (adels AzureDataExplorerLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + // AsSalesforceLinkedService is the BasicLinkedService implementation for AzureDataExplorerLinkedService. func (adels AzureDataExplorerLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false @@ -13256,6 +14138,16 @@ func (adels AzureDataExplorerLinkedService) AsHdfsLinkedService() (*HdfsLinkedSe return nil, false } +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzureDataExplorerLinkedService. +func (adels AzureDataExplorerLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for AzureDataExplorerLinkedService. +func (adels AzureDataExplorerLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + // AsOdbcLinkedService is the BasicLinkedService implementation for AzureDataExplorerLinkedService. func (adels AzureDataExplorerLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false @@ -13311,6 +14203,16 @@ func (adels AzureDataExplorerLinkedService) AsHDInsightLinkedService() (*HDInsig return nil, false } +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzureDataExplorerLinkedService. +func (adels AzureDataExplorerLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzureDataExplorerLinkedService. +func (adels AzureDataExplorerLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + // AsDynamicsLinkedService is the BasicLinkedService implementation for AzureDataExplorerLinkedService. func (adels AzureDataExplorerLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false @@ -13331,6 +14233,11 @@ func (adels AzureDataExplorerLinkedService) AsAzureBatchLinkedService() (*AzureB return nil, false } +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzureDataExplorerLinkedService. +func (adels AzureDataExplorerLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + // AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureDataExplorerLinkedService. func (adels AzureDataExplorerLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false @@ -13545,7 +14452,7 @@ type AzureDataExplorerSink struct { SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeDelimitedTextSink' + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -13591,6 +14498,11 @@ func (ades AzureDataExplorerSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAP return nil, false } +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for AzureDataExplorerSink. +func (ades AzureDataExplorerSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { + return nil, false +} + // AsSalesforceSink is the BasicCopySink implementation for AzureDataExplorerSink. func (ades AzureDataExplorerSink) AsSalesforceSink() (*SalesforceSink, bool) { return nil, false @@ -13601,11 +14513,31 @@ func (ades AzureDataExplorerSink) AsAzureDataExplorerSink() (*AzureDataExplorerS return &ades, true } +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for AzureDataExplorerSink. +func (ades AzureDataExplorerSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { + return nil, false +} + +// AsDynamicsCrmSink is the BasicCopySink implementation for AzureDataExplorerSink. +func (ades AzureDataExplorerSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { + return nil, false +} + // AsDynamicsSink is the BasicCopySink implementation for AzureDataExplorerSink. func (ades AzureDataExplorerSink) AsDynamicsSink() (*DynamicsSink, bool) { return nil, false } +// AsMicrosoftAccessSink is the BasicCopySink implementation for AzureDataExplorerSink. +func (ades AzureDataExplorerSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { + return nil, false +} + +// AsInformixSink is the BasicCopySink implementation for AzureDataExplorerSink. +func (ades AzureDataExplorerSink) AsInformixSink() (*InformixSink, bool) { + return nil, false +} + // AsOdbcSink is the BasicCopySink implementation for AzureDataExplorerSink. func (ades AzureDataExplorerSink) AsOdbcSink() (*OdbcSink, bool) { return nil, false @@ -13636,6 +14568,11 @@ func (ades AzureDataExplorerSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false } +// AsSQLMISink is the BasicCopySink implementation for AzureDataExplorerSink. +func (ades AzureDataExplorerSink) AsSQLMISink() (*SQLMISink, bool) { + return nil, false +} + // AsAzureSQLSink is the BasicCopySink implementation for AzureDataExplorerSink. func (ades AzureDataExplorerSink) AsAzureSQLSink() (*AzureSQLSink, bool) { return nil, false @@ -13666,6 +14603,11 @@ func (ades AzureDataExplorerSink) AsBlobSink() (*BlobSink, bool) { return nil, false } +// AsBinarySink is the BasicCopySink implementation for AzureDataExplorerSink. +func (ades AzureDataExplorerSink) AsBinarySink() (*BinarySink, bool) { + return nil, false +} + // AsParquetSink is the BasicCopySink implementation for AzureDataExplorerSink. func (ades AzureDataExplorerSink) AsParquetSink() (*ParquetSink, bool) { return nil, false @@ -13686,6 +14628,11 @@ func (ades AzureDataExplorerSink) AsSapCloudForCustomerSink() (*SapCloudForCusto return nil, false } +// AsAzurePostgreSQLSink is the BasicCopySink implementation for AzureDataExplorerSink. +func (ades AzureDataExplorerSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { + return nil, false +} + // AsDelimitedTextSink is the BasicCopySink implementation for AzureDataExplorerSink. func (ades AzureDataExplorerSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { return nil, false @@ -13825,7 +14772,7 @@ type AzureDataExplorerSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -14075,6 +15022,11 @@ func (ades AzureDataExplorerSource) AsWebSource() (*WebSource, bool) { return nil, false } +// AsTeradataSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + // AsOracleSource is the BasicCopySource implementation for AzureDataExplorerSource. func (ades AzureDataExplorerSource) AsOracleSource() (*OracleSource, bool) { return nil, false @@ -14105,6 +15057,11 @@ func (ades AzureDataExplorerSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } +// AsSQLMISource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsSQLMISource() (*SQLMISource, bool) { + return nil, false +} + // AsAzureSQLSource is the BasicCopySource implementation for AzureDataExplorerSource. func (ades AzureDataExplorerSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false @@ -14150,16 +15107,71 @@ func (ades AzureDataExplorerSource) AsSapCloudForCustomerSource() (*SapCloudForC return nil, false } +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + // AsSalesforceSource is the BasicCopySource implementation for AzureDataExplorerSource. func (ades AzureDataExplorerSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } +// AsODataSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsSybaseSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsSybaseSource() (*SybaseSource, bool) { + return nil, false +} + +// AsPostgreSQLSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false +} + +// AsMySQLSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false +} + +// AsOdbcSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false +} + +// AsDb2Source is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsDb2Source() (*Db2Source, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + // AsRelationalSource is the BasicCopySource implementation for AzureDataExplorerSource. func (ades AzureDataExplorerSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + // AsDynamicsSource is the BasicCopySource implementation for AzureDataExplorerSource. func (ades AzureDataExplorerSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false @@ -14180,6 +15192,11 @@ func (ades AzureDataExplorerSource) AsAzureTableSource() (*AzureTableSource, boo return nil, false } +// AsBinarySource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + // AsDelimitedTextSource is the BasicCopySource implementation for AzureDataExplorerSource. func (ades AzureDataExplorerSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false @@ -14310,7 +15327,7 @@ type AzureDataExplorerTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -14571,11 +15588,41 @@ func (adetd AzureDataExplorerTableDataset) AsSapCloudForCustomerResourceDataset( return nil, false } +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AzureDataExplorerTableDataset. +func (adetd AzureDataExplorerTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { + return nil, false +} + // AsSalesforceObjectDataset is the BasicDataset implementation for AzureDataExplorerTableDataset. func (adetd AzureDataExplorerTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for AzureDataExplorerTableDataset. +func (adetd AzureDataExplorerTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { + return nil, false +} + +// AsPostgreSQLTableDataset is the BasicDataset implementation for AzureDataExplorerTableDataset. +func (adetd AzureDataExplorerTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { + return nil, false +} + +// AsMySQLTableDataset is the BasicDataset implementation for AzureDataExplorerTableDataset. +func (adetd AzureDataExplorerTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { + return nil, false +} + +// AsOdbcTableDataset is the BasicDataset implementation for AzureDataExplorerTableDataset. +func (adetd AzureDataExplorerTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { + return nil, false +} + +// AsInformixTableDataset is the BasicDataset implementation for AzureDataExplorerTableDataset. +func (adetd AzureDataExplorerTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { + return nil, false +} + // AsRelationalTableDataset is the BasicDataset implementation for AzureDataExplorerTableDataset. func (adetd AzureDataExplorerTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false @@ -14586,6 +15633,11 @@ func (adetd AzureDataExplorerTableDataset) AsAzureMySQLTableDataset() (*AzureMyS return nil, false } +// AsTeradataTableDataset is the BasicDataset implementation for AzureDataExplorerTableDataset. +func (adetd AzureDataExplorerTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { + return nil, false +} + // AsOracleTableDataset is the BasicDataset implementation for AzureDataExplorerTableDataset. func (adetd AzureDataExplorerTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false @@ -14631,6 +15683,16 @@ func (adetd AzureDataExplorerTableDataset) AsAzureDataLakeStoreDataset() (*Azure return nil, false } +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for AzureDataExplorerTableDataset. +func (adetd AzureDataExplorerTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { + return nil, false +} + +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for AzureDataExplorerTableDataset. +func (adetd AzureDataExplorerTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { + return nil, false +} + // AsDynamicsEntityDataset is the BasicDataset implementation for AzureDataExplorerTableDataset. func (adetd AzureDataExplorerTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false @@ -14656,6 +15718,11 @@ func (adetd AzureDataExplorerTableDataset) AsAzureSQLDWTableDataset() (*AzureSQL return nil, false } +// AsAzureSQLMITableDataset is the BasicDataset implementation for AzureDataExplorerTableDataset. +func (adetd AzureDataExplorerTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + // AsAzureSQLTableDataset is the BasicDataset implementation for AzureDataExplorerTableDataset. func (adetd AzureDataExplorerTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false @@ -14671,6 +15738,11 @@ func (adetd AzureDataExplorerTableDataset) AsAzureBlobDataset() (*AzureBlobDatas return nil, false } +// AsBinaryDataset is the BasicDataset implementation for AzureDataExplorerTableDataset. +func (adetd AzureDataExplorerTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for AzureDataExplorerTableDataset. func (adetd AzureDataExplorerTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -14818,7 +15890,7 @@ type AzureDataLakeAnalyticsLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -15110,6 +16182,11 @@ func (adlals AzureDataLakeAnalyticsLinkedService) AsSapCloudForCustomerLinkedSer return nil, false } +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + // AsSalesforceLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. func (adlals AzureDataLakeAnalyticsLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false @@ -15165,6 +16242,16 @@ func (adlals AzureDataLakeAnalyticsLinkedService) AsHdfsLinkedService() (*HdfsLi return nil, false } +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + // AsOdbcLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. func (adlals AzureDataLakeAnalyticsLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false @@ -15220,6 +16307,16 @@ func (adlals AzureDataLakeAnalyticsLinkedService) AsHDInsightLinkedService() (*H return nil, false } +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + // AsDynamicsLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. func (adlals AzureDataLakeAnalyticsLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false @@ -15240,6 +16337,11 @@ func (adlals AzureDataLakeAnalyticsLinkedService) AsAzureBatchLinkedService() (* return nil, false } +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + // AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. func (adlals AzureDataLakeAnalyticsLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false @@ -15487,7 +16589,7 @@ type AzureDataLakeStoreDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -15748,11 +16850,41 @@ func (adlsd AzureDataLakeStoreDataset) AsSapCloudForCustomerResourceDataset() (* return nil, false } +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { + return nil, false +} + // AsSalesforceObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. func (adlsd AzureDataLakeStoreDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { + return nil, false +} + +// AsPostgreSQLTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { + return nil, false +} + +// AsMySQLTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { + return nil, false +} + +// AsOdbcTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { + return nil, false +} + +// AsInformixTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { + return nil, false +} + // AsRelationalTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. func (adlsd AzureDataLakeStoreDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false @@ -15763,6 +16895,11 @@ func (adlsd AzureDataLakeStoreDataset) AsAzureMySQLTableDataset() (*AzureMySQLTa return nil, false } +// AsTeradataTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { + return nil, false +} + // AsOracleTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. func (adlsd AzureDataLakeStoreDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false @@ -15808,6 +16945,16 @@ func (adlsd AzureDataLakeStoreDataset) AsAzureDataLakeStoreDataset() (*AzureData return &adlsd, true } +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { + return nil, false +} + +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { + return nil, false +} + // AsDynamicsEntityDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. func (adlsd AzureDataLakeStoreDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false @@ -15833,6 +16980,11 @@ func (adlsd AzureDataLakeStoreDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTa return nil, false } +// AsAzureSQLMITableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + // AsAzureSQLTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. func (adlsd AzureDataLakeStoreDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false @@ -15848,6 +17000,11 @@ func (adlsd AzureDataLakeStoreDataset) AsAzureBlobDataset() (*AzureBlobDataset, return nil, false } +// AsBinaryDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. func (adlsd AzureDataLakeStoreDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -16056,7 +17213,7 @@ type AzureDataLakeStoreLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -16348,6 +17505,11 @@ func (adlsls AzureDataLakeStoreLinkedService) AsSapCloudForCustomerLinkedService return nil, false } +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. +func (adlsls AzureDataLakeStoreLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + // AsSalesforceLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. func (adlsls AzureDataLakeStoreLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false @@ -16403,6 +17565,16 @@ func (adlsls AzureDataLakeStoreLinkedService) AsHdfsLinkedService() (*HdfsLinked return nil, false } +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. +func (adlsls AzureDataLakeStoreLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. +func (adlsls AzureDataLakeStoreLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + // AsOdbcLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. func (adlsls AzureDataLakeStoreLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false @@ -16458,6 +17630,16 @@ func (adlsls AzureDataLakeStoreLinkedService) AsHDInsightLinkedService() (*HDIns return nil, false } +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. +func (adlsls AzureDataLakeStoreLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. +func (adlsls AzureDataLakeStoreLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + // AsDynamicsLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. func (adlsls AzureDataLakeStoreLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false @@ -16478,6 +17660,11 @@ func (adlsls AzureDataLakeStoreLinkedService) AsAzureBatchLinkedService() (*Azur return nil, false } +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. +func (adlsls AzureDataLakeStoreLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + // AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. func (adlsls AzureDataLakeStoreLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false @@ -16961,7 +18148,7 @@ type AzureDataLakeStoreSink struct { SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeDelimitedTextSink' + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -17004,6 +18191,11 @@ func (adlss AzureDataLakeStoreSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDb return nil, false } +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for AzureDataLakeStoreSink. +func (adlss AzureDataLakeStoreSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { + return nil, false +} + // AsSalesforceSink is the BasicCopySink implementation for AzureDataLakeStoreSink. func (adlss AzureDataLakeStoreSink) AsSalesforceSink() (*SalesforceSink, bool) { return nil, false @@ -17014,11 +18206,31 @@ func (adlss AzureDataLakeStoreSink) AsAzureDataExplorerSink() (*AzureDataExplore return nil, false } +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for AzureDataLakeStoreSink. +func (adlss AzureDataLakeStoreSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { + return nil, false +} + +// AsDynamicsCrmSink is the BasicCopySink implementation for AzureDataLakeStoreSink. +func (adlss AzureDataLakeStoreSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { + return nil, false +} + // AsDynamicsSink is the BasicCopySink implementation for AzureDataLakeStoreSink. func (adlss AzureDataLakeStoreSink) AsDynamicsSink() (*DynamicsSink, bool) { return nil, false } +// AsMicrosoftAccessSink is the BasicCopySink implementation for AzureDataLakeStoreSink. +func (adlss AzureDataLakeStoreSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { + return nil, false +} + +// AsInformixSink is the BasicCopySink implementation for AzureDataLakeStoreSink. +func (adlss AzureDataLakeStoreSink) AsInformixSink() (*InformixSink, bool) { + return nil, false +} + // AsOdbcSink is the BasicCopySink implementation for AzureDataLakeStoreSink. func (adlss AzureDataLakeStoreSink) AsOdbcSink() (*OdbcSink, bool) { return nil, false @@ -17049,6 +18261,11 @@ func (adlss AzureDataLakeStoreSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false } +// AsSQLMISink is the BasicCopySink implementation for AzureDataLakeStoreSink. +func (adlss AzureDataLakeStoreSink) AsSQLMISink() (*SQLMISink, bool) { + return nil, false +} + // AsAzureSQLSink is the BasicCopySink implementation for AzureDataLakeStoreSink. func (adlss AzureDataLakeStoreSink) AsAzureSQLSink() (*AzureSQLSink, bool) { return nil, false @@ -17079,6 +18296,11 @@ func (adlss AzureDataLakeStoreSink) AsBlobSink() (*BlobSink, bool) { return nil, false } +// AsBinarySink is the BasicCopySink implementation for AzureDataLakeStoreSink. +func (adlss AzureDataLakeStoreSink) AsBinarySink() (*BinarySink, bool) { + return nil, false +} + // AsParquetSink is the BasicCopySink implementation for AzureDataLakeStoreSink. func (adlss AzureDataLakeStoreSink) AsParquetSink() (*ParquetSink, bool) { return nil, false @@ -17099,6 +18321,11 @@ func (adlss AzureDataLakeStoreSink) AsSapCloudForCustomerSink() (*SapCloudForCus return nil, false } +// AsAzurePostgreSQLSink is the BasicCopySink implementation for AzureDataLakeStoreSink. +func (adlss AzureDataLakeStoreSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { + return nil, false +} + // AsDelimitedTextSink is the BasicCopySink implementation for AzureDataLakeStoreSink. func (adlss AzureDataLakeStoreSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { return nil, false @@ -17225,7 +18452,7 @@ type AzureDataLakeStoreSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -17469,6 +18696,11 @@ func (adlss AzureDataLakeStoreSource) AsWebSource() (*WebSource, bool) { return nil, false } +// AsTeradataSource is the BasicCopySource implementation for AzureDataLakeStoreSource. +func (adlss AzureDataLakeStoreSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + // AsOracleSource is the BasicCopySource implementation for AzureDataLakeStoreSource. func (adlss AzureDataLakeStoreSource) AsOracleSource() (*OracleSource, bool) { return nil, false @@ -17499,6 +18731,11 @@ func (adlss AzureDataLakeStoreSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } +// AsSQLMISource is the BasicCopySource implementation for AzureDataLakeStoreSource. +func (adlss AzureDataLakeStoreSource) AsSQLMISource() (*SQLMISource, bool) { + return nil, false +} + // AsAzureSQLSource is the BasicCopySource implementation for AzureDataLakeStoreSource. func (adlss AzureDataLakeStoreSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false @@ -17544,16 +18781,71 @@ func (adlss AzureDataLakeStoreSource) AsSapCloudForCustomerSource() (*SapCloudFo return nil, false } +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for AzureDataLakeStoreSource. +func (adlss AzureDataLakeStoreSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + // AsSalesforceSource is the BasicCopySource implementation for AzureDataLakeStoreSource. func (adlss AzureDataLakeStoreSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } +// AsODataSource is the BasicCopySource implementation for AzureDataLakeStoreSource. +func (adlss AzureDataLakeStoreSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsSybaseSource is the BasicCopySource implementation for AzureDataLakeStoreSource. +func (adlss AzureDataLakeStoreSource) AsSybaseSource() (*SybaseSource, bool) { + return nil, false +} + +// AsPostgreSQLSource is the BasicCopySource implementation for AzureDataLakeStoreSource. +func (adlss AzureDataLakeStoreSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false +} + +// AsMySQLSource is the BasicCopySource implementation for AzureDataLakeStoreSource. +func (adlss AzureDataLakeStoreSource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false +} + +// AsOdbcSource is the BasicCopySource implementation for AzureDataLakeStoreSource. +func (adlss AzureDataLakeStoreSource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false +} + +// AsDb2Source is the BasicCopySource implementation for AzureDataLakeStoreSource. +func (adlss AzureDataLakeStoreSource) AsDb2Source() (*Db2Source, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for AzureDataLakeStoreSource. +func (adlss AzureDataLakeStoreSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for AzureDataLakeStoreSource. +func (adlss AzureDataLakeStoreSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + // AsRelationalSource is the BasicCopySource implementation for AzureDataLakeStoreSource. func (adlss AzureDataLakeStoreSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for AzureDataLakeStoreSource. +func (adlss AzureDataLakeStoreSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for AzureDataLakeStoreSource. +func (adlss AzureDataLakeStoreSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + // AsDynamicsSource is the BasicCopySource implementation for AzureDataLakeStoreSource. func (adlss AzureDataLakeStoreSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false @@ -17574,6 +18866,11 @@ func (adlss AzureDataLakeStoreSource) AsAzureTableSource() (*AzureTableSource, b return nil, false } +// AsBinarySource is the BasicCopySource implementation for AzureDataLakeStoreSource. +func (adlss AzureDataLakeStoreSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + // AsDelimitedTextSource is the BasicCopySource implementation for AzureDataLakeStoreSource. func (adlss AzureDataLakeStoreSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false @@ -18111,7 +19408,7 @@ type AzureFunctionLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -18403,6 +19700,11 @@ func (afls AzureFunctionLinkedService) AsSapCloudForCustomerLinkedService() (*Sa return nil, false } +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzureFunctionLinkedService. +func (afls AzureFunctionLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + // AsSalesforceLinkedService is the BasicLinkedService implementation for AzureFunctionLinkedService. func (afls AzureFunctionLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false @@ -18458,6 +19760,16 @@ func (afls AzureFunctionLinkedService) AsHdfsLinkedService() (*HdfsLinkedService return nil, false } +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzureFunctionLinkedService. +func (afls AzureFunctionLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for AzureFunctionLinkedService. +func (afls AzureFunctionLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + // AsOdbcLinkedService is the BasicLinkedService implementation for AzureFunctionLinkedService. func (afls AzureFunctionLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false @@ -18513,6 +19825,16 @@ func (afls AzureFunctionLinkedService) AsHDInsightLinkedService() (*HDInsightLin return nil, false } +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzureFunctionLinkedService. +func (afls AzureFunctionLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzureFunctionLinkedService. +func (afls AzureFunctionLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + // AsDynamicsLinkedService is the BasicLinkedService implementation for AzureFunctionLinkedService. func (afls AzureFunctionLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false @@ -18533,6 +19855,11 @@ func (afls AzureFunctionLinkedService) AsAzureBatchLinkedService() (*AzureBatchL return nil, false } +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzureFunctionLinkedService. +func (afls AzureFunctionLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + // AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureFunctionLinkedService. func (afls AzureFunctionLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false @@ -18719,7 +20046,7 @@ type AzureKeyVaultLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -19011,6 +20338,11 @@ func (akvls AzureKeyVaultLinkedService) AsSapCloudForCustomerLinkedService() (*S return nil, false } +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService. +func (akvls AzureKeyVaultLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + // AsSalesforceLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService. func (akvls AzureKeyVaultLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false @@ -19066,6 +20398,16 @@ func (akvls AzureKeyVaultLinkedService) AsHdfsLinkedService() (*HdfsLinkedServic return nil, false } +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService. +func (akvls AzureKeyVaultLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService. +func (akvls AzureKeyVaultLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + // AsOdbcLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService. func (akvls AzureKeyVaultLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false @@ -19121,6 +20463,16 @@ func (akvls AzureKeyVaultLinkedService) AsHDInsightLinkedService() (*HDInsightLi return nil, false } +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService. +func (akvls AzureKeyVaultLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService. +func (akvls AzureKeyVaultLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + // AsDynamicsLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService. func (akvls AzureKeyVaultLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false @@ -19141,6 +20493,11 @@ func (akvls AzureKeyVaultLinkedService) AsAzureBatchLinkedService() (*AzureBatch return nil, false } +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService. +func (akvls AzureKeyVaultLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + // AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService. func (akvls AzureKeyVaultLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false @@ -19693,7 +21050,7 @@ type AzureMLLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -19985,6 +21342,11 @@ func (amls AzureMLLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloud return nil, false } +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + // AsSalesforceLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. func (amls AzureMLLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false @@ -20040,6 +21402,16 @@ func (amls AzureMLLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool return nil, false } +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + // AsOdbcLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. func (amls AzureMLLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false @@ -20095,6 +21467,16 @@ func (amls AzureMLLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedSer return nil, false } +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + // AsDynamicsLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. func (amls AzureMLLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false @@ -20115,6 +21497,11 @@ func (amls AzureMLLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedS return nil, false } +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + // AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. func (amls AzureMLLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false @@ -20697,7 +22084,7 @@ type AzureMySQLLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -20989,6 +22376,11 @@ func (amsls AzureMySQLLinkedService) AsSapCloudForCustomerLinkedService() (*SapC return nil, false } +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + // AsSalesforceLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. func (amsls AzureMySQLLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false @@ -21044,6 +22436,16 @@ func (amsls AzureMySQLLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, return nil, false } +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + // AsOdbcLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. func (amsls AzureMySQLLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false @@ -21099,6 +22501,16 @@ func (amsls AzureMySQLLinkedService) AsHDInsightLinkedService() (*HDInsightLinke return nil, false } +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + // AsDynamicsLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. func (amsls AzureMySQLLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false @@ -21119,6 +22531,11 @@ func (amsls AzureMySQLLinkedService) AsAzureBatchLinkedService() (*AzureBatchLin return nil, false } +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + // AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. func (amsls AzureMySQLLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false @@ -21262,7 +22679,7 @@ type AzureMySQLSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -21506,6 +22923,11 @@ func (amss AzureMySQLSource) AsWebSource() (*WebSource, bool) { return nil, false } +// AsTeradataSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + // AsOracleSource is the BasicCopySource implementation for AzureMySQLSource. func (amss AzureMySQLSource) AsOracleSource() (*OracleSource, bool) { return nil, false @@ -21536,6 +22958,11 @@ func (amss AzureMySQLSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } +// AsSQLMISource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsSQLMISource() (*SQLMISource, bool) { + return nil, false +} + // AsAzureSQLSource is the BasicCopySource implementation for AzureMySQLSource. func (amss AzureMySQLSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false @@ -21581,16 +23008,71 @@ func (amss AzureMySQLSource) AsSapCloudForCustomerSource() (*SapCloudForCustomer return nil, false } +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + // AsSalesforceSource is the BasicCopySource implementation for AzureMySQLSource. func (amss AzureMySQLSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } +// AsODataSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsSybaseSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsSybaseSource() (*SybaseSource, bool) { + return nil, false +} + +// AsPostgreSQLSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false +} + +// AsMySQLSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false +} + +// AsOdbcSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false +} + +// AsDb2Source is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsDb2Source() (*Db2Source, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + // AsRelationalSource is the BasicCopySource implementation for AzureMySQLSource. func (amss AzureMySQLSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + // AsDynamicsSource is the BasicCopySource implementation for AzureMySQLSource. func (amss AzureMySQLSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false @@ -21611,6 +23093,11 @@ func (amss AzureMySQLSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } +// AsBinarySource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + // AsDelimitedTextSource is the BasicCopySource implementation for AzureMySQLSource. func (amss AzureMySQLSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false @@ -21723,7 +23210,7 @@ type AzureMySQLTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -21984,11 +23471,41 @@ func (amstd AzureMySQLTableDataset) AsSapCloudForCustomerResourceDataset() (*Sap return nil, false } +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { + return nil, false +} + // AsSalesforceObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. func (amstd AzureMySQLTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { + return nil, false +} + +// AsPostgreSQLTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { + return nil, false +} + +// AsMySQLTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { + return nil, false +} + +// AsOdbcTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { + return nil, false +} + +// AsInformixTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { + return nil, false +} + // AsRelationalTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. func (amstd AzureMySQLTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false @@ -21999,6 +23516,11 @@ func (amstd AzureMySQLTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTable return &amstd, true } +// AsTeradataTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { + return nil, false +} + // AsOracleTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. func (amstd AzureMySQLTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false @@ -22044,6 +23566,16 @@ func (amstd AzureMySQLTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLak return nil, false } +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { + return nil, false +} + +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { + return nil, false +} + // AsDynamicsEntityDataset is the BasicDataset implementation for AzureMySQLTableDataset. func (amstd AzureMySQLTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false @@ -22069,6 +23601,11 @@ func (amstd AzureMySQLTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTable return nil, false } +// AsAzureSQLMITableDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + // AsAzureSQLTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. func (amstd AzureMySQLTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false @@ -22084,6 +23621,11 @@ func (amstd AzureMySQLTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, boo return nil, false } +// AsBinaryDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for AzureMySQLTableDataset. func (amstd AzureMySQLTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -22237,7 +23779,7 @@ type AzurePostgreSQLLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -22529,6 +24071,11 @@ func (apsls AzurePostgreSQLLinkedService) AsSapCloudForCustomerLinkedService() ( return nil, false } +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + // AsSalesforceLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. func (apsls AzurePostgreSQLLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false @@ -22584,6 +24131,16 @@ func (apsls AzurePostgreSQLLinkedService) AsHdfsLinkedService() (*HdfsLinkedServ return nil, false } +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + // AsOdbcLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. func (apsls AzurePostgreSQLLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false @@ -22639,6 +24196,16 @@ func (apsls AzurePostgreSQLLinkedService) AsHDInsightLinkedService() (*HDInsight return nil, false } +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + // AsDynamicsLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. func (apsls AzurePostgreSQLLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false @@ -22659,6 +24226,11 @@ func (apsls AzurePostgreSQLLinkedService) AsAzureBatchLinkedService() (*AzureBat return nil, false } +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + // AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. func (apsls AzurePostgreSQLLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false @@ -22790,6 +24362,302 @@ type AzurePostgreSQLLinkedServiceTypeProperties struct { EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` } +// AzurePostgreSQLSink a copy activity Azure PostgreSQL sink. +type AzurePostgreSQLSink struct { + // PreCopyScript - A query to execute before starting the copy. Type: string (or Expression with resultType string). + PreCopyScript interface{} `json:"preCopyScript,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + WriteBatchSize interface{} `json:"writeBatchSize,omitempty"` + // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"` + // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer). + SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"` + // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink' + Type TypeBasicCopySink `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) MarshalJSON() ([]byte, error) { + apss.Type = TypeAzurePostgreSQLSink + objectMap := make(map[string]interface{}) + if apss.PreCopyScript != nil { + objectMap["preCopyScript"] = apss.PreCopyScript + } + if apss.WriteBatchSize != nil { + objectMap["writeBatchSize"] = apss.WriteBatchSize + } + if apss.WriteBatchTimeout != nil { + objectMap["writeBatchTimeout"] = apss.WriteBatchTimeout + } + if apss.SinkRetryCount != nil { + objectMap["sinkRetryCount"] = apss.SinkRetryCount + } + if apss.SinkRetryWait != nil { + objectMap["sinkRetryWait"] = apss.SinkRetryWait + } + if apss.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = apss.MaxConcurrentConnections + } + if apss.Type != "" { + objectMap["type"] = apss.Type + } + for k, v := range apss.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { + return nil, false +} + +// AsSalesforceSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsSalesforceSink() (*SalesforceSink, bool) { + return nil, false +} + +// AsAzureDataExplorerSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { + return nil, false +} + +// AsDynamicsCrmSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { + return nil, false +} + +// AsDynamicsSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsDynamicsSink() (*DynamicsSink, bool) { + return nil, false +} + +// AsMicrosoftAccessSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { + return nil, false +} + +// AsInformixSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsInformixSink() (*InformixSink, bool) { + return nil, false +} + +// AsOdbcSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsOdbcSink() (*OdbcSink, bool) { + return nil, false +} + +// AsAzureSearchIndexSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { + return nil, false +} + +// AsAzureBlobFSSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { + return nil, false +} + +// AsOracleSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsOracleSink() (*OracleSink, bool) { + return nil, false +} + +// AsSQLDWSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsSQLDWSink() (*SQLDWSink, bool) { + return nil, false +} + +// AsSQLMISink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsSQLMISink() (*SQLMISink, bool) { + return nil, false +} + +// AsAzureSQLSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsAzureSQLSink() (*AzureSQLSink, bool) { + return nil, false +} + +// AsSQLServerSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsSQLServerSink() (*SQLServerSink, bool) { + return nil, false +} + +// AsSQLSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsSQLSink() (*SQLSink, bool) { + return nil, false +} + +// AsDocumentDbCollectionSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { + return nil, false +} + +// AsFileSystemSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsFileSystemSink() (*FileSystemSink, bool) { + return nil, false +} + +// AsBlobSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsBlobSink() (*BlobSink, bool) { + return nil, false +} + +// AsBinarySink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsBinarySink() (*BinarySink, bool) { + return nil, false +} + +// AsParquetSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsParquetSink() (*ParquetSink, bool) { + return nil, false +} + +// AsAzureTableSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsAzureTableSink() (*AzureTableSink, bool) { + return nil, false +} + +// AsAzureQueueSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsAzureQueueSink() (*AzureQueueSink, bool) { + return nil, false +} + +// AsSapCloudForCustomerSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { + return nil, false +} + +// AsAzurePostgreSQLSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { + return &apss, true +} + +// AsDelimitedTextSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { + return nil, false +} + +// AsCopySink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsCopySink() (*CopySink, bool) { + return nil, false +} + +// AsBasicCopySink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsBasicCopySink() (BasicCopySink, bool) { + return &apss, true +} + +// UnmarshalJSON is the custom unmarshaler for AzurePostgreSQLSink struct. +func (apss *AzurePostgreSQLSink) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "preCopyScript": + if v != nil { + var preCopyScript interface{} + err = json.Unmarshal(*v, &preCopyScript) + if err != nil { + return err + } + apss.PreCopyScript = preCopyScript + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if apss.AdditionalProperties == nil { + apss.AdditionalProperties = make(map[string]interface{}) + } + apss.AdditionalProperties[k] = additionalProperties + } + case "writeBatchSize": + if v != nil { + var writeBatchSize interface{} + err = json.Unmarshal(*v, &writeBatchSize) + if err != nil { + return err + } + apss.WriteBatchSize = writeBatchSize + } + case "writeBatchTimeout": + if v != nil { + var writeBatchTimeout interface{} + err = json.Unmarshal(*v, &writeBatchTimeout) + if err != nil { + return err + } + apss.WriteBatchTimeout = writeBatchTimeout + } + case "sinkRetryCount": + if v != nil { + var sinkRetryCount interface{} + err = json.Unmarshal(*v, &sinkRetryCount) + if err != nil { + return err + } + apss.SinkRetryCount = sinkRetryCount + } + case "sinkRetryWait": + if v != nil { + var sinkRetryWait interface{} + err = json.Unmarshal(*v, &sinkRetryWait) + if err != nil { + return err + } + apss.SinkRetryWait = sinkRetryWait + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + apss.MaxConcurrentConnections = maxConcurrentConnections + } + case "type": + if v != nil { + var typeVar TypeBasicCopySink + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + apss.Type = typeVar + } + } + } + + return nil +} + // AzurePostgreSQLSource a copy activity Azure PostgreSQL source. type AzurePostgreSQLSource struct { // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). @@ -22802,7 +24670,7 @@ type AzurePostgreSQLSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -23046,6 +24914,11 @@ func (apss AzurePostgreSQLSource) AsWebSource() (*WebSource, bool) { return nil, false } +// AsTeradataSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + // AsOracleSource is the BasicCopySource implementation for AzurePostgreSQLSource. func (apss AzurePostgreSQLSource) AsOracleSource() (*OracleSource, bool) { return nil, false @@ -23076,6 +24949,11 @@ func (apss AzurePostgreSQLSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } +// AsSQLMISource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsSQLMISource() (*SQLMISource, bool) { + return nil, false +} + // AsAzureSQLSource is the BasicCopySource implementation for AzurePostgreSQLSource. func (apss AzurePostgreSQLSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false @@ -23121,16 +24999,71 @@ func (apss AzurePostgreSQLSource) AsSapCloudForCustomerSource() (*SapCloudForCus return nil, false } +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + // AsSalesforceSource is the BasicCopySource implementation for AzurePostgreSQLSource. func (apss AzurePostgreSQLSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } +// AsODataSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsSybaseSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsSybaseSource() (*SybaseSource, bool) { + return nil, false +} + +// AsPostgreSQLSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false +} + +// AsMySQLSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false +} + +// AsOdbcSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false +} + +// AsDb2Source is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsDb2Source() (*Db2Source, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + // AsRelationalSource is the BasicCopySource implementation for AzurePostgreSQLSource. func (apss AzurePostgreSQLSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + // AsDynamicsSource is the BasicCopySource implementation for AzurePostgreSQLSource. func (apss AzurePostgreSQLSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false @@ -23151,6 +25084,11 @@ func (apss AzurePostgreSQLSource) AsAzureTableSource() (*AzureTableSource, bool) return nil, false } +// AsBinarySource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + // AsDelimitedTextSource is the BasicCopySource implementation for AzurePostgreSQLSource. func (apss AzurePostgreSQLSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false @@ -23245,8 +25183,8 @@ func (apss *AzurePostgreSQLSource) UnmarshalJSON(body []byte) error { // AzurePostgreSQLTableDataset azure PostgreSQL dataset. type AzurePostgreSQLTableDataset struct { - // GenericDatasetTypeProperties - Properties specific to this dataset type. - *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` + // AzurePostgreSQLTableDatasetTypeProperties - Properties specific to this dataset type. + *AzurePostgreSQLTableDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // Description - Dataset description. @@ -23263,7 +25201,7 @@ type AzurePostgreSQLTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -23271,8 +25209,8 @@ type AzurePostgreSQLTableDataset struct { func (apstd AzurePostgreSQLTableDataset) MarshalJSON() ([]byte, error) { apstd.Type = TypeAzurePostgreSQLTable objectMap := make(map[string]interface{}) - if apstd.GenericDatasetTypeProperties != nil { - objectMap["typeProperties"] = apstd.GenericDatasetTypeProperties + if apstd.AzurePostgreSQLTableDatasetTypeProperties != nil { + objectMap["typeProperties"] = apstd.AzurePostgreSQLTableDatasetTypeProperties } if apstd.Description != nil { objectMap["description"] = apstd.Description @@ -23524,11 +25462,41 @@ func (apstd AzurePostgreSQLTableDataset) AsSapCloudForCustomerResourceDataset() return nil, false } +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { + return nil, false +} + // AsSalesforceObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. func (apstd AzurePostgreSQLTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { + return nil, false +} + +// AsPostgreSQLTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { + return nil, false +} + +// AsMySQLTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { + return nil, false +} + +// AsOdbcTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { + return nil, false +} + +// AsInformixTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { + return nil, false +} + // AsRelationalTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. func (apstd AzurePostgreSQLTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false @@ -23539,6 +25507,11 @@ func (apstd AzurePostgreSQLTableDataset) AsAzureMySQLTableDataset() (*AzureMySQL return nil, false } +// AsTeradataTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { + return nil, false +} + // AsOracleTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. func (apstd AzurePostgreSQLTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false @@ -23584,6 +25557,16 @@ func (apstd AzurePostgreSQLTableDataset) AsAzureDataLakeStoreDataset() (*AzureDa return nil, false } +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { + return nil, false +} + +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { + return nil, false +} + // AsDynamicsEntityDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. func (apstd AzurePostgreSQLTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false @@ -23609,6 +25592,11 @@ func (apstd AzurePostgreSQLTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDW return nil, false } +// AsAzureSQLMITableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + // AsAzureSQLTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. func (apstd AzurePostgreSQLTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false @@ -23624,6 +25612,11 @@ func (apstd AzurePostgreSQLTableDataset) AsAzureBlobDataset() (*AzureBlobDataset return nil, false } +// AsBinaryDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. func (apstd AzurePostgreSQLTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -23660,12 +25653,12 @@ func (apstd *AzurePostgreSQLTableDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var genericDatasetTypeProperties GenericDatasetTypeProperties - err = json.Unmarshal(*v, &genericDatasetTypeProperties) + var azurePostgreSQLTableDatasetTypeProperties AzurePostgreSQLTableDatasetTypeProperties + err = json.Unmarshal(*v, &azurePostgreSQLTableDatasetTypeProperties) if err != nil { return err } - apstd.GenericDatasetTypeProperties = &genericDatasetTypeProperties + apstd.AzurePostgreSQLTableDatasetTypeProperties = &azurePostgreSQLTableDatasetTypeProperties } default: if v != nil { @@ -23757,6 +25750,16 @@ func (apstd *AzurePostgreSQLTableDataset) UnmarshalJSON(body []byte) error { return nil } +// AzurePostgreSQLTableDatasetTypeProperties azure PostgreSQL dataset properties. +type AzurePostgreSQLTableDatasetTypeProperties struct { + // TableName - The table name of the Azure PostgreSQL database which includes both schema and table. Type: string (or Expression with resultType string). + TableName interface{} `json:"tableName,omitempty"` + // Table - The table name of the Azure PostgreSQL database. Type: string (or Expression with resultType string). + Table interface{} `json:"table,omitempty"` + // Schema - The schema name of the Azure PostgreSQL database. Type: string (or Expression with resultType string). + Schema interface{} `json:"schema,omitempty"` +} + // AzureQueueSink a copy activity Azure Queue sink. type AzureQueueSink struct { // AdditionalProperties - Unmatched properties from the message are deserialized this collection @@ -23771,7 +25774,7 @@ type AzureQueueSink struct { SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeDelimitedTextSink' + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -23808,6 +25811,11 @@ func (aqs AzureQueueSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, b return nil, false } +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for AzureQueueSink. +func (aqs AzureQueueSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { + return nil, false +} + // AsSalesforceSink is the BasicCopySink implementation for AzureQueueSink. func (aqs AzureQueueSink) AsSalesforceSink() (*SalesforceSink, bool) { return nil, false @@ -23818,11 +25826,31 @@ func (aqs AzureQueueSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, boo return nil, false } +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for AzureQueueSink. +func (aqs AzureQueueSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { + return nil, false +} + +// AsDynamicsCrmSink is the BasicCopySink implementation for AzureQueueSink. +func (aqs AzureQueueSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { + return nil, false +} + // AsDynamicsSink is the BasicCopySink implementation for AzureQueueSink. func (aqs AzureQueueSink) AsDynamicsSink() (*DynamicsSink, bool) { return nil, false } +// AsMicrosoftAccessSink is the BasicCopySink implementation for AzureQueueSink. +func (aqs AzureQueueSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { + return nil, false +} + +// AsInformixSink is the BasicCopySink implementation for AzureQueueSink. +func (aqs AzureQueueSink) AsInformixSink() (*InformixSink, bool) { + return nil, false +} + // AsOdbcSink is the BasicCopySink implementation for AzureQueueSink. func (aqs AzureQueueSink) AsOdbcSink() (*OdbcSink, bool) { return nil, false @@ -23853,6 +25881,11 @@ func (aqs AzureQueueSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false } +// AsSQLMISink is the BasicCopySink implementation for AzureQueueSink. +func (aqs AzureQueueSink) AsSQLMISink() (*SQLMISink, bool) { + return nil, false +} + // AsAzureSQLSink is the BasicCopySink implementation for AzureQueueSink. func (aqs AzureQueueSink) AsAzureSQLSink() (*AzureSQLSink, bool) { return nil, false @@ -23883,6 +25916,11 @@ func (aqs AzureQueueSink) AsBlobSink() (*BlobSink, bool) { return nil, false } +// AsBinarySink is the BasicCopySink implementation for AzureQueueSink. +func (aqs AzureQueueSink) AsBinarySink() (*BinarySink, bool) { + return nil, false +} + // AsParquetSink is the BasicCopySink implementation for AzureQueueSink. func (aqs AzureQueueSink) AsParquetSink() (*ParquetSink, bool) { return nil, false @@ -23903,6 +25941,11 @@ func (aqs AzureQueueSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, return nil, false } +// AsAzurePostgreSQLSink is the BasicCopySink implementation for AzureQueueSink. +func (aqs AzureQueueSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { + return nil, false +} + // AsDelimitedTextSink is the BasicCopySink implementation for AzureQueueSink. func (aqs AzureQueueSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { return nil, false @@ -24019,7 +26062,7 @@ type AzureSearchIndexDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -24280,11 +26323,41 @@ func (asid AzureSearchIndexDataset) AsSapCloudForCustomerResourceDataset() (*Sap return nil, false } +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { + return nil, false +} + // AsSalesforceObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. func (asid AzureSearchIndexDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { + return nil, false +} + +// AsPostgreSQLTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { + return nil, false +} + +// AsMySQLTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { + return nil, false +} + +// AsOdbcTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { + return nil, false +} + +// AsInformixTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { + return nil, false +} + // AsRelationalTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. func (asid AzureSearchIndexDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false @@ -24295,6 +26368,11 @@ func (asid AzureSearchIndexDataset) AsAzureMySQLTableDataset() (*AzureMySQLTable return nil, false } +// AsTeradataTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { + return nil, false +} + // AsOracleTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. func (asid AzureSearchIndexDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false @@ -24340,6 +26418,16 @@ func (asid AzureSearchIndexDataset) AsAzureDataLakeStoreDataset() (*AzureDataLak return nil, false } +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { + return nil, false +} + +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { + return nil, false +} + // AsDynamicsEntityDataset is the BasicDataset implementation for AzureSearchIndexDataset. func (asid AzureSearchIndexDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false @@ -24365,6 +26453,11 @@ func (asid AzureSearchIndexDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTable return nil, false } +// AsAzureSQLMITableDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + // AsAzureSQLTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. func (asid AzureSearchIndexDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false @@ -24380,6 +26473,11 @@ func (asid AzureSearchIndexDataset) AsAzureBlobDataset() (*AzureBlobDataset, boo return nil, false } +// AsBinaryDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for AzureSearchIndexDataset. func (asid AzureSearchIndexDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -24535,7 +26633,7 @@ type AzureSearchIndexSink struct { SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeDelimitedTextSink' + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -24575,6 +26673,11 @@ func (asis AzureSearchIndexSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPI return nil, false } +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for AzureSearchIndexSink. +func (asis AzureSearchIndexSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { + return nil, false +} + // AsSalesforceSink is the BasicCopySink implementation for AzureSearchIndexSink. func (asis AzureSearchIndexSink) AsSalesforceSink() (*SalesforceSink, bool) { return nil, false @@ -24585,11 +26688,31 @@ func (asis AzureSearchIndexSink) AsAzureDataExplorerSink() (*AzureDataExplorerSi return nil, false } +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for AzureSearchIndexSink. +func (asis AzureSearchIndexSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { + return nil, false +} + +// AsDynamicsCrmSink is the BasicCopySink implementation for AzureSearchIndexSink. +func (asis AzureSearchIndexSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { + return nil, false +} + // AsDynamicsSink is the BasicCopySink implementation for AzureSearchIndexSink. func (asis AzureSearchIndexSink) AsDynamicsSink() (*DynamicsSink, bool) { return nil, false } +// AsMicrosoftAccessSink is the BasicCopySink implementation for AzureSearchIndexSink. +func (asis AzureSearchIndexSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { + return nil, false +} + +// AsInformixSink is the BasicCopySink implementation for AzureSearchIndexSink. +func (asis AzureSearchIndexSink) AsInformixSink() (*InformixSink, bool) { + return nil, false +} + // AsOdbcSink is the BasicCopySink implementation for AzureSearchIndexSink. func (asis AzureSearchIndexSink) AsOdbcSink() (*OdbcSink, bool) { return nil, false @@ -24620,6 +26743,11 @@ func (asis AzureSearchIndexSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false } +// AsSQLMISink is the BasicCopySink implementation for AzureSearchIndexSink. +func (asis AzureSearchIndexSink) AsSQLMISink() (*SQLMISink, bool) { + return nil, false +} + // AsAzureSQLSink is the BasicCopySink implementation for AzureSearchIndexSink. func (asis AzureSearchIndexSink) AsAzureSQLSink() (*AzureSQLSink, bool) { return nil, false @@ -24650,6 +26778,11 @@ func (asis AzureSearchIndexSink) AsBlobSink() (*BlobSink, bool) { return nil, false } +// AsBinarySink is the BasicCopySink implementation for AzureSearchIndexSink. +func (asis AzureSearchIndexSink) AsBinarySink() (*BinarySink, bool) { + return nil, false +} + // AsParquetSink is the BasicCopySink implementation for AzureSearchIndexSink. func (asis AzureSearchIndexSink) AsParquetSink() (*ParquetSink, bool) { return nil, false @@ -24670,6 +26803,11 @@ func (asis AzureSearchIndexSink) AsSapCloudForCustomerSink() (*SapCloudForCustom return nil, false } +// AsAzurePostgreSQLSink is the BasicCopySink implementation for AzureSearchIndexSink. +func (asis AzureSearchIndexSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { + return nil, false +} + // AsDelimitedTextSink is the BasicCopySink implementation for AzureSearchIndexSink. func (asis AzureSearchIndexSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { return nil, false @@ -24789,7 +26927,7 @@ type AzureSearchLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -25081,6 +27219,11 @@ func (asls AzureSearchLinkedService) AsSapCloudForCustomerLinkedService() (*SapC return nil, false } +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + // AsSalesforceLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. func (asls AzureSearchLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false @@ -25136,6 +27279,16 @@ func (asls AzureSearchLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, return nil, false } +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + // AsOdbcLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. func (asls AzureSearchLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false @@ -25191,6 +27344,16 @@ func (asls AzureSearchLinkedService) AsHDInsightLinkedService() (*HDInsightLinke return nil, false } +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + // AsDynamicsLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. func (asls AzureSearchLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false @@ -25211,6 +27374,11 @@ func (asls AzureSearchLinkedService) AsAzureBatchLinkedService() (*AzureBatchLin return nil, false } +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + // AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. func (asls AzureSearchLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false @@ -25397,7 +27565,7 @@ type AzureSQLDatabaseLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -25689,6 +27857,11 @@ func (asdls AzureSQLDatabaseLinkedService) AsSapCloudForCustomerLinkedService() return nil, false } +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + // AsSalesforceLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. func (asdls AzureSQLDatabaseLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false @@ -25744,6 +27917,16 @@ func (asdls AzureSQLDatabaseLinkedService) AsHdfsLinkedService() (*HdfsLinkedSer return nil, false } +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + // AsOdbcLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. func (asdls AzureSQLDatabaseLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false @@ -25799,6 +27982,16 @@ func (asdls AzureSQLDatabaseLinkedService) AsHDInsightLinkedService() (*HDInsigh return nil, false } +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + // AsDynamicsLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. func (asdls AzureSQLDatabaseLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false @@ -25819,6 +28012,11 @@ func (asdls AzureSQLDatabaseLinkedService) AsAzureBatchLinkedService() (*AzureBa return nil, false } +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + // AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. func (asdls AzureSQLDatabaseLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return &asdls, true @@ -26038,7 +28236,7 @@ type AzureSQLDWLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -26330,6 +28528,11 @@ func (asdls AzureSQLDWLinkedService) AsSapCloudForCustomerLinkedService() (*SapC return nil, false } +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + // AsSalesforceLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. func (asdls AzureSQLDWLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false @@ -26385,6 +28588,16 @@ func (asdls AzureSQLDWLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, return nil, false } +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + // AsOdbcLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. func (asdls AzureSQLDWLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false @@ -26440,6 +28653,16 @@ func (asdls AzureSQLDWLinkedService) AsHDInsightLinkedService() (*HDInsightLinke return nil, false } +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + // AsDynamicsLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. func (asdls AzureSQLDWLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false @@ -26460,6 +28683,11 @@ func (asdls AzureSQLDWLinkedService) AsAzureBatchLinkedService() (*AzureBatchLin return nil, false } +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + // AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. func (asdls AzureSQLDWLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false @@ -26685,7 +28913,7 @@ type AzureSQLDWTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -26946,11 +29174,41 @@ func (asdtd AzureSQLDWTableDataset) AsSapCloudForCustomerResourceDataset() (*Sap return nil, false } +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { + return nil, false +} + // AsSalesforceObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset. func (asdtd AzureSQLDWTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { + return nil, false +} + +// AsPostgreSQLTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { + return nil, false +} + +// AsMySQLTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { + return nil, false +} + +// AsOdbcTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { + return nil, false +} + +// AsInformixTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { + return nil, false +} + // AsRelationalTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. func (asdtd AzureSQLDWTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false @@ -26961,6 +29219,11 @@ func (asdtd AzureSQLDWTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTable return nil, false } +// AsTeradataTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { + return nil, false +} + // AsOracleTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. func (asdtd AzureSQLDWTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false @@ -27006,6 +29269,16 @@ func (asdtd AzureSQLDWTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLak return nil, false } +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { + return nil, false +} + +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { + return nil, false +} + // AsDynamicsEntityDataset is the BasicDataset implementation for AzureSQLDWTableDataset. func (asdtd AzureSQLDWTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false @@ -27031,6 +29304,11 @@ func (asdtd AzureSQLDWTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTable return &asdtd, true } +// AsAzureSQLMITableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + // AsAzureSQLTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. func (asdtd AzureSQLDWTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false @@ -27046,6 +29324,11 @@ func (asdtd AzureSQLDWTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, boo return nil, false } +// AsBinaryDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for AzureSQLDWTableDataset. func (asdtd AzureSQLDWTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -27185,716 +29468,514 @@ type AzureSQLDWTableDatasetTypeProperties struct { TableName interface{} `json:"tableName,omitempty"` } -// AzureSQLSink a copy activity Azure SQL sink. -type AzureSQLSink struct { - // SQLWriterStoredProcedureName - SQL writer stored procedure name. Type: string (or Expression with resultType string). - SQLWriterStoredProcedureName interface{} `json:"sqlWriterStoredProcedureName,omitempty"` - // SQLWriterTableType - SQL writer table type. Type: string (or Expression with resultType string). - SQLWriterTableType interface{} `json:"sqlWriterTableType,omitempty"` - // PreCopyScript - SQL pre-copy script. Type: string (or Expression with resultType string). - PreCopyScript interface{} `json:"preCopyScript,omitempty"` - // StoredProcedureParameters - SQL stored procedure parameters. - StoredProcedureParameters map[string]*StoredProcedureParameter `json:"storedProcedureParameters"` - // StoredProcedureTableTypeParameterName - The stored procedure parameter name of the table type. Type: string (or Expression with resultType string). - StoredProcedureTableTypeParameterName interface{} `json:"storedProcedureTableTypeParameterName,omitempty"` +// AzureSQLMILinkedService azure SQL Managed Instance linked service. +type AzureSQLMILinkedService struct { + // AzureSQLMILinkedServiceTypeProperties - Azure SQL Managed Instance linked service properties. + *AzureSQLMILinkedServiceTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - WriteBatchSize interface{} `json:"writeBatchSize,omitempty"` - // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"` - // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer). - SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"` - // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeDelimitedTextSink' - Type TypeBasicCopySink `json:"type,omitempty"` + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. + Description *string `json:"description,omitempty"` + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the linked service. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for AzureSQLSink. -func (ass AzureSQLSink) MarshalJSON() ([]byte, error) { - ass.Type = TypeAzureSQLSink +// MarshalJSON is the custom marshaler for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) MarshalJSON() ([]byte, error) { + asmls.Type = TypeAzureSQLMI objectMap := make(map[string]interface{}) - if ass.SQLWriterStoredProcedureName != nil { - objectMap["sqlWriterStoredProcedureName"] = ass.SQLWriterStoredProcedureName - } - if ass.SQLWriterTableType != nil { - objectMap["sqlWriterTableType"] = ass.SQLWriterTableType - } - if ass.PreCopyScript != nil { - objectMap["preCopyScript"] = ass.PreCopyScript - } - if ass.StoredProcedureParameters != nil { - objectMap["storedProcedureParameters"] = ass.StoredProcedureParameters - } - if ass.StoredProcedureTableTypeParameterName != nil { - objectMap["storedProcedureTableTypeParameterName"] = ass.StoredProcedureTableTypeParameterName - } - if ass.WriteBatchSize != nil { - objectMap["writeBatchSize"] = ass.WriteBatchSize + if asmls.AzureSQLMILinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = asmls.AzureSQLMILinkedServiceTypeProperties } - if ass.WriteBatchTimeout != nil { - objectMap["writeBatchTimeout"] = ass.WriteBatchTimeout + if asmls.ConnectVia != nil { + objectMap["connectVia"] = asmls.ConnectVia } - if ass.SinkRetryCount != nil { - objectMap["sinkRetryCount"] = ass.SinkRetryCount + if asmls.Description != nil { + objectMap["description"] = asmls.Description } - if ass.SinkRetryWait != nil { - objectMap["sinkRetryWait"] = ass.SinkRetryWait + if asmls.Parameters != nil { + objectMap["parameters"] = asmls.Parameters } - if ass.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = ass.MaxConcurrentConnections + if asmls.Annotations != nil { + objectMap["annotations"] = asmls.Annotations } - if ass.Type != "" { - objectMap["type"] = ass.Type + if asmls.Type != "" { + objectMap["type"] = asmls.Type } - for k, v := range ass.AdditionalProperties { + for k, v := range asmls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for AzureSQLSink. -func (ass AzureSQLSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsSalesforceSink is the BasicCopySink implementation for AzureSQLSink. -func (ass AzureSQLSink) AsSalesforceSink() (*SalesforceSink, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsAzureDataExplorerSink is the BasicCopySink implementation for AzureSQLSink. -func (ass AzureSQLSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsDynamicsSink is the BasicCopySink implementation for AzureSQLSink. -func (ass AzureSQLSink) AsDynamicsSink() (*DynamicsSink, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsOdbcSink is the BasicCopySink implementation for AzureSQLSink. -func (ass AzureSQLSink) AsOdbcSink() (*OdbcSink, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsAzureSearchIndexSink is the BasicCopySink implementation for AzureSQLSink. -func (ass AzureSQLSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsAzureBlobFSSink is the BasicCopySink implementation for AzureSQLSink. -func (ass AzureSQLSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreSink is the BasicCopySink implementation for AzureSQLSink. -func (ass AzureSQLSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsOracleSink is the BasicCopySink implementation for AzureSQLSink. -func (ass AzureSQLSink) AsOracleSink() (*OracleSink, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsSQLDWSink is the BasicCopySink implementation for AzureSQLSink. -func (ass AzureSQLSink) AsSQLDWSink() (*SQLDWSink, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsAzureSQLSink is the BasicCopySink implementation for AzureSQLSink. -func (ass AzureSQLSink) AsAzureSQLSink() (*AzureSQLSink, bool) { - return &ass, true -} - -// AsSQLServerSink is the BasicCopySink implementation for AzureSQLSink. -func (ass AzureSQLSink) AsSQLServerSink() (*SQLServerSink, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsSQLSink is the BasicCopySink implementation for AzureSQLSink. -func (ass AzureSQLSink) AsSQLSink() (*SQLSink, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionSink is the BasicCopySink implementation for AzureSQLSink. -func (ass AzureSQLSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsFileSystemSink is the BasicCopySink implementation for AzureSQLSink. -func (ass AzureSQLSink) AsFileSystemSink() (*FileSystemSink, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsBlobSink is the BasicCopySink implementation for AzureSQLSink. -func (ass AzureSQLSink) AsBlobSink() (*BlobSink, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsParquetSink is the BasicCopySink implementation for AzureSQLSink. -func (ass AzureSQLSink) AsParquetSink() (*ParquetSink, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsAzureTableSink is the BasicCopySink implementation for AzureSQLSink. -func (ass AzureSQLSink) AsAzureTableSink() (*AzureTableSink, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsAzureQueueSink is the BasicCopySink implementation for AzureSQLSink. -func (ass AzureSQLSink) AsAzureQueueSink() (*AzureQueueSink, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerSink is the BasicCopySink implementation for AzureSQLSink. -func (ass AzureSQLSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsDelimitedTextSink is the BasicCopySink implementation for AzureSQLSink. -func (ass AzureSQLSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsCopySink is the BasicCopySink implementation for AzureSQLSink. -func (ass AzureSQLSink) AsCopySink() (*CopySink, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsBasicCopySink is the BasicCopySink implementation for AzureSQLSink. -func (ass AzureSQLSink) AsBasicCopySink() (BasicCopySink, bool) { - return &ass, true -} - -// UnmarshalJSON is the custom unmarshaler for AzureSQLSink struct. -func (ass *AzureSQLSink) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "sqlWriterStoredProcedureName": - if v != nil { - var SQLWriterStoredProcedureName interface{} - err = json.Unmarshal(*v, &SQLWriterStoredProcedureName) - if err != nil { - return err - } - ass.SQLWriterStoredProcedureName = SQLWriterStoredProcedureName - } - case "sqlWriterTableType": - if v != nil { - var SQLWriterTableType interface{} - err = json.Unmarshal(*v, &SQLWriterTableType) - if err != nil { - return err - } - ass.SQLWriterTableType = SQLWriterTableType - } - case "preCopyScript": - if v != nil { - var preCopyScript interface{} - err = json.Unmarshal(*v, &preCopyScript) - if err != nil { - return err - } - ass.PreCopyScript = preCopyScript - } - case "storedProcedureParameters": - if v != nil { - var storedProcedureParameters map[string]*StoredProcedureParameter - err = json.Unmarshal(*v, &storedProcedureParameters) - if err != nil { - return err - } - ass.StoredProcedureParameters = storedProcedureParameters - } - case "storedProcedureTableTypeParameterName": - if v != nil { - var storedProcedureTableTypeParameterName interface{} - err = json.Unmarshal(*v, &storedProcedureTableTypeParameterName) - if err != nil { - return err - } - ass.StoredProcedureTableTypeParameterName = storedProcedureTableTypeParameterName - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if ass.AdditionalProperties == nil { - ass.AdditionalProperties = make(map[string]interface{}) - } - ass.AdditionalProperties[k] = additionalProperties - } - case "writeBatchSize": - if v != nil { - var writeBatchSize interface{} - err = json.Unmarshal(*v, &writeBatchSize) - if err != nil { - return err - } - ass.WriteBatchSize = writeBatchSize - } - case "writeBatchTimeout": - if v != nil { - var writeBatchTimeout interface{} - err = json.Unmarshal(*v, &writeBatchTimeout) - if err != nil { - return err - } - ass.WriteBatchTimeout = writeBatchTimeout - } - case "sinkRetryCount": - if v != nil { - var sinkRetryCount interface{} - err = json.Unmarshal(*v, &sinkRetryCount) - if err != nil { - return err - } - ass.SinkRetryCount = sinkRetryCount - } - case "sinkRetryWait": - if v != nil { - var sinkRetryWait interface{} - err = json.Unmarshal(*v, &sinkRetryWait) - if err != nil { - return err - } - ass.SinkRetryWait = sinkRetryWait - } - case "maxConcurrentConnections": - if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) - if err != nil { - return err - } - ass.MaxConcurrentConnections = maxConcurrentConnections - } - case "type": - if v != nil { - var typeVar TypeBasicCopySink - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - ass.Type = typeVar - } - } - } - - return nil +// AsPhoenixLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { + return nil, false } -// AzureSQLSource a copy activity Azure SQL source. -type AzureSQLSource struct { - // SQLReaderQuery - SQL reader query. Type: string (or Expression with resultType string). - SQLReaderQuery interface{} `json:"sqlReaderQuery,omitempty"` - // SQLReaderStoredProcedureName - Name of the stored procedure for a SQL Database source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string). - SQLReaderStoredProcedureName interface{} `json:"sqlReaderStoredProcedureName,omitempty"` - // StoredProcedureParameters - Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". - StoredProcedureParameters map[string]*StoredProcedureParameter `json:"storedProcedureParameters"` - // ProduceAdditionalTypes - Which additional types to produce. - ProduceAdditionalTypes interface{} `json:"produceAdditionalTypes,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). - SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` - // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' - Type TypeBasicCopySource `json:"type,omitempty"` +// AsPaypalLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for AzureSQLSource. -func (ass AzureSQLSource) MarshalJSON() ([]byte, error) { - ass.Type = TypeAzureSQLSource - objectMap := make(map[string]interface{}) - if ass.SQLReaderQuery != nil { - objectMap["sqlReaderQuery"] = ass.SQLReaderQuery - } - if ass.SQLReaderStoredProcedureName != nil { - objectMap["sqlReaderStoredProcedureName"] = ass.SQLReaderStoredProcedureName - } - if ass.StoredProcedureParameters != nil { - objectMap["storedProcedureParameters"] = ass.StoredProcedureParameters - } - if ass.ProduceAdditionalTypes != nil { - objectMap["produceAdditionalTypes"] = ass.ProduceAdditionalTypes - } - if ass.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = ass.SourceRetryCount - } - if ass.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = ass.SourceRetryWait - } - if ass.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = ass.MaxConcurrentConnections - } - if ass.Type != "" { - objectMap["type"] = ass.Type - } - for k, v := range ass.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsMarketoLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { + return nil, false } -// AsAmazonRedshiftSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsVerticaSource() (*VerticaSource, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsZohoSource() (*ZohoSource, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsXeroSource() (*XeroSource, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsSquareSource() (*SquareSource, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsSparkSource() (*SparkSource, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsShopifySource() (*ShopifySource, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsPrestoSource() (*PrestoSource, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsPaypalSource() (*PaypalSource, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsMarketoSource() (*MarketoSource, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsMagentoSource() (*MagentoSource, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsJiraSource() (*JiraSource, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsHubspotSource() (*HubspotSource, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsHiveSource() (*HiveSource, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsHBaseSource() (*HBaseSource, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsEloquaSource() (*EloquaSource, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsDrillSource() (*DrillSource, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsConcurSource() (*ConcurSource, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsHTTPSource() (*HTTPSource, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsOffice365Source() (*Office365Source, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsCassandraSource() (*CassandraSource, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsWebSource() (*WebSource, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsOracleSource() (*OracleSource, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsHdfsSource() (*HdfsSource, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsAzureSQLSource() (*AzureSQLSource, bool) { - return &ass, true +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { + return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsSQLSource() (*SQLSource, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsRestSource() (*RestSource, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsSapTableSource() (*SapTableSource, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsSapEccSource() (*SapEccSource, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsRelationalSource() (*RelationalSource, bool) { - return nil, false +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return &asmls, true } -// AsDynamicsSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsBlobSource() (*BlobSource, bool) { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsParquetSource() (*ParquetSource, bool) { +// AsAzureStorageLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsCopySource() (*CopySource, bool) { +// AsLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsLinkedService() (*LinkedService, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsBasicCopySource() (BasicCopySource, bool) { - return &ass, true +// AsBasicLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &asmls, true } -// UnmarshalJSON is the custom unmarshaler for AzureSQLSource struct. -func (ass *AzureSQLSource) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for AzureSQLMILinkedService struct. +func (asmls *AzureSQLMILinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -27902,89 +29983,155 @@ func (ass *AzureSQLSource) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "sqlReaderQuery": + case "typeProperties": if v != nil { - var SQLReaderQuery interface{} - err = json.Unmarshal(*v, &SQLReaderQuery) + var azureSQLMILinkedServiceTypeProperties AzureSQLMILinkedServiceTypeProperties + err = json.Unmarshal(*v, &azureSQLMILinkedServiceTypeProperties) if err != nil { return err } - ass.SQLReaderQuery = SQLReaderQuery + asmls.AzureSQLMILinkedServiceTypeProperties = &azureSQLMILinkedServiceTypeProperties } - case "sqlReaderStoredProcedureName": + default: if v != nil { - var SQLReaderStoredProcedureName interface{} - err = json.Unmarshal(*v, &SQLReaderStoredProcedureName) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - ass.SQLReaderStoredProcedureName = SQLReaderStoredProcedureName + if asmls.AdditionalProperties == nil { + asmls.AdditionalProperties = make(map[string]interface{}) + } + asmls.AdditionalProperties[k] = additionalProperties } - case "storedProcedureParameters": + case "connectVia": if v != nil { - var storedProcedureParameters map[string]*StoredProcedureParameter - err = json.Unmarshal(*v, &storedProcedureParameters) + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) if err != nil { return err } - ass.StoredProcedureParameters = storedProcedureParameters + asmls.ConnectVia = &connectVia } - case "produceAdditionalTypes": + case "description": if v != nil { - var produceAdditionalTypes interface{} - err = json.Unmarshal(*v, &produceAdditionalTypes) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - ass.ProduceAdditionalTypes = produceAdditionalTypes + asmls.Description = &description } - default: + case "parameters": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - if ass.AdditionalProperties == nil { - ass.AdditionalProperties = make(map[string]interface{}) + asmls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err } - ass.AdditionalProperties[k] = additionalProperties + asmls.Annotations = &annotations } - case "sourceRetryCount": + case "type": if v != nil { - var sourceRetryCount interface{} - err = json.Unmarshal(*v, &sourceRetryCount) + var typeVar TypeBasicLinkedService + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - ass.SourceRetryCount = sourceRetryCount + asmls.Type = typeVar } - case "sourceRetryWait": + } + } + + return nil +} + +// AzureSQLMILinkedServiceTypeProperties azure SQL Managed Instance linked service properties. +type AzureSQLMILinkedServiceTypeProperties struct { + // ConnectionString - The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + ConnectionString interface{} `json:"connectionString,omitempty"` + // Password - The Azure key vault secret reference of password in connection string. + Password *AzureKeyVaultSecretReference `json:"password,omitempty"` + // ServicePrincipalID - The ID of the service principal used to authenticate against Azure SQL Managed Instance. Type: string (or Expression with resultType string). + ServicePrincipalID interface{} `json:"servicePrincipalId,omitempty"` + // ServicePrincipalKey - The key of the service principal used to authenticate against Azure SQL Managed Instance. + ServicePrincipalKey BasicSecretBase `json:"servicePrincipalKey,omitempty"` + // Tenant - The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). + Tenant interface{} `json:"tenant,omitempty"` + // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` +} + +// UnmarshalJSON is the custom unmarshaler for AzureSQLMILinkedServiceTypeProperties struct. +func (asmlstp *AzureSQLMILinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "connectionString": if v != nil { - var sourceRetryWait interface{} - err = json.Unmarshal(*v, &sourceRetryWait) + var connectionString interface{} + err = json.Unmarshal(*v, &connectionString) if err != nil { return err } - ass.SourceRetryWait = sourceRetryWait + asmlstp.ConnectionString = connectionString } - case "maxConcurrentConnections": + case "password": if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) + var password AzureKeyVaultSecretReference + err = json.Unmarshal(*v, &password) if err != nil { return err } - ass.MaxConcurrentConnections = maxConcurrentConnections + asmlstp.Password = &password } - case "type": + case "servicePrincipalId": if v != nil { - var typeVar TypeBasicCopySource - err = json.Unmarshal(*v, &typeVar) + var servicePrincipalID interface{} + err = json.Unmarshal(*v, &servicePrincipalID) if err != nil { return err } - ass.Type = typeVar + asmlstp.ServicePrincipalID = servicePrincipalID + } + case "servicePrincipalKey": + if v != nil { + servicePrincipalKey, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + asmlstp.ServicePrincipalKey = servicePrincipalKey + } + case "tenant": + if v != nil { + var tenant interface{} + err = json.Unmarshal(*v, &tenant) + if err != nil { + return err + } + asmlstp.Tenant = tenant + } + case "encryptedCredential": + if v != nil { + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) + if err != nil { + return err + } + asmlstp.EncryptedCredential = encryptedCredential } } } @@ -27992,10 +30139,10 @@ func (ass *AzureSQLSource) UnmarshalJSON(body []byte) error { return nil } -// AzureSQLTableDataset the Azure SQL Server database dataset. -type AzureSQLTableDataset struct { - // AzureSQLTableDatasetTypeProperties - Azure SQL dataset properties. - *AzureSQLTableDatasetTypeProperties `json:"typeProperties,omitempty"` +// AzureSQLMITableDataset the Azure SQL Managed Instance dataset. +type AzureSQLMITableDataset struct { + // AzureSQLMITableDatasetTypeProperties - Azure SQL Managed Instance dataset properties. + *AzureSQLMITableDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // Description - Dataset description. @@ -28012,394 +30159,449 @@ type AzureSQLTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) MarshalJSON() ([]byte, error) { - astd.Type = TypeAzureSQLTable +// MarshalJSON is the custom marshaler for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) MarshalJSON() ([]byte, error) { + asmtd.Type = TypeAzureSQLMITable objectMap := make(map[string]interface{}) - if astd.AzureSQLTableDatasetTypeProperties != nil { - objectMap["typeProperties"] = astd.AzureSQLTableDatasetTypeProperties + if asmtd.AzureSQLMITableDatasetTypeProperties != nil { + objectMap["typeProperties"] = asmtd.AzureSQLMITableDatasetTypeProperties } - if astd.Description != nil { - objectMap["description"] = astd.Description + if asmtd.Description != nil { + objectMap["description"] = asmtd.Description } - if astd.Structure != nil { - objectMap["structure"] = astd.Structure + if asmtd.Structure != nil { + objectMap["structure"] = asmtd.Structure } - if astd.Schema != nil { - objectMap["schema"] = astd.Schema + if asmtd.Schema != nil { + objectMap["schema"] = asmtd.Schema } - if astd.LinkedServiceName != nil { - objectMap["linkedServiceName"] = astd.LinkedServiceName + if asmtd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = asmtd.LinkedServiceName } - if astd.Parameters != nil { - objectMap["parameters"] = astd.Parameters + if asmtd.Parameters != nil { + objectMap["parameters"] = asmtd.Parameters } - if astd.Annotations != nil { - objectMap["annotations"] = astd.Annotations + if asmtd.Annotations != nil { + objectMap["annotations"] = asmtd.Annotations } - if astd.Folder != nil { - objectMap["folder"] = astd.Folder + if asmtd.Folder != nil { + objectMap["folder"] = asmtd.Folder } - if astd.Type != "" { - objectMap["type"] = astd.Type + if asmtd.Type != "" { + objectMap["type"] = asmtd.Type } - for k, v := range astd.AdditionalProperties { + for k, v := range asmtd.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsDrillTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsHTTPDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsWebTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsRestResourceDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsInformixTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsOracleTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsODataResourceDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsFileShareDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsOffice365Dataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { - return &astd, true +// AsAzureBlobFSDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { + return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsDataset() (*Dataset, bool) { +// AsCustomDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsBasicDataset() (BasicDataset, bool) { - return &astd, true +// AsCassandraTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for AzureSQLTableDataset struct. -func (astd *AzureSQLTableDataset) UnmarshalJSON(body []byte) error { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { + return nil, false +} + +// AsAzureSQLMITableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return &asmtd, true +} + +// AsAzureSQLTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { + return nil, false +} + +// AsAzureTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { + return nil, false +} + +// AsAzureBlobDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { + return nil, false +} + +// AsBinaryDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + +// AsDelimitedTextDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { + return nil, false +} + +// AsParquetDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsBasicDataset() (BasicDataset, bool) { + return &asmtd, true +} + +// UnmarshalJSON is the custom unmarshaler for AzureSQLMITableDataset struct. +func (asmtd *AzureSQLMITableDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -28409,12 +30611,12 @@ func (astd *AzureSQLTableDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var azureSQLTableDatasetTypeProperties AzureSQLTableDatasetTypeProperties - err = json.Unmarshal(*v, &azureSQLTableDatasetTypeProperties) + var azureSQLMITableDatasetTypeProperties AzureSQLMITableDatasetTypeProperties + err = json.Unmarshal(*v, &azureSQLMITableDatasetTypeProperties) if err != nil { return err } - astd.AzureSQLTableDatasetTypeProperties = &azureSQLTableDatasetTypeProperties + asmtd.AzureSQLMITableDatasetTypeProperties = &azureSQLMITableDatasetTypeProperties } default: if v != nil { @@ -28423,10 +30625,10 @@ func (astd *AzureSQLTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if astd.AdditionalProperties == nil { - astd.AdditionalProperties = make(map[string]interface{}) + if asmtd.AdditionalProperties == nil { + asmtd.AdditionalProperties = make(map[string]interface{}) } - astd.AdditionalProperties[k] = additionalProperties + asmtd.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -28435,7 +30637,7 @@ func (astd *AzureSQLTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - astd.Description = &description + asmtd.Description = &description } case "structure": if v != nil { @@ -28444,7 +30646,7 @@ func (astd *AzureSQLTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - astd.Structure = structure + asmtd.Structure = structure } case "schema": if v != nil { @@ -28453,7 +30655,7 @@ func (astd *AzureSQLTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - astd.Schema = schema + asmtd.Schema = schema } case "linkedServiceName": if v != nil { @@ -28462,7 +30664,7 @@ func (astd *AzureSQLTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - astd.LinkedServiceName = &linkedServiceName + asmtd.LinkedServiceName = &linkedServiceName } case "parameters": if v != nil { @@ -28471,7 +30673,7 @@ func (astd *AzureSQLTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - astd.Parameters = parameters + asmtd.Parameters = parameters } case "annotations": if v != nil { @@ -28480,7 +30682,7 @@ func (astd *AzureSQLTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - astd.Annotations = &annotations + asmtd.Annotations = &annotations } case "folder": if v != nil { @@ -28489,7 +30691,7 @@ func (astd *AzureSQLTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - astd.Folder = &folder + asmtd.Folder = &folder } case "type": if v != nil { @@ -28498,7 +30700,7 @@ func (astd *AzureSQLTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - astd.Type = typeVar + asmtd.Type = typeVar } } } @@ -28506,490 +30708,836 @@ func (astd *AzureSQLTableDataset) UnmarshalJSON(body []byte) error { return nil } -// AzureSQLTableDatasetTypeProperties azure SQL dataset properties. -type AzureSQLTableDatasetTypeProperties struct { - // TableName - The table name of the Azure SQL database. Type: string (or Expression with resultType string). +// AzureSQLMITableDatasetTypeProperties azure SQL Managed Instance dataset properties. +type AzureSQLMITableDatasetTypeProperties struct { + // TableName - This property will be retired. Please consider using schema + table properties instead. TableName interface{} `json:"tableName,omitempty"` + // Schema - The schema name of the Azure SQL Managed Instance. Type: string (or Expression with resultType string). + Schema interface{} `json:"schema,omitempty"` + // Table - The table name of the Azure SQL Managed Instance dataset. Type: string (or Expression with resultType string). + Table interface{} `json:"table,omitempty"` } -// AzureStorageLinkedService the storage account linked service. -type AzureStorageLinkedService struct { - // AzureStorageLinkedServiceTypeProperties - Azure Storage linked service properties. - *AzureStorageLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// AzureSQLSink a copy activity Azure SQL sink. +type AzureSQLSink struct { + // SQLWriterStoredProcedureName - SQL writer stored procedure name. Type: string (or Expression with resultType string). + SQLWriterStoredProcedureName interface{} `json:"sqlWriterStoredProcedureName,omitempty"` + // SQLWriterTableType - SQL writer table type. Type: string (or Expression with resultType string). + SQLWriterTableType interface{} `json:"sqlWriterTableType,omitempty"` + // PreCopyScript - SQL pre-copy script. Type: string (or Expression with resultType string). + PreCopyScript interface{} `json:"preCopyScript,omitempty"` + // StoredProcedureParameters - SQL stored procedure parameters. + StoredProcedureParameters map[string]*StoredProcedureParameter `json:"storedProcedureParameters"` + // StoredProcedureTableTypeParameterName - The stored procedure parameter name of the table type. Type: string (or Expression with resultType string). + StoredProcedureTableTypeParameterName interface{} `json:"storedProcedureTableTypeParameterName,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. - Description *string `json:"description,omitempty"` - // Parameters - Parameters for linked service. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the linked service. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` + // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + WriteBatchSize interface{} `json:"writeBatchSize,omitempty"` + // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"` + // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer). + SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"` + // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink' + Type TypeBasicCopySink `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) MarshalJSON() ([]byte, error) { - asls.Type = TypeAzureStorage +// MarshalJSON is the custom marshaler for AzureSQLSink. +func (ass AzureSQLSink) MarshalJSON() ([]byte, error) { + ass.Type = TypeAzureSQLSink objectMap := make(map[string]interface{}) - if asls.AzureStorageLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = asls.AzureStorageLinkedServiceTypeProperties + if ass.SQLWriterStoredProcedureName != nil { + objectMap["sqlWriterStoredProcedureName"] = ass.SQLWriterStoredProcedureName } - if asls.ConnectVia != nil { - objectMap["connectVia"] = asls.ConnectVia + if ass.SQLWriterTableType != nil { + objectMap["sqlWriterTableType"] = ass.SQLWriterTableType } - if asls.Description != nil { - objectMap["description"] = asls.Description + if ass.PreCopyScript != nil { + objectMap["preCopyScript"] = ass.PreCopyScript } - if asls.Parameters != nil { - objectMap["parameters"] = asls.Parameters + if ass.StoredProcedureParameters != nil { + objectMap["storedProcedureParameters"] = ass.StoredProcedureParameters } - if asls.Annotations != nil { - objectMap["annotations"] = asls.Annotations + if ass.StoredProcedureTableTypeParameterName != nil { + objectMap["storedProcedureTableTypeParameterName"] = ass.StoredProcedureTableTypeParameterName } - if asls.Type != "" { - objectMap["type"] = asls.Type + if ass.WriteBatchSize != nil { + objectMap["writeBatchSize"] = ass.WriteBatchSize } - for k, v := range asls.AdditionalProperties { + if ass.WriteBatchTimeout != nil { + objectMap["writeBatchTimeout"] = ass.WriteBatchTimeout + } + if ass.SinkRetryCount != nil { + objectMap["sinkRetryCount"] = ass.SinkRetryCount + } + if ass.SinkRetryWait != nil { + objectMap["sinkRetryWait"] = ass.SinkRetryWait + } + if ass.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = ass.MaxConcurrentConnections + } + if ass.Type != "" { + objectMap["type"] = ass.Type + } + for k, v := range ass.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { +// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { return nil, false } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { return nil, false } -// AsSapTableLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsSalesforceSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsSalesforceSink() (*SalesforceSink, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsAzureDataExplorerSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsDynamicsCrmSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsDynamicsSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsDynamicsSink() (*DynamicsSink, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsMicrosoftAccessSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsInformixSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsInformixSink() (*InformixSink, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsOdbcSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsOdbcSink() (*OdbcSink, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsAzureSearchIndexSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsAzureBlobFSSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsOracleSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsOracleSink() (*OracleSink, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsSQLDWSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsSQLMISink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsSQLMISink() (*SQLMISink, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsAzureSQLSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsAzureSQLSink() (*AzureSQLSink, bool) { + return &ass, true +} + +// AsSQLServerSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsSQLServerSink() (*SQLServerSink, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsSQLSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsSQLSink() (*SQLSink, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsDocumentDbCollectionSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsFileSystemSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsFileSystemSink() (*FileSystemSink, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsBlobSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsBlobSink() (*BlobSink, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsBinarySink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsBinarySink() (*BinarySink, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsParquetSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsParquetSink() (*ParquetSink, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsAzureTableSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsAzureTableSink() (*AzureTableSink, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsAzureQueueSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsAzureQueueSink() (*AzureQueueSink, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsSapCloudForCustomerSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsAzurePostgreSQLSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsDelimitedTextSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsCopySink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsCopySink() (*CopySink, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsBasicCopySink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsBasicCopySink() (BasicCopySink, bool) { + return &ass, true +} + +// UnmarshalJSON is the custom unmarshaler for AzureSQLSink struct. +func (ass *AzureSQLSink) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "sqlWriterStoredProcedureName": + if v != nil { + var SQLWriterStoredProcedureName interface{} + err = json.Unmarshal(*v, &SQLWriterStoredProcedureName) + if err != nil { + return err + } + ass.SQLWriterStoredProcedureName = SQLWriterStoredProcedureName + } + case "sqlWriterTableType": + if v != nil { + var SQLWriterTableType interface{} + err = json.Unmarshal(*v, &SQLWriterTableType) + if err != nil { + return err + } + ass.SQLWriterTableType = SQLWriterTableType + } + case "preCopyScript": + if v != nil { + var preCopyScript interface{} + err = json.Unmarshal(*v, &preCopyScript) + if err != nil { + return err + } + ass.PreCopyScript = preCopyScript + } + case "storedProcedureParameters": + if v != nil { + var storedProcedureParameters map[string]*StoredProcedureParameter + err = json.Unmarshal(*v, &storedProcedureParameters) + if err != nil { + return err + } + ass.StoredProcedureParameters = storedProcedureParameters + } + case "storedProcedureTableTypeParameterName": + if v != nil { + var storedProcedureTableTypeParameterName interface{} + err = json.Unmarshal(*v, &storedProcedureTableTypeParameterName) + if err != nil { + return err + } + ass.StoredProcedureTableTypeParameterName = storedProcedureTableTypeParameterName + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if ass.AdditionalProperties == nil { + ass.AdditionalProperties = make(map[string]interface{}) + } + ass.AdditionalProperties[k] = additionalProperties + } + case "writeBatchSize": + if v != nil { + var writeBatchSize interface{} + err = json.Unmarshal(*v, &writeBatchSize) + if err != nil { + return err + } + ass.WriteBatchSize = writeBatchSize + } + case "writeBatchTimeout": + if v != nil { + var writeBatchTimeout interface{} + err = json.Unmarshal(*v, &writeBatchTimeout) + if err != nil { + return err + } + ass.WriteBatchTimeout = writeBatchTimeout + } + case "sinkRetryCount": + if v != nil { + var sinkRetryCount interface{} + err = json.Unmarshal(*v, &sinkRetryCount) + if err != nil { + return err + } + ass.SinkRetryCount = sinkRetryCount + } + case "sinkRetryWait": + if v != nil { + var sinkRetryWait interface{} + err = json.Unmarshal(*v, &sinkRetryWait) + if err != nil { + return err + } + ass.SinkRetryWait = sinkRetryWait + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + ass.MaxConcurrentConnections = maxConcurrentConnections + } + case "type": + if v != nil { + var typeVar TypeBasicCopySink + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + ass.Type = typeVar + } + } + } + + return nil +} + +// AzureSQLSource a copy activity Azure SQL source. +type AzureSQLSource struct { + // SQLReaderQuery - SQL reader query. Type: string (or Expression with resultType string). + SQLReaderQuery interface{} `json:"sqlReaderQuery,omitempty"` + // SQLReaderStoredProcedureName - Name of the stored procedure for a SQL Database source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string). + SQLReaderStoredProcedureName interface{} `json:"sqlReaderStoredProcedureName,omitempty"` + // StoredProcedureParameters - Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". + StoredProcedureParameters map[string]*StoredProcedureParameter `json:"storedProcedureParameters"` + // ProduceAdditionalTypes - Which additional types to produce. + ProduceAdditionalTypes interface{} `json:"produceAdditionalTypes,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + Type TypeBasicCopySource `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for AzureSQLSource. +func (ass AzureSQLSource) MarshalJSON() ([]byte, error) { + ass.Type = TypeAzureSQLSource + objectMap := make(map[string]interface{}) + if ass.SQLReaderQuery != nil { + objectMap["sqlReaderQuery"] = ass.SQLReaderQuery + } + if ass.SQLReaderStoredProcedureName != nil { + objectMap["sqlReaderStoredProcedureName"] = ass.SQLReaderStoredProcedureName + } + if ass.StoredProcedureParameters != nil { + objectMap["storedProcedureParameters"] = ass.StoredProcedureParameters + } + if ass.ProduceAdditionalTypes != nil { + objectMap["produceAdditionalTypes"] = ass.ProduceAdditionalTypes + } + if ass.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = ass.SourceRetryCount + } + if ass.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = ass.SourceRetryWait + } + if ass.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = ass.MaxConcurrentConnections + } + if ass.Type != "" { + objectMap["type"] = ass.Type + } + for k, v := range ass.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAmazonRedshiftSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsResponsysSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsVerticaSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsNetezzaSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsZohoSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsXeroSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsSquareSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsSparkSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsShopifySource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsServiceNowSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsPrestoSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsPhoenixSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsPaypalSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsMarketoSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsMariaDBSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsMagentoSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsJiraSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsImpalaSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsHubspotSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsHiveSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsHBaseSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsGreenplumSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsEloquaSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsDrillSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsConcurSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsHTTPSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsOffice365Source is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsMongoDbSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsCassandraSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsWebSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsTeradataSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsOracleSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsHdfsSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsFileSystemSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsSQLDWSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsSQLMISource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsAzureSQLSource() (*AzureSQLSource, bool) { + return &ass, true +} + +// AsSQLServerSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsSQLSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsRestSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { - return &asls, true +// AsSapTableSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsSapTableSource() (*SapTableSource, bool) { + return nil, false } -// AsLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &asls, true +// AsSapHanaSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsSapHanaSource() (*SapHanaSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for AzureStorageLinkedService struct. -func (asls *AzureStorageLinkedService) UnmarshalJSON(body []byte) error { +// AsSapEccSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsSapEccSource() (*SapEccSource, bool) { + return nil, false +} + +// AsSapCloudForCustomerSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsSalesforceSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsSalesforceSource() (*SalesforceSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsSybaseSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsSybaseSource() (*SybaseSource, bool) { + return nil, false +} + +// AsPostgreSQLSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false +} + +// AsMySQLSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false +} + +// AsOdbcSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false +} + +// AsDb2Source is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsDb2Source() (*Db2Source, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + +// AsRelationalSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + +// AsDynamicsSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + +// AsAzureTableSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsBinarySource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsDelimitedTextSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false +} + +// AsParquetSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsBasicCopySource() (BasicCopySource, bool) { + return &ass, true +} + +// UnmarshalJSON is the custom unmarshaler for AzureSQLSource struct. +func (ass *AzureSQLSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -28997,71 +31545,89 @@ func (asls *AzureStorageLinkedService) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": + case "sqlReaderQuery": if v != nil { - var azureStorageLinkedServiceTypeProperties AzureStorageLinkedServiceTypeProperties - err = json.Unmarshal(*v, &azureStorageLinkedServiceTypeProperties) + var SQLReaderQuery interface{} + err = json.Unmarshal(*v, &SQLReaderQuery) if err != nil { return err } - asls.AzureStorageLinkedServiceTypeProperties = &azureStorageLinkedServiceTypeProperties + ass.SQLReaderQuery = SQLReaderQuery } - default: + case "sqlReaderStoredProcedureName": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var SQLReaderStoredProcedureName interface{} + err = json.Unmarshal(*v, &SQLReaderStoredProcedureName) if err != nil { return err } - if asls.AdditionalProperties == nil { - asls.AdditionalProperties = make(map[string]interface{}) + ass.SQLReaderStoredProcedureName = SQLReaderStoredProcedureName + } + case "storedProcedureParameters": + if v != nil { + var storedProcedureParameters map[string]*StoredProcedureParameter + err = json.Unmarshal(*v, &storedProcedureParameters) + if err != nil { + return err } - asls.AdditionalProperties[k] = additionalProperties + ass.StoredProcedureParameters = storedProcedureParameters } - case "connectVia": + case "produceAdditionalTypes": if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) + var produceAdditionalTypes interface{} + err = json.Unmarshal(*v, &produceAdditionalTypes) if err != nil { return err } - asls.ConnectVia = &connectVia + ass.ProduceAdditionalTypes = produceAdditionalTypes } - case "description": + default: if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - asls.Description = &description + if ass.AdditionalProperties == nil { + ass.AdditionalProperties = make(map[string]interface{}) + } + ass.AdditionalProperties[k] = additionalProperties } - case "parameters": + case "sourceRetryCount": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) if err != nil { return err } - asls.Parameters = parameters + ass.SourceRetryCount = sourceRetryCount } - case "annotations": + case "sourceRetryWait": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) if err != nil { return err } - asls.Annotations = &annotations + ass.SourceRetryWait = sourceRetryWait + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + ass.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicLinkedService + var typeVar TypeBasicCopySource err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - asls.Type = typeVar + ass.Type = typeVar } } } @@ -29069,24 +31635,10 @@ func (asls *AzureStorageLinkedService) UnmarshalJSON(body []byte) error { return nil } -// AzureStorageLinkedServiceTypeProperties azure Storage linked service properties. -type AzureStorageLinkedServiceTypeProperties struct { - // ConnectionString - The connection string. It is mutually exclusive with sasUri property. Type: string, SecureString or AzureKeyVaultSecretReference. - ConnectionString interface{} `json:"connectionString,omitempty"` - // AccountKey - The Azure key vault secret reference of accountKey in connection string. - AccountKey *AzureKeyVaultSecretReference `json:"accountKey,omitempty"` - // SasURI - SAS URI of the Azure Storage resource. It is mutually exclusive with connectionString property. Type: string, SecureString or AzureKeyVaultSecretReference. - SasURI interface{} `json:"sasUri,omitempty"` - // SasToken - The Azure key vault secret reference of sasToken in sas uri. - SasToken *AzureKeyVaultSecretReference `json:"sasToken,omitempty"` - // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). - EncryptedCredential *string `json:"encryptedCredential,omitempty"` -} - -// AzureTableDataset the Azure Table storage dataset. -type AzureTableDataset struct { - // AzureTableDatasetTypeProperties - Azure Table dataset properties. - *AzureTableDatasetTypeProperties `json:"typeProperties,omitempty"` +// AzureSQLTableDataset the Azure SQL Server database dataset. +type AzureSQLTableDataset struct { + // AzureSQLTableDatasetTypeProperties - Azure SQL dataset properties. + *AzureSQLTableDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // Description - Dataset description. @@ -29103,394 +31655,449 @@ type AzureTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for AzureTableDataset. -func (atd AzureTableDataset) MarshalJSON() ([]byte, error) { - atd.Type = TypeAzureTable +// MarshalJSON is the custom marshaler for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) MarshalJSON() ([]byte, error) { + astd.Type = TypeAzureSQLTable objectMap := make(map[string]interface{}) - if atd.AzureTableDatasetTypeProperties != nil { - objectMap["typeProperties"] = atd.AzureTableDatasetTypeProperties + if astd.AzureSQLTableDatasetTypeProperties != nil { + objectMap["typeProperties"] = astd.AzureSQLTableDatasetTypeProperties } - if atd.Description != nil { - objectMap["description"] = atd.Description + if astd.Description != nil { + objectMap["description"] = astd.Description } - if atd.Structure != nil { - objectMap["structure"] = atd.Structure + if astd.Structure != nil { + objectMap["structure"] = astd.Structure } - if atd.Schema != nil { - objectMap["schema"] = atd.Schema + if astd.Schema != nil { + objectMap["schema"] = astd.Schema } - if atd.LinkedServiceName != nil { - objectMap["linkedServiceName"] = atd.LinkedServiceName + if astd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = astd.LinkedServiceName } - if atd.Parameters != nil { - objectMap["parameters"] = atd.Parameters + if astd.Parameters != nil { + objectMap["parameters"] = astd.Parameters } - if atd.Annotations != nil { - objectMap["annotations"] = atd.Annotations + if astd.Annotations != nil { + objectMap["annotations"] = astd.Annotations } - if atd.Folder != nil { - objectMap["folder"] = atd.Folder + if astd.Folder != nil { + objectMap["folder"] = astd.Folder } - if atd.Type != "" { - objectMap["type"] = atd.Type + if astd.Type != "" { + objectMap["type"] = astd.Type } - for k, v := range atd.AdditionalProperties { + for k, v := range astd.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsDrillTableDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsHTTPDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsWebTableDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsRestResourceDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { - return nil, false +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { + return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsInformixTableDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsOracleTableDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsODataResourceDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsFileShareDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsOffice365Dataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { - return &atd, true +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { + return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsDataset() (*Dataset, bool) { +// AsCustomDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsBasicDataset() (BasicDataset, bool) { - return &atd, true +// AsCassandraTableDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for AzureTableDataset struct. -func (atd *AzureTableDataset) UnmarshalJSON(body []byte) error { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { + return nil, false +} + +// AsAzureSQLMITableDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + +// AsAzureSQLTableDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { + return &astd, true +} + +// AsAzureTableDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { + return nil, false +} + +// AsAzureBlobDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { + return nil, false +} + +// AsBinaryDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + +// AsDelimitedTextDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { + return nil, false +} + +// AsParquetDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsBasicDataset() (BasicDataset, bool) { + return &astd, true +} + +// UnmarshalJSON is the custom unmarshaler for AzureSQLTableDataset struct. +func (astd *AzureSQLTableDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -29500,12 +32107,12 @@ func (atd *AzureTableDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var azureTableDatasetTypeProperties AzureTableDatasetTypeProperties - err = json.Unmarshal(*v, &azureTableDatasetTypeProperties) + var azureSQLTableDatasetTypeProperties AzureSQLTableDatasetTypeProperties + err = json.Unmarshal(*v, &azureSQLTableDatasetTypeProperties) if err != nil { return err } - atd.AzureTableDatasetTypeProperties = &azureTableDatasetTypeProperties + astd.AzureSQLTableDatasetTypeProperties = &azureSQLTableDatasetTypeProperties } default: if v != nil { @@ -29514,10 +32121,10 @@ func (atd *AzureTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if atd.AdditionalProperties == nil { - atd.AdditionalProperties = make(map[string]interface{}) + if astd.AdditionalProperties == nil { + astd.AdditionalProperties = make(map[string]interface{}) } - atd.AdditionalProperties[k] = additionalProperties + astd.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -29526,7 +32133,7 @@ func (atd *AzureTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - atd.Description = &description + astd.Description = &description } case "structure": if v != nil { @@ -29535,7 +32142,7 @@ func (atd *AzureTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - atd.Structure = structure + astd.Structure = structure } case "schema": if v != nil { @@ -29544,7 +32151,7 @@ func (atd *AzureTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - atd.Schema = schema + astd.Schema = schema } case "linkedServiceName": if v != nil { @@ -29553,7 +32160,7 @@ func (atd *AzureTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - atd.LinkedServiceName = &linkedServiceName + astd.LinkedServiceName = &linkedServiceName } case "parameters": if v != nil { @@ -29562,7 +32169,7 @@ func (atd *AzureTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - atd.Parameters = parameters + astd.Parameters = parameters } case "annotations": if v != nil { @@ -29571,7 +32178,7 @@ func (atd *AzureTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - atd.Annotations = &annotations + astd.Annotations = &annotations } case "folder": if v != nil { @@ -29580,7 +32187,7 @@ func (atd *AzureTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - atd.Folder = &folder + astd.Folder = &folder } case "type": if v != nil { @@ -29589,7 +32196,7 @@ func (atd *AzureTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - atd.Type = typeVar + astd.Type = typeVar } } } @@ -29597,698 +32204,520 @@ func (atd *AzureTableDataset) UnmarshalJSON(body []byte) error { return nil } -// AzureTableDatasetTypeProperties azure Table dataset properties. -type AzureTableDatasetTypeProperties struct { - // TableName - The table name of the Azure Table storage. Type: string (or Expression with resultType string). +// AzureSQLTableDatasetTypeProperties azure SQL dataset properties. +type AzureSQLTableDatasetTypeProperties struct { + // TableName - The table name of the Azure SQL database. Type: string (or Expression with resultType string). TableName interface{} `json:"tableName,omitempty"` } -// AzureTableSink a copy activity Azure Table sink. -type AzureTableSink struct { - // AzureTableDefaultPartitionKeyValue - Azure Table default partition key value. Type: string (or Expression with resultType string). - AzureTableDefaultPartitionKeyValue interface{} `json:"azureTableDefaultPartitionKeyValue,omitempty"` - // AzureTablePartitionKeyName - Azure Table partition key name. Type: string (or Expression with resultType string). - AzureTablePartitionKeyName interface{} `json:"azureTablePartitionKeyName,omitempty"` - // AzureTableRowKeyName - Azure Table row key name. Type: string (or Expression with resultType string). - AzureTableRowKeyName interface{} `json:"azureTableRowKeyName,omitempty"` - // AzureTableInsertType - Azure Table insert type. Type: string (or Expression with resultType string). - AzureTableInsertType interface{} `json:"azureTableInsertType,omitempty"` +// AzureStorageLinkedService the storage account linked service. +type AzureStorageLinkedService struct { + // AzureStorageLinkedServiceTypeProperties - Azure Storage linked service properties. + *AzureStorageLinkedServiceTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - WriteBatchSize interface{} `json:"writeBatchSize,omitempty"` - // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"` - // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer). - SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"` - // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeDelimitedTextSink' - Type TypeBasicCopySink `json:"type,omitempty"` + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. + Description *string `json:"description,omitempty"` + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the linked service. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for AzureTableSink. -func (ats AzureTableSink) MarshalJSON() ([]byte, error) { - ats.Type = TypeAzureTableSink +// MarshalJSON is the custom marshaler for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) MarshalJSON() ([]byte, error) { + asls.Type = TypeAzureStorage objectMap := make(map[string]interface{}) - if ats.AzureTableDefaultPartitionKeyValue != nil { - objectMap["azureTableDefaultPartitionKeyValue"] = ats.AzureTableDefaultPartitionKeyValue - } - if ats.AzureTablePartitionKeyName != nil { - objectMap["azureTablePartitionKeyName"] = ats.AzureTablePartitionKeyName - } - if ats.AzureTableRowKeyName != nil { - objectMap["azureTableRowKeyName"] = ats.AzureTableRowKeyName - } - if ats.AzureTableInsertType != nil { - objectMap["azureTableInsertType"] = ats.AzureTableInsertType - } - if ats.WriteBatchSize != nil { - objectMap["writeBatchSize"] = ats.WriteBatchSize + if asls.AzureStorageLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = asls.AzureStorageLinkedServiceTypeProperties } - if ats.WriteBatchTimeout != nil { - objectMap["writeBatchTimeout"] = ats.WriteBatchTimeout + if asls.ConnectVia != nil { + objectMap["connectVia"] = asls.ConnectVia } - if ats.SinkRetryCount != nil { - objectMap["sinkRetryCount"] = ats.SinkRetryCount + if asls.Description != nil { + objectMap["description"] = asls.Description } - if ats.SinkRetryWait != nil { - objectMap["sinkRetryWait"] = ats.SinkRetryWait + if asls.Parameters != nil { + objectMap["parameters"] = asls.Parameters } - if ats.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = ats.MaxConcurrentConnections + if asls.Annotations != nil { + objectMap["annotations"] = asls.Annotations } - if ats.Type != "" { - objectMap["type"] = ats.Type + if asls.Type != "" { + objectMap["type"] = asls.Type } - for k, v := range ats.AdditionalProperties { + for k, v := range asls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsSalesforceSink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsSalesforceSink() (*SalesforceSink, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsAzureDataExplorerSink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsDynamicsSink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsDynamicsSink() (*DynamicsSink, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsOdbcSink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsOdbcSink() (*OdbcSink, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsAzureSearchIndexSink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsAzureBlobFSSink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreSink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsOracleSink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsOracleSink() (*OracleSink, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsSQLDWSink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsSQLDWSink() (*SQLDWSink, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsAzureSQLSink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsAzureSQLSink() (*AzureSQLSink, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsSQLServerSink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsSQLServerSink() (*SQLServerSink, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsSQLSink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsSQLSink() (*SQLSink, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionSink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsFileSystemSink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsFileSystemSink() (*FileSystemSink, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsBlobSink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsBlobSink() (*BlobSink, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsParquetSink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsParquetSink() (*ParquetSink, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsAzureTableSink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsAzureTableSink() (*AzureTableSink, bool) { - return &ats, true -} - -// AsAzureQueueSink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsAzureQueueSink() (*AzureQueueSink, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerSink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsDelimitedTextSink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsCopySink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsCopySink() (*CopySink, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsBasicCopySink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsBasicCopySink() (BasicCopySink, bool) { - return &ats, true -} - -// UnmarshalJSON is the custom unmarshaler for AzureTableSink struct. -func (ats *AzureTableSink) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "azureTableDefaultPartitionKeyValue": - if v != nil { - var azureTableDefaultPartitionKeyValue interface{} - err = json.Unmarshal(*v, &azureTableDefaultPartitionKeyValue) - if err != nil { - return err - } - ats.AzureTableDefaultPartitionKeyValue = azureTableDefaultPartitionKeyValue - } - case "azureTablePartitionKeyName": - if v != nil { - var azureTablePartitionKeyName interface{} - err = json.Unmarshal(*v, &azureTablePartitionKeyName) - if err != nil { - return err - } - ats.AzureTablePartitionKeyName = azureTablePartitionKeyName - } - case "azureTableRowKeyName": - if v != nil { - var azureTableRowKeyName interface{} - err = json.Unmarshal(*v, &azureTableRowKeyName) - if err != nil { - return err - } - ats.AzureTableRowKeyName = azureTableRowKeyName - } - case "azureTableInsertType": - if v != nil { - var azureTableInsertType interface{} - err = json.Unmarshal(*v, &azureTableInsertType) - if err != nil { - return err - } - ats.AzureTableInsertType = azureTableInsertType - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if ats.AdditionalProperties == nil { - ats.AdditionalProperties = make(map[string]interface{}) - } - ats.AdditionalProperties[k] = additionalProperties - } - case "writeBatchSize": - if v != nil { - var writeBatchSize interface{} - err = json.Unmarshal(*v, &writeBatchSize) - if err != nil { - return err - } - ats.WriteBatchSize = writeBatchSize - } - case "writeBatchTimeout": - if v != nil { - var writeBatchTimeout interface{} - err = json.Unmarshal(*v, &writeBatchTimeout) - if err != nil { - return err - } - ats.WriteBatchTimeout = writeBatchTimeout - } - case "sinkRetryCount": - if v != nil { - var sinkRetryCount interface{} - err = json.Unmarshal(*v, &sinkRetryCount) - if err != nil { - return err - } - ats.SinkRetryCount = sinkRetryCount - } - case "sinkRetryWait": - if v != nil { - var sinkRetryWait interface{} - err = json.Unmarshal(*v, &sinkRetryWait) - if err != nil { - return err - } - ats.SinkRetryWait = sinkRetryWait - } - case "maxConcurrentConnections": - if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) - if err != nil { - return err - } - ats.MaxConcurrentConnections = maxConcurrentConnections - } - case "type": - if v != nil { - var typeVar TypeBasicCopySink - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - ats.Type = typeVar - } - } - } - - return nil +// AsPhoenixLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { + return nil, false } -// AzureTableSource a copy activity Azure Table source. -type AzureTableSource struct { - // AzureTableSourceQuery - Azure Table source query. Type: string (or Expression with resultType string). - AzureTableSourceQuery interface{} `json:"azureTableSourceQuery,omitempty"` - // AzureTableSourceIgnoreTableNotFound - Azure Table source ignore table not found. Type: boolean (or Expression with resultType boolean). - AzureTableSourceIgnoreTableNotFound interface{} `json:"azureTableSourceIgnoreTableNotFound,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). - SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` - // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' - Type TypeBasicCopySource `json:"type,omitempty"` +// AsPaypalLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for AzureTableSource. -func (ats AzureTableSource) MarshalJSON() ([]byte, error) { - ats.Type = TypeAzureTableSource - objectMap := make(map[string]interface{}) - if ats.AzureTableSourceQuery != nil { - objectMap["azureTableSourceQuery"] = ats.AzureTableSourceQuery - } - if ats.AzureTableSourceIgnoreTableNotFound != nil { - objectMap["azureTableSourceIgnoreTableNotFound"] = ats.AzureTableSourceIgnoreTableNotFound - } - if ats.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = ats.SourceRetryCount - } - if ats.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = ats.SourceRetryWait - } - if ats.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = ats.MaxConcurrentConnections - } - if ats.Type != "" { - objectMap["type"] = ats.Type - } - for k, v := range ats.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsMarketoLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { + return nil, false } -// AsAmazonRedshiftSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsVerticaSource() (*VerticaSource, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsZohoSource() (*ZohoSource, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsXeroSource() (*XeroSource, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsSquareSource() (*SquareSource, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsSparkSource() (*SparkSource, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsShopifySource() (*ShopifySource, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsPrestoSource() (*PrestoSource, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsPaypalSource() (*PaypalSource, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsMarketoSource() (*MarketoSource, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsMagentoSource() (*MagentoSource, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsJiraSource() (*JiraSource, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsHubspotSource() (*HubspotSource, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsHiveSource() (*HiveSource, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsHBaseSource() (*HBaseSource, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsEloquaSource() (*EloquaSource, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsDrillSource() (*DrillSource, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsConcurSource() (*ConcurSource, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsHTTPSource() (*HTTPSource, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsOffice365Source() (*Office365Source, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsCassandraSource() (*CassandraSource, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsWebSource() (*WebSource, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsOracleSource() (*OracleSource, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsHdfsSource() (*HdfsSource, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsSQLSource() (*SQLSource, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsRestSource() (*RestSource, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsSapTableSource() (*SapTableSource, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsSapEccSource() (*SapEccSource, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsRelationalSource() (*RelationalSource, bool) { +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsBlobSource() (*BlobSource, bool) { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsAzureTableSource() (*AzureTableSource, bool) { - return &ats, true +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsParquetSource() (*ParquetSource, bool) { - return nil, false +// AsAzureStorageLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return &asls, true } -// AsCopySource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsCopySource() (*CopySource, bool) { +// AsLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsLinkedService() (*LinkedService, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsBasicCopySource() (BasicCopySource, bool) { - return &ats, true +// AsBasicLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &asls, true } -// UnmarshalJSON is the custom unmarshaler for AzureTableSource struct. -func (ats *AzureTableSource) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for AzureStorageLinkedService struct. +func (asls *AzureStorageLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -30296,71 +32725,71 @@ func (ats *AzureTableSource) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "azureTableSourceQuery": + case "typeProperties": if v != nil { - var azureTableSourceQuery interface{} - err = json.Unmarshal(*v, &azureTableSourceQuery) + var azureStorageLinkedServiceTypeProperties AzureStorageLinkedServiceTypeProperties + err = json.Unmarshal(*v, &azureStorageLinkedServiceTypeProperties) if err != nil { return err } - ats.AzureTableSourceQuery = azureTableSourceQuery + asls.AzureStorageLinkedServiceTypeProperties = &azureStorageLinkedServiceTypeProperties } - case "azureTableSourceIgnoreTableNotFound": + default: if v != nil { - var azureTableSourceIgnoreTableNotFound interface{} - err = json.Unmarshal(*v, &azureTableSourceIgnoreTableNotFound) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - ats.AzureTableSourceIgnoreTableNotFound = azureTableSourceIgnoreTableNotFound + if asls.AdditionalProperties == nil { + asls.AdditionalProperties = make(map[string]interface{}) + } + asls.AdditionalProperties[k] = additionalProperties } - default: + case "connectVia": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) if err != nil { return err } - if ats.AdditionalProperties == nil { - ats.AdditionalProperties = make(map[string]interface{}) - } - ats.AdditionalProperties[k] = additionalProperties + asls.ConnectVia = &connectVia } - case "sourceRetryCount": + case "description": if v != nil { - var sourceRetryCount interface{} - err = json.Unmarshal(*v, &sourceRetryCount) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - ats.SourceRetryCount = sourceRetryCount + asls.Description = &description } - case "sourceRetryWait": + case "parameters": if v != nil { - var sourceRetryWait interface{} - err = json.Unmarshal(*v, &sourceRetryWait) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - ats.SourceRetryWait = sourceRetryWait + asls.Parameters = parameters } - case "maxConcurrentConnections": + case "annotations": if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - ats.MaxConcurrentConnections = maxConcurrentConnections + asls.Annotations = &annotations } case "type": if v != nil { - var typeVar TypeBasicCopySource + var typeVar TypeBasicLinkedService err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - ats.Type = typeVar + asls.Type = typeVar } } } @@ -30368,484 +32797,483 @@ func (ats *AzureTableSource) UnmarshalJSON(body []byte) error { return nil } -// AzureTableStorageLinkedService the azure table storage linked service. -type AzureTableStorageLinkedService struct { - // AzureStorageLinkedServiceTypeProperties - Azure Table Storage linked service properties. - *AzureStorageLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// AzureStorageLinkedServiceTypeProperties azure Storage linked service properties. +type AzureStorageLinkedServiceTypeProperties struct { + // ConnectionString - The connection string. It is mutually exclusive with sasUri property. Type: string, SecureString or AzureKeyVaultSecretReference. + ConnectionString interface{} `json:"connectionString,omitempty"` + // AccountKey - The Azure key vault secret reference of accountKey in connection string. + AccountKey *AzureKeyVaultSecretReference `json:"accountKey,omitempty"` + // SasURI - SAS URI of the Azure Storage resource. It is mutually exclusive with connectionString property. Type: string, SecureString or AzureKeyVaultSecretReference. + SasURI interface{} `json:"sasUri,omitempty"` + // SasToken - The Azure key vault secret reference of sasToken in sas uri. + SasToken *AzureKeyVaultSecretReference `json:"sasToken,omitempty"` + // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + EncryptedCredential *string `json:"encryptedCredential,omitempty"` +} + +// AzureTableDataset the Azure Table storage dataset. +type AzureTableDataset struct { + // AzureTableDatasetTypeProperties - Azure Table dataset properties. + *AzureTableDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. + // Description - Dataset description. Description *string `json:"description,omitempty"` - // Parameters - Parameters for linked service. + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the linked service. + // Annotations - List of tags that can be used for describing the Dataset. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) MarshalJSON() ([]byte, error) { - atsls.Type = TypeAzureTableStorage +// MarshalJSON is the custom marshaler for AzureTableDataset. +func (atd AzureTableDataset) MarshalJSON() ([]byte, error) { + atd.Type = TypeAzureTable objectMap := make(map[string]interface{}) - if atsls.AzureStorageLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = atsls.AzureStorageLinkedServiceTypeProperties + if atd.AzureTableDatasetTypeProperties != nil { + objectMap["typeProperties"] = atd.AzureTableDatasetTypeProperties } - if atsls.ConnectVia != nil { - objectMap["connectVia"] = atsls.ConnectVia + if atd.Description != nil { + objectMap["description"] = atd.Description } - if atsls.Description != nil { - objectMap["description"] = atsls.Description + if atd.Structure != nil { + objectMap["structure"] = atd.Structure } - if atsls.Parameters != nil { - objectMap["parameters"] = atsls.Parameters + if atd.Schema != nil { + objectMap["schema"] = atd.Schema } - if atsls.Annotations != nil { - objectMap["annotations"] = atsls.Annotations + if atd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = atd.LinkedServiceName } - if atsls.Type != "" { - objectMap["type"] = atsls.Type + if atd.Parameters != nil { + objectMap["parameters"] = atd.Parameters } - for k, v := range atsls.AdditionalProperties { + if atd.Annotations != nil { + objectMap["annotations"] = atd.Annotations + } + if atd.Folder != nil { + objectMap["folder"] = atd.Folder + } + if atd.Type != "" { + objectMap["type"] = atd.Type + } + for k, v := range atd.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsSapTableLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { - return nil, false -} - -// AsJiraLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { - return nil, false -} - -// AsImpalaLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { - return nil, false -} - -// AsHubspotLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { - return nil, false -} - -// AsHiveLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { - return nil, false -} - -// AsHBaseLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsDrillTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsHTTPDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsWebTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsRestResourceDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsInformixTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsOracleTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsODataResourceDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsFileShareDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsOffice365Dataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsCustomDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { - return nil, false +// AsAzureTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { + return &atd, true } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsBinaryDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { - return &atsls, true -} - -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsParquetDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAmazonS3Dataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsDataset() (*Dataset, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &atsls, true +// AsBasicDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsBasicDataset() (BasicDataset, bool) { + return &atd, true } -// UnmarshalJSON is the custom unmarshaler for AzureTableStorageLinkedService struct. -func (atsls *AzureTableStorageLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for AzureTableDataset struct. +func (atd *AzureTableDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -30855,12 +33283,12 @@ func (atsls *AzureTableStorageLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var azureStorageLinkedServiceTypeProperties AzureStorageLinkedServiceTypeProperties - err = json.Unmarshal(*v, &azureStorageLinkedServiceTypeProperties) + var azureTableDatasetTypeProperties AzureTableDatasetTypeProperties + err = json.Unmarshal(*v, &azureTableDatasetTypeProperties) if err != nil { return err } - atsls.AzureStorageLinkedServiceTypeProperties = &azureStorageLinkedServiceTypeProperties + atd.AzureTableDatasetTypeProperties = &azureTableDatasetTypeProperties } default: if v != nil { @@ -30869,19 +33297,10 @@ func (atsls *AzureTableStorageLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if atsls.AdditionalProperties == nil { - atsls.AdditionalProperties = make(map[string]interface{}) - } - atsls.AdditionalProperties[k] = additionalProperties - } - case "connectVia": - if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) - if err != nil { - return err + if atd.AdditionalProperties == nil { + atd.AdditionalProperties = make(map[string]interface{}) } - atsls.ConnectVia = &connectVia + atd.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -30890,203 +33309,70 @@ func (atsls *AzureTableStorageLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - atsls.Description = &description - } - case "parameters": - if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) - if err != nil { - return err - } - atsls.Parameters = parameters - } - case "annotations": - if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) - if err != nil { - return err - } - atsls.Annotations = &annotations - } - case "type": - if v != nil { - var typeVar TypeBasicLinkedService - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - atsls.Type = typeVar + atd.Description = &description } - } - } - - return nil -} - -// BlobEventsTrigger trigger that runs every time a Blob event occurs. -type BlobEventsTrigger struct { - // BlobEventsTriggerTypeProperties - Blob Events Trigger properties. - *BlobEventsTriggerTypeProperties `json:"typeProperties,omitempty"` - // Pipelines - Pipelines that need to be started. - Pipelines *[]TriggerPipelineReference `json:"pipelines,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Description - Trigger description. - Description *string `json:"description,omitempty"` - // RuntimeState - READ-ONLY; Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: 'TriggerRuntimeStateStarted', 'TriggerRuntimeStateStopped', 'TriggerRuntimeStateDisabled' - RuntimeState TriggerRuntimeState `json:"runtimeState,omitempty"` - // Annotations - List of tags that can be used for describing the trigger. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeTrigger', 'TypeRerunTumblingWindowTrigger', 'TypeTumblingWindowTrigger', 'TypeBlobEventsTrigger', 'TypeBlobTrigger', 'TypeScheduleTrigger', 'TypeMultiplePipelineTrigger' - Type TypeBasicTrigger `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for BlobEventsTrigger. -func (bet BlobEventsTrigger) MarshalJSON() ([]byte, error) { - bet.Type = TypeBlobEventsTrigger - objectMap := make(map[string]interface{}) - if bet.BlobEventsTriggerTypeProperties != nil { - objectMap["typeProperties"] = bet.BlobEventsTriggerTypeProperties - } - if bet.Pipelines != nil { - objectMap["pipelines"] = bet.Pipelines - } - if bet.Description != nil { - objectMap["description"] = bet.Description - } - if bet.Annotations != nil { - objectMap["annotations"] = bet.Annotations - } - if bet.Type != "" { - objectMap["type"] = bet.Type - } - for k, v := range bet.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) -} - -// AsRerunTumblingWindowTrigger is the BasicTrigger implementation for BlobEventsTrigger. -func (bet BlobEventsTrigger) AsRerunTumblingWindowTrigger() (*RerunTumblingWindowTrigger, bool) { - return nil, false -} - -// AsTumblingWindowTrigger is the BasicTrigger implementation for BlobEventsTrigger. -func (bet BlobEventsTrigger) AsTumblingWindowTrigger() (*TumblingWindowTrigger, bool) { - return nil, false -} - -// AsBlobEventsTrigger is the BasicTrigger implementation for BlobEventsTrigger. -func (bet BlobEventsTrigger) AsBlobEventsTrigger() (*BlobEventsTrigger, bool) { - return &bet, true -} - -// AsBlobTrigger is the BasicTrigger implementation for BlobEventsTrigger. -func (bet BlobEventsTrigger) AsBlobTrigger() (*BlobTrigger, bool) { - return nil, false -} - -// AsScheduleTrigger is the BasicTrigger implementation for BlobEventsTrigger. -func (bet BlobEventsTrigger) AsScheduleTrigger() (*ScheduleTrigger, bool) { - return nil, false -} - -// AsMultiplePipelineTrigger is the BasicTrigger implementation for BlobEventsTrigger. -func (bet BlobEventsTrigger) AsMultiplePipelineTrigger() (*MultiplePipelineTrigger, bool) { - return nil, false -} - -// AsBasicMultiplePipelineTrigger is the BasicTrigger implementation for BlobEventsTrigger. -func (bet BlobEventsTrigger) AsBasicMultiplePipelineTrigger() (BasicMultiplePipelineTrigger, bool) { - return &bet, true -} - -// AsTrigger is the BasicTrigger implementation for BlobEventsTrigger. -func (bet BlobEventsTrigger) AsTrigger() (*Trigger, bool) { - return nil, false -} - -// AsBasicTrigger is the BasicTrigger implementation for BlobEventsTrigger. -func (bet BlobEventsTrigger) AsBasicTrigger() (BasicTrigger, bool) { - return &bet, true -} - -// UnmarshalJSON is the custom unmarshaler for BlobEventsTrigger struct. -func (bet *BlobEventsTrigger) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "typeProperties": + case "structure": if v != nil { - var blobEventsTriggerTypeProperties BlobEventsTriggerTypeProperties - err = json.Unmarshal(*v, &blobEventsTriggerTypeProperties) + var structure interface{} + err = json.Unmarshal(*v, &structure) if err != nil { return err } - bet.BlobEventsTriggerTypeProperties = &blobEventsTriggerTypeProperties + atd.Structure = structure } - case "pipelines": + case "schema": if v != nil { - var pipelines []TriggerPipelineReference - err = json.Unmarshal(*v, &pipelines) + var schema interface{} + err = json.Unmarshal(*v, &schema) if err != nil { return err } - bet.Pipelines = &pipelines + atd.Schema = schema } - default: + case "linkedServiceName": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) if err != nil { return err } - if bet.AdditionalProperties == nil { - bet.AdditionalProperties = make(map[string]interface{}) - } - bet.AdditionalProperties[k] = additionalProperties + atd.LinkedServiceName = &linkedServiceName } - case "description": + case "parameters": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - bet.Description = &description + atd.Parameters = parameters } - case "runtimeState": + case "annotations": if v != nil { - var runtimeState TriggerRuntimeState - err = json.Unmarshal(*v, &runtimeState) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - bet.RuntimeState = runtimeState + atd.Annotations = &annotations } - case "annotations": + case "folder": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) if err != nil { return err } - bet.Annotations = &annotations + atd.Folder = &folder } case "type": if v != nil { - var typeVar TypeBasicTrigger + var typeVar TypeBasicDataset err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - bet.Type = typeVar + atd.Type = typeVar } } } @@ -31094,28 +33380,22 @@ func (bet *BlobEventsTrigger) UnmarshalJSON(body []byte) error { return nil } -// BlobEventsTriggerTypeProperties blob Events Trigger properties. -type BlobEventsTriggerTypeProperties struct { - // BlobPathBeginsWith - The blob path must begin with the pattern provided for trigger to fire. For example, '/records/blobs/december/' will only fire the trigger for blobs in the december folder under the records container. At least one of these must be provided: blobPathBeginsWith, blobPathEndsWith. - BlobPathBeginsWith *string `json:"blobPathBeginsWith,omitempty"` - // BlobPathEndsWith - The blob path must end with the pattern provided for trigger to fire. For example, 'december/boxes.csv' will only fire the trigger for blobs named boxes in a december folder. At least one of these must be provided: blobPathBeginsWith, blobPathEndsWith. - BlobPathEndsWith *string `json:"blobPathEndsWith,omitempty"` - // Events - The type of events that cause this trigger to fire. - Events *[]BlobEventTypes `json:"events,omitempty"` - // Scope - The ARM resource ID of the Storage Account. - Scope *string `json:"scope,omitempty"` +// AzureTableDatasetTypeProperties azure Table dataset properties. +type AzureTableDatasetTypeProperties struct { + // TableName - The table name of the Azure Table storage. Type: string (or Expression with resultType string). + TableName interface{} `json:"tableName,omitempty"` } -// BlobSink a copy activity Azure Blob sink. -type BlobSink struct { - // BlobWriterOverwriteFiles - Blob writer overwrite files. Type: boolean (or Expression with resultType boolean). - BlobWriterOverwriteFiles interface{} `json:"blobWriterOverwriteFiles,omitempty"` - // BlobWriterDateTimeFormat - Blob writer date time format. Type: string (or Expression with resultType string). - BlobWriterDateTimeFormat interface{} `json:"blobWriterDateTimeFormat,omitempty"` - // BlobWriterAddHeader - Blob writer add header. Type: boolean (or Expression with resultType boolean). - BlobWriterAddHeader interface{} `json:"blobWriterAddHeader,omitempty"` - // CopyBehavior - The type of copy behavior for copy sink. - CopyBehavior interface{} `json:"copyBehavior,omitempty"` +// AzureTableSink a copy activity Azure Table sink. +type AzureTableSink struct { + // AzureTableDefaultPartitionKeyValue - Azure Table default partition key value. Type: string (or Expression with resultType string). + AzureTableDefaultPartitionKeyValue interface{} `json:"azureTableDefaultPartitionKeyValue,omitempty"` + // AzureTablePartitionKeyName - Azure Table partition key name. Type: string (or Expression with resultType string). + AzureTablePartitionKeyName interface{} `json:"azureTablePartitionKeyName,omitempty"` + // AzureTableRowKeyName - Azure Table row key name. Type: string (or Expression with resultType string). + AzureTableRowKeyName interface{} `json:"azureTableRowKeyName,omitempty"` + // AzureTableInsertType - Azure Table insert type. Type: string (or Expression with resultType string). + AzureTableInsertType interface{} `json:"azureTableInsertType,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. @@ -31128,167 +33408,207 @@ type BlobSink struct { SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeDelimitedTextSink' + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for BlobSink. -func (bs BlobSink) MarshalJSON() ([]byte, error) { - bs.Type = TypeBlobSink +// MarshalJSON is the custom marshaler for AzureTableSink. +func (ats AzureTableSink) MarshalJSON() ([]byte, error) { + ats.Type = TypeAzureTableSink objectMap := make(map[string]interface{}) - if bs.BlobWriterOverwriteFiles != nil { - objectMap["blobWriterOverwriteFiles"] = bs.BlobWriterOverwriteFiles + if ats.AzureTableDefaultPartitionKeyValue != nil { + objectMap["azureTableDefaultPartitionKeyValue"] = ats.AzureTableDefaultPartitionKeyValue } - if bs.BlobWriterDateTimeFormat != nil { - objectMap["blobWriterDateTimeFormat"] = bs.BlobWriterDateTimeFormat + if ats.AzureTablePartitionKeyName != nil { + objectMap["azureTablePartitionKeyName"] = ats.AzureTablePartitionKeyName } - if bs.BlobWriterAddHeader != nil { - objectMap["blobWriterAddHeader"] = bs.BlobWriterAddHeader + if ats.AzureTableRowKeyName != nil { + objectMap["azureTableRowKeyName"] = ats.AzureTableRowKeyName } - if bs.CopyBehavior != nil { - objectMap["copyBehavior"] = bs.CopyBehavior + if ats.AzureTableInsertType != nil { + objectMap["azureTableInsertType"] = ats.AzureTableInsertType } - if bs.WriteBatchSize != nil { - objectMap["writeBatchSize"] = bs.WriteBatchSize + if ats.WriteBatchSize != nil { + objectMap["writeBatchSize"] = ats.WriteBatchSize } - if bs.WriteBatchTimeout != nil { - objectMap["writeBatchTimeout"] = bs.WriteBatchTimeout + if ats.WriteBatchTimeout != nil { + objectMap["writeBatchTimeout"] = ats.WriteBatchTimeout } - if bs.SinkRetryCount != nil { - objectMap["sinkRetryCount"] = bs.SinkRetryCount + if ats.SinkRetryCount != nil { + objectMap["sinkRetryCount"] = ats.SinkRetryCount } - if bs.SinkRetryWait != nil { - objectMap["sinkRetryWait"] = bs.SinkRetryWait + if ats.SinkRetryWait != nil { + objectMap["sinkRetryWait"] = ats.SinkRetryWait } - if bs.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = bs.MaxConcurrentConnections + if ats.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = ats.MaxConcurrentConnections } - if bs.Type != "" { - objectMap["type"] = bs.Type + if ats.Type != "" { + objectMap["type"] = ats.Type } - for k, v := range bs.AdditionalProperties { + for k, v := range ats.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { +// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { return nil, false } -// AsSalesforceSink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsSalesforceSink() (*SalesforceSink, bool) { +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { return nil, false } -// AsAzureDataExplorerSink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { +// AsSalesforceSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsSalesforceSink() (*SalesforceSink, bool) { return nil, false } -// AsDynamicsSink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsDynamicsSink() (*DynamicsSink, bool) { +// AsAzureDataExplorerSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { return nil, false } -// AsOdbcSink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsOdbcSink() (*OdbcSink, bool) { +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { return nil, false } -// AsAzureSearchIndexSink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { +// AsDynamicsCrmSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { return nil, false } -// AsAzureBlobFSSink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { +// AsDynamicsSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsDynamicsSink() (*DynamicsSink, bool) { return nil, false } -// AsAzureDataLakeStoreSink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { +// AsMicrosoftAccessSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { return nil, false } -// AsOracleSink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsOracleSink() (*OracleSink, bool) { +// AsInformixSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsInformixSink() (*InformixSink, bool) { return nil, false } -// AsSQLDWSink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsSQLDWSink() (*SQLDWSink, bool) { +// AsOdbcSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsOdbcSink() (*OdbcSink, bool) { return nil, false } -// AsAzureSQLSink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsAzureSQLSink() (*AzureSQLSink, bool) { +// AsAzureSearchIndexSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { return nil, false } -// AsSQLServerSink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsSQLServerSink() (*SQLServerSink, bool) { +// AsAzureBlobFSSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { return nil, false } -// AsSQLSink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsSQLSink() (*SQLSink, bool) { +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { return nil, false } -// AsDocumentDbCollectionSink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { +// AsOracleSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsOracleSink() (*OracleSink, bool) { return nil, false } -// AsFileSystemSink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsFileSystemSink() (*FileSystemSink, bool) { +// AsSQLDWSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false } -// AsBlobSink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsBlobSink() (*BlobSink, bool) { - return &bs, true +// AsSQLMISink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsSQLMISink() (*SQLMISink, bool) { + return nil, false } -// AsParquetSink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsParquetSink() (*ParquetSink, bool) { +// AsAzureSQLSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsAzureSQLSink() (*AzureSQLSink, bool) { return nil, false } -// AsAzureTableSink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsAzureTableSink() (*AzureTableSink, bool) { +// AsSQLServerSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsSQLServerSink() (*SQLServerSink, bool) { return nil, false } -// AsAzureQueueSink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsAzureQueueSink() (*AzureQueueSink, bool) { +// AsSQLSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsSQLSink() (*SQLSink, bool) { return nil, false } -// AsSapCloudForCustomerSink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { +// AsDocumentDbCollectionSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { return nil, false } -// AsDelimitedTextSink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { +// AsFileSystemSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsFileSystemSink() (*FileSystemSink, bool) { return nil, false } -// AsCopySink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsCopySink() (*CopySink, bool) { +// AsBlobSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsBlobSink() (*BlobSink, bool) { return nil, false } -// AsBasicCopySink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsBasicCopySink() (BasicCopySink, bool) { - return &bs, true +// AsBinarySink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsBinarySink() (*BinarySink, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for BlobSink struct. -func (bs *BlobSink) UnmarshalJSON(body []byte) error { +// AsParquetSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsParquetSink() (*ParquetSink, bool) { + return nil, false +} + +// AsAzureTableSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsAzureTableSink() (*AzureTableSink, bool) { + return &ats, true +} + +// AsAzureQueueSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsAzureQueueSink() (*AzureQueueSink, bool) { + return nil, false +} + +// AsSapCloudForCustomerSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { + return nil, false +} + +// AsAzurePostgreSQLSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { + return nil, false +} + +// AsDelimitedTextSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { + return nil, false +} + +// AsCopySink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsCopySink() (*CopySink, bool) { + return nil, false +} + +// AsBasicCopySink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsBasicCopySink() (BasicCopySink, bool) { + return &ats, true +} + +// UnmarshalJSON is the custom unmarshaler for AzureTableSink struct. +func (ats *AzureTableSink) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -31296,41 +33616,41 @@ func (bs *BlobSink) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "blobWriterOverwriteFiles": + case "azureTableDefaultPartitionKeyValue": if v != nil { - var blobWriterOverwriteFiles interface{} - err = json.Unmarshal(*v, &blobWriterOverwriteFiles) + var azureTableDefaultPartitionKeyValue interface{} + err = json.Unmarshal(*v, &azureTableDefaultPartitionKeyValue) if err != nil { return err } - bs.BlobWriterOverwriteFiles = blobWriterOverwriteFiles + ats.AzureTableDefaultPartitionKeyValue = azureTableDefaultPartitionKeyValue } - case "blobWriterDateTimeFormat": + case "azureTablePartitionKeyName": if v != nil { - var blobWriterDateTimeFormat interface{} - err = json.Unmarshal(*v, &blobWriterDateTimeFormat) + var azureTablePartitionKeyName interface{} + err = json.Unmarshal(*v, &azureTablePartitionKeyName) if err != nil { return err } - bs.BlobWriterDateTimeFormat = blobWriterDateTimeFormat + ats.AzureTablePartitionKeyName = azureTablePartitionKeyName } - case "blobWriterAddHeader": + case "azureTableRowKeyName": if v != nil { - var blobWriterAddHeader interface{} - err = json.Unmarshal(*v, &blobWriterAddHeader) + var azureTableRowKeyName interface{} + err = json.Unmarshal(*v, &azureTableRowKeyName) if err != nil { return err } - bs.BlobWriterAddHeader = blobWriterAddHeader + ats.AzureTableRowKeyName = azureTableRowKeyName } - case "copyBehavior": + case "azureTableInsertType": if v != nil { - var copyBehavior interface{} - err = json.Unmarshal(*v, ©Behavior) + var azureTableInsertType interface{} + err = json.Unmarshal(*v, &azureTableInsertType) if err != nil { return err } - bs.CopyBehavior = copyBehavior + ats.AzureTableInsertType = azureTableInsertType } default: if v != nil { @@ -31339,10 +33659,10 @@ func (bs *BlobSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - if bs.AdditionalProperties == nil { - bs.AdditionalProperties = make(map[string]interface{}) + if ats.AdditionalProperties == nil { + ats.AdditionalProperties = make(map[string]interface{}) } - bs.AdditionalProperties[k] = additionalProperties + ats.AdditionalProperties[k] = additionalProperties } case "writeBatchSize": if v != nil { @@ -31351,7 +33671,7 @@ func (bs *BlobSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - bs.WriteBatchSize = writeBatchSize + ats.WriteBatchSize = writeBatchSize } case "writeBatchTimeout": if v != nil { @@ -31360,7 +33680,7 @@ func (bs *BlobSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - bs.WriteBatchTimeout = writeBatchTimeout + ats.WriteBatchTimeout = writeBatchTimeout } case "sinkRetryCount": if v != nil { @@ -31369,7 +33689,7 @@ func (bs *BlobSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - bs.SinkRetryCount = sinkRetryCount + ats.SinkRetryCount = sinkRetryCount } case "sinkRetryWait": if v != nil { @@ -31378,7 +33698,7 @@ func (bs *BlobSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - bs.SinkRetryWait = sinkRetryWait + ats.SinkRetryWait = sinkRetryWait } case "maxConcurrentConnections": if v != nil { @@ -31387,7 +33707,7 @@ func (bs *BlobSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - bs.MaxConcurrentConnections = maxConcurrentConnections + ats.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { @@ -31396,7 +33716,7 @@ func (bs *BlobSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - bs.Type = typeVar + ats.Type = typeVar } } } @@ -31404,14 +33724,12 @@ func (bs *BlobSink) UnmarshalJSON(body []byte) error { return nil } -// BlobSource a copy activity Azure Blob source. -type BlobSource struct { - // TreatEmptyAsNull - Treat empty as null. Type: boolean (or Expression with resultType boolean). - TreatEmptyAsNull interface{} `json:"treatEmptyAsNull,omitempty"` - // SkipHeaderLineCount - Number of header lines to skip from each blob. Type: integer (or Expression with resultType integer). - SkipHeaderLineCount interface{} `json:"skipHeaderLineCount,omitempty"` - // Recursive - If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). - Recursive interface{} `json:"recursive,omitempty"` +// AzureTableSource a copy activity Azure Table source. +type AzureTableSource struct { + // AzureTableSourceQuery - Azure Table source query. Type: string (or Expression with resultType string). + AzureTableSourceQuery interface{} `json:"azureTableSourceQuery,omitempty"` + // AzureTableSourceIgnoreTableNotFound - Azure Table source ignore table not found. Type: boolean (or Expression with resultType boolean). + AzureTableSourceIgnoreTableNotFound interface{} `json:"azureTableSourceIgnoreTableNotFound,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -31420,561 +33738,450 @@ type BlobSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for BlobSource. -func (bs BlobSource) MarshalJSON() ([]byte, error) { - bs.Type = TypeBlobSource +// MarshalJSON is the custom marshaler for AzureTableSource. +func (ats AzureTableSource) MarshalJSON() ([]byte, error) { + ats.Type = TypeAzureTableSource objectMap := make(map[string]interface{}) - if bs.TreatEmptyAsNull != nil { - objectMap["treatEmptyAsNull"] = bs.TreatEmptyAsNull - } - if bs.SkipHeaderLineCount != nil { - objectMap["skipHeaderLineCount"] = bs.SkipHeaderLineCount + if ats.AzureTableSourceQuery != nil { + objectMap["azureTableSourceQuery"] = ats.AzureTableSourceQuery } - if bs.Recursive != nil { - objectMap["recursive"] = bs.Recursive + if ats.AzureTableSourceIgnoreTableNotFound != nil { + objectMap["azureTableSourceIgnoreTableNotFound"] = ats.AzureTableSourceIgnoreTableNotFound } - if bs.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = bs.SourceRetryCount + if ats.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = ats.SourceRetryCount } - if bs.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = bs.SourceRetryWait + if ats.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = ats.SourceRetryWait } - if bs.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = bs.MaxConcurrentConnections + if ats.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = ats.MaxConcurrentConnections } - if bs.Type != "" { - objectMap["type"] = bs.Type + if ats.Type != "" { + objectMap["type"] = ats.Type } - for k, v := range bs.AdditionalProperties { + for k, v := range ats.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsResponsysSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsVerticaSource() (*VerticaSource, bool) { +// AsVerticaSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsNetezzaSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsZohoSource() (*ZohoSource, bool) { +// AsZohoSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsXeroSource() (*XeroSource, bool) { +// AsXeroSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsSquareSource() (*SquareSource, bool) { +// AsSquareSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsSparkSource() (*SparkSource, bool) { +// AsSparkSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsShopifySource() (*ShopifySource, bool) { +// AsShopifySource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsServiceNowSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsPrestoSource() (*PrestoSource, bool) { +// AsPrestoSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsPhoenixSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsPaypalSource() (*PaypalSource, bool) { +// AsPaypalSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsMarketoSource() (*MarketoSource, bool) { +// AsMarketoSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsMariaDBSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsMagentoSource() (*MagentoSource, bool) { +// AsMagentoSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsJiraSource() (*JiraSource, bool) { +// AsJiraSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsImpalaSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsHubspotSource() (*HubspotSource, bool) { +// AsHubspotSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsHiveSource() (*HiveSource, bool) { +// AsHiveSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsHBaseSource() (*HBaseSource, bool) { +// AsHBaseSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsGreenplumSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsEloquaSource() (*EloquaSource, bool) { +// AsEloquaSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsDrillSource() (*DrillSource, bool) { +// AsDrillSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsConcurSource() (*ConcurSource, bool) { +// AsConcurSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsHTTPSource() (*HTTPSource, bool) { +// AsHTTPSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsOffice365Source() (*Office365Source, bool) { +// AsOffice365Source is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsMongoDbSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsCassandraSource() (*CassandraSource, bool) { +// AsCassandraSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsWebSource() (*WebSource, bool) { +// AsWebSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsOracleSource() (*OracleSource, bool) { +// AsTeradataSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsOracleSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsHdfsSource() (*HdfsSource, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsHdfsSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsFileSystemSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsSQLDWSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsSQLMISource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsSQLSource() (*SQLSource, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsRestSource() (*RestSource, bool) { +// AsSQLServerSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsSapTableSource() (*SapTableSource, bool) { +// AsSQLSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsRestSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsSapTableSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsSapEccSource() (*SapEccSource, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsSapHanaSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsSapEccSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsRelationalSource() (*RelationalSource, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsSalesforceSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsBlobSource() (*BlobSource, bool) { - return &bs, true +// AsODataSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsODataSource() (*ODataSource, bool) { + return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsSybaseSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsParquetSource() (*ParquetSource, bool) { +// AsMySQLSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsCopySource() (*CopySource, bool) { +// AsOdbcSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsBasicCopySource() (BasicCopySource, bool) { - return &bs, true +// AsDb2Source is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsDb2Source() (*Db2Source, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for BlobSource struct. -func (bs *BlobSource) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "treatEmptyAsNull": - if v != nil { - var treatEmptyAsNull interface{} - err = json.Unmarshal(*v, &treatEmptyAsNull) - if err != nil { - return err - } - bs.TreatEmptyAsNull = treatEmptyAsNull - } - case "skipHeaderLineCount": - if v != nil { - var skipHeaderLineCount interface{} - err = json.Unmarshal(*v, &skipHeaderLineCount) - if err != nil { - return err - } - bs.SkipHeaderLineCount = skipHeaderLineCount - } - case "recursive": - if v != nil { - var recursive interface{} - err = json.Unmarshal(*v, &recursive) - if err != nil { - return err - } - bs.Recursive = recursive - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if bs.AdditionalProperties == nil { - bs.AdditionalProperties = make(map[string]interface{}) - } - bs.AdditionalProperties[k] = additionalProperties - } - case "sourceRetryCount": - if v != nil { - var sourceRetryCount interface{} - err = json.Unmarshal(*v, &sourceRetryCount) - if err != nil { - return err - } - bs.SourceRetryCount = sourceRetryCount - } - case "sourceRetryWait": - if v != nil { - var sourceRetryWait interface{} - err = json.Unmarshal(*v, &sourceRetryWait) - if err != nil { - return err - } - bs.SourceRetryWait = sourceRetryWait - } - case "maxConcurrentConnections": - if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) - if err != nil { - return err - } - bs.MaxConcurrentConnections = maxConcurrentConnections - } - case "type": - if v != nil { - var typeVar TypeBasicCopySource - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - bs.Type = typeVar - } - } - } +// AsMicrosoftAccessSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} - return nil +// AsInformixSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsInformixSource() (*InformixSource, bool) { + return nil, false } -// BlobTrigger trigger that runs every time the selected Blob container changes. -type BlobTrigger struct { - // BlobTriggerTypeProperties - Blob Trigger properties. - *BlobTriggerTypeProperties `json:"typeProperties,omitempty"` - // Pipelines - Pipelines that need to be started. - Pipelines *[]TriggerPipelineReference `json:"pipelines,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Description - Trigger description. - Description *string `json:"description,omitempty"` - // RuntimeState - READ-ONLY; Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: 'TriggerRuntimeStateStarted', 'TriggerRuntimeStateStopped', 'TriggerRuntimeStateDisabled' - RuntimeState TriggerRuntimeState `json:"runtimeState,omitempty"` - // Annotations - List of tags that can be used for describing the trigger. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeTrigger', 'TypeRerunTumblingWindowTrigger', 'TypeTumblingWindowTrigger', 'TypeBlobEventsTrigger', 'TypeBlobTrigger', 'TypeScheduleTrigger', 'TypeMultiplePipelineTrigger' - Type TypeBasicTrigger `json:"type,omitempty"` +// AsRelationalSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for BlobTrigger. -func (bt BlobTrigger) MarshalJSON() ([]byte, error) { - bt.Type = TypeBlobTrigger - objectMap := make(map[string]interface{}) - if bt.BlobTriggerTypeProperties != nil { - objectMap["typeProperties"] = bt.BlobTriggerTypeProperties - } - if bt.Pipelines != nil { - objectMap["pipelines"] = bt.Pipelines - } - if bt.Description != nil { - objectMap["description"] = bt.Description - } - if bt.Annotations != nil { - objectMap["annotations"] = bt.Annotations - } - if bt.Type != "" { - objectMap["type"] = bt.Type - } - for k, v := range bt.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false } -// AsRerunTumblingWindowTrigger is the BasicTrigger implementation for BlobTrigger. -func (bt BlobTrigger) AsRerunTumblingWindowTrigger() (*RerunTumblingWindowTrigger, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsTumblingWindowTrigger is the BasicTrigger implementation for BlobTrigger. -func (bt BlobTrigger) AsTumblingWindowTrigger() (*TumblingWindowTrigger, bool) { +// AsDynamicsSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsBlobEventsTrigger is the BasicTrigger implementation for BlobTrigger. -func (bt BlobTrigger) AsBlobEventsTrigger() (*BlobEventsTrigger, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsBlobTrigger is the BasicTrigger implementation for BlobTrigger. -func (bt BlobTrigger) AsBlobTrigger() (*BlobTrigger, bool) { - return &bt, true +// AsBlobSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsBlobSource() (*BlobSource, bool) { + return nil, false } -// AsScheduleTrigger is the BasicTrigger implementation for BlobTrigger. -func (bt BlobTrigger) AsScheduleTrigger() (*ScheduleTrigger, bool) { +// AsAzureTableSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsAzureTableSource() (*AzureTableSource, bool) { + return &ats, true +} + +// AsBinarySource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsMultiplePipelineTrigger is the BasicTrigger implementation for BlobTrigger. -func (bt BlobTrigger) AsMultiplePipelineTrigger() (*MultiplePipelineTrigger, bool) { +// AsDelimitedTextSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false } -// AsBasicMultiplePipelineTrigger is the BasicTrigger implementation for BlobTrigger. -func (bt BlobTrigger) AsBasicMultiplePipelineTrigger() (BasicMultiplePipelineTrigger, bool) { - return &bt, true +// AsParquetSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false } -// AsTrigger is the BasicTrigger implementation for BlobTrigger. -func (bt BlobTrigger) AsTrigger() (*Trigger, bool) { +// AsCopySource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsCopySource() (*CopySource, bool) { return nil, false } -// AsBasicTrigger is the BasicTrigger implementation for BlobTrigger. -func (bt BlobTrigger) AsBasicTrigger() (BasicTrigger, bool) { - return &bt, true +// AsBasicCopySource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsBasicCopySource() (BasicCopySource, bool) { + return &ats, true } -// UnmarshalJSON is the custom unmarshaler for BlobTrigger struct. -func (bt *BlobTrigger) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for AzureTableSource struct. +func (ats *AzureTableSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -31982,23 +34189,23 @@ func (bt *BlobTrigger) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": + case "azureTableSourceQuery": if v != nil { - var blobTriggerTypeProperties BlobTriggerTypeProperties - err = json.Unmarshal(*v, &blobTriggerTypeProperties) + var azureTableSourceQuery interface{} + err = json.Unmarshal(*v, &azureTableSourceQuery) if err != nil { return err } - bt.BlobTriggerTypeProperties = &blobTriggerTypeProperties + ats.AzureTableSourceQuery = azureTableSourceQuery } - case "pipelines": + case "azureTableSourceIgnoreTableNotFound": if v != nil { - var pipelines []TriggerPipelineReference - err = json.Unmarshal(*v, &pipelines) + var azureTableSourceIgnoreTableNotFound interface{} + err = json.Unmarshal(*v, &azureTableSourceIgnoreTableNotFound) if err != nil { return err } - bt.Pipelines = &pipelines + ats.AzureTableSourceIgnoreTableNotFound = azureTableSourceIgnoreTableNotFound } default: if v != nil { @@ -32007,46 +34214,46 @@ func (bt *BlobTrigger) UnmarshalJSON(body []byte) error { if err != nil { return err } - if bt.AdditionalProperties == nil { - bt.AdditionalProperties = make(map[string]interface{}) + if ats.AdditionalProperties == nil { + ats.AdditionalProperties = make(map[string]interface{}) } - bt.AdditionalProperties[k] = additionalProperties + ats.AdditionalProperties[k] = additionalProperties } - case "description": + case "sourceRetryCount": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) if err != nil { return err } - bt.Description = &description + ats.SourceRetryCount = sourceRetryCount } - case "runtimeState": + case "sourceRetryWait": if v != nil { - var runtimeState TriggerRuntimeState - err = json.Unmarshal(*v, &runtimeState) + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) if err != nil { return err } - bt.RuntimeState = runtimeState + ats.SourceRetryWait = sourceRetryWait } - case "annotations": + case "maxConcurrentConnections": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) if err != nil { return err } - bt.Annotations = &annotations + ats.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicTrigger + var typeVar TypeBasicCopySource err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - bt.Type = typeVar + ats.Type = typeVar } } } @@ -32054,20 +34261,10 @@ func (bt *BlobTrigger) UnmarshalJSON(body []byte) error { return nil } -// BlobTriggerTypeProperties blob Trigger properties. -type BlobTriggerTypeProperties struct { - // FolderPath - The path of the container/folder that will trigger the pipeline. - FolderPath *string `json:"folderPath,omitempty"` - // MaxConcurrency - The max number of parallel files to handle when it is triggered. - MaxConcurrency *int32 `json:"maxConcurrency,omitempty"` - // LinkedService - The Azure Storage linked service reference. - LinkedService *LinkedServiceReference `json:"linkedService,omitempty"` -} - -// CassandraLinkedService linked service for Cassandra data source. -type CassandraLinkedService struct { - // CassandraLinkedServiceTypeProperties - Cassandra linked service properties. - *CassandraLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// AzureTableStorageLinkedService the azure table storage linked service. +type AzureTableStorageLinkedService struct { + // AzureStorageLinkedServiceTypeProperties - Azure Table Storage linked service properties. + *AzureStorageLinkedServiceTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // ConnectVia - The integration runtime reference. @@ -32078,470 +34275,500 @@ type CassandraLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for CassandraLinkedService. -func (cls CassandraLinkedService) MarshalJSON() ([]byte, error) { - cls.Type = TypeCassandra +// MarshalJSON is the custom marshaler for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) MarshalJSON() ([]byte, error) { + atsls.Type = TypeAzureTableStorage objectMap := make(map[string]interface{}) - if cls.CassandraLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = cls.CassandraLinkedServiceTypeProperties + if atsls.AzureStorageLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = atsls.AzureStorageLinkedServiceTypeProperties } - if cls.ConnectVia != nil { - objectMap["connectVia"] = cls.ConnectVia + if atsls.ConnectVia != nil { + objectMap["connectVia"] = atsls.ConnectVia } - if cls.Description != nil { - objectMap["description"] = cls.Description + if atsls.Description != nil { + objectMap["description"] = atsls.Description } - if cls.Parameters != nil { - objectMap["parameters"] = cls.Parameters + if atsls.Parameters != nil { + objectMap["parameters"] = atsls.Parameters } - if cls.Annotations != nil { - objectMap["annotations"] = cls.Annotations + if atsls.Annotations != nil { + objectMap["annotations"] = atsls.Annotations } - if cls.Type != "" { - objectMap["type"] = cls.Type + if atsls.Type != "" { + objectMap["type"] = atsls.Type } - for k, v := range cls.AdditionalProperties { + for k, v := range atsls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsSapTableLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { - return &cls, true +// AsMongoDbLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { + return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &cls, true +// AsSQLServerLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for CassandraLinkedService struct. -func (cls *CassandraLinkedService) UnmarshalJSON(body []byte) error { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return &atsls, true +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &atsls, true +} + +// UnmarshalJSON is the custom unmarshaler for AzureTableStorageLinkedService struct. +func (atsls *AzureTableStorageLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -32551,12 +34778,12 @@ func (cls *CassandraLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var cassandraLinkedServiceTypeProperties CassandraLinkedServiceTypeProperties - err = json.Unmarshal(*v, &cassandraLinkedServiceTypeProperties) + var azureStorageLinkedServiceTypeProperties AzureStorageLinkedServiceTypeProperties + err = json.Unmarshal(*v, &azureStorageLinkedServiceTypeProperties) if err != nil { return err } - cls.CassandraLinkedServiceTypeProperties = &cassandraLinkedServiceTypeProperties + atsls.AzureStorageLinkedServiceTypeProperties = &azureStorageLinkedServiceTypeProperties } default: if v != nil { @@ -32565,10 +34792,10 @@ func (cls *CassandraLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if cls.AdditionalProperties == nil { - cls.AdditionalProperties = make(map[string]interface{}) + if atsls.AdditionalProperties == nil { + atsls.AdditionalProperties = make(map[string]interface{}) } - cls.AdditionalProperties[k] = additionalProperties + atsls.AdditionalProperties[k] = additionalProperties } case "connectVia": if v != nil { @@ -32577,7 +34804,7 @@ func (cls *CassandraLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - cls.ConnectVia = &connectVia + atsls.ConnectVia = &connectVia } case "description": if v != nil { @@ -32586,7 +34813,7 @@ func (cls *CassandraLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - cls.Description = &description + atsls.Description = &description } case "parameters": if v != nil { @@ -32595,7 +34822,7 @@ func (cls *CassandraLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - cls.Parameters = parameters + atsls.Parameters = parameters } case "annotations": if v != nil { @@ -32604,7 +34831,7 @@ func (cls *CassandraLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - cls.Annotations = &annotations + atsls.Annotations = &annotations } case "type": if v != nil { @@ -32613,91 +34840,7 @@ func (cls *CassandraLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - cls.Type = typeVar - } - } - } - - return nil -} - -// CassandraLinkedServiceTypeProperties cassandra linked service properties. -type CassandraLinkedServiceTypeProperties struct { - // Host - Host name for connection. Type: string (or Expression with resultType string). - Host interface{} `json:"host,omitempty"` - // AuthenticationType - AuthenticationType to be used for connection. Type: string (or Expression with resultType string). - AuthenticationType interface{} `json:"authenticationType,omitempty"` - // Port - The port for the connection. Type: integer (or Expression with resultType integer). - Port interface{} `json:"port,omitempty"` - // Username - Username for authentication. Type: string (or Expression with resultType string). - Username interface{} `json:"username,omitempty"` - // Password - Password for authentication. - Password BasicSecretBase `json:"password,omitempty"` - // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). - EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` -} - -// UnmarshalJSON is the custom unmarshaler for CassandraLinkedServiceTypeProperties struct. -func (clstp *CassandraLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "host": - if v != nil { - var host interface{} - err = json.Unmarshal(*v, &host) - if err != nil { - return err - } - clstp.Host = host - } - case "authenticationType": - if v != nil { - var authenticationType interface{} - err = json.Unmarshal(*v, &authenticationType) - if err != nil { - return err - } - clstp.AuthenticationType = authenticationType - } - case "port": - if v != nil { - var port interface{} - err = json.Unmarshal(*v, &port) - if err != nil { - return err - } - clstp.Port = port - } - case "username": - if v != nil { - var username interface{} - err = json.Unmarshal(*v, &username) - if err != nil { - return err - } - clstp.Username = username - } - case "password": - if v != nil { - password, err := unmarshalBasicSecretBase(*v) - if err != nil { - return err - } - clstp.Password = password - } - case "encryptedCredential": - if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) - if err != nil { - return err - } - clstp.EncryptedCredential = encryptedCredential + atsls.Type = typeVar } } } @@ -32705,394 +34848,469 @@ func (clstp *CassandraLinkedServiceTypeProperties) UnmarshalJSON(body []byte) er return nil } -// CassandraSource a copy activity source for a Cassandra database. -type CassandraSource struct { - // Query - Database query. Should be a SQL-92 query expression or Cassandra Query Language (CQL) command. Type: string (or Expression with resultType string). - Query interface{} `json:"query,omitempty"` - // ConsistencyLevel - 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. Possible values include: 'ALL', 'EACHQUORUM', 'QUORUM', 'LOCALQUORUM', 'ONE', 'TWO', 'THREE', 'LOCALONE', 'SERIAL', 'LOCALSERIAL' - ConsistencyLevel CassandraSourceReadConsistencyLevels `json:"consistencyLevel,omitempty"` +// BinaryDataset binary dataset. +type BinaryDataset struct { + // BinaryDatasetTypeProperties - Binary dataset properties. + *BinaryDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). - SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` - // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' - Type TypeBasicCopySource `json:"type,omitempty"` + // Description - Dataset description. + Description *string `json:"description,omitempty"` + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for CassandraSource. -func (cs CassandraSource) MarshalJSON() ([]byte, error) { - cs.Type = TypeCassandraSource +// MarshalJSON is the custom marshaler for BinaryDataset. +func (bd BinaryDataset) MarshalJSON() ([]byte, error) { + bd.Type = TypeBinary objectMap := make(map[string]interface{}) - if cs.Query != nil { - objectMap["query"] = cs.Query + if bd.BinaryDatasetTypeProperties != nil { + objectMap["typeProperties"] = bd.BinaryDatasetTypeProperties } - if cs.ConsistencyLevel != "" { - objectMap["consistencyLevel"] = cs.ConsistencyLevel + if bd.Description != nil { + objectMap["description"] = bd.Description } - if cs.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = cs.SourceRetryCount + if bd.Structure != nil { + objectMap["structure"] = bd.Structure } - if cs.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = cs.SourceRetryWait + if bd.Schema != nil { + objectMap["schema"] = bd.Schema } - if cs.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = cs.MaxConcurrentConnections + if bd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = bd.LinkedServiceName } - if cs.Type != "" { - objectMap["type"] = cs.Type + if bd.Parameters != nil { + objectMap["parameters"] = bd.Parameters } - for k, v := range cs.AdditionalProperties { + if bd.Annotations != nil { + objectMap["annotations"] = bd.Annotations + } + if bd.Folder != nil { + objectMap["folder"] = bd.Folder + } + if bd.Type != "" { + objectMap["type"] = bd.Type + } + for k, v := range bd.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsVerticaSource() (*VerticaSource, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsZohoSource() (*ZohoSource, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsXeroSource() (*XeroSource, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsSquareSource() (*SquareSource, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsSparkSource() (*SparkSource, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsShopifySource() (*ShopifySource, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsPrestoSource() (*PrestoSource, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsPaypalSource() (*PaypalSource, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsMarketoSource() (*MarketoSource, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsMagentoSource() (*MagentoSource, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsJiraSource() (*JiraSource, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsHubspotSource() (*HubspotSource, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsHiveSource() (*HiveSource, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsHBaseSource() (*HBaseSource, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsEloquaSource() (*EloquaSource, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsDrillSource() (*DrillSource, bool) { +// AsDrillTableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsConcurSource() (*ConcurSource, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsHTTPSource() (*HTTPSource, bool) { +// AsHTTPDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsWebTableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsOffice365Source() (*Office365Source, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsRestResourceDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsCassandraSource() (*CassandraSource, bool) { - return &cs, true +// AsSapHanaTableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { + return nil, false } -// AsWebSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsWebSource() (*WebSource, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsOracleSource() (*OracleSource, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsHdfsSource() (*HdfsSource, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsInformixTableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsSQLSource() (*SQLSource, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsRestSource() (*RestSource, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsSapTableSource() (*SapTableSource, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsOracleTableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsODataResourceDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsSapEccSource() (*SapEccSource, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsRelationalSource() (*RelationalSource, bool) { +// AsFileShareDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsOffice365Dataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsBlobSource() (*BlobSource, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsParquetSource() (*ParquetSource, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsCopySource() (*CopySource, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsBasicCopySource() (BasicCopySource, bool) { - return &cs, true +// AsCustomDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsCustomDataset() (*CustomDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for CassandraSource struct. -func (cs *CassandraSource) UnmarshalJSON(body []byte) error { +// AsCassandraTableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { + return nil, false +} + +// AsAzureSQLDWTableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { + return nil, false +} + +// AsAzureSQLMITableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + +// AsAzureSQLTableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { + return nil, false +} + +// AsAzureTableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { + return nil, false +} + +// AsAzureBlobDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { + return nil, false +} + +// AsBinaryDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return &bd, true +} + +// AsDelimitedTextDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { + return nil, false +} + +// AsParquetDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsBasicDataset() (BasicDataset, bool) { + return &bd, true +} + +// UnmarshalJSON is the custom unmarshaler for BinaryDataset struct. +func (bd *BinaryDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -33100,486 +35318,353 @@ func (cs *CassandraSource) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "query": + case "typeProperties": if v != nil { - var query interface{} - err = json.Unmarshal(*v, &query) + var binaryDatasetTypeProperties BinaryDatasetTypeProperties + err = json.Unmarshal(*v, &binaryDatasetTypeProperties) if err != nil { return err } - cs.Query = query + bd.BinaryDatasetTypeProperties = &binaryDatasetTypeProperties } - case "consistencyLevel": + default: if v != nil { - var consistencyLevel CassandraSourceReadConsistencyLevels - err = json.Unmarshal(*v, &consistencyLevel) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - cs.ConsistencyLevel = consistencyLevel + if bd.AdditionalProperties == nil { + bd.AdditionalProperties = make(map[string]interface{}) + } + bd.AdditionalProperties[k] = additionalProperties } - default: + case "description": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - if cs.AdditionalProperties == nil { - cs.AdditionalProperties = make(map[string]interface{}) + bd.Description = &description + } + case "structure": + if v != nil { + var structure interface{} + err = json.Unmarshal(*v, &structure) + if err != nil { + return err } - cs.AdditionalProperties[k] = additionalProperties + bd.Structure = structure } - case "sourceRetryCount": + case "schema": if v != nil { - var sourceRetryCount interface{} - err = json.Unmarshal(*v, &sourceRetryCount) + var schema interface{} + err = json.Unmarshal(*v, &schema) if err != nil { return err } - cs.SourceRetryCount = sourceRetryCount + bd.Schema = schema } - case "sourceRetryWait": + case "linkedServiceName": if v != nil { - var sourceRetryWait interface{} - err = json.Unmarshal(*v, &sourceRetryWait) + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) if err != nil { return err } - cs.SourceRetryWait = sourceRetryWait + bd.LinkedServiceName = &linkedServiceName } - case "maxConcurrentConnections": + case "parameters": if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - cs.MaxConcurrentConnections = maxConcurrentConnections + bd.Parameters = parameters } - case "type": + case "annotations": if v != nil { - var typeVar TypeBasicCopySource - err = json.Unmarshal(*v, &typeVar) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - cs.Type = typeVar + bd.Annotations = &annotations } - } - } - - return nil -} - -// CassandraTableDataset the Cassandra database dataset. -type CassandraTableDataset struct { - // CassandraTableDatasetTypeProperties - Cassandra dataset properties. - *CassandraTableDatasetTypeProperties `json:"typeProperties,omitempty"` + case "folder": + if v != nil { + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) + if err != nil { + return err + } + bd.Folder = &folder + } + case "type": + if v != nil { + var typeVar TypeBasicDataset + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + bd.Type = typeVar + } + } + } + + return nil +} + +// BinaryDatasetTypeProperties binary dataset properties. +type BinaryDatasetTypeProperties struct { + // Location - The location of the Binary storage. + Location *DatasetLocation `json:"location,omitempty"` + // Compression - The data compression method used for the binary dataset. + Compression BasicDatasetCompression `json:"compression,omitempty"` +} + +// UnmarshalJSON is the custom unmarshaler for BinaryDatasetTypeProperties struct. +func (bdtp *BinaryDatasetTypeProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "location": + if v != nil { + var location DatasetLocation + err = json.Unmarshal(*v, &location) + if err != nil { + return err + } + bdtp.Location = &location + } + case "compression": + if v != nil { + compression, err := unmarshalBasicDatasetCompression(*v) + if err != nil { + return err + } + bdtp.Compression = compression + } + } + } + + return nil +} + +// BinarySink a copy activity Binary sink. +type BinarySink struct { + // StoreSettings - Binary store settings. + StoreSettings *StoreReadSettings `json:"storeSettings,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Description - Dataset description. - Description *string `json:"description,omitempty"` - // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. - Structure interface{} `json:"structure,omitempty"` - // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - Schema interface{} `json:"schema,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Parameters - Parameters for dataset. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the Dataset. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' - Type TypeBasicDataset `json:"type,omitempty"` + // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + WriteBatchSize interface{} `json:"writeBatchSize,omitempty"` + // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"` + // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer). + SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"` + // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink' + Type TypeBasicCopySink `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for CassandraTableDataset. -func (ctd CassandraTableDataset) MarshalJSON() ([]byte, error) { - ctd.Type = TypeCassandraTable +// MarshalJSON is the custom marshaler for BinarySink. +func (bs BinarySink) MarshalJSON() ([]byte, error) { + bs.Type = TypeBinarySink objectMap := make(map[string]interface{}) - if ctd.CassandraTableDatasetTypeProperties != nil { - objectMap["typeProperties"] = ctd.CassandraTableDatasetTypeProperties + if bs.StoreSettings != nil { + objectMap["storeSettings"] = bs.StoreSettings } - if ctd.Description != nil { - objectMap["description"] = ctd.Description - } - if ctd.Structure != nil { - objectMap["structure"] = ctd.Structure - } - if ctd.Schema != nil { - objectMap["schema"] = ctd.Schema + if bs.WriteBatchSize != nil { + objectMap["writeBatchSize"] = bs.WriteBatchSize } - if ctd.LinkedServiceName != nil { - objectMap["linkedServiceName"] = ctd.LinkedServiceName + if bs.WriteBatchTimeout != nil { + objectMap["writeBatchTimeout"] = bs.WriteBatchTimeout } - if ctd.Parameters != nil { - objectMap["parameters"] = ctd.Parameters + if bs.SinkRetryCount != nil { + objectMap["sinkRetryCount"] = bs.SinkRetryCount } - if ctd.Annotations != nil { - objectMap["annotations"] = ctd.Annotations + if bs.SinkRetryWait != nil { + objectMap["sinkRetryWait"] = bs.SinkRetryWait } - if ctd.Folder != nil { - objectMap["folder"] = ctd.Folder + if bs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = bs.MaxConcurrentConnections } - if ctd.Type != "" { - objectMap["type"] = ctd.Type + if bs.Type != "" { + objectMap["type"] = bs.Type } - for k, v := range ctd.AdditionalProperties { + for k, v := range bs.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { - return nil, false -} - -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { - return nil, false -} - -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { - return nil, false -} - -// AsDynamicsAXResourceDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { - return nil, false -} - -// AsResponsysObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { - return nil, false -} - -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { - return nil, false -} - -// AsVerticaTableDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { - return nil, false -} - -// AsNetezzaTableDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { - return nil, false -} - -// AsZohoObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { - return nil, false -} - -// AsXeroObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { - return nil, false -} - -// AsSquareObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { - return nil, false -} - -// AsSparkObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { - return nil, false -} - -// AsShopifyObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { - return nil, false -} - -// AsServiceNowObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { - return nil, false -} - -// AsQuickBooksObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { - return nil, false -} - -// AsPrestoObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { - return nil, false -} - -// AsPhoenixObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { - return nil, false -} - -// AsPaypalObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { - return nil, false -} - -// AsMarketoObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { - return nil, false -} - -// AsMariaDBTableDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { - return nil, false -} - -// AsMagentoObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { - return nil, false -} - -// AsJiraObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { - return nil, false -} - -// AsImpalaObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { - return nil, false -} - -// AsHubspotObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { - return nil, false -} - -// AsHiveObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { - return nil, false -} - -// AsHBaseObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { - return nil, false -} - -// AsGreenplumTableDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { - return nil, false -} - -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { - return nil, false -} - -// AsEloquaObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { - return nil, false -} - -// AsDrillTableDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { - return nil, false -} - -// AsCouchbaseTableDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { - return nil, false -} - -// AsConcurObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { - return nil, false -} - -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { - return nil, false -} - -// AsAmazonMWSObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { - return nil, false -} - -// AsHTTPDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { - return nil, false -} - -// AsAzureSearchIndexDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { - return nil, false -} - -// AsWebTableDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { - return nil, false -} - -// AsSapTableResourceDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsSalesforceSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsSalesforceSink() (*SalesforceSink, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsAzureDataExplorerSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsDynamicsCrmSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsDynamicsSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsDynamicsSink() (*DynamicsSink, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsMicrosoftAccessSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsInformixSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsInformixSink() (*InformixSink, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsOdbcSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsOdbcSink() (*OdbcSink, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsAzureSearchIndexSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsAzureBlobFSSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsOracleSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsOracleSink() (*OracleSink, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsSQLDWSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsSQLMISink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsSQLMISink() (*SQLMISink, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsAzureSQLSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsAzureSQLSink() (*AzureSQLSink, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsSQLServerSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsSQLServerSink() (*SQLServerSink, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsSQLSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsSQLSink() (*SQLSink, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsDocumentDbCollectionSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsFileSystemSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsFileSystemSink() (*FileSystemSink, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsBlobSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsBlobSink() (*BlobSink, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { - return &ctd, true -} - -// AsAzureSQLDWTableDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { - return nil, false +// AsBinarySink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsBinarySink() (*BinarySink, bool) { + return &bs, true } -// AsAzureSQLTableDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsParquetSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsParquetSink() (*ParquetSink, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsAzureTableSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsAzureTableSink() (*AzureTableSink, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsAzureQueueSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsAzureQueueSink() (*AzureQueueSink, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsSapCloudForCustomerSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsAzurePostgreSQLSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsDelimitedTextSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsDataset() (*Dataset, bool) { +// AsCopySink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsCopySink() (*CopySink, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsBasicDataset() (BasicDataset, bool) { - return &ctd, true +// AsBasicCopySink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsBasicCopySink() (BasicCopySink, bool) { + return &bs, true } -// UnmarshalJSON is the custom unmarshaler for CassandraTableDataset struct. -func (ctd *CassandraTableDataset) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for BinarySink struct. +func (bs *BinarySink) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -33587,14 +35672,14 @@ func (ctd *CassandraTableDataset) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": + case "storeSettings": if v != nil { - var cassandraTableDatasetTypeProperties CassandraTableDatasetTypeProperties - err = json.Unmarshal(*v, &cassandraTableDatasetTypeProperties) + var storeSettings StoreReadSettings + err = json.Unmarshal(*v, &storeSettings) if err != nil { return err } - ctd.CassandraTableDatasetTypeProperties = &cassandraTableDatasetTypeProperties + bs.StoreSettings = &storeSettings } default: if v != nil { @@ -33603,129 +35688,64 @@ func (ctd *CassandraTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if ctd.AdditionalProperties == nil { - ctd.AdditionalProperties = make(map[string]interface{}) - } - ctd.AdditionalProperties[k] = additionalProperties - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - ctd.Description = &description - } - case "structure": - if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) - if err != nil { - return err + if bs.AdditionalProperties == nil { + bs.AdditionalProperties = make(map[string]interface{}) } - ctd.Structure = structure + bs.AdditionalProperties[k] = additionalProperties } - case "schema": + case "writeBatchSize": if v != nil { - var schema interface{} - err = json.Unmarshal(*v, &schema) + var writeBatchSize interface{} + err = json.Unmarshal(*v, &writeBatchSize) if err != nil { return err } - ctd.Schema = schema + bs.WriteBatchSize = writeBatchSize } - case "linkedServiceName": + case "writeBatchTimeout": if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) + var writeBatchTimeout interface{} + err = json.Unmarshal(*v, &writeBatchTimeout) if err != nil { return err } - ctd.LinkedServiceName = &linkedServiceName + bs.WriteBatchTimeout = writeBatchTimeout } - case "parameters": + case "sinkRetryCount": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var sinkRetryCount interface{} + err = json.Unmarshal(*v, &sinkRetryCount) if err != nil { return err } - ctd.Parameters = parameters + bs.SinkRetryCount = sinkRetryCount } - case "annotations": + case "sinkRetryWait": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var sinkRetryWait interface{} + err = json.Unmarshal(*v, &sinkRetryWait) if err != nil { return err } - ctd.Annotations = &annotations + bs.SinkRetryWait = sinkRetryWait } - case "folder": + case "maxConcurrentConnections": if v != nil { - var folder DatasetFolder - err = json.Unmarshal(*v, &folder) + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) if err != nil { return err } - ctd.Folder = &folder + bs.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicDataset + var typeVar TypeBasicCopySink err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - ctd.Type = typeVar - } - } - } - - return nil -} - -// CassandraTableDatasetTypeProperties cassandra dataset properties. -type CassandraTableDatasetTypeProperties struct { - // TableName - The table name of the Cassandra database. Type: string (or Expression with resultType string). - TableName interface{} `json:"tableName,omitempty"` - // Keyspace - The keyspace of the Cassandra database. Type: string (or Expression with resultType string). - Keyspace interface{} `json:"keyspace,omitempty"` -} - -// CloudError the object that defines the structure of an Azure Data Factory error response. -type CloudError struct { - // CloudErrorBody - Error data - *CloudErrorBody `json:"error,omitempty"` -} - -// MarshalJSON is the custom marshaler for CloudError. -func (ce CloudError) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if ce.CloudErrorBody != nil { - objectMap["error"] = ce.CloudErrorBody - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for CloudError struct. -func (ce *CloudError) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "error": - if v != nil { - var cloudErrorBody CloudErrorBody - err = json.Unmarshal(*v, &cloudErrorBody) - if err != nil { - return err - } - ce.CloudErrorBody = &cloudErrorBody + bs.Type = typeVar } } } @@ -33733,496 +35753,459 @@ func (ce *CloudError) UnmarshalJSON(body []byte) error { return nil } -// CloudErrorBody the object that defines the structure of an Azure Data Factory error. -type CloudErrorBody struct { - // Code - Error code. - Code *string `json:"code,omitempty"` - // Message - Error message. - Message *string `json:"message,omitempty"` - // Target - Property name/path in request associated with error. - Target *string `json:"target,omitempty"` - // Details - Array with additional error details. - Details *[]CloudError `json:"details,omitempty"` -} - -// ConcurLinkedService concur Service linked service. -type ConcurLinkedService struct { - // ConcurLinkedServiceTypeProperties - Concur Service linked service properties. - *ConcurLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// BinarySource a copy activity Binary source. +type BinarySource struct { + // StoreSettings - Binary store settings. + StoreSettings *StoreReadSettings `json:"storeSettings,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. - Description *string `json:"description,omitempty"` - // Parameters - Parameters for linked service. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the linked service. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for ConcurLinkedService. -func (cls ConcurLinkedService) MarshalJSON() ([]byte, error) { - cls.Type = TypeConcur +// MarshalJSON is the custom marshaler for BinarySource. +func (bs BinarySource) MarshalJSON() ([]byte, error) { + bs.Type = TypeBinarySource objectMap := make(map[string]interface{}) - if cls.ConcurLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = cls.ConcurLinkedServiceTypeProperties - } - if cls.ConnectVia != nil { - objectMap["connectVia"] = cls.ConnectVia + if bs.StoreSettings != nil { + objectMap["storeSettings"] = bs.StoreSettings } - if cls.Description != nil { - objectMap["description"] = cls.Description + if bs.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = bs.SourceRetryCount } - if cls.Parameters != nil { - objectMap["parameters"] = cls.Parameters + if bs.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = bs.SourceRetryWait } - if cls.Annotations != nil { - objectMap["annotations"] = cls.Annotations + if bs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = bs.MaxConcurrentConnections } - if cls.Type != "" { - objectMap["type"] = cls.Type + if bs.Type != "" { + objectMap["type"] = bs.Type } - for k, v := range cls.AdditionalProperties { + for k, v := range bs.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { - return nil, false -} - -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { - return nil, false -} - -// AsSapTableLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { - return nil, false -} - -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsResponsysSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsVerticaSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsNetezzaSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsZohoSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsXeroSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsSquareSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsSparkSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsShopifySource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsServiceNowSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsPrestoSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsPhoenixSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPaypalSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsMarketoSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsMariaDBSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsMagentoSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsJiraSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsImpalaSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsHubspotSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsHiveSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsHBaseSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsGreenplumSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsEloquaSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsDrillSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsConcurSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { - return &cls, true -} - -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsHTTPSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsOffice365Source is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsMongoDbSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsCassandraSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsWebSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsTeradataSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsOracleSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsHdfsSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsFileSystemSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsSQLDWSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsSQLMISource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsSQLServerSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsSQLSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsRestSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsSapTableSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsSapHanaSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsSapEccSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsSalesforceSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsODataSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsSybaseSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsMySQLSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsOdbcSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsDb2Source is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsInformixSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsRelationalSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsDynamicsSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsBlobSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsAzureTableSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { - return nil, false +// AsBinarySource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsBinarySource() (*BinarySource, bool) { + return &bs, true } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsDelimitedTextSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsParquetSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsParquetSource() (*ParquetSource, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsCopySource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsCopySource() (*CopySource, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &cls, true +// AsBasicCopySource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsBasicCopySource() (BasicCopySource, bool) { + return &bs, true } -// UnmarshalJSON is the custom unmarshaler for ConcurLinkedService struct. -func (cls *ConcurLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for BinarySource struct. +func (bs *BinarySource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -34230,14 +36213,14 @@ func (cls *ConcurLinkedService) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": + case "storeSettings": if v != nil { - var concurLinkedServiceTypeProperties ConcurLinkedServiceTypeProperties - err = json.Unmarshal(*v, &concurLinkedServiceTypeProperties) + var storeSettings StoreReadSettings + err = json.Unmarshal(*v, &storeSettings) if err != nil { return err } - cls.ConcurLinkedServiceTypeProperties = &concurLinkedServiceTypeProperties + bs.StoreSettings = &storeSettings } default: if v != nil { @@ -34246,55 +36229,46 @@ func (cls *ConcurLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if cls.AdditionalProperties == nil { - cls.AdditionalProperties = make(map[string]interface{}) - } - cls.AdditionalProperties[k] = additionalProperties - } - case "connectVia": - if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) - if err != nil { - return err + if bs.AdditionalProperties == nil { + bs.AdditionalProperties = make(map[string]interface{}) } - cls.ConnectVia = &connectVia + bs.AdditionalProperties[k] = additionalProperties } - case "description": + case "sourceRetryCount": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) if err != nil { return err } - cls.Description = &description + bs.SourceRetryCount = sourceRetryCount } - case "parameters": + case "sourceRetryWait": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) if err != nil { return err } - cls.Parameters = parameters + bs.SourceRetryWait = sourceRetryWait } - case "annotations": + case "maxConcurrentConnections": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) if err != nil { return err } - cls.Annotations = &annotations + bs.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicLinkedService + var typeVar TypeBasicCopySource err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - cls.Type = typeVar + bs.Type = typeVar } } } @@ -34302,26 +36276,96 @@ func (cls *ConcurLinkedService) UnmarshalJSON(body []byte) error { return nil } -// ConcurLinkedServiceTypeProperties concur Service linked service properties. -type ConcurLinkedServiceTypeProperties struct { - // ClientID - Application client_id supplied by Concur App Management. - ClientID interface{} `json:"clientId,omitempty"` - // Username - The user name that you use to access Concur Service. - Username interface{} `json:"username,omitempty"` - // Password - The password corresponding to the user name that you provided in the username field. - Password BasicSecretBase `json:"password,omitempty"` - // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. - UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"` - // UseHostVerification - 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. - UseHostVerification interface{} `json:"useHostVerification,omitempty"` - // UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. - UsePeerVerification interface{} `json:"usePeerVerification,omitempty"` - // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). - EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` +// BlobEventsTrigger trigger that runs every time a Blob event occurs. +type BlobEventsTrigger struct { + // BlobEventsTriggerTypeProperties - Blob Events Trigger properties. + *BlobEventsTriggerTypeProperties `json:"typeProperties,omitempty"` + // Pipelines - Pipelines that need to be started. + Pipelines *[]TriggerPipelineReference `json:"pipelines,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Description - Trigger description. + Description *string `json:"description,omitempty"` + // RuntimeState - READ-ONLY; Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: 'Started', 'Stopped', 'Disabled' + RuntimeState TriggerRuntimeState `json:"runtimeState,omitempty"` + // Annotations - List of tags that can be used for describing the trigger. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeTrigger', 'TypeRerunTumblingWindowTrigger', 'TypeTumblingWindowTrigger', 'TypeBlobEventsTrigger', 'TypeBlobTrigger', 'TypeScheduleTrigger', 'TypeMultiplePipelineTrigger' + Type TypeBasicTrigger `json:"type,omitempty"` } -// UnmarshalJSON is the custom unmarshaler for ConcurLinkedServiceTypeProperties struct. -func (clstp *ConcurLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { +// MarshalJSON is the custom marshaler for BlobEventsTrigger. +func (bet BlobEventsTrigger) MarshalJSON() ([]byte, error) { + bet.Type = TypeBlobEventsTrigger + objectMap := make(map[string]interface{}) + if bet.BlobEventsTriggerTypeProperties != nil { + objectMap["typeProperties"] = bet.BlobEventsTriggerTypeProperties + } + if bet.Pipelines != nil { + objectMap["pipelines"] = bet.Pipelines + } + if bet.Description != nil { + objectMap["description"] = bet.Description + } + if bet.Annotations != nil { + objectMap["annotations"] = bet.Annotations + } + if bet.Type != "" { + objectMap["type"] = bet.Type + } + for k, v := range bet.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsRerunTumblingWindowTrigger is the BasicTrigger implementation for BlobEventsTrigger. +func (bet BlobEventsTrigger) AsRerunTumblingWindowTrigger() (*RerunTumblingWindowTrigger, bool) { + return nil, false +} + +// AsTumblingWindowTrigger is the BasicTrigger implementation for BlobEventsTrigger. +func (bet BlobEventsTrigger) AsTumblingWindowTrigger() (*TumblingWindowTrigger, bool) { + return nil, false +} + +// AsBlobEventsTrigger is the BasicTrigger implementation for BlobEventsTrigger. +func (bet BlobEventsTrigger) AsBlobEventsTrigger() (*BlobEventsTrigger, bool) { + return &bet, true +} + +// AsBlobTrigger is the BasicTrigger implementation for BlobEventsTrigger. +func (bet BlobEventsTrigger) AsBlobTrigger() (*BlobTrigger, bool) { + return nil, false +} + +// AsScheduleTrigger is the BasicTrigger implementation for BlobEventsTrigger. +func (bet BlobEventsTrigger) AsScheduleTrigger() (*ScheduleTrigger, bool) { + return nil, false +} + +// AsMultiplePipelineTrigger is the BasicTrigger implementation for BlobEventsTrigger. +func (bet BlobEventsTrigger) AsMultiplePipelineTrigger() (*MultiplePipelineTrigger, bool) { + return nil, false +} + +// AsBasicMultiplePipelineTrigger is the BasicTrigger implementation for BlobEventsTrigger. +func (bet BlobEventsTrigger) AsBasicMultiplePipelineTrigger() (BasicMultiplePipelineTrigger, bool) { + return &bet, true +} + +// AsTrigger is the BasicTrigger implementation for BlobEventsTrigger. +func (bet BlobEventsTrigger) AsTrigger() (*Trigger, bool) { + return nil, false +} + +// AsBasicTrigger is the BasicTrigger implementation for BlobEventsTrigger. +func (bet BlobEventsTrigger) AsBasicTrigger() (BasicTrigger, bool) { + return &bet, true +} + +// UnmarshalJSON is the custom unmarshaler for BlobEventsTrigger struct. +func (bet *BlobEventsTrigger) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -34329,67 +36373,71 @@ func (clstp *ConcurLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error } for k, v := range m { switch k { - case "clientId": + case "typeProperties": if v != nil { - var clientID interface{} - err = json.Unmarshal(*v, &clientID) + var blobEventsTriggerTypeProperties BlobEventsTriggerTypeProperties + err = json.Unmarshal(*v, &blobEventsTriggerTypeProperties) if err != nil { return err } - clstp.ClientID = clientID + bet.BlobEventsTriggerTypeProperties = &blobEventsTriggerTypeProperties } - case "username": + case "pipelines": if v != nil { - var username interface{} - err = json.Unmarshal(*v, &username) + var pipelines []TriggerPipelineReference + err = json.Unmarshal(*v, &pipelines) if err != nil { return err } - clstp.Username = username + bet.Pipelines = &pipelines } - case "password": + default: if v != nil { - password, err := unmarshalBasicSecretBase(*v) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - clstp.Password = password + if bet.AdditionalProperties == nil { + bet.AdditionalProperties = make(map[string]interface{}) + } + bet.AdditionalProperties[k] = additionalProperties } - case "useEncryptedEndpoints": + case "description": if v != nil { - var useEncryptedEndpoints interface{} - err = json.Unmarshal(*v, &useEncryptedEndpoints) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - clstp.UseEncryptedEndpoints = useEncryptedEndpoints + bet.Description = &description } - case "useHostVerification": + case "runtimeState": if v != nil { - var useHostVerification interface{} - err = json.Unmarshal(*v, &useHostVerification) + var runtimeState TriggerRuntimeState + err = json.Unmarshal(*v, &runtimeState) if err != nil { return err } - clstp.UseHostVerification = useHostVerification + bet.RuntimeState = runtimeState } - case "usePeerVerification": + case "annotations": if v != nil { - var usePeerVerification interface{} - err = json.Unmarshal(*v, &usePeerVerification) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - clstp.UsePeerVerification = usePeerVerification + bet.Annotations = &annotations } - case "encryptedCredential": + case "type": if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) + var typeVar TypeBasicTrigger + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - clstp.EncryptedCredential = encryptedCredential + bet.Type = typeVar } } } @@ -34397,414 +36445,241 @@ func (clstp *ConcurLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error return nil } -// ConcurObjectDataset concur Service dataset. -type ConcurObjectDataset struct { - // GenericDatasetTypeProperties - Properties specific to this dataset type. - *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` +// BlobEventsTriggerTypeProperties blob Events Trigger properties. +type BlobEventsTriggerTypeProperties struct { + // BlobPathBeginsWith - The blob path must begin with the pattern provided for trigger to fire. For example, '/records/blobs/december/' will only fire the trigger for blobs in the december folder under the records container. At least one of these must be provided: blobPathBeginsWith, blobPathEndsWith. + BlobPathBeginsWith *string `json:"blobPathBeginsWith,omitempty"` + // BlobPathEndsWith - The blob path must end with the pattern provided for trigger to fire. For example, 'december/boxes.csv' will only fire the trigger for blobs named boxes in a december folder. At least one of these must be provided: blobPathBeginsWith, blobPathEndsWith. + BlobPathEndsWith *string `json:"blobPathEndsWith,omitempty"` + // Events - The type of events that cause this trigger to fire. + Events *[]BlobEventTypes `json:"events,omitempty"` + // Scope - The ARM resource ID of the Storage Account. + Scope *string `json:"scope,omitempty"` +} + +// BlobSink a copy activity Azure Blob sink. +type BlobSink struct { + // BlobWriterOverwriteFiles - Blob writer overwrite files. Type: boolean (or Expression with resultType boolean). + BlobWriterOverwriteFiles interface{} `json:"blobWriterOverwriteFiles,omitempty"` + // BlobWriterDateTimeFormat - Blob writer date time format. Type: string (or Expression with resultType string). + BlobWriterDateTimeFormat interface{} `json:"blobWriterDateTimeFormat,omitempty"` + // BlobWriterAddHeader - Blob writer add header. Type: boolean (or Expression with resultType boolean). + BlobWriterAddHeader interface{} `json:"blobWriterAddHeader,omitempty"` + // CopyBehavior - The type of copy behavior for copy sink. + CopyBehavior interface{} `json:"copyBehavior,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Description - Dataset description. - Description *string `json:"description,omitempty"` - // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. - Structure interface{} `json:"structure,omitempty"` - // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - Schema interface{} `json:"schema,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Parameters - Parameters for dataset. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the Dataset. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' - Type TypeBasicDataset `json:"type,omitempty"` + // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + WriteBatchSize interface{} `json:"writeBatchSize,omitempty"` + // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"` + // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer). + SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"` + // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink' + Type TypeBasicCopySink `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for ConcurObjectDataset. -func (cod ConcurObjectDataset) MarshalJSON() ([]byte, error) { - cod.Type = TypeConcurObject +// MarshalJSON is the custom marshaler for BlobSink. +func (bs BlobSink) MarshalJSON() ([]byte, error) { + bs.Type = TypeBlobSink objectMap := make(map[string]interface{}) - if cod.GenericDatasetTypeProperties != nil { - objectMap["typeProperties"] = cod.GenericDatasetTypeProperties + if bs.BlobWriterOverwriteFiles != nil { + objectMap["blobWriterOverwriteFiles"] = bs.BlobWriterOverwriteFiles } - if cod.Description != nil { - objectMap["description"] = cod.Description + if bs.BlobWriterDateTimeFormat != nil { + objectMap["blobWriterDateTimeFormat"] = bs.BlobWriterDateTimeFormat } - if cod.Structure != nil { - objectMap["structure"] = cod.Structure + if bs.BlobWriterAddHeader != nil { + objectMap["blobWriterAddHeader"] = bs.BlobWriterAddHeader } - if cod.Schema != nil { - objectMap["schema"] = cod.Schema + if bs.CopyBehavior != nil { + objectMap["copyBehavior"] = bs.CopyBehavior } - if cod.LinkedServiceName != nil { - objectMap["linkedServiceName"] = cod.LinkedServiceName + if bs.WriteBatchSize != nil { + objectMap["writeBatchSize"] = bs.WriteBatchSize } - if cod.Parameters != nil { - objectMap["parameters"] = cod.Parameters + if bs.WriteBatchTimeout != nil { + objectMap["writeBatchTimeout"] = bs.WriteBatchTimeout } - if cod.Annotations != nil { - objectMap["annotations"] = cod.Annotations + if bs.SinkRetryCount != nil { + objectMap["sinkRetryCount"] = bs.SinkRetryCount } - if cod.Folder != nil { - objectMap["folder"] = cod.Folder + if bs.SinkRetryWait != nil { + objectMap["sinkRetryWait"] = bs.SinkRetryWait } - if cod.Type != "" { - objectMap["type"] = cod.Type + if bs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = bs.MaxConcurrentConnections } - for k, v := range cod.AdditionalProperties { + if bs.Type != "" { + objectMap["type"] = bs.Type + } + for k, v := range bs.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { - return nil, false -} - -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { - return nil, false -} - -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { - return nil, false -} - -// AsDynamicsAXResourceDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { - return nil, false -} - -// AsResponsysObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { - return nil, false -} - -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { - return nil, false -} - -// AsVerticaTableDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { - return nil, false -} - -// AsNetezzaTableDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { - return nil, false -} - -// AsZohoObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { - return nil, false -} - -// AsXeroObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { - return nil, false -} - -// AsSquareObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { - return nil, false -} - -// AsSparkObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { - return nil, false -} - -// AsShopifyObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { - return nil, false -} - -// AsServiceNowObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { - return nil, false -} - -// AsQuickBooksObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { - return nil, false -} - -// AsPrestoObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { - return nil, false -} - -// AsPhoenixObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { - return nil, false -} - -// AsPaypalObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { - return nil, false -} - -// AsMarketoObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { - return nil, false -} - -// AsMariaDBTableDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { - return nil, false -} - -// AsMagentoObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { - return nil, false -} - -// AsJiraObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { - return nil, false -} - -// AsImpalaObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { - return nil, false -} - -// AsHubspotObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { - return nil, false -} - -// AsHiveObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { - return nil, false -} - -// AsHBaseObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { - return nil, false -} - -// AsGreenplumTableDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { - return nil, false -} - -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { - return nil, false -} - -// AsEloquaObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { - return nil, false -} - -// AsDrillTableDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { - return nil, false -} - -// AsCouchbaseTableDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { - return nil, false -} - -// AsConcurObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { - return &cod, true -} - -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { - return nil, false -} - -// AsAmazonMWSObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { - return nil, false -} - -// AsHTTPDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { - return nil, false -} - -// AsAzureSearchIndexDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { - return nil, false -} - -// AsWebTableDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { - return nil, false -} - -// AsSapTableResourceDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { - return nil, false -} - -// AsRestResourceDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsSalesforceSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsSalesforceSink() (*SalesforceSink, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsAzureDataExplorerSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsDynamicsCrmSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsDynamicsSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsDynamicsSink() (*DynamicsSink, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsMicrosoftAccessSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsInformixSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsInformixSink() (*InformixSink, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsOdbcSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsOdbcSink() (*OdbcSink, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsAzureSearchIndexSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsAzureBlobFSSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsOracleSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsOracleSink() (*OracleSink, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsSQLDWSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsSQLMISink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsSQLMISink() (*SQLMISink, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsAzureSQLSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsAzureSQLSink() (*AzureSQLSink, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsSQLServerSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsSQLServerSink() (*SQLServerSink, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsSQLSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsSQLSink() (*SQLSink, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsDocumentDbCollectionSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsFileSystemSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsFileSystemSink() (*FileSystemSink, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { - return nil, false +// AsBlobSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsBlobSink() (*BlobSink, bool) { + return &bs, true } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsBinarySink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsBinarySink() (*BinarySink, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsParquetSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsParquetSink() (*ParquetSink, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsAzureTableSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsAzureTableSink() (*AzureTableSink, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsAzureQueueSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsAzureQueueSink() (*AzureQueueSink, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsSapCloudForCustomerSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsAzurePostgreSQLSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsDelimitedTextSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsDataset() (*Dataset, bool) { +// AsCopySink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsCopySink() (*CopySink, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsBasicDataset() (BasicDataset, bool) { - return &cod, true +// AsBasicCopySink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsBasicCopySink() (BasicCopySink, bool) { + return &bs, true } -// UnmarshalJSON is the custom unmarshaler for ConcurObjectDataset struct. -func (cod *ConcurObjectDataset) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for BlobSink struct. +func (bs *BlobSink) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -34812,98 +36687,107 @@ func (cod *ConcurObjectDataset) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": + case "blobWriterOverwriteFiles": if v != nil { - var genericDatasetTypeProperties GenericDatasetTypeProperties - err = json.Unmarshal(*v, &genericDatasetTypeProperties) + var blobWriterOverwriteFiles interface{} + err = json.Unmarshal(*v, &blobWriterOverwriteFiles) if err != nil { return err } - cod.GenericDatasetTypeProperties = &genericDatasetTypeProperties + bs.BlobWriterOverwriteFiles = blobWriterOverwriteFiles } - default: + case "blobWriterDateTimeFormat": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var blobWriterDateTimeFormat interface{} + err = json.Unmarshal(*v, &blobWriterDateTimeFormat) if err != nil { return err } - if cod.AdditionalProperties == nil { - cod.AdditionalProperties = make(map[string]interface{}) + bs.BlobWriterDateTimeFormat = blobWriterDateTimeFormat + } + case "blobWriterAddHeader": + if v != nil { + var blobWriterAddHeader interface{} + err = json.Unmarshal(*v, &blobWriterAddHeader) + if err != nil { + return err } - cod.AdditionalProperties[k] = additionalProperties + bs.BlobWriterAddHeader = blobWriterAddHeader } - case "description": + case "copyBehavior": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var copyBehavior interface{} + err = json.Unmarshal(*v, ©Behavior) if err != nil { return err } - cod.Description = &description + bs.CopyBehavior = copyBehavior } - case "structure": + default: if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - cod.Structure = structure + if bs.AdditionalProperties == nil { + bs.AdditionalProperties = make(map[string]interface{}) + } + bs.AdditionalProperties[k] = additionalProperties } - case "schema": + case "writeBatchSize": if v != nil { - var schema interface{} - err = json.Unmarshal(*v, &schema) + var writeBatchSize interface{} + err = json.Unmarshal(*v, &writeBatchSize) if err != nil { return err } - cod.Schema = schema + bs.WriteBatchSize = writeBatchSize } - case "linkedServiceName": + case "writeBatchTimeout": if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) + var writeBatchTimeout interface{} + err = json.Unmarshal(*v, &writeBatchTimeout) if err != nil { return err } - cod.LinkedServiceName = &linkedServiceName + bs.WriteBatchTimeout = writeBatchTimeout } - case "parameters": + case "sinkRetryCount": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var sinkRetryCount interface{} + err = json.Unmarshal(*v, &sinkRetryCount) if err != nil { return err } - cod.Parameters = parameters + bs.SinkRetryCount = sinkRetryCount } - case "annotations": + case "sinkRetryWait": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var sinkRetryWait interface{} + err = json.Unmarshal(*v, &sinkRetryWait) if err != nil { return err } - cod.Annotations = &annotations + bs.SinkRetryWait = sinkRetryWait } - case "folder": + case "maxConcurrentConnections": if v != nil { - var folder DatasetFolder - err = json.Unmarshal(*v, &folder) + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) if err != nil { return err } - cod.Folder = &folder + bs.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicDataset + var typeVar TypeBasicCopySink err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - cod.Type = typeVar + bs.Type = typeVar } } } @@ -34911,10 +36795,14 @@ func (cod *ConcurObjectDataset) UnmarshalJSON(body []byte) error { return nil } -// ConcurSource a copy activity Concur Service source. -type ConcurSource struct { - // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). - Query interface{} `json:"query,omitempty"` +// BlobSource a copy activity Azure Blob source. +type BlobSource struct { + // TreatEmptyAsNull - Treat empty as null. Type: boolean (or Expression with resultType boolean). + TreatEmptyAsNull interface{} `json:"treatEmptyAsNull,omitempty"` + // SkipHeaderLineCount - Number of header lines to skip from each blob. Type: integer (or Expression with resultType integer). + SkipHeaderLineCount interface{} `json:"skipHeaderLineCount,omitempty"` + // Recursive - If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). + Recursive interface{} `json:"recursive,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -34923,377 +36811,453 @@ type ConcurSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for ConcurSource. -func (cs ConcurSource) MarshalJSON() ([]byte, error) { - cs.Type = TypeConcurSource +// MarshalJSON is the custom marshaler for BlobSource. +func (bs BlobSource) MarshalJSON() ([]byte, error) { + bs.Type = TypeBlobSource objectMap := make(map[string]interface{}) - if cs.Query != nil { - objectMap["query"] = cs.Query + if bs.TreatEmptyAsNull != nil { + objectMap["treatEmptyAsNull"] = bs.TreatEmptyAsNull } - if cs.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = cs.SourceRetryCount + if bs.SkipHeaderLineCount != nil { + objectMap["skipHeaderLineCount"] = bs.SkipHeaderLineCount } - if cs.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = cs.SourceRetryWait + if bs.Recursive != nil { + objectMap["recursive"] = bs.Recursive } - if cs.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = cs.MaxConcurrentConnections + if bs.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = bs.SourceRetryCount } - if cs.Type != "" { - objectMap["type"] = cs.Type + if bs.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = bs.SourceRetryWait } - for k, v := range cs.AdditionalProperties { + if bs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = bs.MaxConcurrentConnections + } + if bs.Type != "" { + objectMap["type"] = bs.Type + } + for k, v := range bs.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsResponsysSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsVerticaSource() (*VerticaSource, bool) { +// AsVerticaSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsNetezzaSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsZohoSource() (*ZohoSource, bool) { +// AsZohoSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsXeroSource() (*XeroSource, bool) { +// AsXeroSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsSquareSource() (*SquareSource, bool) { +// AsSquareSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsSparkSource() (*SparkSource, bool) { +// AsSparkSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsShopifySource() (*ShopifySource, bool) { +// AsShopifySource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsServiceNowSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsPrestoSource() (*PrestoSource, bool) { +// AsPrestoSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsPhoenixSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsPaypalSource() (*PaypalSource, bool) { +// AsPaypalSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsMarketoSource() (*MarketoSource, bool) { +// AsMarketoSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsMariaDBSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsMagentoSource() (*MagentoSource, bool) { +// AsMagentoSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsJiraSource() (*JiraSource, bool) { +// AsJiraSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsImpalaSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsHubspotSource() (*HubspotSource, bool) { +// AsHubspotSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsHiveSource() (*HiveSource, bool) { +// AsHiveSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsHBaseSource() (*HBaseSource, bool) { +// AsHBaseSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsGreenplumSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsEloquaSource() (*EloquaSource, bool) { +// AsEloquaSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsDrillSource() (*DrillSource, bool) { +// AsDrillSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsConcurSource() (*ConcurSource, bool) { - return &cs, true +// AsConcurSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsConcurSource() (*ConcurSource, bool) { + return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsHTTPSource() (*HTTPSource, bool) { +// AsHTTPSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsOffice365Source() (*Office365Source, bool) { +// AsOffice365Source is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsMongoDbSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsCassandraSource() (*CassandraSource, bool) { +// AsCassandraSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsWebSource() (*WebSource, bool) { +// AsWebSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsOracleSource() (*OracleSource, bool) { +// AsTeradataSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsOracleSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsHdfsSource() (*HdfsSource, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsHdfsSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsFileSystemSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsSQLDWSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsSQLMISource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsSQLSource() (*SQLSource, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsRestSource() (*RestSource, bool) { +// AsSQLServerSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsSapTableSource() (*SapTableSource, bool) { +// AsSQLSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsRestSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsSapTableSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsSapEccSource() (*SapEccSource, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsSapHanaSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsSapEccSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsRelationalSource() (*RelationalSource, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsSalesforceSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsBlobSource() (*BlobSource, bool) { +// AsODataSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsSybaseSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsParquetSource() (*ParquetSource, bool) { +// AsMySQLSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsCopySource() (*CopySource, bool) { +// AsOdbcSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsBasicCopySource() (BasicCopySource, bool) { - return &cs, true +// AsDb2Source is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsDb2Source() (*Db2Source, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for ConcurSource struct. -func (cs *ConcurSource) UnmarshalJSON(body []byte) error { +// AsMicrosoftAccessSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + +// AsRelationalSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + +// AsDynamicsSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsBlobSource() (*BlobSource, bool) { + return &bs, true +} + +// AsAzureTableSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsBinarySource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsDelimitedTextSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false +} + +// AsParquetSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsBasicCopySource() (BasicCopySource, bool) { + return &bs, true +} + +// UnmarshalJSON is the custom unmarshaler for BlobSource struct. +func (bs *BlobSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -35301,14 +37265,32 @@ func (cs *ConcurSource) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "query": + case "treatEmptyAsNull": if v != nil { - var query interface{} - err = json.Unmarshal(*v, &query) + var treatEmptyAsNull interface{} + err = json.Unmarshal(*v, &treatEmptyAsNull) if err != nil { return err } - cs.Query = query + bs.TreatEmptyAsNull = treatEmptyAsNull + } + case "skipHeaderLineCount": + if v != nil { + var skipHeaderLineCount interface{} + err = json.Unmarshal(*v, &skipHeaderLineCount) + if err != nil { + return err + } + bs.SkipHeaderLineCount = skipHeaderLineCount + } + case "recursive": + if v != nil { + var recursive interface{} + err = json.Unmarshal(*v, &recursive) + if err != nil { + return err + } + bs.Recursive = recursive } default: if v != nil { @@ -35317,10 +37299,10 @@ func (cs *ConcurSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - if cs.AdditionalProperties == nil { - cs.AdditionalProperties = make(map[string]interface{}) + if bs.AdditionalProperties == nil { + bs.AdditionalProperties = make(map[string]interface{}) } - cs.AdditionalProperties[k] = additionalProperties + bs.AdditionalProperties[k] = additionalProperties } case "sourceRetryCount": if v != nil { @@ -35329,7 +37311,7 @@ func (cs *ConcurSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - cs.SourceRetryCount = sourceRetryCount + bs.SourceRetryCount = sourceRetryCount } case "sourceRetryWait": if v != nil { @@ -35338,7 +37320,7 @@ func (cs *ConcurSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - cs.SourceRetryWait = sourceRetryWait + bs.SourceRetryWait = sourceRetryWait } case "maxConcurrentConnections": if v != nil { @@ -35347,7 +37329,7 @@ func (cs *ConcurSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - cs.MaxConcurrentConnections = maxConcurrentConnections + bs.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { @@ -35356,7 +37338,7 @@ func (cs *ConcurSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - cs.Type = typeVar + bs.Type = typeVar } } } @@ -35364,635 +37346,693 @@ func (cs *ConcurSource) UnmarshalJSON(body []byte) error { return nil } -// BasicControlActivity base class for all control activities like IfCondition, ForEach , Until. -type BasicControlActivity interface { - AsWebHookActivity() (*WebHookActivity, bool) - AsAppendVariableActivity() (*AppendVariableActivity, bool) - AsSetVariableActivity() (*SetVariableActivity, bool) - AsFilterActivity() (*FilterActivity, bool) - AsValidationActivity() (*ValidationActivity, bool) - AsUntilActivity() (*UntilActivity, bool) - AsWaitActivity() (*WaitActivity, bool) - AsForEachActivity() (*ForEachActivity, bool) - AsIfConditionActivity() (*IfConditionActivity, bool) - AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) - AsControlActivity() (*ControlActivity, bool) -} - -// ControlActivity base class for all control activities like IfCondition, ForEach , Until. -type ControlActivity struct { +// BlobTrigger trigger that runs every time the selected Blob container changes. +type BlobTrigger struct { + // BlobTriggerTypeProperties - Blob Trigger properties. + *BlobTriggerTypeProperties `json:"typeProperties,omitempty"` + // Pipelines - Pipelines that need to be started. + Pipelines *[]TriggerPipelineReference `json:"pipelines,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Name - Activity name. - Name *string `json:"name,omitempty"` - // Description - Activity description. + // Description - Trigger description. Description *string `json:"description,omitempty"` - // DependsOn - Activity depends on condition. - DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // UserProperties - Activity user properties. - UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' - Type TypeBasicActivity `json:"type,omitempty"` -} - -func unmarshalBasicControlActivity(body []byte) (BasicControlActivity, error) { - var m map[string]interface{} - err := json.Unmarshal(body, &m) - if err != nil { - return nil, err - } - - switch m["type"] { - case string(TypeWebHook): - var wha WebHookActivity - err := json.Unmarshal(body, &wha) - return wha, err - case string(TypeAppendVariable): - var ava AppendVariableActivity - err := json.Unmarshal(body, &ava) - return ava, err - case string(TypeSetVariable): - var sva SetVariableActivity - err := json.Unmarshal(body, &sva) - return sva, err - case string(TypeFilter): - var fa FilterActivity - err := json.Unmarshal(body, &fa) - return fa, err - case string(TypeValidation): - var va ValidationActivity - err := json.Unmarshal(body, &va) - return va, err - case string(TypeUntil): - var ua UntilActivity - err := json.Unmarshal(body, &ua) - return ua, err - case string(TypeWait): - var wa WaitActivity - err := json.Unmarshal(body, &wa) - return wa, err - case string(TypeForEach): - var fea ForEachActivity - err := json.Unmarshal(body, &fea) - return fea, err - case string(TypeIfCondition): - var ica IfConditionActivity - err := json.Unmarshal(body, &ica) - return ica, err - case string(TypeExecutePipeline): - var epa ExecutePipelineActivity - err := json.Unmarshal(body, &epa) - return epa, err - default: - var ca ControlActivity - err := json.Unmarshal(body, &ca) - return ca, err - } -} -func unmarshalBasicControlActivityArray(body []byte) ([]BasicControlActivity, error) { - var rawMessages []*json.RawMessage - err := json.Unmarshal(body, &rawMessages) - if err != nil { - return nil, err - } - - caArray := make([]BasicControlActivity, len(rawMessages)) - - for index, rawMessage := range rawMessages { - ca, err := unmarshalBasicControlActivity(*rawMessage) - if err != nil { - return nil, err - } - caArray[index] = ca - } - return caArray, nil + // RuntimeState - READ-ONLY; Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: 'Started', 'Stopped', 'Disabled' + RuntimeState TriggerRuntimeState `json:"runtimeState,omitempty"` + // Annotations - List of tags that can be used for describing the trigger. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeTrigger', 'TypeRerunTumblingWindowTrigger', 'TypeTumblingWindowTrigger', 'TypeBlobEventsTrigger', 'TypeBlobTrigger', 'TypeScheduleTrigger', 'TypeMultiplePipelineTrigger' + Type TypeBasicTrigger `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for ControlActivity. -func (ca ControlActivity) MarshalJSON() ([]byte, error) { - ca.Type = TypeContainer +// MarshalJSON is the custom marshaler for BlobTrigger. +func (bt BlobTrigger) MarshalJSON() ([]byte, error) { + bt.Type = TypeBlobTrigger objectMap := make(map[string]interface{}) - if ca.Name != nil { - objectMap["name"] = ca.Name + if bt.BlobTriggerTypeProperties != nil { + objectMap["typeProperties"] = bt.BlobTriggerTypeProperties } - if ca.Description != nil { - objectMap["description"] = ca.Description + if bt.Pipelines != nil { + objectMap["pipelines"] = bt.Pipelines } - if ca.DependsOn != nil { - objectMap["dependsOn"] = ca.DependsOn + if bt.Description != nil { + objectMap["description"] = bt.Description } - if ca.UserProperties != nil { - objectMap["userProperties"] = ca.UserProperties + if bt.Annotations != nil { + objectMap["annotations"] = bt.Annotations } - if ca.Type != "" { - objectMap["type"] = ca.Type + if bt.Type != "" { + objectMap["type"] = bt.Type } - for k, v := range ca.AdditionalProperties { + for k, v := range bt.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsRerunTumblingWindowTrigger is the BasicTrigger implementation for BlobTrigger. +func (bt BlobTrigger) AsRerunTumblingWindowTrigger() (*RerunTumblingWindowTrigger, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsTumblingWindowTrigger is the BasicTrigger implementation for BlobTrigger. +func (bt BlobTrigger) AsTumblingWindowTrigger() (*TumblingWindowTrigger, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsBlobEventsTrigger is the BasicTrigger implementation for BlobTrigger. +func (bt BlobTrigger) AsBlobEventsTrigger() (*BlobEventsTrigger, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { - return nil, false +// AsBlobTrigger is the BasicTrigger implementation for BlobTrigger. +func (bt BlobTrigger) AsBlobTrigger() (*BlobTrigger, bool) { + return &bt, true } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsScheduleTrigger is the BasicTrigger implementation for BlobTrigger. +func (bt BlobTrigger) AsScheduleTrigger() (*ScheduleTrigger, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsMultiplePipelineTrigger is the BasicTrigger implementation for BlobTrigger. +func (bt BlobTrigger) AsMultiplePipelineTrigger() (*MultiplePipelineTrigger, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { - return nil, false +// AsBasicMultiplePipelineTrigger is the BasicTrigger implementation for BlobTrigger. +func (bt BlobTrigger) AsBasicMultiplePipelineTrigger() (BasicMultiplePipelineTrigger, bool) { + return &bt, true } -// AsGetMetadataActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsTrigger is the BasicTrigger implementation for BlobTrigger. +func (bt BlobTrigger) AsTrigger() (*Trigger, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsWebActivity() (*WebActivity, bool) { - return nil, false +// AsBasicTrigger is the BasicTrigger implementation for BlobTrigger. +func (bt BlobTrigger) AsBasicTrigger() (BasicTrigger, bool) { + return &bt, true } -// AsLookupActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsLookupActivity() (*LookupActivity, bool) { - return nil, false +// UnmarshalJSON is the custom unmarshaler for BlobTrigger struct. +func (bt *BlobTrigger) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "typeProperties": + if v != nil { + var blobTriggerTypeProperties BlobTriggerTypeProperties + err = json.Unmarshal(*v, &blobTriggerTypeProperties) + if err != nil { + return err + } + bt.BlobTriggerTypeProperties = &blobTriggerTypeProperties + } + case "pipelines": + if v != nil { + var pipelines []TriggerPipelineReference + err = json.Unmarshal(*v, &pipelines) + if err != nil { + return err + } + bt.Pipelines = &pipelines + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if bt.AdditionalProperties == nil { + bt.AdditionalProperties = make(map[string]interface{}) + } + bt.AdditionalProperties[k] = additionalProperties + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + bt.Description = &description + } + case "runtimeState": + if v != nil { + var runtimeState TriggerRuntimeState + err = json.Unmarshal(*v, &runtimeState) + if err != nil { + return err + } + bt.RuntimeState = runtimeState + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + bt.Annotations = &annotations + } + case "type": + if v != nil { + var typeVar TypeBasicTrigger + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + bt.Type = typeVar + } + } + } + + return nil } -// AsDeleteActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// BlobTriggerTypeProperties blob Trigger properties. +type BlobTriggerTypeProperties struct { + // FolderPath - The path of the container/folder that will trigger the pipeline. + FolderPath *string `json:"folderPath,omitempty"` + // MaxConcurrency - The max number of parallel files to handle when it is triggered. + MaxConcurrency *int32 `json:"maxConcurrency,omitempty"` + // LinkedService - The Azure Storage linked service reference. + LinkedService *LinkedServiceReference `json:"linkedService,omitempty"` +} + +// CassandraLinkedService linked service for Cassandra data source. +type CassandraLinkedService struct { + // CassandraLinkedServiceTypeProperties - Cassandra linked service properties. + *CassandraLinkedServiceTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. + Description *string `json:"description,omitempty"` + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the linked service. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for CassandraLinkedService. +func (cls CassandraLinkedService) MarshalJSON() ([]byte, error) { + cls.Type = TypeCassandra + objectMap := make(map[string]interface{}) + if cls.CassandraLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = cls.CassandraLinkedServiceTypeProperties + } + if cls.ConnectVia != nil { + objectMap["connectVia"] = cls.ConnectVia + } + if cls.Description != nil { + objectMap["description"] = cls.Description + } + if cls.Parameters != nil { + objectMap["parameters"] = cls.Parameters + } + if cls.Annotations != nil { + objectMap["annotations"] = cls.Annotations + } + if cls.Type != "" { + objectMap["type"] = cls.Type + } + for k, v := range cls.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsCopyActivity() (*CopyActivity, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsWebHookActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsWebHookActivity() (*WebHookActivity, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsFilterActivity() (*FilterActivity, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsValidationActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsValidationActivity() (*ValidationActivity, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsUntilActivity() (*UntilActivity, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsControlActivity() (*ControlActivity, bool) { - return &ca, true +// AsPaypalLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { + return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsBasicControlActivity() (BasicControlActivity, bool) { - return &ca, true +// AsMarketoLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { + return nil, false } -// AsActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsActivity() (*Activity, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsBasicActivity() (BasicActivity, bool) { - return &ca, true +// AsMagentoLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for ControlActivity struct. -func (ca *ControlActivity) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if ca.AdditionalProperties == nil { - ca.AdditionalProperties = make(map[string]interface{}) - } - ca.AdditionalProperties[k] = additionalProperties - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - ca.Name = &name - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - ca.Description = &description - } - case "dependsOn": - if v != nil { - var dependsOn []ActivityDependency - err = json.Unmarshal(*v, &dependsOn) - if err != nil { - return err - } - ca.DependsOn = &dependsOn - } - case "userProperties": - if v != nil { - var userProperties []UserProperty - err = json.Unmarshal(*v, &userProperties) - if err != nil { - return err - } - ca.UserProperties = &userProperties - } - case "type": - if v != nil { - var typeVar TypeBasicActivity - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - ca.Type = typeVar - } - } - } +// AsJiraLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { + return nil, false +} - return nil +// AsImpalaLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { + return nil, false } -// CopyActivity copy activity. -type CopyActivity struct { - // CopyActivityTypeProperties - Copy activity properties. - *CopyActivityTypeProperties `json:"typeProperties,omitempty"` - // Inputs - List of inputs for the activity. - Inputs *[]DatasetReference `json:"inputs,omitempty"` - // Outputs - List of outputs for the activity. - Outputs *[]DatasetReference `json:"outputs,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Policy - Activity policy. - Policy *ActivityPolicy `json:"policy,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Name - Activity name. - Name *string `json:"name,omitempty"` - // Description - Activity description. - Description *string `json:"description,omitempty"` - // DependsOn - Activity depends on condition. - DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // UserProperties - Activity user properties. - UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' - Type TypeBasicActivity `json:"type,omitempty"` +// AsHubspotLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for CopyActivity. -func (ca CopyActivity) MarshalJSON() ([]byte, error) { - ca.Type = TypeCopy - objectMap := make(map[string]interface{}) - if ca.CopyActivityTypeProperties != nil { - objectMap["typeProperties"] = ca.CopyActivityTypeProperties - } - if ca.Inputs != nil { - objectMap["inputs"] = ca.Inputs - } - if ca.Outputs != nil { - objectMap["outputs"] = ca.Outputs - } - if ca.LinkedServiceName != nil { - objectMap["linkedServiceName"] = ca.LinkedServiceName - } - if ca.Policy != nil { - objectMap["policy"] = ca.Policy - } - if ca.Name != nil { - objectMap["name"] = ca.Name - } - if ca.Description != nil { - objectMap["description"] = ca.Description - } - if ca.DependsOn != nil { - objectMap["dependsOn"] = ca.DependsOn - } - if ca.UserProperties != nil { - objectMap["userProperties"] = ca.UserProperties - } - if ca.Type != "" { - objectMap["type"] = ca.Type - } - for k, v := range ca.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsHiveLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { + return nil, false } -// AsAzureFunctionActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsWebActivity() (*WebActivity, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsDeleteActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsCopyActivity() (*CopyActivity, bool) { - return &ca, true +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { + return nil, false } -// AsExecutionActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { - return &ca, true +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { + return nil, false } -// AsWebHookActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsWebHookActivity() (*WebHookActivity, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsFilterActivity() (*FilterActivity, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsValidationActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsValidationActivity() (*ValidationActivity, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsUntilActivity() (*UntilActivity, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { + return &cls, true +} + +// AsWebLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsControlActivity() (*ControlActivity, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsBasicControlActivity() (BasicControlActivity, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsActivity() (*Activity, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsBasicActivity() (BasicActivity, bool) { - return &ca, true +// AsOdbcLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for CopyActivity struct. -func (ca *CopyActivity) UnmarshalJSON(body []byte) error { +// AsAzureMLLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { + return nil, false +} + +// AsTeradataLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { + return nil, false +} + +// AsDb2LinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return nil, false +} + +// AsSybaseLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { + return nil, false +} + +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { + return nil, false +} + +// AsMySQLLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { + return nil, false +} + +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { + return nil, false +} + +// AsOracleLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { + return nil, false +} + +// AsFileServerLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { + return nil, false +} + +// AsHDInsightLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + +// AsDynamicsLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false +} + +// AsCosmosDbLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false +} + +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false +} + +// AsAzureBatchLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} + +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &cls, true +} + +// UnmarshalJSON is the custom unmarshaler for CassandraLinkedService struct. +func (cls *CassandraLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -36002,48 +38042,12 @@ func (ca *CopyActivity) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var copyActivityTypeProperties CopyActivityTypeProperties - err = json.Unmarshal(*v, ©ActivityTypeProperties) - if err != nil { - return err - } - ca.CopyActivityTypeProperties = ©ActivityTypeProperties - } - case "inputs": - if v != nil { - var inputs []DatasetReference - err = json.Unmarshal(*v, &inputs) - if err != nil { - return err - } - ca.Inputs = &inputs - } - case "outputs": - if v != nil { - var outputs []DatasetReference - err = json.Unmarshal(*v, &outputs) - if err != nil { - return err - } - ca.Outputs = &outputs - } - case "linkedServiceName": - if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) - if err != nil { - return err - } - ca.LinkedServiceName = &linkedServiceName - } - case "policy": - if v != nil { - var policy ActivityPolicy - err = json.Unmarshal(*v, &policy) + var cassandraLinkedServiceTypeProperties CassandraLinkedServiceTypeProperties + err = json.Unmarshal(*v, &cassandraLinkedServiceTypeProperties) if err != nil { return err } - ca.Policy = &policy + cls.CassandraLinkedServiceTypeProperties = &cassandraLinkedServiceTypeProperties } default: if v != nil { @@ -36052,19 +38056,19 @@ func (ca *CopyActivity) UnmarshalJSON(body []byte) error { if err != nil { return err } - if ca.AdditionalProperties == nil { - ca.AdditionalProperties = make(map[string]interface{}) + if cls.AdditionalProperties == nil { + cls.AdditionalProperties = make(map[string]interface{}) } - ca.AdditionalProperties[k] = additionalProperties + cls.AdditionalProperties[k] = additionalProperties } - case "name": + case "connectVia": if v != nil { - var name string - err = json.Unmarshal(*v, &name) + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) if err != nil { return err } - ca.Name = &name + cls.ConnectVia = &connectVia } case "description": if v != nil { @@ -36073,34 +38077,34 @@ func (ca *CopyActivity) UnmarshalJSON(body []byte) error { if err != nil { return err } - ca.Description = &description + cls.Description = &description } - case "dependsOn": + case "parameters": if v != nil { - var dependsOn []ActivityDependency - err = json.Unmarshal(*v, &dependsOn) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - ca.DependsOn = &dependsOn + cls.Parameters = parameters } - case "userProperties": + case "annotations": if v != nil { - var userProperties []UserProperty - err = json.Unmarshal(*v, &userProperties) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - ca.UserProperties = &userProperties + cls.Annotations = &annotations } case "type": if v != nil { - var typeVar TypeBasicActivity + var typeVar TypeBasicLinkedService err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - ca.Type = typeVar + cls.Type = typeVar } } } @@ -36108,34 +38112,24 @@ func (ca *CopyActivity) UnmarshalJSON(body []byte) error { return nil } -// CopyActivityTypeProperties copy activity properties. -type CopyActivityTypeProperties struct { - // Source - Copy activity source. - Source BasicCopySource `json:"source,omitempty"` - // Sink - Copy activity sink. - Sink BasicCopySink `json:"sink,omitempty"` - // Translator - Copy activity translator. If not specified, tabular translator is used. - Translator interface{} `json:"translator,omitempty"` - // EnableStaging - Specifies whether to copy data via an interim staging. Default value is false. Type: boolean (or Expression with resultType boolean). - EnableStaging interface{} `json:"enableStaging,omitempty"` - // StagingSettings - Specifies interim staging settings when EnableStaging is true. - StagingSettings *StagingSettings `json:"stagingSettings,omitempty"` - // ParallelCopies - Maximum number of concurrent sessions opened on the source or sink to avoid overloading the data store. Type: integer (or Expression with resultType integer), minimum: 0. - ParallelCopies interface{} `json:"parallelCopies,omitempty"` - // DataIntegrationUnits - Maximum number of data integration units that can be used to perform this data movement. Type: integer (or Expression with resultType integer), minimum: 0. - DataIntegrationUnits interface{} `json:"dataIntegrationUnits,omitempty"` - // EnableSkipIncompatibleRow - Whether to skip incompatible row. Default value is false. Type: boolean (or Expression with resultType boolean). - EnableSkipIncompatibleRow interface{} `json:"enableSkipIncompatibleRow,omitempty"` - // RedirectIncompatibleRowSettings - Redirect incompatible row settings when EnableSkipIncompatibleRow is true. - RedirectIncompatibleRowSettings *RedirectIncompatibleRowSettings `json:"redirectIncompatibleRowSettings,omitempty"` - // PreserveRules - Preserve Rules. - PreserveRules *[]interface{} `json:"preserveRules,omitempty"` - // Preserve - Preserve rules. - Preserve *[]interface{} `json:"preserve,omitempty"` +// CassandraLinkedServiceTypeProperties cassandra linked service properties. +type CassandraLinkedServiceTypeProperties struct { + // Host - Host name for connection. Type: string (or Expression with resultType string). + Host interface{} `json:"host,omitempty"` + // AuthenticationType - AuthenticationType to be used for connection. Type: string (or Expression with resultType string). + AuthenticationType interface{} `json:"authenticationType,omitempty"` + // Port - The port for the connection. Type: integer (or Expression with resultType integer). + Port interface{} `json:"port,omitempty"` + // Username - Username for authentication. Type: string (or Expression with resultType string). + Username interface{} `json:"username,omitempty"` + // Password - Password for authentication. + Password BasicSecretBase `json:"password,omitempty"` + // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` } -// UnmarshalJSON is the custom unmarshaler for CopyActivityTypeProperties struct. -func (catp *CopyActivityTypeProperties) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for CassandraLinkedServiceTypeProperties struct. +func (clstp *CassandraLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -36143,102 +38137,58 @@ func (catp *CopyActivityTypeProperties) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "source": - if v != nil { - source, err := unmarshalBasicCopySource(*v) - if err != nil { - return err - } - catp.Source = source - } - case "sink": - if v != nil { - sink, err := unmarshalBasicCopySink(*v) - if err != nil { - return err - } - catp.Sink = sink - } - case "translator": - if v != nil { - var translator interface{} - err = json.Unmarshal(*v, &translator) - if err != nil { - return err - } - catp.Translator = translator - } - case "enableStaging": - if v != nil { - var enableStaging interface{} - err = json.Unmarshal(*v, &enableStaging) - if err != nil { - return err - } - catp.EnableStaging = enableStaging - } - case "stagingSettings": - if v != nil { - var stagingSettings StagingSettings - err = json.Unmarshal(*v, &stagingSettings) - if err != nil { - return err - } - catp.StagingSettings = &stagingSettings - } - case "parallelCopies": + case "host": if v != nil { - var parallelCopies interface{} - err = json.Unmarshal(*v, ¶llelCopies) + var host interface{} + err = json.Unmarshal(*v, &host) if err != nil { return err } - catp.ParallelCopies = parallelCopies + clstp.Host = host } - case "dataIntegrationUnits": + case "authenticationType": if v != nil { - var dataIntegrationUnits interface{} - err = json.Unmarshal(*v, &dataIntegrationUnits) + var authenticationType interface{} + err = json.Unmarshal(*v, &authenticationType) if err != nil { return err } - catp.DataIntegrationUnits = dataIntegrationUnits + clstp.AuthenticationType = authenticationType } - case "enableSkipIncompatibleRow": + case "port": if v != nil { - var enableSkipIncompatibleRow interface{} - err = json.Unmarshal(*v, &enableSkipIncompatibleRow) + var port interface{} + err = json.Unmarshal(*v, &port) if err != nil { return err } - catp.EnableSkipIncompatibleRow = enableSkipIncompatibleRow + clstp.Port = port } - case "redirectIncompatibleRowSettings": + case "username": if v != nil { - var redirectIncompatibleRowSettings RedirectIncompatibleRowSettings - err = json.Unmarshal(*v, &redirectIncompatibleRowSettings) + var username interface{} + err = json.Unmarshal(*v, &username) if err != nil { return err } - catp.RedirectIncompatibleRowSettings = &redirectIncompatibleRowSettings + clstp.Username = username } - case "preserveRules": + case "password": if v != nil { - var preserveRules []interface{} - err = json.Unmarshal(*v, &preserveRules) + password, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - catp.PreserveRules = &preserveRules + clstp.Password = password } - case "preserve": + case "encryptedCredential": if v != nil { - var preserve []interface{} - err = json.Unmarshal(*v, &preserve) + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) if err != nil { return err } - catp.Preserve = &preserve + clstp.EncryptedCredential = encryptedCredential } } } @@ -36246,182 +38196,39 @@ func (catp *CopyActivityTypeProperties) UnmarshalJSON(body []byte) error { return nil } -// BasicCopySink a copy activity sink. -type BasicCopySink interface { - AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) - AsSalesforceSink() (*SalesforceSink, bool) - AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) - AsDynamicsSink() (*DynamicsSink, bool) - AsOdbcSink() (*OdbcSink, bool) - AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) - AsAzureBlobFSSink() (*AzureBlobFSSink, bool) - AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) - AsOracleSink() (*OracleSink, bool) - AsSQLDWSink() (*SQLDWSink, bool) - AsAzureSQLSink() (*AzureSQLSink, bool) - AsSQLServerSink() (*SQLServerSink, bool) - AsSQLSink() (*SQLSink, bool) - AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) - AsFileSystemSink() (*FileSystemSink, bool) - AsBlobSink() (*BlobSink, bool) - AsParquetSink() (*ParquetSink, bool) - AsAzureTableSink() (*AzureTableSink, bool) - AsAzureQueueSink() (*AzureQueueSink, bool) - AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) - AsDelimitedTextSink() (*DelimitedTextSink, bool) - AsCopySink() (*CopySink, bool) -} - -// CopySink a copy activity sink. -type CopySink struct { +// CassandraSource a copy activity source for a Cassandra database. +type CassandraSource struct { + // Query - Database query. Should be a SQL-92 query expression or Cassandra Query Language (CQL) command. Type: string (or Expression with resultType string). + Query interface{} `json:"query,omitempty"` + // ConsistencyLevel - 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. Possible values include: 'ALL', 'EACHQUORUM', 'QUORUM', 'LOCALQUORUM', 'ONE', 'TWO', 'THREE', 'LOCALONE', 'SERIAL', 'LOCALSERIAL' + ConsistencyLevel CassandraSourceReadConsistencyLevels `json:"consistencyLevel,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - WriteBatchSize interface{} `json:"writeBatchSize,omitempty"` - // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"` - // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer). - SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"` - // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeDelimitedTextSink' - Type TypeBasicCopySink `json:"type,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -func unmarshalBasicCopySink(body []byte) (BasicCopySink, error) { - var m map[string]interface{} - err := json.Unmarshal(body, &m) - if err != nil { - return nil, err +// MarshalJSON is the custom marshaler for CassandraSource. +func (cs CassandraSource) MarshalJSON() ([]byte, error) { + cs.Type = TypeCassandraSource + objectMap := make(map[string]interface{}) + if cs.Query != nil { + objectMap["query"] = cs.Query } - - switch m["type"] { - case string(TypeCosmosDbMongoDbAPISink): - var cdmdas CosmosDbMongoDbAPISink - err := json.Unmarshal(body, &cdmdas) - return cdmdas, err - case string(TypeSalesforceSink): - var ss SalesforceSink - err := json.Unmarshal(body, &ss) - return ss, err - case string(TypeAzureDataExplorerSink): - var ades AzureDataExplorerSink - err := json.Unmarshal(body, &ades) - return ades, err - case string(TypeDynamicsSink): - var ds DynamicsSink - err := json.Unmarshal(body, &ds) - return ds, err - case string(TypeOdbcSink): - var osVar OdbcSink - err := json.Unmarshal(body, &osVar) - return osVar, err - case string(TypeAzureSearchIndexSink): - var asis AzureSearchIndexSink - err := json.Unmarshal(body, &asis) - return asis, err - case string(TypeAzureBlobFSSink): - var abfs AzureBlobFSSink - err := json.Unmarshal(body, &abfs) - return abfs, err - case string(TypeAzureDataLakeStoreSink): - var adlss AzureDataLakeStoreSink - err := json.Unmarshal(body, &adlss) - return adlss, err - case string(TypeOracleSink): - var osVar OracleSink - err := json.Unmarshal(body, &osVar) - return osVar, err - case string(TypeSQLDWSink): - var sds SQLDWSink - err := json.Unmarshal(body, &sds) - return sds, err - case string(TypeAzureSQLSink): - var ass AzureSQLSink - err := json.Unmarshal(body, &ass) - return ass, err - case string(TypeSQLServerSink): - var sss SQLServerSink - err := json.Unmarshal(body, &sss) - return sss, err - case string(TypeSQLSink): - var ss SQLSink - err := json.Unmarshal(body, &ss) - return ss, err - case string(TypeDocumentDbCollectionSink): - var ddcs DocumentDbCollectionSink - err := json.Unmarshal(body, &ddcs) - return ddcs, err - case string(TypeFileSystemSink): - var fss FileSystemSink - err := json.Unmarshal(body, &fss) - return fss, err - case string(TypeBlobSink): - var bs BlobSink - err := json.Unmarshal(body, &bs) - return bs, err - case string(TypeParquetSink): - var ps ParquetSink - err := json.Unmarshal(body, &ps) - return ps, err - case string(TypeAzureTableSink): - var ats AzureTableSink - err := json.Unmarshal(body, &ats) - return ats, err - case string(TypeAzureQueueSink): - var aqs AzureQueueSink - err := json.Unmarshal(body, &aqs) - return aqs, err - case string(TypeSapCloudForCustomerSink): - var scfcs SapCloudForCustomerSink - err := json.Unmarshal(body, &scfcs) - return scfcs, err - case string(TypeDelimitedTextSink): - var dts DelimitedTextSink - err := json.Unmarshal(body, &dts) - return dts, err - default: - var cs CopySink - err := json.Unmarshal(body, &cs) - return cs, err + if cs.ConsistencyLevel != "" { + objectMap["consistencyLevel"] = cs.ConsistencyLevel } -} -func unmarshalBasicCopySinkArray(body []byte) ([]BasicCopySink, error) { - var rawMessages []*json.RawMessage - err := json.Unmarshal(body, &rawMessages) - if err != nil { - return nil, err - } - - csArray := make([]BasicCopySink, len(rawMessages)) - - for index, rawMessage := range rawMessages { - cs, err := unmarshalBasicCopySink(*rawMessage) - if err != nil { - return nil, err - } - csArray[index] = cs - } - return csArray, nil -} - -// MarshalJSON is the custom marshaler for CopySink. -func (cs CopySink) MarshalJSON() ([]byte, error) { - cs.Type = TypeCopySink - objectMap := make(map[string]interface{}) - if cs.WriteBatchSize != nil { - objectMap["writeBatchSize"] = cs.WriteBatchSize - } - if cs.WriteBatchTimeout != nil { - objectMap["writeBatchTimeout"] = cs.WriteBatchTimeout - } - if cs.SinkRetryCount != nil { - objectMap["sinkRetryCount"] = cs.SinkRetryCount + if cs.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = cs.SourceRetryCount } - if cs.SinkRetryWait != nil { - objectMap["sinkRetryWait"] = cs.SinkRetryWait + if cs.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = cs.SourceRetryWait } if cs.MaxConcurrentConnections != nil { objectMap["maxConcurrentConnections"] = cs.MaxConcurrentConnections @@ -36435,948 +38242,418 @@ func (cs CopySink) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { - return nil, false -} - -// AsSalesforceSink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsSalesforceSink() (*SalesforceSink, bool) { - return nil, false -} - -// AsAzureDataExplorerSink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { - return nil, false -} - -// AsDynamicsSink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsDynamicsSink() (*DynamicsSink, bool) { - return nil, false -} - -// AsOdbcSink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsOdbcSink() (*OdbcSink, bool) { - return nil, false -} - -// AsAzureSearchIndexSink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { - return nil, false -} - -// AsAzureBlobFSSink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsAzureDataLakeStoreSink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsOracleSink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsOracleSink() (*OracleSink, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsSQLDWSink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsSQLDWSink() (*SQLDWSink, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsAzureSQLSink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsAzureSQLSink() (*AzureSQLSink, bool) { +// AsResponsysSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsSQLServerSink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsSQLServerSink() (*SQLServerSink, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsSQLSink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsSQLSink() (*SQLSink, bool) { +// AsVerticaSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsDocumentDbCollectionSink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { +// AsNetezzaSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsFileSystemSink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsFileSystemSink() (*FileSystemSink, bool) { +// AsZohoSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsBlobSink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsBlobSink() (*BlobSink, bool) { +// AsXeroSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsParquetSink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsParquetSink() (*ParquetSink, bool) { +// AsSquareSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsAzureTableSink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsAzureTableSink() (*AzureTableSink, bool) { +// AsSparkSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsAzureQueueSink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsAzureQueueSink() (*AzureQueueSink, bool) { +// AsShopifySource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsSapCloudForCustomerSink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { +// AsServiceNowSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsDelimitedTextSink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsCopySink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsCopySink() (*CopySink, bool) { - return &cs, true -} - -// AsBasicCopySink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsBasicCopySink() (BasicCopySink, bool) { - return &cs, true -} - -// UnmarshalJSON is the custom unmarshaler for CopySink struct. -func (cs *CopySink) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if cs.AdditionalProperties == nil { - cs.AdditionalProperties = make(map[string]interface{}) - } - cs.AdditionalProperties[k] = additionalProperties - } - case "writeBatchSize": - if v != nil { - var writeBatchSize interface{} - err = json.Unmarshal(*v, &writeBatchSize) - if err != nil { - return err - } - cs.WriteBatchSize = writeBatchSize - } - case "writeBatchTimeout": - if v != nil { - var writeBatchTimeout interface{} - err = json.Unmarshal(*v, &writeBatchTimeout) - if err != nil { - return err - } - cs.WriteBatchTimeout = writeBatchTimeout - } - case "sinkRetryCount": - if v != nil { - var sinkRetryCount interface{} - err = json.Unmarshal(*v, &sinkRetryCount) - if err != nil { - return err - } - cs.SinkRetryCount = sinkRetryCount - } - case "sinkRetryWait": - if v != nil { - var sinkRetryWait interface{} - err = json.Unmarshal(*v, &sinkRetryWait) - if err != nil { - return err - } - cs.SinkRetryWait = sinkRetryWait - } - case "maxConcurrentConnections": - if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) - if err != nil { - return err - } - cs.MaxConcurrentConnections = maxConcurrentConnections - } - case "type": - if v != nil { - var typeVar TypeBasicCopySink - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - cs.Type = typeVar - } - } - } - - return nil -} - -// BasicCopySource a copy activity source. -type BasicCopySource interface { - AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) - AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) - AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) - AsDynamicsAXSource() (*DynamicsAXSource, bool) - AsResponsysSource() (*ResponsysSource, bool) - AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) - AsVerticaSource() (*VerticaSource, bool) - AsNetezzaSource() (*NetezzaSource, bool) - AsZohoSource() (*ZohoSource, bool) - AsXeroSource() (*XeroSource, bool) - AsSquareSource() (*SquareSource, bool) - AsSparkSource() (*SparkSource, bool) - AsShopifySource() (*ShopifySource, bool) - AsServiceNowSource() (*ServiceNowSource, bool) - AsQuickBooksSource() (*QuickBooksSource, bool) - AsPrestoSource() (*PrestoSource, bool) - AsPhoenixSource() (*PhoenixSource, bool) - AsPaypalSource() (*PaypalSource, bool) - AsMarketoSource() (*MarketoSource, bool) - AsMariaDBSource() (*MariaDBSource, bool) - AsMagentoSource() (*MagentoSource, bool) - AsJiraSource() (*JiraSource, bool) - AsImpalaSource() (*ImpalaSource, bool) - AsHubspotSource() (*HubspotSource, bool) - AsHiveSource() (*HiveSource, bool) - AsHBaseSource() (*HBaseSource, bool) - AsGreenplumSource() (*GreenplumSource, bool) - AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) - AsEloquaSource() (*EloquaSource, bool) - AsDrillSource() (*DrillSource, bool) - AsCouchbaseSource() (*CouchbaseSource, bool) - AsConcurSource() (*ConcurSource, bool) - AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) - AsAmazonMWSSource() (*AmazonMWSSource, bool) - AsHTTPSource() (*HTTPSource, bool) - AsAzureBlobFSSource() (*AzureBlobFSSource, bool) - AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) - AsOffice365Source() (*Office365Source, bool) - AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) - AsMongoDbV2Source() (*MongoDbV2Source, bool) - AsMongoDbSource() (*MongoDbSource, bool) - AsCassandraSource() (*CassandraSource, bool) - AsWebSource() (*WebSource, bool) - AsOracleSource() (*OracleSource, bool) - AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) - AsAzureMySQLSource() (*AzureMySQLSource, bool) - AsHdfsSource() (*HdfsSource, bool) - AsFileSystemSource() (*FileSystemSource, bool) - AsSQLDWSource() (*SQLDWSource, bool) - AsAzureSQLSource() (*AzureSQLSource, bool) - AsSQLServerSource() (*SQLServerSource, bool) - AsSQLSource() (*SQLSource, bool) - AsRestSource() (*RestSource, bool) - AsSapTableSource() (*SapTableSource, bool) - AsSapOpenHubSource() (*SapOpenHubSource, bool) - AsSapHanaSource() (*SapHanaSource, bool) - AsSapEccSource() (*SapEccSource, bool) - AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) - AsSalesforceSource() (*SalesforceSource, bool) - AsRelationalSource() (*RelationalSource, bool) - AsDynamicsSource() (*DynamicsSource, bool) - AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) - AsBlobSource() (*BlobSource, bool) - AsAzureTableSource() (*AzureTableSource, bool) - AsDelimitedTextSource() (*DelimitedTextSource, bool) - AsParquetSource() (*ParquetSource, bool) - AsCopySource() (*CopySource, bool) -} - -// CopySource a copy activity source. -type CopySource struct { - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). - SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` - // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' - Type TypeBasicCopySource `json:"type,omitempty"` -} - -func unmarshalBasicCopySource(body []byte) (BasicCopySource, error) { - var m map[string]interface{} - err := json.Unmarshal(body, &m) - if err != nil { - return nil, err - } - - switch m["type"] { - case string(TypeAmazonRedshiftSource): - var ars AmazonRedshiftSource - err := json.Unmarshal(body, &ars) - return ars, err - case string(TypeGoogleAdWordsSource): - var gaws GoogleAdWordsSource - err := json.Unmarshal(body, &gaws) - return gaws, err - case string(TypeOracleServiceCloudSource): - var oscs OracleServiceCloudSource - err := json.Unmarshal(body, &oscs) - return oscs, err - case string(TypeDynamicsAXSource): - var das DynamicsAXSource - err := json.Unmarshal(body, &das) - return das, err - case string(TypeResponsysSource): - var rs ResponsysSource - err := json.Unmarshal(body, &rs) - return rs, err - case string(TypeSalesforceMarketingCloudSource): - var smcs SalesforceMarketingCloudSource - err := json.Unmarshal(body, &smcs) - return smcs, err - case string(TypeVerticaSource): - var vs VerticaSource - err := json.Unmarshal(body, &vs) - return vs, err - case string(TypeNetezzaSource): - var ns NetezzaSource - err := json.Unmarshal(body, &ns) - return ns, err - case string(TypeZohoSource): - var zs ZohoSource - err := json.Unmarshal(body, &zs) - return zs, err - case string(TypeXeroSource): - var xs XeroSource - err := json.Unmarshal(body, &xs) - return xs, err - case string(TypeSquareSource): - var ss SquareSource - err := json.Unmarshal(body, &ss) - return ss, err - case string(TypeSparkSource): - var ss SparkSource - err := json.Unmarshal(body, &ss) - return ss, err - case string(TypeShopifySource): - var ss ShopifySource - err := json.Unmarshal(body, &ss) - return ss, err - case string(TypeServiceNowSource): - var sns ServiceNowSource - err := json.Unmarshal(body, &sns) - return sns, err - case string(TypeQuickBooksSource): - var qbs QuickBooksSource - err := json.Unmarshal(body, &qbs) - return qbs, err - case string(TypePrestoSource): - var ps PrestoSource - err := json.Unmarshal(body, &ps) - return ps, err - case string(TypePhoenixSource): - var ps PhoenixSource - err := json.Unmarshal(body, &ps) - return ps, err - case string(TypePaypalSource): - var ps PaypalSource - err := json.Unmarshal(body, &ps) - return ps, err - case string(TypeMarketoSource): - var ms MarketoSource - err := json.Unmarshal(body, &ms) - return ms, err - case string(TypeMariaDBSource): - var mds MariaDBSource - err := json.Unmarshal(body, &mds) - return mds, err - case string(TypeMagentoSource): - var ms MagentoSource - err := json.Unmarshal(body, &ms) - return ms, err - case string(TypeJiraSource): - var js JiraSource - err := json.Unmarshal(body, &js) - return js, err - case string(TypeImpalaSource): - var is ImpalaSource - err := json.Unmarshal(body, &is) - return is, err - case string(TypeHubspotSource): - var hs HubspotSource - err := json.Unmarshal(body, &hs) - return hs, err - case string(TypeHiveSource): - var hs HiveSource - err := json.Unmarshal(body, &hs) - return hs, err - case string(TypeHBaseSource): - var hbs HBaseSource - err := json.Unmarshal(body, &hbs) - return hbs, err - case string(TypeGreenplumSource): - var gs GreenplumSource - err := json.Unmarshal(body, &gs) - return gs, err - case string(TypeGoogleBigQuerySource): - var gbqs GoogleBigQuerySource - err := json.Unmarshal(body, &gbqs) - return gbqs, err - case string(TypeEloquaSource): - var es EloquaSource - err := json.Unmarshal(body, &es) - return es, err - case string(TypeDrillSource): - var ds DrillSource - err := json.Unmarshal(body, &ds) - return ds, err - case string(TypeCouchbaseSource): - var cs CouchbaseSource - err := json.Unmarshal(body, &cs) - return cs, err - case string(TypeConcurSource): - var cs ConcurSource - err := json.Unmarshal(body, &cs) - return cs, err - case string(TypeAzurePostgreSQLSource): - var apss AzurePostgreSQLSource - err := json.Unmarshal(body, &apss) - return apss, err - case string(TypeAmazonMWSSource): - var ams AmazonMWSSource - err := json.Unmarshal(body, &ams) - return ams, err - case string(TypeHTTPSource): - var hs HTTPSource - err := json.Unmarshal(body, &hs) - return hs, err - case string(TypeAzureBlobFSSource): - var abfs AzureBlobFSSource - err := json.Unmarshal(body, &abfs) - return abfs, err - case string(TypeAzureDataLakeStoreSource): - var adlss AzureDataLakeStoreSource - err := json.Unmarshal(body, &adlss) - return adlss, err - case string(TypeOffice365Source): - var o3s Office365Source - err := json.Unmarshal(body, &o3s) - return o3s, err - case string(TypeCosmosDbMongoDbAPISource): - var cdmdas CosmosDbMongoDbAPISource - err := json.Unmarshal(body, &cdmdas) - return cdmdas, err - case string(TypeMongoDbV2Source): - var mdvs MongoDbV2Source - err := json.Unmarshal(body, &mdvs) - return mdvs, err - case string(TypeMongoDbSource): - var mds MongoDbSource - err := json.Unmarshal(body, &mds) - return mds, err - case string(TypeCassandraSource): - var cs CassandraSource - err := json.Unmarshal(body, &cs) - return cs, err - case string(TypeWebSource): - var ws WebSource - err := json.Unmarshal(body, &ws) - return ws, err - case string(TypeOracleSource): - var osVar OracleSource - err := json.Unmarshal(body, &osVar) - return osVar, err - case string(TypeAzureDataExplorerSource): - var ades AzureDataExplorerSource - err := json.Unmarshal(body, &ades) - return ades, err - case string(TypeAzureMySQLSource): - var amss AzureMySQLSource - err := json.Unmarshal(body, &amss) - return amss, err - case string(TypeHdfsSource): - var hs HdfsSource - err := json.Unmarshal(body, &hs) - return hs, err - case string(TypeFileSystemSource): - var fss FileSystemSource - err := json.Unmarshal(body, &fss) - return fss, err - case string(TypeSQLDWSource): - var sds SQLDWSource - err := json.Unmarshal(body, &sds) - return sds, err - case string(TypeAzureSQLSource): - var ass AzureSQLSource - err := json.Unmarshal(body, &ass) - return ass, err - case string(TypeSQLServerSource): - var sss SQLServerSource - err := json.Unmarshal(body, &sss) - return sss, err - case string(TypeSQLSource): - var ss SQLSource - err := json.Unmarshal(body, &ss) - return ss, err - case string(TypeRestSource): - var rs RestSource - err := json.Unmarshal(body, &rs) - return rs, err - case string(TypeSapTableSource): - var sts SapTableSource - err := json.Unmarshal(body, &sts) - return sts, err - case string(TypeSapOpenHubSource): - var sohs SapOpenHubSource - err := json.Unmarshal(body, &sohs) - return sohs, err - case string(TypeSapHanaSource): - var shs SapHanaSource - err := json.Unmarshal(body, &shs) - return shs, err - case string(TypeSapEccSource): - var ses SapEccSource - err := json.Unmarshal(body, &ses) - return ses, err - case string(TypeSapCloudForCustomerSource): - var scfcs SapCloudForCustomerSource - err := json.Unmarshal(body, &scfcs) - return scfcs, err - case string(TypeSalesforceSource): - var ss SalesforceSource - err := json.Unmarshal(body, &ss) - return ss, err - case string(TypeRelationalSource): - var rs RelationalSource - err := json.Unmarshal(body, &rs) - return rs, err - case string(TypeDynamicsSource): - var ds DynamicsSource - err := json.Unmarshal(body, &ds) - return ds, err - case string(TypeDocumentDbCollectionSource): - var ddcs DocumentDbCollectionSource - err := json.Unmarshal(body, &ddcs) - return ddcs, err - case string(TypeBlobSource): - var bs BlobSource - err := json.Unmarshal(body, &bs) - return bs, err - case string(TypeAzureTableSource): - var ats AzureTableSource - err := json.Unmarshal(body, &ats) - return ats, err - case string(TypeDelimitedTextSource): - var dts DelimitedTextSource - err := json.Unmarshal(body, &dts) - return dts, err - case string(TypeParquetSource): - var ps ParquetSource - err := json.Unmarshal(body, &ps) - return ps, err - default: - var cs CopySource - err := json.Unmarshal(body, &cs) - return cs, err - } -} -func unmarshalBasicCopySourceArray(body []byte) ([]BasicCopySource, error) { - var rawMessages []*json.RawMessage - err := json.Unmarshal(body, &rawMessages) - if err != nil { - return nil, err - } - - csArray := make([]BasicCopySource, len(rawMessages)) - - for index, rawMessage := range rawMessages { - cs, err := unmarshalBasicCopySource(*rawMessage) - if err != nil { - return nil, err - } - csArray[index] = cs - } - return csArray, nil -} - -// MarshalJSON is the custom marshaler for CopySource. -func (cs CopySource) MarshalJSON() ([]byte, error) { - cs.Type = TypeCopySource - objectMap := make(map[string]interface{}) - if cs.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = cs.SourceRetryCount - } - if cs.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = cs.SourceRetryWait - } - if cs.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = cs.MaxConcurrentConnections - } - if cs.Type != "" { - objectMap["type"] = cs.Type - } - for k, v := range cs.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) -} - -// AsAmazonRedshiftSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsPrestoSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsPhoenixSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsPaypalSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsMarketoSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsResponsysSource() (*ResponsysSource, bool) { +// AsMariaDBSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsMagentoSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsVerticaSource() (*VerticaSource, bool) { +// AsJiraSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsImpalaSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsZohoSource() (*ZohoSource, bool) { +// AsHubspotSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsXeroSource() (*XeroSource, bool) { +// AsHiveSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsSquareSource() (*SquareSource, bool) { +// AsHBaseSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsSparkSource() (*SparkSource, bool) { +// AsGreenplumSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsShopifySource() (*ShopifySource, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsEloquaSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsDrillSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsPrestoSource() (*PrestoSource, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsConcurSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsPaypalSource() (*PaypalSource, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsMarketoSource() (*MarketoSource, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsHTTPSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsMagentoSource() (*MagentoSource, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsJiraSource() (*JiraSource, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsImpalaSource() (*ImpalaSource, bool) { +// AsOffice365Source is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsHubspotSource() (*HubspotSource, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsHiveSource() (*HiveSource, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsHBaseSource() (*HBaseSource, bool) { +// AsMongoDbSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsGreenplumSource() (*GreenplumSource, bool) { - return nil, false +// AsCassandraSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsCassandraSource() (*CassandraSource, bool) { + return &cs, true } -// AsGoogleBigQuerySource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsWebSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsEloquaSource() (*EloquaSource, bool) { +// AsTeradataSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsDrillSource() (*DrillSource, bool) { +// AsOracleSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsConcurSource() (*ConcurSource, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsHdfsSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsFileSystemSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsHTTPSource() (*HTTPSource, bool) { +// AsSQLDWSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsSQLMISource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsOffice365Source() (*Office365Source, bool) { +// AsSQLServerSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsSQLSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsRestSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsSapTableSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsCassandraSource() (*CassandraSource, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsWebSource() (*WebSource, bool) { +// AsSapHanaSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsOracleSource() (*OracleSource, bool) { +// AsSapEccSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsHdfsSource() (*HdfsSource, bool) { +// AsSalesforceSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsODataSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsSybaseSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsMySQLSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsSQLSource() (*SQLSource, bool) { +// AsOdbcSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsRestSource() (*RestSource, bool) { +// AsDb2Source is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsSapTableSource() (*SapTableSource, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsInformixSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsRelationalSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsSapEccSource() (*SapEccSource, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsDynamicsSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsRelationalSource() (*RelationalSource, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsBlobSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsAzureTableSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsBlobSource() (*BlobSource, bool) { +// AsBinarySource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsDelimitedTextSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsParquetSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsParquetSource() (*ParquetSource, bool) { +// AsCopySource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsCopySource() (*CopySource, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsCopySource() (*CopySource, bool) { - return &cs, true -} - -// AsBasicCopySource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsBasicCopySource() (BasicCopySource, bool) { +// AsBasicCopySource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsBasicCopySource() (BasicCopySource, bool) { return &cs, true } -// UnmarshalJSON is the custom unmarshaler for CopySource struct. -func (cs *CopySource) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for CassandraSource struct. +func (cs *CassandraSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -37384,6 +38661,24 @@ func (cs *CopySource) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { + case "query": + if v != nil { + var query interface{} + err = json.Unmarshal(*v, &query) + if err != nil { + return err + } + cs.Query = query + } + case "consistencyLevel": + if v != nil { + var consistencyLevel CassandraSourceReadConsistencyLevels + err = json.Unmarshal(*v, &consistencyLevel) + if err != nil { + return err + } + cs.ConsistencyLevel = consistencyLevel + } default: if v != nil { var additionalProperties interface{} @@ -37438,484 +38733,469 @@ func (cs *CopySource) UnmarshalJSON(body []byte) error { return nil } -// CosmosDbLinkedService microsoft Azure Cosmos Database (CosmosDB) linked service. -type CosmosDbLinkedService struct { - // CosmosDbLinkedServiceTypeProperties - CosmosDB linked service properties. - *CosmosDbLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// CassandraTableDataset the Cassandra database dataset. +type CassandraTableDataset struct { + // CassandraTableDatasetTypeProperties - Cassandra dataset properties. + *CassandraTableDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. + // Description - Dataset description. Description *string `json:"description,omitempty"` - // Parameters - Parameters for linked service. + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the linked service. + // Annotations - List of tags that can be used for describing the Dataset. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) MarshalJSON() ([]byte, error) { - cdls.Type = TypeCosmosDb +// MarshalJSON is the custom marshaler for CassandraTableDataset. +func (ctd CassandraTableDataset) MarshalJSON() ([]byte, error) { + ctd.Type = TypeCassandraTable objectMap := make(map[string]interface{}) - if cdls.CosmosDbLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = cdls.CosmosDbLinkedServiceTypeProperties + if ctd.CassandraTableDatasetTypeProperties != nil { + objectMap["typeProperties"] = ctd.CassandraTableDatasetTypeProperties } - if cdls.ConnectVia != nil { - objectMap["connectVia"] = cdls.ConnectVia + if ctd.Description != nil { + objectMap["description"] = ctd.Description } - if cdls.Description != nil { - objectMap["description"] = cdls.Description + if ctd.Structure != nil { + objectMap["structure"] = ctd.Structure } - if cdls.Parameters != nil { - objectMap["parameters"] = cdls.Parameters + if ctd.Schema != nil { + objectMap["schema"] = ctd.Schema } - if cdls.Annotations != nil { - objectMap["annotations"] = cdls.Annotations + if ctd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = ctd.LinkedServiceName } - if cdls.Type != "" { - objectMap["type"] = cdls.Type + if ctd.Parameters != nil { + objectMap["parameters"] = ctd.Parameters } - for k, v := range cdls.AdditionalProperties { + if ctd.Annotations != nil { + objectMap["annotations"] = ctd.Annotations + } + if ctd.Folder != nil { + objectMap["folder"] = ctd.Folder + } + if ctd.Type != "" { + objectMap["type"] = ctd.Type + } + for k, v := range ctd.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsSapTableLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { - return nil, false -} - -// AsShopifyLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { - return nil, false -} - -// AsServiceNowLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { - return nil, false -} - -// AsQuickBooksLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { - return nil, false -} - -// AsPrestoLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { - return nil, false -} - -// AsPhoenixLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsDrillTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsHTTPDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsWebTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsRestResourceDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsInformixTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsOracleTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsODataResourceDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsFileShareDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsOffice365Dataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsCustomDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { - return nil, false +// AsCassandraTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { + return &ctd, true } -// AsDynamicsLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { - return &cdls, true -} - -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsAzureTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsBinaryDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsParquetDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAmazonS3Dataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsDataset() (*Dataset, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &cdls, true +// AsBasicDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsBasicDataset() (BasicDataset, bool) { + return &ctd, true } -// UnmarshalJSON is the custom unmarshaler for CosmosDbLinkedService struct. -func (cdls *CosmosDbLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for CassandraTableDataset struct. +func (ctd *CassandraTableDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -37925,12 +39205,12 @@ func (cdls *CosmosDbLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var cosmosDbLinkedServiceTypeProperties CosmosDbLinkedServiceTypeProperties - err = json.Unmarshal(*v, &cosmosDbLinkedServiceTypeProperties) + var cassandraTableDatasetTypeProperties CassandraTableDatasetTypeProperties + err = json.Unmarshal(*v, &cassandraTableDatasetTypeProperties) if err != nil { return err } - cdls.CosmosDbLinkedServiceTypeProperties = &cosmosDbLinkedServiceTypeProperties + ctd.CassandraTableDatasetTypeProperties = &cassandraTableDatasetTypeProperties } default: if v != nil { @@ -37939,28 +39219,46 @@ func (cdls *CosmosDbLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if cdls.AdditionalProperties == nil { - cdls.AdditionalProperties = make(map[string]interface{}) + if ctd.AdditionalProperties == nil { + ctd.AdditionalProperties = make(map[string]interface{}) } - cdls.AdditionalProperties[k] = additionalProperties + ctd.AdditionalProperties[k] = additionalProperties } - case "connectVia": + case "description": if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - cdls.ConnectVia = &connectVia + ctd.Description = &description } - case "description": + case "structure": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var structure interface{} + err = json.Unmarshal(*v, &structure) if err != nil { return err } - cdls.Description = &description + ctd.Structure = structure + } + case "schema": + if v != nil { + var schema interface{} + err = json.Unmarshal(*v, &schema) + if err != nil { + return err + } + ctd.Schema = schema + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + ctd.LinkedServiceName = &linkedServiceName } case "parameters": if v != nil { @@ -37969,7 +39267,7 @@ func (cdls *CosmosDbLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - cdls.Parameters = parameters + ctd.Parameters = parameters } case "annotations": if v != nil { @@ -37978,16 +39276,25 @@ func (cdls *CosmosDbLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - cdls.Annotations = &annotations + ctd.Annotations = &annotations + } + case "folder": + if v != nil { + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) + if err != nil { + return err + } + ctd.Folder = &folder } case "type": if v != nil { - var typeVar TypeBasicLinkedService + var typeVar TypeBasicDataset err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - cdls.Type = typeVar + ctd.Type = typeVar } } } @@ -37995,20 +39302,69 @@ func (cdls *CosmosDbLinkedService) UnmarshalJSON(body []byte) error { return nil } -// CosmosDbLinkedServiceTypeProperties cosmosDB linked service properties. -type CosmosDbLinkedServiceTypeProperties struct { - // ConnectionString - The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. - ConnectionString interface{} `json:"connectionString,omitempty"` - // AccountKey - The Azure key vault secret reference of accountKey in connection string. - AccountKey *AzureKeyVaultSecretReference `json:"accountKey,omitempty"` - // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). - EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` +// CassandraTableDatasetTypeProperties cassandra dataset properties. +type CassandraTableDatasetTypeProperties struct { + // TableName - The table name of the Cassandra database. Type: string (or Expression with resultType string). + TableName interface{} `json:"tableName,omitempty"` + // Keyspace - The keyspace of the Cassandra database. Type: string (or Expression with resultType string). + Keyspace interface{} `json:"keyspace,omitempty"` } -// CosmosDbMongoDbAPICollectionDataset the CosmosDB (MongoDB API) database dataset. -type CosmosDbMongoDbAPICollectionDataset struct { - // CosmosDbMongoDbAPICollectionDatasetTypeProperties - CosmosDB (MongoDB API) database dataset properties. - *CosmosDbMongoDbAPICollectionDatasetTypeProperties `json:"typeProperties,omitempty"` +// CloudError the object that defines the structure of an Azure Data Factory error response. +type CloudError struct { + // CloudErrorBody - Error data + *CloudErrorBody `json:"error,omitempty"` +} + +// MarshalJSON is the custom marshaler for CloudError. +func (ce CloudError) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if ce.CloudErrorBody != nil { + objectMap["error"] = ce.CloudErrorBody + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for CloudError struct. +func (ce *CloudError) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "error": + if v != nil { + var cloudErrorBody CloudErrorBody + err = json.Unmarshal(*v, &cloudErrorBody) + if err != nil { + return err + } + ce.CloudErrorBody = &cloudErrorBody + } + } + } + + return nil +} + +// CloudErrorBody the object that defines the structure of an Azure Data Factory error. +type CloudErrorBody struct { + // Code - Error code. + Code *string `json:"code,omitempty"` + // Message - Error message. + Message *string `json:"message,omitempty"` + // Target - Property name/path in request associated with error. + Target *string `json:"target,omitempty"` + // Details - Array with additional error details. + Details *[]CloudError `json:"details,omitempty"` +} + +// CommonDataServiceForAppsEntityDataset the Common Data Service for Apps entity dataset. +type CommonDataServiceForAppsEntityDataset struct { + // CommonDataServiceForAppsEntityDatasetTypeProperties - Common Data Service for Apps entity dataset properties. + *CommonDataServiceForAppsEntityDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // Description - Dataset description. @@ -38025,394 +39381,449 @@ type CosmosDbMongoDbAPICollectionDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) MarshalJSON() ([]byte, error) { - cdmdacd.Type = TypeCosmosDbMongoDbAPICollection +// MarshalJSON is the custom marshaler for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) MarshalJSON() ([]byte, error) { + cdsfaed.Type = TypeCommonDataServiceForAppsEntity objectMap := make(map[string]interface{}) - if cdmdacd.CosmosDbMongoDbAPICollectionDatasetTypeProperties != nil { - objectMap["typeProperties"] = cdmdacd.CosmosDbMongoDbAPICollectionDatasetTypeProperties + if cdsfaed.CommonDataServiceForAppsEntityDatasetTypeProperties != nil { + objectMap["typeProperties"] = cdsfaed.CommonDataServiceForAppsEntityDatasetTypeProperties } - if cdmdacd.Description != nil { - objectMap["description"] = cdmdacd.Description + if cdsfaed.Description != nil { + objectMap["description"] = cdsfaed.Description } - if cdmdacd.Structure != nil { - objectMap["structure"] = cdmdacd.Structure + if cdsfaed.Structure != nil { + objectMap["structure"] = cdsfaed.Structure } - if cdmdacd.Schema != nil { - objectMap["schema"] = cdmdacd.Schema + if cdsfaed.Schema != nil { + objectMap["schema"] = cdsfaed.Schema } - if cdmdacd.LinkedServiceName != nil { - objectMap["linkedServiceName"] = cdmdacd.LinkedServiceName + if cdsfaed.LinkedServiceName != nil { + objectMap["linkedServiceName"] = cdsfaed.LinkedServiceName } - if cdmdacd.Parameters != nil { - objectMap["parameters"] = cdmdacd.Parameters + if cdsfaed.Parameters != nil { + objectMap["parameters"] = cdsfaed.Parameters } - if cdmdacd.Annotations != nil { - objectMap["annotations"] = cdmdacd.Annotations + if cdsfaed.Annotations != nil { + objectMap["annotations"] = cdsfaed.Annotations } - if cdmdacd.Folder != nil { - objectMap["folder"] = cdmdacd.Folder + if cdsfaed.Folder != nil { + objectMap["folder"] = cdsfaed.Folder } - if cdmdacd.Type != "" { - objectMap["type"] = cdmdacd.Type + if cdsfaed.Type != "" { + objectMap["type"] = cdsfaed.Type } - for k, v := range cdmdacd.AdditionalProperties { + for k, v := range cdsfaed.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsDrillTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsHTTPDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsWebTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsRestResourceDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { - return &cdmdacd, true +// AsOdbcTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { + return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsInformixTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsOracleTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsODataResourceDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsFileShareDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsOffice365Dataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { + return &cdsfaed, true +} + +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsCustomDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsDataset() (*Dataset, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsBasicDataset() (BasicDataset, bool) { - return &cdmdacd, true +// AsAzureSQLDWTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for CosmosDbMongoDbAPICollectionDataset struct. -func (cdmdacd *CosmosDbMongoDbAPICollectionDataset) UnmarshalJSON(body []byte) error { +// AsAzureSQLMITableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + +// AsAzureSQLTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { + return nil, false +} + +// AsAzureTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { + return nil, false +} + +// AsAzureBlobDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { + return nil, false +} + +// AsBinaryDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + +// AsDelimitedTextDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { + return nil, false +} + +// AsParquetDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsBasicDataset() (BasicDataset, bool) { + return &cdsfaed, true +} + +// UnmarshalJSON is the custom unmarshaler for CommonDataServiceForAppsEntityDataset struct. +func (cdsfaed *CommonDataServiceForAppsEntityDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -38422,12 +39833,12 @@ func (cdmdacd *CosmosDbMongoDbAPICollectionDataset) UnmarshalJSON(body []byte) e switch k { case "typeProperties": if v != nil { - var cosmosDbMongoDbAPICollectionDatasetTypeProperties CosmosDbMongoDbAPICollectionDatasetTypeProperties - err = json.Unmarshal(*v, &cosmosDbMongoDbAPICollectionDatasetTypeProperties) + var commonDataServiceForAppsEntityDatasetTypeProperties CommonDataServiceForAppsEntityDatasetTypeProperties + err = json.Unmarshal(*v, &commonDataServiceForAppsEntityDatasetTypeProperties) if err != nil { return err } - cdmdacd.CosmosDbMongoDbAPICollectionDatasetTypeProperties = &cosmosDbMongoDbAPICollectionDatasetTypeProperties + cdsfaed.CommonDataServiceForAppsEntityDatasetTypeProperties = &commonDataServiceForAppsEntityDatasetTypeProperties } default: if v != nil { @@ -38436,10 +39847,10 @@ func (cdmdacd *CosmosDbMongoDbAPICollectionDataset) UnmarshalJSON(body []byte) e if err != nil { return err } - if cdmdacd.AdditionalProperties == nil { - cdmdacd.AdditionalProperties = make(map[string]interface{}) + if cdsfaed.AdditionalProperties == nil { + cdsfaed.AdditionalProperties = make(map[string]interface{}) } - cdmdacd.AdditionalProperties[k] = additionalProperties + cdsfaed.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -38448,7 +39859,7 @@ func (cdmdacd *CosmosDbMongoDbAPICollectionDataset) UnmarshalJSON(body []byte) e if err != nil { return err } - cdmdacd.Description = &description + cdsfaed.Description = &description } case "structure": if v != nil { @@ -38457,7 +39868,7 @@ func (cdmdacd *CosmosDbMongoDbAPICollectionDataset) UnmarshalJSON(body []byte) e if err != nil { return err } - cdmdacd.Structure = structure + cdsfaed.Structure = structure } case "schema": if v != nil { @@ -38466,7 +39877,7 @@ func (cdmdacd *CosmosDbMongoDbAPICollectionDataset) UnmarshalJSON(body []byte) e if err != nil { return err } - cdmdacd.Schema = schema + cdsfaed.Schema = schema } case "linkedServiceName": if v != nil { @@ -38475,7 +39886,7 @@ func (cdmdacd *CosmosDbMongoDbAPICollectionDataset) UnmarshalJSON(body []byte) e if err != nil { return err } - cdmdacd.LinkedServiceName = &linkedServiceName + cdsfaed.LinkedServiceName = &linkedServiceName } case "parameters": if v != nil { @@ -38484,7 +39895,7 @@ func (cdmdacd *CosmosDbMongoDbAPICollectionDataset) UnmarshalJSON(body []byte) e if err != nil { return err } - cdmdacd.Parameters = parameters + cdsfaed.Parameters = parameters } case "annotations": if v != nil { @@ -38493,7 +39904,7 @@ func (cdmdacd *CosmosDbMongoDbAPICollectionDataset) UnmarshalJSON(body []byte) e if err != nil { return err } - cdmdacd.Annotations = &annotations + cdsfaed.Annotations = &annotations } case "folder": if v != nil { @@ -38502,7 +39913,7 @@ func (cdmdacd *CosmosDbMongoDbAPICollectionDataset) UnmarshalJSON(body []byte) e if err != nil { return err } - cdmdacd.Folder = &folder + cdsfaed.Folder = &folder } case "type": if v != nil { @@ -38511,7 +39922,7 @@ func (cdmdacd *CosmosDbMongoDbAPICollectionDataset) UnmarshalJSON(body []byte) e if err != nil { return err } - cdmdacd.Type = typeVar + cdsfaed.Type = typeVar } } } @@ -38519,16 +39930,17 @@ func (cdmdacd *CosmosDbMongoDbAPICollectionDataset) UnmarshalJSON(body []byte) e return nil } -// CosmosDbMongoDbAPICollectionDatasetTypeProperties cosmosDB (MongoDB API) database dataset properties. -type CosmosDbMongoDbAPICollectionDatasetTypeProperties struct { - // Collection - The collection name of the CosmosDB (MongoDB API) database. Type: string (or Expression with resultType string). - Collection interface{} `json:"collection,omitempty"` +// CommonDataServiceForAppsEntityDatasetTypeProperties common Data Service for Apps entity dataset +// properties. +type CommonDataServiceForAppsEntityDatasetTypeProperties struct { + // EntityName - The logical name of the entity. Type: string (or Expression with resultType string). + EntityName interface{} `json:"entityName,omitempty"` } -// CosmosDbMongoDbAPILinkedService linked service for CosmosDB (MongoDB API) data source. -type CosmosDbMongoDbAPILinkedService struct { - // CosmosDbMongoDbAPILinkedServiceTypeProperties - CosmosDB (MongoDB API) linked service properties. - *CosmosDbMongoDbAPILinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// CommonDataServiceForAppsLinkedService common Data Service for Apps linked service. +type CommonDataServiceForAppsLinkedService struct { + // CommonDataServiceForAppsLinkedServiceTypeProperties - Common Data Service for Apps linked service properties. + *CommonDataServiceForAppsLinkedServiceTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // ConnectVia - The integration runtime reference. @@ -38539,470 +39951,500 @@ type CosmosDbMongoDbAPILinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) MarshalJSON() ([]byte, error) { - cdmdals.Type = TypeCosmosDbMongoDbAPI +// MarshalJSON is the custom marshaler for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) MarshalJSON() ([]byte, error) { + cdsfals.Type = TypeCommonDataServiceForApps objectMap := make(map[string]interface{}) - if cdmdals.CosmosDbMongoDbAPILinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = cdmdals.CosmosDbMongoDbAPILinkedServiceTypeProperties + if cdsfals.CommonDataServiceForAppsLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = cdsfals.CommonDataServiceForAppsLinkedServiceTypeProperties } - if cdmdals.ConnectVia != nil { - objectMap["connectVia"] = cdmdals.ConnectVia + if cdsfals.ConnectVia != nil { + objectMap["connectVia"] = cdsfals.ConnectVia } - if cdmdals.Description != nil { - objectMap["description"] = cdmdals.Description + if cdsfals.Description != nil { + objectMap["description"] = cdsfals.Description } - if cdmdals.Parameters != nil { - objectMap["parameters"] = cdmdals.Parameters + if cdsfals.Parameters != nil { + objectMap["parameters"] = cdsfals.Parameters } - if cdmdals.Annotations != nil { - objectMap["annotations"] = cdmdals.Annotations + if cdsfals.Annotations != nil { + objectMap["annotations"] = cdsfals.Annotations } - if cdmdals.Type != "" { - objectMap["type"] = cdmdals.Type + if cdsfals.Type != "" { + objectMap["type"] = cdsfals.Type } - for k, v := range cdmdals.AdditionalProperties { + for k, v := range cdsfals.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsSapTableLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { - return &cdmdals, true +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { + return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return &cdsfals, true +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsLinkedService() (*LinkedService, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &cdmdals, true +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for CosmosDbMongoDbAPILinkedService struct. -func (cdmdals *CosmosDbMongoDbAPILinkedService) UnmarshalJSON(body []byte) error { +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &cdsfals, true +} + +// UnmarshalJSON is the custom unmarshaler for CommonDataServiceForAppsLinkedService struct. +func (cdsfals *CommonDataServiceForAppsLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -39012,12 +40454,12 @@ func (cdmdals *CosmosDbMongoDbAPILinkedService) UnmarshalJSON(body []byte) error switch k { case "typeProperties": if v != nil { - var cosmosDbMongoDbAPILinkedServiceTypeProperties CosmosDbMongoDbAPILinkedServiceTypeProperties - err = json.Unmarshal(*v, &cosmosDbMongoDbAPILinkedServiceTypeProperties) + var commonDataServiceForAppsLinkedServiceTypeProperties CommonDataServiceForAppsLinkedServiceTypeProperties + err = json.Unmarshal(*v, &commonDataServiceForAppsLinkedServiceTypeProperties) if err != nil { return err } - cdmdals.CosmosDbMongoDbAPILinkedServiceTypeProperties = &cosmosDbMongoDbAPILinkedServiceTypeProperties + cdsfals.CommonDataServiceForAppsLinkedServiceTypeProperties = &commonDataServiceForAppsLinkedServiceTypeProperties } default: if v != nil { @@ -39026,10 +40468,10 @@ func (cdmdals *CosmosDbMongoDbAPILinkedService) UnmarshalJSON(body []byte) error if err != nil { return err } - if cdmdals.AdditionalProperties == nil { - cdmdals.AdditionalProperties = make(map[string]interface{}) + if cdsfals.AdditionalProperties == nil { + cdsfals.AdditionalProperties = make(map[string]interface{}) } - cdmdals.AdditionalProperties[k] = additionalProperties + cdsfals.AdditionalProperties[k] = additionalProperties } case "connectVia": if v != nil { @@ -39038,7 +40480,7 @@ func (cdmdals *CosmosDbMongoDbAPILinkedService) UnmarshalJSON(body []byte) error if err != nil { return err } - cdmdals.ConnectVia = &connectVia + cdsfals.ConnectVia = &connectVia } case "description": if v != nil { @@ -39047,7 +40489,7 @@ func (cdmdals *CosmosDbMongoDbAPILinkedService) UnmarshalJSON(body []byte) error if err != nil { return err } - cdmdals.Description = &description + cdsfals.Description = &description } case "parameters": if v != nil { @@ -39056,7 +40498,7 @@ func (cdmdals *CosmosDbMongoDbAPILinkedService) UnmarshalJSON(body []byte) error if err != nil { return err } - cdmdals.Parameters = parameters + cdsfals.Parameters = parameters } case "annotations": if v != nil { @@ -39065,7 +40507,7 @@ func (cdmdals *CosmosDbMongoDbAPILinkedService) UnmarshalJSON(body []byte) error if err != nil { return err } - cdmdals.Annotations = &annotations + cdsfals.Annotations = &annotations } case "type": if v != nil { @@ -39074,7 +40516,7 @@ func (cdmdals *CosmosDbMongoDbAPILinkedService) UnmarshalJSON(body []byte) error if err != nil { return err } - cdmdals.Type = typeVar + cdsfals.Type = typeVar } } } @@ -39082,18 +40524,130 @@ func (cdmdals *CosmosDbMongoDbAPILinkedService) UnmarshalJSON(body []byte) error return nil } -// CosmosDbMongoDbAPILinkedServiceTypeProperties cosmosDB (MongoDB API) linked service properties. -type CosmosDbMongoDbAPILinkedServiceTypeProperties struct { - // ConnectionString - The CosmosDB (MongoDB API) connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference. - ConnectionString interface{} `json:"connectionString,omitempty"` - // Database - The name of the CosmosDB (MongoDB API) database that you want to access. Type: string (or Expression with resultType string). - Database interface{} `json:"database,omitempty"` +// CommonDataServiceForAppsLinkedServiceTypeProperties common Data Service for Apps linked service +// properties. +type CommonDataServiceForAppsLinkedServiceTypeProperties struct { + // DeploymentType - The deployment type of the Common Data Service for Apps instance. 'Online' for Common Data Service for Apps Online and 'OnPremisesWithIfd' for Common Data Service for Apps on-premises with Ifd. Type: string (or Expression with resultType string). Possible values include: 'Online', 'OnPremisesWithIfd' + DeploymentType DynamicsDeploymentType `json:"deploymentType,omitempty"` + // HostName - The host name of the on-premises Common Data Service for Apps server. The property is required for on-prem and not allowed for online. Type: string (or Expression with resultType string). + HostName interface{} `json:"hostName,omitempty"` + // Port - The port of on-premises Common Data Service for Apps server. The property is required for on-prem and not allowed for online. Default is 443. Type: integer (or Expression with resultType integer), minimum: 0. + Port interface{} `json:"port,omitempty"` + // ServiceURI - The URL to the Microsoft Common Data Service for Apps server. The property is required for on-line and not allowed for on-prem. Type: string (or Expression with resultType string). + ServiceURI interface{} `json:"serviceUri,omitempty"` + // OrganizationName - The organization name of the Common Data Service for Apps instance. The property is required for on-prem and required for online when there are more than one Common Data Service for Apps instances associated with the user. Type: string (or Expression with resultType string). + OrganizationName interface{} `json:"organizationName,omitempty"` + // AuthenticationType - The authentication type to connect to Common Data Service for Apps server. 'Office365' for online scenario, 'Ifd' for on-premises with Ifd scenario. Type: string (or Expression with resultType string). Possible values include: 'Office365', 'Ifd' + AuthenticationType DynamicsAuthenticationType `json:"authenticationType,omitempty"` + // Username - User name to access the Common Data Service for Apps instance. Type: string (or Expression with resultType string). + Username interface{} `json:"username,omitempty"` + // Password - Password to access the Common Data Service for Apps instance. + Password BasicSecretBase `json:"password,omitempty"` + // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` } -// CosmosDbMongoDbAPISink a copy activity sink for a CosmosDB (MongoDB API) database. -type CosmosDbMongoDbAPISink struct { - // WriteBehavior - 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). - WriteBehavior interface{} `json:"writeBehavior,omitempty"` +// UnmarshalJSON is the custom unmarshaler for CommonDataServiceForAppsLinkedServiceTypeProperties struct. +func (cdsfalstp *CommonDataServiceForAppsLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "deploymentType": + if v != nil { + var deploymentType DynamicsDeploymentType + err = json.Unmarshal(*v, &deploymentType) + if err != nil { + return err + } + cdsfalstp.DeploymentType = deploymentType + } + case "hostName": + if v != nil { + var hostName interface{} + err = json.Unmarshal(*v, &hostName) + if err != nil { + return err + } + cdsfalstp.HostName = hostName + } + case "port": + if v != nil { + var port interface{} + err = json.Unmarshal(*v, &port) + if err != nil { + return err + } + cdsfalstp.Port = port + } + case "serviceUri": + if v != nil { + var serviceURI interface{} + err = json.Unmarshal(*v, &serviceURI) + if err != nil { + return err + } + cdsfalstp.ServiceURI = serviceURI + } + case "organizationName": + if v != nil { + var organizationName interface{} + err = json.Unmarshal(*v, &organizationName) + if err != nil { + return err + } + cdsfalstp.OrganizationName = organizationName + } + case "authenticationType": + if v != nil { + var authenticationType DynamicsAuthenticationType + err = json.Unmarshal(*v, &authenticationType) + if err != nil { + return err + } + cdsfalstp.AuthenticationType = authenticationType + } + case "username": + if v != nil { + var username interface{} + err = json.Unmarshal(*v, &username) + if err != nil { + return err + } + cdsfalstp.Username = username + } + case "password": + if v != nil { + password, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + cdsfalstp.Password = password + } + case "encryptedCredential": + if v != nil { + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) + if err != nil { + return err + } + cdsfalstp.EncryptedCredential = encryptedCredential + } + } + } + + return nil +} + +// CommonDataServiceForAppsSink a copy activity Common Data Service for Apps sink. +type CommonDataServiceForAppsSink struct { + // WriteBehavior - The write behavior for the operation. + WriteBehavior *string `json:"writeBehavior,omitempty"` + // IgnoreNullValues - 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). + IgnoreNullValues interface{} `json:"ignoreNullValues,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. @@ -39106,173 +40660,225 @@ type CosmosDbMongoDbAPISink struct { SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeDelimitedTextSink' + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) MarshalJSON() ([]byte, error) { - cdmdas.Type = TypeCosmosDbMongoDbAPISink +// MarshalJSON is the custom marshaler for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) MarshalJSON() ([]byte, error) { + cdsfas.Type = TypeCommonDataServiceForAppsSink objectMap := make(map[string]interface{}) - if cdmdas.WriteBehavior != nil { - objectMap["writeBehavior"] = cdmdas.WriteBehavior + if cdsfas.WriteBehavior != nil { + objectMap["writeBehavior"] = cdsfas.WriteBehavior } - if cdmdas.WriteBatchSize != nil { - objectMap["writeBatchSize"] = cdmdas.WriteBatchSize + if cdsfas.IgnoreNullValues != nil { + objectMap["ignoreNullValues"] = cdsfas.IgnoreNullValues } - if cdmdas.WriteBatchTimeout != nil { - objectMap["writeBatchTimeout"] = cdmdas.WriteBatchTimeout + if cdsfas.WriteBatchSize != nil { + objectMap["writeBatchSize"] = cdsfas.WriteBatchSize } - if cdmdas.SinkRetryCount != nil { - objectMap["sinkRetryCount"] = cdmdas.SinkRetryCount + if cdsfas.WriteBatchTimeout != nil { + objectMap["writeBatchTimeout"] = cdsfas.WriteBatchTimeout } - if cdmdas.SinkRetryWait != nil { - objectMap["sinkRetryWait"] = cdmdas.SinkRetryWait + if cdsfas.SinkRetryCount != nil { + objectMap["sinkRetryCount"] = cdsfas.SinkRetryCount } - if cdmdas.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = cdmdas.MaxConcurrentConnections + if cdsfas.SinkRetryWait != nil { + objectMap["sinkRetryWait"] = cdsfas.SinkRetryWait } - if cdmdas.Type != "" { - objectMap["type"] = cdmdas.Type + if cdsfas.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = cdsfas.MaxConcurrentConnections } - for k, v := range cdmdas.AdditionalProperties { + if cdsfas.Type != "" { + objectMap["type"] = cdsfas.Type + } + for k, v := range cdsfas.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { - return &cdmdas, true +// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { + return nil, false } -// AsSalesforceSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsSalesforceSink() (*SalesforceSink, bool) { +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { return nil, false } -// AsAzureDataExplorerSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { +// AsSalesforceSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsSalesforceSink() (*SalesforceSink, bool) { return nil, false } -// AsDynamicsSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsDynamicsSink() (*DynamicsSink, bool) { +// AsAzureDataExplorerSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { return nil, false } -// AsOdbcSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsOdbcSink() (*OdbcSink, bool) { +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { + return &cdsfas, true +} + +// AsDynamicsCrmSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { return nil, false } -// AsAzureSearchIndexSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { +// AsDynamicsSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsDynamicsSink() (*DynamicsSink, bool) { return nil, false } -// AsAzureBlobFSSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { +// AsMicrosoftAccessSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { return nil, false } -// AsAzureDataLakeStoreSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { +// AsInformixSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsInformixSink() (*InformixSink, bool) { return nil, false } -// AsOracleSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsOracleSink() (*OracleSink, bool) { +// AsOdbcSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsOdbcSink() (*OdbcSink, bool) { return nil, false } -// AsSQLDWSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsSQLDWSink() (*SQLDWSink, bool) { +// AsAzureSearchIndexSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { return nil, false } -// AsAzureSQLSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsAzureSQLSink() (*AzureSQLSink, bool) { +// AsAzureBlobFSSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { return nil, false } -// AsSQLServerSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsSQLServerSink() (*SQLServerSink, bool) { +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { return nil, false } -// AsSQLSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsSQLSink() (*SQLSink, bool) { +// AsOracleSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsOracleSink() (*OracleSink, bool) { return nil, false } -// AsDocumentDbCollectionSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { +// AsSQLDWSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false } -// AsFileSystemSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsFileSystemSink() (*FileSystemSink, bool) { +// AsSQLMISink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsSQLMISink() (*SQLMISink, bool) { return nil, false } -// AsBlobSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsBlobSink() (*BlobSink, bool) { +// AsAzureSQLSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsAzureSQLSink() (*AzureSQLSink, bool) { return nil, false } -// AsParquetSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsParquetSink() (*ParquetSink, bool) { +// AsSQLServerSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsSQLServerSink() (*SQLServerSink, bool) { return nil, false } -// AsAzureTableSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsAzureTableSink() (*AzureTableSink, bool) { +// AsSQLSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsSQLSink() (*SQLSink, bool) { return nil, false } -// AsAzureQueueSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsAzureQueueSink() (*AzureQueueSink, bool) { +// AsDocumentDbCollectionSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { return nil, false } -// AsSapCloudForCustomerSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { +// AsFileSystemSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsFileSystemSink() (*FileSystemSink, bool) { return nil, false } -// AsDelimitedTextSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { +// AsBlobSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsBlobSink() (*BlobSink, bool) { return nil, false } -// AsCopySink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsCopySink() (*CopySink, bool) { +// AsBinarySink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsBinarySink() (*BinarySink, bool) { return nil, false } -// AsBasicCopySink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsBasicCopySink() (BasicCopySink, bool) { - return &cdmdas, true +// AsParquetSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsParquetSink() (*ParquetSink, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for CosmosDbMongoDbAPISink struct. -func (cdmdas *CosmosDbMongoDbAPISink) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { +// AsAzureTableSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsAzureTableSink() (*AzureTableSink, bool) { + return nil, false +} + +// AsAzureQueueSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsAzureQueueSink() (*AzureQueueSink, bool) { + return nil, false +} + +// AsSapCloudForCustomerSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { + return nil, false +} + +// AsAzurePostgreSQLSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { + return nil, false +} + +// AsDelimitedTextSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { + return nil, false +} + +// AsCopySink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsCopySink() (*CopySink, bool) { + return nil, false +} + +// AsBasicCopySink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsBasicCopySink() (BasicCopySink, bool) { + return &cdsfas, true +} + +// UnmarshalJSON is the custom unmarshaler for CommonDataServiceForAppsSink struct. +func (cdsfas *CommonDataServiceForAppsSink) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { return err } for k, v := range m { switch k { case "writeBehavior": if v != nil { - var writeBehavior interface{} + var writeBehavior string err = json.Unmarshal(*v, &writeBehavior) if err != nil { return err } - cdmdas.WriteBehavior = writeBehavior + cdsfas.WriteBehavior = &writeBehavior + } + case "ignoreNullValues": + if v != nil { + var ignoreNullValues interface{} + err = json.Unmarshal(*v, &ignoreNullValues) + if err != nil { + return err + } + cdsfas.IgnoreNullValues = ignoreNullValues } default: if v != nil { @@ -39281,10 +40887,10 @@ func (cdmdas *CosmosDbMongoDbAPISink) UnmarshalJSON(body []byte) error { if err != nil { return err } - if cdmdas.AdditionalProperties == nil { - cdmdas.AdditionalProperties = make(map[string]interface{}) + if cdsfas.AdditionalProperties == nil { + cdsfas.AdditionalProperties = make(map[string]interface{}) } - cdmdas.AdditionalProperties[k] = additionalProperties + cdsfas.AdditionalProperties[k] = additionalProperties } case "writeBatchSize": if v != nil { @@ -39293,7 +40899,7 @@ func (cdmdas *CosmosDbMongoDbAPISink) UnmarshalJSON(body []byte) error { if err != nil { return err } - cdmdas.WriteBatchSize = writeBatchSize + cdsfas.WriteBatchSize = writeBatchSize } case "writeBatchTimeout": if v != nil { @@ -39302,7 +40908,7 @@ func (cdmdas *CosmosDbMongoDbAPISink) UnmarshalJSON(body []byte) error { if err != nil { return err } - cdmdas.WriteBatchTimeout = writeBatchTimeout + cdsfas.WriteBatchTimeout = writeBatchTimeout } case "sinkRetryCount": if v != nil { @@ -39311,7 +40917,7 @@ func (cdmdas *CosmosDbMongoDbAPISink) UnmarshalJSON(body []byte) error { if err != nil { return err } - cdmdas.SinkRetryCount = sinkRetryCount + cdsfas.SinkRetryCount = sinkRetryCount } case "sinkRetryWait": if v != nil { @@ -39320,7 +40926,7 @@ func (cdmdas *CosmosDbMongoDbAPISink) UnmarshalJSON(body []byte) error { if err != nil { return err } - cdmdas.SinkRetryWait = sinkRetryWait + cdsfas.SinkRetryWait = sinkRetryWait } case "maxConcurrentConnections": if v != nil { @@ -39329,7 +40935,7 @@ func (cdmdas *CosmosDbMongoDbAPISink) UnmarshalJSON(body []byte) error { if err != nil { return err } - cdmdas.MaxConcurrentConnections = maxConcurrentConnections + cdsfas.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { @@ -39338,7 +40944,7 @@ func (cdmdas *CosmosDbMongoDbAPISink) UnmarshalJSON(body []byte) error { if err != nil { return err } - cdmdas.Type = typeVar + cdsfas.Type = typeVar } } } @@ -39346,14 +40952,10 @@ func (cdmdas *CosmosDbMongoDbAPISink) UnmarshalJSON(body []byte) error { return nil } -// CosmosDbMongoDbAPISource a copy activity source for a CosmosDB (MongoDB API) database. -type CosmosDbMongoDbAPISource struct { - // Filter - Specifies selection filter using query operators. To return all documents in a collection, omit this parameter or pass an empty document ({}). Type: string (or Expression with resultType string). - Filter interface{} `json:"filter,omitempty"` - // CursorMethods - Cursor methods for Mongodb query. - CursorMethods *MongoDbCursorMethodsProperties `json:"cursorMethods,omitempty"` - // BatchSize - 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). - BatchSize interface{} `json:"batchSize,omitempty"` +// CommonDataServiceForAppsSource a copy activity Common Data Service for Apps source. +type CommonDataServiceForAppsSource struct { + // Query - 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). + Query interface{} `json:"query,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -39362,383 +40964,447 @@ type CosmosDbMongoDbAPISource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) MarshalJSON() ([]byte, error) { - cdmdas.Type = TypeCosmosDbMongoDbAPISource +// MarshalJSON is the custom marshaler for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) MarshalJSON() ([]byte, error) { + cdsfas.Type = TypeCommonDataServiceForAppsSource objectMap := make(map[string]interface{}) - if cdmdas.Filter != nil { - objectMap["filter"] = cdmdas.Filter - } - if cdmdas.CursorMethods != nil { - objectMap["cursorMethods"] = cdmdas.CursorMethods + if cdsfas.Query != nil { + objectMap["query"] = cdsfas.Query } - if cdmdas.BatchSize != nil { - objectMap["batchSize"] = cdmdas.BatchSize - } - if cdmdas.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = cdmdas.SourceRetryCount + if cdsfas.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = cdsfas.SourceRetryCount } - if cdmdas.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = cdmdas.SourceRetryWait + if cdsfas.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = cdsfas.SourceRetryWait } - if cdmdas.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = cdmdas.MaxConcurrentConnections + if cdsfas.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = cdsfas.MaxConcurrentConnections } - if cdmdas.Type != "" { - objectMap["type"] = cdmdas.Type + if cdsfas.Type != "" { + objectMap["type"] = cdsfas.Type } - for k, v := range cdmdas.AdditionalProperties { + for k, v := range cdsfas.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsResponsysSource() (*ResponsysSource, bool) { +// AsResponsysSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsVerticaSource() (*VerticaSource, bool) { +// AsVerticaSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsNetezzaSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsZohoSource() (*ZohoSource, bool) { +// AsZohoSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsXeroSource() (*XeroSource, bool) { +// AsXeroSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsSquareSource() (*SquareSource, bool) { +// AsSquareSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsSparkSource() (*SparkSource, bool) { +// AsSparkSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsShopifySource() (*ShopifySource, bool) { +// AsShopifySource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsServiceNowSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsPrestoSource() (*PrestoSource, bool) { +// AsPrestoSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsPhoenixSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsPaypalSource() (*PaypalSource, bool) { +// AsPaypalSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsMarketoSource() (*MarketoSource, bool) { +// AsMarketoSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsMariaDBSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsMagentoSource() (*MagentoSource, bool) { +// AsMagentoSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsJiraSource() (*JiraSource, bool) { +// AsJiraSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsImpalaSource() (*ImpalaSource, bool) { +// AsImpalaSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsHubspotSource() (*HubspotSource, bool) { +// AsHubspotSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsHiveSource() (*HiveSource, bool) { +// AsHiveSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsHBaseSource() (*HBaseSource, bool) { +// AsHBaseSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsGreenplumSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsEloquaSource() (*EloquaSource, bool) { +// AsEloquaSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsDrillSource() (*DrillSource, bool) { +// AsDrillSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsConcurSource() (*ConcurSource, bool) { +// AsConcurSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsHTTPSource() (*HTTPSource, bool) { +// AsHTTPSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsOffice365Source() (*Office365Source, bool) { +// AsOffice365Source is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { - return &cdmdas, true +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsMongoDbSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsCassandraSource() (*CassandraSource, bool) { +// AsCassandraSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsWebSource() (*WebSource, bool) { +// AsWebSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsOracleSource() (*OracleSource, bool) { +// AsTeradataSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsOracleSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsHdfsSource() (*HdfsSource, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsHdfsSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsFileSystemSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsSQLDWSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsSQLMISource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsSQLSource() (*SQLSource, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsRestSource() (*RestSource, bool) { +// AsSQLServerSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsSapTableSource() (*SapTableSource, bool) { +// AsSQLSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsRestSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsSapTableSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsSapEccSource() (*SapEccSource, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsSapHanaSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsSapEccSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsRelationalSource() (*RelationalSource, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsSalesforceSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsBlobSource() (*BlobSource, bool) { +// AsODataSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsSybaseSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsParquetSource() (*ParquetSource, bool) { +// AsMySQLSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsCopySource() (*CopySource, bool) { +// AsOdbcSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsBasicCopySource() (BasicCopySource, bool) { - return &cdmdas, true +// AsDb2Source is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsDb2Source() (*Db2Source, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for CosmosDbMongoDbAPISource struct. -func (cdmdas *CosmosDbMongoDbAPISource) UnmarshalJSON(body []byte) error { +// AsMicrosoftAccessSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + +// AsRelationalSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return &cdsfas, true +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + +// AsDynamicsSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + +// AsAzureTableSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsBinarySource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsDelimitedTextSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false +} + +// AsParquetSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsBasicCopySource() (BasicCopySource, bool) { + return &cdsfas, true +} + +// UnmarshalJSON is the custom unmarshaler for CommonDataServiceForAppsSource struct. +func (cdsfas *CommonDataServiceForAppsSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -39746,32 +41412,14 @@ func (cdmdas *CosmosDbMongoDbAPISource) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "filter": - if v != nil { - var filter interface{} - err = json.Unmarshal(*v, &filter) - if err != nil { - return err - } - cdmdas.Filter = filter - } - case "cursorMethods": - if v != nil { - var cursorMethods MongoDbCursorMethodsProperties - err = json.Unmarshal(*v, &cursorMethods) - if err != nil { - return err - } - cdmdas.CursorMethods = &cursorMethods - } - case "batchSize": + case "query": if v != nil { - var batchSize interface{} - err = json.Unmarshal(*v, &batchSize) + var query interface{} + err = json.Unmarshal(*v, &query) if err != nil { return err } - cdmdas.BatchSize = batchSize + cdsfas.Query = query } default: if v != nil { @@ -39780,10 +41428,10 @@ func (cdmdas *CosmosDbMongoDbAPISource) UnmarshalJSON(body []byte) error { if err != nil { return err } - if cdmdas.AdditionalProperties == nil { - cdmdas.AdditionalProperties = make(map[string]interface{}) + if cdsfas.AdditionalProperties == nil { + cdsfas.AdditionalProperties = make(map[string]interface{}) } - cdmdas.AdditionalProperties[k] = additionalProperties + cdsfas.AdditionalProperties[k] = additionalProperties } case "sourceRetryCount": if v != nil { @@ -39792,7 +41440,7 @@ func (cdmdas *CosmosDbMongoDbAPISource) UnmarshalJSON(body []byte) error { if err != nil { return err } - cdmdas.SourceRetryCount = sourceRetryCount + cdsfas.SourceRetryCount = sourceRetryCount } case "sourceRetryWait": if v != nil { @@ -39801,7 +41449,7 @@ func (cdmdas *CosmosDbMongoDbAPISource) UnmarshalJSON(body []byte) error { if err != nil { return err } - cdmdas.SourceRetryWait = sourceRetryWait + cdsfas.SourceRetryWait = sourceRetryWait } case "maxConcurrentConnections": if v != nil { @@ -39810,7 +41458,7 @@ func (cdmdas *CosmosDbMongoDbAPISource) UnmarshalJSON(body []byte) error { if err != nil { return err } - cdmdas.MaxConcurrentConnections = maxConcurrentConnections + cdsfas.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { @@ -39819,7 +41467,7 @@ func (cdmdas *CosmosDbMongoDbAPISource) UnmarshalJSON(body []byte) error { if err != nil { return err } - cdmdas.Type = typeVar + cdsfas.Type = typeVar } } } @@ -39827,10 +41475,10 @@ func (cdmdas *CosmosDbMongoDbAPISource) UnmarshalJSON(body []byte) error { return nil } -// CouchbaseLinkedService couchbase server linked service. -type CouchbaseLinkedService struct { - // CouchbaseLinkedServiceTypeProperties - Couchbase server linked service properties. - *CouchbaseLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// ConcurLinkedService concur Service linked service. +type ConcurLinkedService struct { + // ConcurLinkedServiceTypeProperties - Concur Service linked service properties. + *ConcurLinkedServiceTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // ConnectVia - The integration runtime reference. @@ -39841,16 +41489,16 @@ type CouchbaseLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) MarshalJSON() ([]byte, error) { - cls.Type = TypeCouchbase +// MarshalJSON is the custom marshaler for ConcurLinkedService. +func (cls ConcurLinkedService) MarshalJSON() ([]byte, error) { + cls.Type = TypeConcur objectMap := make(map[string]interface{}) - if cls.CouchbaseLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = cls.CouchbaseLinkedServiceTypeProperties + if cls.ConcurLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = cls.ConcurLinkedServiceTypeProperties } if cls.ConnectVia != nil { objectMap["connectVia"] = cls.ConnectVia @@ -39873,438 +41521,468 @@ func (cls CouchbaseLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsSapTableLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { + return nil, false +} + +// AsConcurLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return &cls, true } -// AsConcurLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { return &cls, true } -// UnmarshalJSON is the custom unmarshaler for CouchbaseLinkedService struct. -func (cls *CouchbaseLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for ConcurLinkedService struct. +func (cls *ConcurLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -40314,12 +41992,12 @@ func (cls *CouchbaseLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var couchbaseLinkedServiceTypeProperties CouchbaseLinkedServiceTypeProperties - err = json.Unmarshal(*v, &couchbaseLinkedServiceTypeProperties) + var concurLinkedServiceTypeProperties ConcurLinkedServiceTypeProperties + err = json.Unmarshal(*v, &concurLinkedServiceTypeProperties) if err != nil { return err } - cls.CouchbaseLinkedServiceTypeProperties = &couchbaseLinkedServiceTypeProperties + cls.ConcurLinkedServiceTypeProperties = &concurLinkedServiceTypeProperties } default: if v != nil { @@ -40384,399 +42062,564 @@ func (cls *CouchbaseLinkedService) UnmarshalJSON(body []byte) error { return nil } -// CouchbaseLinkedServiceTypeProperties couchbase server linked service properties. -type CouchbaseLinkedServiceTypeProperties struct { - // ConnectionString - An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. - ConnectionString interface{} `json:"connectionString,omitempty"` - // CredString - The Azure key vault secret reference of credString in connection string. - CredString *AzureKeyVaultSecretReference `json:"credString,omitempty"` +// ConcurLinkedServiceTypeProperties concur Service linked service properties. +type ConcurLinkedServiceTypeProperties struct { + // ClientID - Application client_id supplied by Concur App Management. + ClientID interface{} `json:"clientId,omitempty"` + // Username - The user name that you use to access Concur Service. + Username interface{} `json:"username,omitempty"` + // Password - The password corresponding to the user name that you provided in the username field. + Password BasicSecretBase `json:"password,omitempty"` + // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. + UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"` + // UseHostVerification - 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. + UseHostVerification interface{} `json:"useHostVerification,omitempty"` + // UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. + UsePeerVerification interface{} `json:"usePeerVerification,omitempty"` // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` } -// CouchbaseSource a copy activity Couchbase server source. -type CouchbaseSource struct { - // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). - Query interface{} `json:"query,omitempty"` +// UnmarshalJSON is the custom unmarshaler for ConcurLinkedServiceTypeProperties struct. +func (clstp *ConcurLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "clientId": + if v != nil { + var clientID interface{} + err = json.Unmarshal(*v, &clientID) + if err != nil { + return err + } + clstp.ClientID = clientID + } + case "username": + if v != nil { + var username interface{} + err = json.Unmarshal(*v, &username) + if err != nil { + return err + } + clstp.Username = username + } + case "password": + if v != nil { + password, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + clstp.Password = password + } + case "useEncryptedEndpoints": + if v != nil { + var useEncryptedEndpoints interface{} + err = json.Unmarshal(*v, &useEncryptedEndpoints) + if err != nil { + return err + } + clstp.UseEncryptedEndpoints = useEncryptedEndpoints + } + case "useHostVerification": + if v != nil { + var useHostVerification interface{} + err = json.Unmarshal(*v, &useHostVerification) + if err != nil { + return err + } + clstp.UseHostVerification = useHostVerification + } + case "usePeerVerification": + if v != nil { + var usePeerVerification interface{} + err = json.Unmarshal(*v, &usePeerVerification) + if err != nil { + return err + } + clstp.UsePeerVerification = usePeerVerification + } + case "encryptedCredential": + if v != nil { + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) + if err != nil { + return err + } + clstp.EncryptedCredential = encryptedCredential + } + } + } + + return nil +} + +// ConcurObjectDataset concur Service dataset. +type ConcurObjectDataset struct { + // GenericDatasetTypeProperties - Properties specific to this dataset type. + *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). - SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` - // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' - Type TypeBasicCopySource `json:"type,omitempty"` + // Description - Dataset description. + Description *string `json:"description,omitempty"` + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for CouchbaseSource. -func (cs CouchbaseSource) MarshalJSON() ([]byte, error) { - cs.Type = TypeCouchbaseSource +// MarshalJSON is the custom marshaler for ConcurObjectDataset. +func (cod ConcurObjectDataset) MarshalJSON() ([]byte, error) { + cod.Type = TypeConcurObject objectMap := make(map[string]interface{}) - if cs.Query != nil { - objectMap["query"] = cs.Query + if cod.GenericDatasetTypeProperties != nil { + objectMap["typeProperties"] = cod.GenericDatasetTypeProperties } - if cs.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = cs.SourceRetryCount + if cod.Description != nil { + objectMap["description"] = cod.Description } - if cs.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = cs.SourceRetryWait + if cod.Structure != nil { + objectMap["structure"] = cod.Structure } - if cs.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = cs.MaxConcurrentConnections + if cod.Schema != nil { + objectMap["schema"] = cod.Schema } - if cs.Type != "" { - objectMap["type"] = cs.Type + if cod.LinkedServiceName != nil { + objectMap["linkedServiceName"] = cod.LinkedServiceName } - for k, v := range cs.AdditionalProperties { + if cod.Parameters != nil { + objectMap["parameters"] = cod.Parameters + } + if cod.Annotations != nil { + objectMap["annotations"] = cod.Annotations + } + if cod.Folder != nil { + objectMap["folder"] = cod.Folder + } + if cod.Type != "" { + objectMap["type"] = cod.Type + } + for k, v := range cod.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsVerticaSource() (*VerticaSource, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsZohoSource() (*ZohoSource, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsXeroSource() (*XeroSource, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsSquareSource() (*SquareSource, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsSparkSource() (*SparkSource, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsShopifySource() (*ShopifySource, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsPrestoSource() (*PrestoSource, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsPaypalSource() (*PaypalSource, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsMarketoSource() (*MarketoSource, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsMagentoSource() (*MagentoSource, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsJiraSource() (*JiraSource, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsHubspotSource() (*HubspotSource, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsHiveSource() (*HiveSource, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsHBaseSource() (*HBaseSource, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsEloquaSource() (*EloquaSource, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsDrillSource() (*DrillSource, bool) { +// AsDrillTableDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsCouchbaseSource() (*CouchbaseSource, bool) { - return &cs, true +// AsCouchbaseTableDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { + return nil, false } -// AsConcurSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsConcurSource() (*ConcurSource, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { + return &cod, true +} + +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsHTTPDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsHTTPSource() (*HTTPSource, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsWebTableDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsOffice365Source() (*Office365Source, bool) { +// AsRestResourceDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsCassandraSource() (*CassandraSource, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsWebSource() (*WebSource, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsOracleSource() (*OracleSource, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsHdfsSource() (*HdfsSource, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsInformixTableDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsSQLSource() (*SQLSource, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsRestSource() (*RestSource, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsSapTableSource() (*SapTableSource, bool) { +// AsOracleTableDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsODataResourceDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsSapEccSource() (*SapEccSource, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsFileShareDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsRelationalSource() (*RelationalSource, bool) { +// AsOffice365Dataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsBlobSource() (*BlobSource, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsParquetSource() (*ParquetSource, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsCopySource() (*CopySource, bool) { +// AsCustomDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsBasicCopySource() (BasicCopySource, bool) { - return &cs, true +// AsCassandraTableDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for CouchbaseSource struct. -func (cs *CouchbaseSource) UnmarshalJSON(body []byte) error { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { + return nil, false +} + +// AsAzureSQLMITableDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + +// AsAzureSQLTableDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { + return nil, false +} + +// AsAzureTableDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { + return nil, false +} + +// AsAzureBlobDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { + return nil, false +} + +// AsBinaryDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + +// AsDelimitedTextDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { + return nil, false +} + +// AsParquetDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsBasicDataset() (BasicDataset, bool) { + return &cod, true +} + +// UnmarshalJSON is the custom unmarshaler for ConcurObjectDataset struct. +func (cod *ConcurObjectDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -40784,14 +42627,14 @@ func (cs *CouchbaseSource) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "query": + case "typeProperties": if v != nil { - var query interface{} - err = json.Unmarshal(*v, &query) + var genericDatasetTypeProperties GenericDatasetTypeProperties + err = json.Unmarshal(*v, &genericDatasetTypeProperties) if err != nil { return err } - cs.Query = query + cod.GenericDatasetTypeProperties = &genericDatasetTypeProperties } default: if v != nil { @@ -40800,46 +42643,82 @@ func (cs *CouchbaseSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - if cs.AdditionalProperties == nil { - cs.AdditionalProperties = make(map[string]interface{}) + if cod.AdditionalProperties == nil { + cod.AdditionalProperties = make(map[string]interface{}) } - cs.AdditionalProperties[k] = additionalProperties + cod.AdditionalProperties[k] = additionalProperties } - case "sourceRetryCount": + case "description": if v != nil { - var sourceRetryCount interface{} - err = json.Unmarshal(*v, &sourceRetryCount) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - cs.SourceRetryCount = sourceRetryCount + cod.Description = &description } - case "sourceRetryWait": + case "structure": if v != nil { - var sourceRetryWait interface{} - err = json.Unmarshal(*v, &sourceRetryWait) + var structure interface{} + err = json.Unmarshal(*v, &structure) if err != nil { return err } - cs.SourceRetryWait = sourceRetryWait + cod.Structure = structure } - case "maxConcurrentConnections": + case "schema": if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) + var schema interface{} + err = json.Unmarshal(*v, &schema) if err != nil { return err } - cs.MaxConcurrentConnections = maxConcurrentConnections + cod.Schema = schema + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + cod.LinkedServiceName = &linkedServiceName + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + cod.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + cod.Annotations = &annotations + } + case "folder": + if v != nil { + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) + if err != nil { + return err + } + cod.Folder = &folder } case "type": if v != nil { - var typeVar TypeBasicCopySource + var typeVar TypeBasicDataset err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - cs.Type = typeVar + cod.Type = typeVar } } } @@ -40847,414 +42726,459 @@ func (cs *CouchbaseSource) UnmarshalJSON(body []byte) error { return nil } -// CouchbaseTableDataset couchbase server dataset. -type CouchbaseTableDataset struct { - // GenericDatasetTypeProperties - Properties specific to this dataset type. - *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` +// ConcurSource a copy activity Concur Service source. +type ConcurSource struct { + // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). + Query interface{} `json:"query,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Description - Dataset description. - Description *string `json:"description,omitempty"` - // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. - Structure interface{} `json:"structure,omitempty"` - // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - Schema interface{} `json:"schema,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Parameters - Parameters for dataset. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the Dataset. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' - Type TypeBasicDataset `json:"type,omitempty"` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) MarshalJSON() ([]byte, error) { - ctd.Type = TypeCouchbaseTable +// MarshalJSON is the custom marshaler for ConcurSource. +func (cs ConcurSource) MarshalJSON() ([]byte, error) { + cs.Type = TypeConcurSource objectMap := make(map[string]interface{}) - if ctd.GenericDatasetTypeProperties != nil { - objectMap["typeProperties"] = ctd.GenericDatasetTypeProperties - } - if ctd.Description != nil { - objectMap["description"] = ctd.Description - } - if ctd.Structure != nil { - objectMap["structure"] = ctd.Structure - } - if ctd.Schema != nil { - objectMap["schema"] = ctd.Schema - } - if ctd.LinkedServiceName != nil { - objectMap["linkedServiceName"] = ctd.LinkedServiceName + if cs.Query != nil { + objectMap["query"] = cs.Query } - if ctd.Parameters != nil { - objectMap["parameters"] = ctd.Parameters + if cs.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = cs.SourceRetryCount } - if ctd.Annotations != nil { - objectMap["annotations"] = ctd.Annotations + if cs.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = cs.SourceRetryWait } - if ctd.Folder != nil { - objectMap["folder"] = ctd.Folder + if cs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = cs.MaxConcurrentConnections } - if ctd.Type != "" { - objectMap["type"] = ctd.Type + if cs.Type != "" { + objectMap["type"] = cs.Type } - for k, v := range ctd.AdditionalProperties { + for k, v := range cs.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsResponsysSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsVerticaSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsNetezzaSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsZohoSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsXeroSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsSquareSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsSparkSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsShopifySource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsServiceNowSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsPrestoSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsPhoenixSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsPaypalSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsMarketoSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsMariaDBSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsMagentoSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsJiraSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsImpalaSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsHubspotSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsHiveSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsHBaseSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsGreenplumSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsEloquaSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsDrillSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { - return &ctd, true +// AsCouchbaseSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsCouchbaseSource() (*CouchbaseSource, bool) { + return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsConcurSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsConcurSource() (*ConcurSource, bool) { + return &cs, true +} + +// AsAzurePostgreSQLSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsHTTPSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsOffice365Source is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsMongoDbSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsCassandraSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsWebSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsTeradataSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsOracleSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsHdfsSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsFileSystemSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsSQLDWSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsSQLMISource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsSQLServerSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsSQLSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsRestSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsSapTableSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsSapHanaSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsSapEccSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsSalesforceSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsODataSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsSybaseSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsMySQLSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsOdbcSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsDb2Source is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsDataset() (*Dataset, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsBasicDataset() (BasicDataset, bool) { - return &ctd, true +// AsInformixSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsInformixSource() (*InformixSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for CouchbaseTableDataset struct. -func (ctd *CouchbaseTableDataset) UnmarshalJSON(body []byte) error { +// AsRelationalSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + +// AsDynamicsSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + +// AsAzureTableSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsBinarySource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsDelimitedTextSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false +} + +// AsParquetSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsBasicCopySource() (BasicCopySource, bool) { + return &cs, true +} + +// UnmarshalJSON is the custom unmarshaler for ConcurSource struct. +func (cs *ConcurSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -41262,14 +43186,14 @@ func (ctd *CouchbaseTableDataset) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": + case "query": if v != nil { - var genericDatasetTypeProperties GenericDatasetTypeProperties - err = json.Unmarshal(*v, &genericDatasetTypeProperties) + var query interface{} + err = json.Unmarshal(*v, &query) if err != nil { return err } - ctd.GenericDatasetTypeProperties = &genericDatasetTypeProperties + cs.Query = query } default: if v != nil { @@ -41278,82 +43202,46 @@ func (ctd *CouchbaseTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if ctd.AdditionalProperties == nil { - ctd.AdditionalProperties = make(map[string]interface{}) - } - ctd.AdditionalProperties[k] = additionalProperties - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - ctd.Description = &description - } - case "structure": - if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) - if err != nil { - return err - } - ctd.Structure = structure - } - case "schema": - if v != nil { - var schema interface{} - err = json.Unmarshal(*v, &schema) - if err != nil { - return err - } - ctd.Schema = schema - } - case "linkedServiceName": - if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) - if err != nil { - return err + if cs.AdditionalProperties == nil { + cs.AdditionalProperties = make(map[string]interface{}) } - ctd.LinkedServiceName = &linkedServiceName + cs.AdditionalProperties[k] = additionalProperties } - case "parameters": + case "sourceRetryCount": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) if err != nil { return err } - ctd.Parameters = parameters + cs.SourceRetryCount = sourceRetryCount } - case "annotations": + case "sourceRetryWait": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) if err != nil { return err } - ctd.Annotations = &annotations + cs.SourceRetryWait = sourceRetryWait } - case "folder": + case "maxConcurrentConnections": if v != nil { - var folder DatasetFolder - err = json.Unmarshal(*v, &folder) + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) if err != nil { return err } - ctd.Folder = &folder + cs.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicDataset + var typeVar TypeBasicCopySource err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - ctd.Type = typeVar + cs.Type = typeVar } } } @@ -41361,33 +43249,23 @@ func (ctd *CouchbaseTableDataset) UnmarshalJSON(body []byte) error { return nil } -// CreateLinkedIntegrationRuntimeRequest the linked integration runtime information. -type CreateLinkedIntegrationRuntimeRequest struct { - // Name - The name of the linked integration runtime. - Name *string `json:"name,omitempty"` - // SubscriptionID - The ID of the subscription that the linked integration runtime belongs to. - SubscriptionID *string `json:"subscriptionId,omitempty"` - // DataFactoryName - The name of the data factory that the linked integration runtime belongs to. - DataFactoryName *string `json:"dataFactoryName,omitempty"` - // DataFactoryLocation - The location of the data factory that the linked integration runtime belongs to. - DataFactoryLocation *string `json:"dataFactoryLocation,omitempty"` -} - -// CreateRunResponse response body with a run identifier. -type CreateRunResponse struct { - autorest.Response `json:"-"` - // RunID - Identifier of a run. - RunID *string `json:"runId,omitempty"` +// BasicControlActivity base class for all control activities like IfCondition, ForEach , Until. +type BasicControlActivity interface { + AsWebHookActivity() (*WebHookActivity, bool) + AsAppendVariableActivity() (*AppendVariableActivity, bool) + AsSetVariableActivity() (*SetVariableActivity, bool) + AsFilterActivity() (*FilterActivity, bool) + AsValidationActivity() (*ValidationActivity, bool) + AsUntilActivity() (*UntilActivity, bool) + AsWaitActivity() (*WaitActivity, bool) + AsForEachActivity() (*ForEachActivity, bool) + AsIfConditionActivity() (*IfConditionActivity, bool) + AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) + AsControlActivity() (*ControlActivity, bool) } -// CustomActivity custom activity type. -type CustomActivity struct { - // CustomActivityTypeProperties - Custom activity properties. - *CustomActivityTypeProperties `json:"typeProperties,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Policy - Activity policy. - Policy *ActivityPolicy `json:"policy,omitempty"` +// ControlActivity base class for all control activities like IfCondition, ForEach , Until. +type ControlActivity struct { // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // Name - Activity name. @@ -41402,19 +43280,83 @@ type CustomActivity struct { Type TypeBasicActivity `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for CustomActivity. -func (ca CustomActivity) MarshalJSON() ([]byte, error) { - ca.Type = TypeCustom - objectMap := make(map[string]interface{}) - if ca.CustomActivityTypeProperties != nil { - objectMap["typeProperties"] = ca.CustomActivityTypeProperties +func unmarshalBasicControlActivity(body []byte) (BasicControlActivity, error) { + var m map[string]interface{} + err := json.Unmarshal(body, &m) + if err != nil { + return nil, err } - if ca.LinkedServiceName != nil { - objectMap["linkedServiceName"] = ca.LinkedServiceName + + switch m["type"] { + case string(TypeWebHook): + var wha WebHookActivity + err := json.Unmarshal(body, &wha) + return wha, err + case string(TypeAppendVariable): + var ava AppendVariableActivity + err := json.Unmarshal(body, &ava) + return ava, err + case string(TypeSetVariable): + var sva SetVariableActivity + err := json.Unmarshal(body, &sva) + return sva, err + case string(TypeFilter): + var fa FilterActivity + err := json.Unmarshal(body, &fa) + return fa, err + case string(TypeValidation): + var va ValidationActivity + err := json.Unmarshal(body, &va) + return va, err + case string(TypeUntil): + var ua UntilActivity + err := json.Unmarshal(body, &ua) + return ua, err + case string(TypeWait): + var wa WaitActivity + err := json.Unmarshal(body, &wa) + return wa, err + case string(TypeForEach): + var fea ForEachActivity + err := json.Unmarshal(body, &fea) + return fea, err + case string(TypeIfCondition): + var ica IfConditionActivity + err := json.Unmarshal(body, &ica) + return ica, err + case string(TypeExecutePipeline): + var epa ExecutePipelineActivity + err := json.Unmarshal(body, &epa) + return epa, err + default: + var ca ControlActivity + err := json.Unmarshal(body, &ca) + return ca, err } - if ca.Policy != nil { - objectMap["policy"] = ca.Policy +} +func unmarshalBasicControlActivityArray(body []byte) ([]BasicControlActivity, error) { + var rawMessages []*json.RawMessage + err := json.Unmarshal(body, &rawMessages) + if err != nil { + return nil, err + } + + caArray := make([]BasicControlActivity, len(rawMessages)) + + for index, rawMessage := range rawMessages { + ca, err := unmarshalBasicControlActivity(*rawMessage) + if err != nil { + return nil, err + } + caArray[index] = ca } + return caArray, nil +} + +// MarshalJSON is the custom marshaler for ControlActivity. +func (ca ControlActivity) MarshalJSON() ([]byte, error) { + ca.Type = TypeContainer + objectMap := make(map[string]interface{}) if ca.Name != nil { objectMap["name"] = ca.Name } @@ -41436,188 +43378,188 @@ func (ca CustomActivity) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// AsAzureFunctionActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsAzureFunctionActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsDatabricksSparkJarActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { +// AsDatabricksNotebookActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsGetMetadataActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsWebActivity() (*WebActivity, bool) { +// AsWebActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsWebActivity() (*WebActivity, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsLookupActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsDeleteActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// AsDeleteActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsCustomActivity() (*CustomActivity, bool) { - return &ca, true +// AsCustomActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsCustomActivity() (*CustomActivity, bool) { + return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsExecuteSSISPackageActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsHDInsightSparkActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsHDInsightStreamingActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsHDInsightMapReduceActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsHDInsightPigActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsHDInsightHiveActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsCopyActivity() (*CopyActivity, bool) { +// AsCopyActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsCopyActivity() (*CopyActivity, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsExecutionActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsExecutionActivity() (*ExecutionActivity, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { - return &ca, true +// AsBasicExecutionActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return nil, false } -// AsWebHookActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsWebHookActivity() (*WebHookActivity, bool) { +// AsWebHookActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsWebHookActivity() (*WebHookActivity, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsAppendVariableActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsSetVariableActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsFilterActivity() (*FilterActivity, bool) { +// AsFilterActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsFilterActivity() (*FilterActivity, bool) { return nil, false } -// AsValidationActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsValidationActivity() (*ValidationActivity, bool) { +// AsValidationActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsValidationActivity() (*ValidationActivity, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsUntilActivity() (*UntilActivity, bool) { +// AsUntilActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsWaitActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsWaitActivity() (*WaitActivity, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsForEachActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsForEachActivity() (*ForEachActivity, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsIfConditionActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsExecutePipelineActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsControlActivity() (*ControlActivity, bool) { - return nil, false +// AsControlActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsControlActivity() (*ControlActivity, bool) { + return &ca, true } -// AsBasicControlActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsBasicControlActivity() (BasicControlActivity, bool) { - return nil, false +// AsBasicControlActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsBasicControlActivity() (BasicControlActivity, bool) { + return &ca, true } -// AsActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsActivity() (*Activity, bool) { +// AsActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsActivity() (*Activity, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsBasicActivity() (BasicActivity, bool) { +// AsBasicActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsBasicActivity() (BasicActivity, bool) { return &ca, true } -// UnmarshalJSON is the custom unmarshaler for CustomActivity struct. -func (ca *CustomActivity) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for ControlActivity struct. +func (ca *ControlActivity) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -41625,33 +43567,6 @@ func (ca *CustomActivity) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": - if v != nil { - var customActivityTypeProperties CustomActivityTypeProperties - err = json.Unmarshal(*v, &customActivityTypeProperties) - if err != nil { - return err - } - ca.CustomActivityTypeProperties = &customActivityTypeProperties - } - case "linkedServiceName": - if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) - if err != nil { - return err - } - ca.LinkedServiceName = &linkedServiceName - } - case "policy": - if v != nil { - var policy ActivityPolicy - err = json.Unmarshal(*v, &policy) - if err != nil { - return err - } - ca.Policy = &policy - } default: if v != nil { var additionalProperties interface{} @@ -41715,462 +43630,254 @@ func (ca *CustomActivity) UnmarshalJSON(body []byte) error { return nil } -// CustomActivityReferenceObject reference objects for custom activity -type CustomActivityReferenceObject struct { - // LinkedServices - Linked service references. - LinkedServices *[]LinkedServiceReference `json:"linkedServices,omitempty"` - // Datasets - Dataset references. - Datasets *[]DatasetReference `json:"datasets,omitempty"` +// CopyActivity copy activity. +type CopyActivity struct { + // CopyActivityTypeProperties - Copy activity properties. + *CopyActivityTypeProperties `json:"typeProperties,omitempty"` + // Inputs - List of inputs for the activity. + Inputs *[]DatasetReference `json:"inputs,omitempty"` + // Outputs - List of outputs for the activity. + Outputs *[]DatasetReference `json:"outputs,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Policy - Activity policy. + Policy *ActivityPolicy `json:"policy,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Name - Activity name. + Name *string `json:"name,omitempty"` + // Description - Activity description. + Description *string `json:"description,omitempty"` + // DependsOn - Activity depends on condition. + DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` + // UserProperties - Activity user properties. + UserProperties *[]UserProperty `json:"userProperties,omitempty"` + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + Type TypeBasicActivity `json:"type,omitempty"` } -// CustomActivityTypeProperties custom activity properties. -type CustomActivityTypeProperties struct { - // Command - Command for custom activity Type: string (or Expression with resultType string). - Command interface{} `json:"command,omitempty"` - // ResourceLinkedService - Resource linked service reference. - ResourceLinkedService *LinkedServiceReference `json:"resourceLinkedService,omitempty"` - // FolderPath - Folder path for resource files Type: string (or Expression with resultType string). - FolderPath interface{} `json:"folderPath,omitempty"` - // ReferenceObjects - Reference objects - ReferenceObjects *CustomActivityReferenceObject `json:"referenceObjects,omitempty"` - // ExtendedProperties - 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. - ExtendedProperties map[string]interface{} `json:"extendedProperties"` - // RetentionTimeInDays - The retention time for the files submitted for custom activity. Type: double (or Expression with resultType double). - RetentionTimeInDays interface{} `json:"retentionTimeInDays,omitempty"` -} - -// MarshalJSON is the custom marshaler for CustomActivityTypeProperties. -func (catp CustomActivityTypeProperties) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for CopyActivity. +func (ca CopyActivity) MarshalJSON() ([]byte, error) { + ca.Type = TypeCopy objectMap := make(map[string]interface{}) - if catp.Command != nil { - objectMap["command"] = catp.Command - } - if catp.ResourceLinkedService != nil { - objectMap["resourceLinkedService"] = catp.ResourceLinkedService - } - if catp.FolderPath != nil { - objectMap["folderPath"] = catp.FolderPath - } - if catp.ReferenceObjects != nil { - objectMap["referenceObjects"] = catp.ReferenceObjects - } - if catp.ExtendedProperties != nil { - objectMap["extendedProperties"] = catp.ExtendedProperties - } - if catp.RetentionTimeInDays != nil { - objectMap["retentionTimeInDays"] = catp.RetentionTimeInDays + if ca.CopyActivityTypeProperties != nil { + objectMap["typeProperties"] = ca.CopyActivityTypeProperties } - return json.Marshal(objectMap) -} - -// CustomDataset the custom dataset. -type CustomDataset struct { - // TypeProperties - Custom dataset properties. - TypeProperties interface{} `json:"typeProperties,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Description - Dataset description. - Description *string `json:"description,omitempty"` - // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. - Structure interface{} `json:"structure,omitempty"` - // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - Schema interface{} `json:"schema,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Parameters - Parameters for dataset. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the Dataset. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' - Type TypeBasicDataset `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for CustomDataset. -func (cd CustomDataset) MarshalJSON() ([]byte, error) { - cd.Type = TypeCustomDataset - objectMap := make(map[string]interface{}) - if cd.TypeProperties != nil { - objectMap["typeProperties"] = cd.TypeProperties + if ca.Inputs != nil { + objectMap["inputs"] = ca.Inputs } - if cd.Description != nil { - objectMap["description"] = cd.Description + if ca.Outputs != nil { + objectMap["outputs"] = ca.Outputs } - if cd.Structure != nil { - objectMap["structure"] = cd.Structure + if ca.LinkedServiceName != nil { + objectMap["linkedServiceName"] = ca.LinkedServiceName } - if cd.Schema != nil { - objectMap["schema"] = cd.Schema + if ca.Policy != nil { + objectMap["policy"] = ca.Policy } - if cd.LinkedServiceName != nil { - objectMap["linkedServiceName"] = cd.LinkedServiceName + if ca.Name != nil { + objectMap["name"] = ca.Name } - if cd.Parameters != nil { - objectMap["parameters"] = cd.Parameters + if ca.Description != nil { + objectMap["description"] = ca.Description } - if cd.Annotations != nil { - objectMap["annotations"] = cd.Annotations + if ca.DependsOn != nil { + objectMap["dependsOn"] = ca.DependsOn } - if cd.Folder != nil { - objectMap["folder"] = cd.Folder + if ca.UserProperties != nil { + objectMap["userProperties"] = ca.UserProperties } - if cd.Type != "" { - objectMap["type"] = cd.Type + if ca.Type != "" { + objectMap["type"] = ca.Type } - for k, v := range cd.AdditionalProperties { + for k, v := range ca.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { - return nil, false -} - -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { - return nil, false -} - -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { - return nil, false -} - -// AsDynamicsAXResourceDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { - return nil, false -} - -// AsResponsysObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { - return nil, false -} - -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { - return nil, false -} - -// AsVerticaTableDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { - return nil, false -} - -// AsNetezzaTableDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { - return nil, false -} - -// AsZohoObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { - return nil, false -} - -// AsXeroObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { - return nil, false -} - -// AsSquareObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { - return nil, false -} - -// AsSparkObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { - return nil, false -} - -// AsShopifyObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { - return nil, false -} - -// AsServiceNowObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { - return nil, false -} - -// AsQuickBooksObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { - return nil, false -} - -// AsPrestoObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { - return nil, false -} - -// AsPhoenixObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { - return nil, false -} - -// AsPaypalObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { - return nil, false -} - -// AsMarketoObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { - return nil, false -} - -// AsMariaDBTableDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { - return nil, false -} - -// AsMagentoObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { - return nil, false -} - -// AsJiraObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { - return nil, false -} - -// AsImpalaObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { - return nil, false -} - -// AsHubspotObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { - return nil, false -} - -// AsHiveObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { - return nil, false -} - -// AsHBaseObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { - return nil, false -} - -// AsGreenplumTableDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { - return nil, false -} - -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { - return nil, false -} - -// AsEloquaObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { - return nil, false -} - -// AsDrillTableDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { - return nil, false -} - -// AsCouchbaseTableDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { - return nil, false -} - -// AsConcurObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { - return nil, false -} - -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsAzureFunctionActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsDatabricksSparkJarActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsDatabricksNotebookActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsGetMetadataActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsWebActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsWebActivity() (*WebActivity, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsLookupActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsDeleteActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsCustomActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsCustomActivity() (*CustomActivity, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsExecuteSSISPackageActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsHDInsightSparkActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsHDInsightStreamingActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsHDInsightMapReduceActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsHDInsightPigActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsHDInsightHiveActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { - return nil, false +// AsCopyActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsCopyActivity() (*CopyActivity, bool) { + return &ca, true } -// AsFileShareDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsExecutionActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsExecutionActivity() (*ExecutionActivity, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsOffice365Dataset() (*Office365Dataset, bool) { - return nil, false +// AsBasicExecutionActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return &ca, true } -// AsAzureBlobFSDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsWebHookActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsWebHookActivity() (*WebHookActivity, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsAppendVariableActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsSetVariableActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsFilterActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsFilterActivity() (*FilterActivity, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsCustomDataset() (*CustomDataset, bool) { - return &cd, true -} - -// AsCassandraTableDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsValidationActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsValidationActivity() (*ValidationActivity, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsUntilActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsWaitActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsWaitActivity() (*WaitActivity, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsForEachActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsForEachActivity() (*ForEachActivity, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsIfConditionActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsExecutePipelineActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsControlActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsControlActivity() (*ControlActivity, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsBasicControlActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsBasicControlActivity() (BasicControlActivity, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsDataset() (*Dataset, bool) { +// AsActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsActivity() (*Activity, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsBasicDataset() (BasicDataset, bool) { - return &cd, true +// AsBasicActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsBasicActivity() (BasicActivity, bool) { + return &ca, true } -// UnmarshalJSON is the custom unmarshaler for CustomDataset struct. -func (cd *CustomDataset) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for CopyActivity struct. +func (ca *CopyActivity) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -42180,12 +43887,48 @@ func (cd *CustomDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var typeProperties interface{} - err = json.Unmarshal(*v, &typeProperties) + var copyActivityTypeProperties CopyActivityTypeProperties + err = json.Unmarshal(*v, ©ActivityTypeProperties) if err != nil { return err } - cd.TypeProperties = typeProperties + ca.CopyActivityTypeProperties = ©ActivityTypeProperties + } + case "inputs": + if v != nil { + var inputs []DatasetReference + err = json.Unmarshal(*v, &inputs) + if err != nil { + return err + } + ca.Inputs = &inputs + } + case "outputs": + if v != nil { + var outputs []DatasetReference + err = json.Unmarshal(*v, &outputs) + if err != nil { + return err + } + ca.Outputs = &outputs + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + ca.LinkedServiceName = &linkedServiceName + } + case "policy": + if v != nil { + var policy ActivityPolicy + err = json.Unmarshal(*v, &policy) + if err != nil { + return err + } + ca.Policy = &policy } default: if v != nil { @@ -42194,10 +43937,19 @@ func (cd *CustomDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if cd.AdditionalProperties == nil { - cd.AdditionalProperties = make(map[string]interface{}) + if ca.AdditionalProperties == nil { + ca.AdditionalProperties = make(map[string]interface{}) } - cd.AdditionalProperties[k] = additionalProperties + ca.AdditionalProperties[k] = additionalProperties + } + case "name": + if v != nil { + var name string + err = json.Unmarshal(*v, &name) + if err != nil { + return err + } + ca.Name = &name } case "description": if v != nil { @@ -42206,70 +43958,172 @@ func (cd *CustomDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - cd.Description = &description + ca.Description = &description } - case "structure": + case "dependsOn": if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) + var dependsOn []ActivityDependency + err = json.Unmarshal(*v, &dependsOn) if err != nil { return err } - cd.Structure = structure + ca.DependsOn = &dependsOn } - case "schema": + case "userProperties": if v != nil { - var schema interface{} - err = json.Unmarshal(*v, &schema) + var userProperties []UserProperty + err = json.Unmarshal(*v, &userProperties) if err != nil { return err } - cd.Schema = schema + ca.UserProperties = &userProperties } - case "linkedServiceName": + case "type": if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) + var typeVar TypeBasicActivity + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - cd.LinkedServiceName = &linkedServiceName + ca.Type = typeVar } - case "parameters": + } + } + + return nil +} + +// CopyActivityTypeProperties copy activity properties. +type CopyActivityTypeProperties struct { + // Source - Copy activity source. + Source BasicCopySource `json:"source,omitempty"` + // Sink - Copy activity sink. + Sink BasicCopySink `json:"sink,omitempty"` + // Translator - Copy activity translator. If not specified, tabular translator is used. + Translator interface{} `json:"translator,omitempty"` + // EnableStaging - Specifies whether to copy data via an interim staging. Default value is false. Type: boolean (or Expression with resultType boolean). + EnableStaging interface{} `json:"enableStaging,omitempty"` + // StagingSettings - Specifies interim staging settings when EnableStaging is true. + StagingSettings *StagingSettings `json:"stagingSettings,omitempty"` + // ParallelCopies - Maximum number of concurrent sessions opened on the source or sink to avoid overloading the data store. Type: integer (or Expression with resultType integer), minimum: 0. + ParallelCopies interface{} `json:"parallelCopies,omitempty"` + // DataIntegrationUnits - Maximum number of data integration units that can be used to perform this data movement. Type: integer (or Expression with resultType integer), minimum: 0. + DataIntegrationUnits interface{} `json:"dataIntegrationUnits,omitempty"` + // EnableSkipIncompatibleRow - Whether to skip incompatible row. Default value is false. Type: boolean (or Expression with resultType boolean). + EnableSkipIncompatibleRow interface{} `json:"enableSkipIncompatibleRow,omitempty"` + // RedirectIncompatibleRowSettings - Redirect incompatible row settings when EnableSkipIncompatibleRow is true. + RedirectIncompatibleRowSettings *RedirectIncompatibleRowSettings `json:"redirectIncompatibleRowSettings,omitempty"` + // PreserveRules - Preserve Rules. + PreserveRules *[]interface{} `json:"preserveRules,omitempty"` + // Preserve - Preserve rules. + Preserve *[]interface{} `json:"preserve,omitempty"` +} + +// UnmarshalJSON is the custom unmarshaler for CopyActivityTypeProperties struct. +func (catp *CopyActivityTypeProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "source": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + source, err := unmarshalBasicCopySource(*v) if err != nil { return err } - cd.Parameters = parameters + catp.Source = source } - case "annotations": + case "sink": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + sink, err := unmarshalBasicCopySink(*v) if err != nil { return err } - cd.Annotations = &annotations + catp.Sink = sink } - case "folder": + case "translator": if v != nil { - var folder DatasetFolder - err = json.Unmarshal(*v, &folder) + var translator interface{} + err = json.Unmarshal(*v, &translator) if err != nil { return err } - cd.Folder = &folder + catp.Translator = translator } - case "type": + case "enableStaging": if v != nil { - var typeVar TypeBasicDataset - err = json.Unmarshal(*v, &typeVar) + var enableStaging interface{} + err = json.Unmarshal(*v, &enableStaging) if err != nil { return err } - cd.Type = typeVar + catp.EnableStaging = enableStaging + } + case "stagingSettings": + if v != nil { + var stagingSettings StagingSettings + err = json.Unmarshal(*v, &stagingSettings) + if err != nil { + return err + } + catp.StagingSettings = &stagingSettings + } + case "parallelCopies": + if v != nil { + var parallelCopies interface{} + err = json.Unmarshal(*v, ¶llelCopies) + if err != nil { + return err + } + catp.ParallelCopies = parallelCopies + } + case "dataIntegrationUnits": + if v != nil { + var dataIntegrationUnits interface{} + err = json.Unmarshal(*v, &dataIntegrationUnits) + if err != nil { + return err + } + catp.DataIntegrationUnits = dataIntegrationUnits + } + case "enableSkipIncompatibleRow": + if v != nil { + var enableSkipIncompatibleRow interface{} + err = json.Unmarshal(*v, &enableSkipIncompatibleRow) + if err != nil { + return err + } + catp.EnableSkipIncompatibleRow = enableSkipIncompatibleRow + } + case "redirectIncompatibleRowSettings": + if v != nil { + var redirectIncompatibleRowSettings RedirectIncompatibleRowSettings + err = json.Unmarshal(*v, &redirectIncompatibleRowSettings) + if err != nil { + return err + } + catp.RedirectIncompatibleRowSettings = &redirectIncompatibleRowSettings + } + case "preserveRules": + if v != nil { + var preserveRules []interface{} + err = json.Unmarshal(*v, &preserveRules) + if err != nil { + return err + } + catp.PreserveRules = &preserveRules + } + case "preserve": + if v != nil { + var preserve []interface{} + err = json.Unmarshal(*v, &preserve) + if err != nil { + return err + } + catp.Preserve = &preserve } } } @@ -42277,801 +44131,1357 @@ func (cd *CustomDataset) UnmarshalJSON(body []byte) error { return nil } -// CustomDataSourceLinkedService custom linked service. -type CustomDataSourceLinkedService struct { - // TypeProperties - Custom linked service properties. - TypeProperties interface{} `json:"typeProperties,omitempty"` +// BasicCopySink a copy activity sink. +type BasicCopySink interface { + AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) + AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) + AsSalesforceSink() (*SalesforceSink, bool) + AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) + AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) + AsDynamicsCrmSink() (*DynamicsCrmSink, bool) + AsDynamicsSink() (*DynamicsSink, bool) + AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) + AsInformixSink() (*InformixSink, bool) + AsOdbcSink() (*OdbcSink, bool) + AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) + AsAzureBlobFSSink() (*AzureBlobFSSink, bool) + AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) + AsOracleSink() (*OracleSink, bool) + AsSQLDWSink() (*SQLDWSink, bool) + AsSQLMISink() (*SQLMISink, bool) + AsAzureSQLSink() (*AzureSQLSink, bool) + AsSQLServerSink() (*SQLServerSink, bool) + AsSQLSink() (*SQLSink, bool) + AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) + AsFileSystemSink() (*FileSystemSink, bool) + AsBlobSink() (*BlobSink, bool) + AsBinarySink() (*BinarySink, bool) + AsParquetSink() (*ParquetSink, bool) + AsAzureTableSink() (*AzureTableSink, bool) + AsAzureQueueSink() (*AzureQueueSink, bool) + AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) + AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) + AsDelimitedTextSink() (*DelimitedTextSink, bool) + AsCopySink() (*CopySink, bool) +} + +// CopySink a copy activity sink. +type CopySink struct { // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. - Description *string `json:"description,omitempty"` - // Parameters - Parameters for linked service. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the linked service. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` + // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + WriteBatchSize interface{} `json:"writeBatchSize,omitempty"` + // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"` + // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer). + SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"` + // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink' + Type TypeBasicCopySink `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) MarshalJSON() ([]byte, error) { - cdsls.Type = TypeCustomDataSource +func unmarshalBasicCopySink(body []byte) (BasicCopySink, error) { + var m map[string]interface{} + err := json.Unmarshal(body, &m) + if err != nil { + return nil, err + } + + switch m["type"] { + case string(TypeCosmosDbMongoDbAPISink): + var cdmdas CosmosDbMongoDbAPISink + err := json.Unmarshal(body, &cdmdas) + return cdmdas, err + case string(TypeSalesforceServiceCloudSink): + var sscs SalesforceServiceCloudSink + err := json.Unmarshal(body, &sscs) + return sscs, err + case string(TypeSalesforceSink): + var ss SalesforceSink + err := json.Unmarshal(body, &ss) + return ss, err + case string(TypeAzureDataExplorerSink): + var ades AzureDataExplorerSink + err := json.Unmarshal(body, &ades) + return ades, err + case string(TypeCommonDataServiceForAppsSink): + var cdsfas CommonDataServiceForAppsSink + err := json.Unmarshal(body, &cdsfas) + return cdsfas, err + case string(TypeDynamicsCrmSink): + var dcs DynamicsCrmSink + err := json.Unmarshal(body, &dcs) + return dcs, err + case string(TypeDynamicsSink): + var ds DynamicsSink + err := json.Unmarshal(body, &ds) + return ds, err + case string(TypeMicrosoftAccessSink): + var mas MicrosoftAccessSink + err := json.Unmarshal(body, &mas) + return mas, err + case string(TypeInformixSink): + var is InformixSink + err := json.Unmarshal(body, &is) + return is, err + case string(TypeOdbcSink): + var osVar OdbcSink + err := json.Unmarshal(body, &osVar) + return osVar, err + case string(TypeAzureSearchIndexSink): + var asis AzureSearchIndexSink + err := json.Unmarshal(body, &asis) + return asis, err + case string(TypeAzureBlobFSSink): + var abfs AzureBlobFSSink + err := json.Unmarshal(body, &abfs) + return abfs, err + case string(TypeAzureDataLakeStoreSink): + var adlss AzureDataLakeStoreSink + err := json.Unmarshal(body, &adlss) + return adlss, err + case string(TypeOracleSink): + var osVar OracleSink + err := json.Unmarshal(body, &osVar) + return osVar, err + case string(TypeSQLDWSink): + var sds SQLDWSink + err := json.Unmarshal(body, &sds) + return sds, err + case string(TypeSQLMISink): + var sms SQLMISink + err := json.Unmarshal(body, &sms) + return sms, err + case string(TypeAzureSQLSink): + var ass AzureSQLSink + err := json.Unmarshal(body, &ass) + return ass, err + case string(TypeSQLServerSink): + var sss SQLServerSink + err := json.Unmarshal(body, &sss) + return sss, err + case string(TypeSQLSink): + var ss SQLSink + err := json.Unmarshal(body, &ss) + return ss, err + case string(TypeDocumentDbCollectionSink): + var ddcs DocumentDbCollectionSink + err := json.Unmarshal(body, &ddcs) + return ddcs, err + case string(TypeFileSystemSink): + var fss FileSystemSink + err := json.Unmarshal(body, &fss) + return fss, err + case string(TypeBlobSink): + var bs BlobSink + err := json.Unmarshal(body, &bs) + return bs, err + case string(TypeBinarySink): + var bs BinarySink + err := json.Unmarshal(body, &bs) + return bs, err + case string(TypeParquetSink): + var ps ParquetSink + err := json.Unmarshal(body, &ps) + return ps, err + case string(TypeAzureTableSink): + var ats AzureTableSink + err := json.Unmarshal(body, &ats) + return ats, err + case string(TypeAzureQueueSink): + var aqs AzureQueueSink + err := json.Unmarshal(body, &aqs) + return aqs, err + case string(TypeSapCloudForCustomerSink): + var scfcs SapCloudForCustomerSink + err := json.Unmarshal(body, &scfcs) + return scfcs, err + case string(TypeAzurePostgreSQLSink): + var apss AzurePostgreSQLSink + err := json.Unmarshal(body, &apss) + return apss, err + case string(TypeDelimitedTextSink): + var dts DelimitedTextSink + err := json.Unmarshal(body, &dts) + return dts, err + default: + var cs CopySink + err := json.Unmarshal(body, &cs) + return cs, err + } +} +func unmarshalBasicCopySinkArray(body []byte) ([]BasicCopySink, error) { + var rawMessages []*json.RawMessage + err := json.Unmarshal(body, &rawMessages) + if err != nil { + return nil, err + } + + csArray := make([]BasicCopySink, len(rawMessages)) + + for index, rawMessage := range rawMessages { + cs, err := unmarshalBasicCopySink(*rawMessage) + if err != nil { + return nil, err + } + csArray[index] = cs + } + return csArray, nil +} + +// MarshalJSON is the custom marshaler for CopySink. +func (cs CopySink) MarshalJSON() ([]byte, error) { + cs.Type = TypeCopySink objectMap := make(map[string]interface{}) - if cdsls.TypeProperties != nil { - objectMap["typeProperties"] = cdsls.TypeProperties + if cs.WriteBatchSize != nil { + objectMap["writeBatchSize"] = cs.WriteBatchSize } - if cdsls.ConnectVia != nil { - objectMap["connectVia"] = cdsls.ConnectVia + if cs.WriteBatchTimeout != nil { + objectMap["writeBatchTimeout"] = cs.WriteBatchTimeout } - if cdsls.Description != nil { - objectMap["description"] = cdsls.Description + if cs.SinkRetryCount != nil { + objectMap["sinkRetryCount"] = cs.SinkRetryCount } - if cdsls.Parameters != nil { - objectMap["parameters"] = cdsls.Parameters + if cs.SinkRetryWait != nil { + objectMap["sinkRetryWait"] = cs.SinkRetryWait } - if cdsls.Annotations != nil { - objectMap["annotations"] = cdsls.Annotations + if cs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = cs.MaxConcurrentConnections } - if cdsls.Type != "" { - objectMap["type"] = cdsls.Type + if cs.Type != "" { + objectMap["type"] = cs.Type } - for k, v := range cdsls.AdditionalProperties { + for k, v := range cs.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { - return nil, false -} - -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { - return nil, false -} - -// AsSapTableLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { - return nil, false -} - -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { - return nil, false -} - -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { - return nil, false -} - -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { - return nil, false -} - -// AsResponsysLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { - return nil, false -} - -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { - return nil, false -} - -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { - return nil, false -} - -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { - return nil, false -} - -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { - return nil, false -} - -// AsNetezzaLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { - return nil, false -} - -// AsVerticaLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsSalesforceSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsSalesforceSink() (*SalesforceSink, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsAzureDataExplorerSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsDynamicsCrmSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsDynamicsSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsDynamicsSink() (*DynamicsSink, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsMicrosoftAccessSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsInformixSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsInformixSink() (*InformixSink, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsOdbcSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsOdbcSink() (*OdbcSink, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsAzureSearchIndexSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsAzureBlobFSSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsOracleSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsOracleSink() (*OracleSink, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsSQLDWSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsSQLMISink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsSQLMISink() (*SQLMISink, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsAzureSQLSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsAzureSQLSink() (*AzureSQLSink, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsSQLServerSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsSQLServerSink() (*SQLServerSink, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsSQLSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsSQLSink() (*SQLSink, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsDocumentDbCollectionSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsFileSystemSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsFileSystemSink() (*FileSystemSink, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsBlobSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsBlobSink() (*BlobSink, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsBinarySink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsBinarySink() (*BinarySink, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsParquetSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsParquetSink() (*ParquetSink, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsAzureTableSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsAzureTableSink() (*AzureTableSink, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsAzureQueueSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsAzureQueueSink() (*AzureQueueSink, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsSapCloudForCustomerSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsAzurePostgreSQLSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsDelimitedTextSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { - return nil, false +// AsCopySink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsCopySink() (*CopySink, bool) { + return &cs, true } -// AsFtpServerLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { - return nil, false +// AsBasicCopySink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsBasicCopySink() (BasicCopySink, bool) { + return &cs, true } -// AsHTTPLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { - return nil, false -} +// UnmarshalJSON is the custom unmarshaler for CopySink struct. +func (cs *CopySink) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if cs.AdditionalProperties == nil { + cs.AdditionalProperties = make(map[string]interface{}) + } + cs.AdditionalProperties[k] = additionalProperties + } + case "writeBatchSize": + if v != nil { + var writeBatchSize interface{} + err = json.Unmarshal(*v, &writeBatchSize) + if err != nil { + return err + } + cs.WriteBatchSize = writeBatchSize + } + case "writeBatchTimeout": + if v != nil { + var writeBatchTimeout interface{} + err = json.Unmarshal(*v, &writeBatchTimeout) + if err != nil { + return err + } + cs.WriteBatchTimeout = writeBatchTimeout + } + case "sinkRetryCount": + if v != nil { + var sinkRetryCount interface{} + err = json.Unmarshal(*v, &sinkRetryCount) + if err != nil { + return err + } + cs.SinkRetryCount = sinkRetryCount + } + case "sinkRetryWait": + if v != nil { + var sinkRetryWait interface{} + err = json.Unmarshal(*v, &sinkRetryWait) + if err != nil { + return err + } + cs.SinkRetryWait = sinkRetryWait + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + cs.MaxConcurrentConnections = maxConcurrentConnections + } + case "type": + if v != nil { + var typeVar TypeBasicCopySink + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + cs.Type = typeVar + } + } + } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { - return nil, false + return nil } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { - return &cdsls, true +// BasicCopySource a copy activity source. +type BasicCopySource interface { + AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) + AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) + AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) + AsDynamicsAXSource() (*DynamicsAXSource, bool) + AsResponsysSource() (*ResponsysSource, bool) + AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) + AsVerticaSource() (*VerticaSource, bool) + AsNetezzaSource() (*NetezzaSource, bool) + AsZohoSource() (*ZohoSource, bool) + AsXeroSource() (*XeroSource, bool) + AsSquareSource() (*SquareSource, bool) + AsSparkSource() (*SparkSource, bool) + AsShopifySource() (*ShopifySource, bool) + AsServiceNowSource() (*ServiceNowSource, bool) + AsQuickBooksSource() (*QuickBooksSource, bool) + AsPrestoSource() (*PrestoSource, bool) + AsPhoenixSource() (*PhoenixSource, bool) + AsPaypalSource() (*PaypalSource, bool) + AsMarketoSource() (*MarketoSource, bool) + AsMariaDBSource() (*MariaDBSource, bool) + AsMagentoSource() (*MagentoSource, bool) + AsJiraSource() (*JiraSource, bool) + AsImpalaSource() (*ImpalaSource, bool) + AsHubspotSource() (*HubspotSource, bool) + AsHiveSource() (*HiveSource, bool) + AsHBaseSource() (*HBaseSource, bool) + AsGreenplumSource() (*GreenplumSource, bool) + AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) + AsEloquaSource() (*EloquaSource, bool) + AsDrillSource() (*DrillSource, bool) + AsCouchbaseSource() (*CouchbaseSource, bool) + AsConcurSource() (*ConcurSource, bool) + AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) + AsAmazonMWSSource() (*AmazonMWSSource, bool) + AsHTTPSource() (*HTTPSource, bool) + AsAzureBlobFSSource() (*AzureBlobFSSource, bool) + AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) + AsOffice365Source() (*Office365Source, bool) + AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) + AsMongoDbV2Source() (*MongoDbV2Source, bool) + AsMongoDbSource() (*MongoDbSource, bool) + AsCassandraSource() (*CassandraSource, bool) + AsWebSource() (*WebSource, bool) + AsTeradataSource() (*TeradataSource, bool) + AsOracleSource() (*OracleSource, bool) + AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) + AsAzureMySQLSource() (*AzureMySQLSource, bool) + AsHdfsSource() (*HdfsSource, bool) + AsFileSystemSource() (*FileSystemSource, bool) + AsSQLDWSource() (*SQLDWSource, bool) + AsSQLMISource() (*SQLMISource, bool) + AsAzureSQLSource() (*AzureSQLSource, bool) + AsSQLServerSource() (*SQLServerSource, bool) + AsSQLSource() (*SQLSource, bool) + AsRestSource() (*RestSource, bool) + AsSapTableSource() (*SapTableSource, bool) + AsSapOpenHubSource() (*SapOpenHubSource, bool) + AsSapHanaSource() (*SapHanaSource, bool) + AsSapEccSource() (*SapEccSource, bool) + AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) + AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) + AsSalesforceSource() (*SalesforceSource, bool) + AsODataSource() (*ODataSource, bool) + AsSybaseSource() (*SybaseSource, bool) + AsPostgreSQLSource() (*PostgreSQLSource, bool) + AsMySQLSource() (*MySQLSource, bool) + AsOdbcSource() (*OdbcSource, bool) + AsDb2Source() (*Db2Source, bool) + AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) + AsInformixSource() (*InformixSource, bool) + AsRelationalSource() (*RelationalSource, bool) + AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) + AsDynamicsCrmSource() (*DynamicsCrmSource, bool) + AsDynamicsSource() (*DynamicsSource, bool) + AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) + AsBlobSource() (*BlobSource, bool) + AsAzureTableSource() (*AzureTableSource, bool) + AsBinarySource() (*BinarySource, bool) + AsDelimitedTextSource() (*DelimitedTextSource, bool) + AsParquetSource() (*ParquetSource, bool) + AsCopySource() (*CopySource, bool) } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// CopySource a copy activity source. +type CopySource struct { + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + Type TypeBasicCopySource `json:"type,omitempty"` +} + +func unmarshalBasicCopySource(body []byte) (BasicCopySource, error) { + var m map[string]interface{} + err := json.Unmarshal(body, &m) + if err != nil { + return nil, err + } + + switch m["type"] { + case string(TypeAmazonRedshiftSource): + var ars AmazonRedshiftSource + err := json.Unmarshal(body, &ars) + return ars, err + case string(TypeGoogleAdWordsSource): + var gaws GoogleAdWordsSource + err := json.Unmarshal(body, &gaws) + return gaws, err + case string(TypeOracleServiceCloudSource): + var oscs OracleServiceCloudSource + err := json.Unmarshal(body, &oscs) + return oscs, err + case string(TypeDynamicsAXSource): + var das DynamicsAXSource + err := json.Unmarshal(body, &das) + return das, err + case string(TypeResponsysSource): + var rs ResponsysSource + err := json.Unmarshal(body, &rs) + return rs, err + case string(TypeSalesforceMarketingCloudSource): + var smcs SalesforceMarketingCloudSource + err := json.Unmarshal(body, &smcs) + return smcs, err + case string(TypeVerticaSource): + var vs VerticaSource + err := json.Unmarshal(body, &vs) + return vs, err + case string(TypeNetezzaSource): + var ns NetezzaSource + err := json.Unmarshal(body, &ns) + return ns, err + case string(TypeZohoSource): + var zs ZohoSource + err := json.Unmarshal(body, &zs) + return zs, err + case string(TypeXeroSource): + var xs XeroSource + err := json.Unmarshal(body, &xs) + return xs, err + case string(TypeSquareSource): + var ss SquareSource + err := json.Unmarshal(body, &ss) + return ss, err + case string(TypeSparkSource): + var ss SparkSource + err := json.Unmarshal(body, &ss) + return ss, err + case string(TypeShopifySource): + var ss ShopifySource + err := json.Unmarshal(body, &ss) + return ss, err + case string(TypeServiceNowSource): + var sns ServiceNowSource + err := json.Unmarshal(body, &sns) + return sns, err + case string(TypeQuickBooksSource): + var qbs QuickBooksSource + err := json.Unmarshal(body, &qbs) + return qbs, err + case string(TypePrestoSource): + var ps PrestoSource + err := json.Unmarshal(body, &ps) + return ps, err + case string(TypePhoenixSource): + var ps PhoenixSource + err := json.Unmarshal(body, &ps) + return ps, err + case string(TypePaypalSource): + var ps PaypalSource + err := json.Unmarshal(body, &ps) + return ps, err + case string(TypeMarketoSource): + var ms MarketoSource + err := json.Unmarshal(body, &ms) + return ms, err + case string(TypeMariaDBSource): + var mds MariaDBSource + err := json.Unmarshal(body, &mds) + return mds, err + case string(TypeMagentoSource): + var ms MagentoSource + err := json.Unmarshal(body, &ms) + return ms, err + case string(TypeJiraSource): + var js JiraSource + err := json.Unmarshal(body, &js) + return js, err + case string(TypeImpalaSource): + var is ImpalaSource + err := json.Unmarshal(body, &is) + return is, err + case string(TypeHubspotSource): + var hs HubspotSource + err := json.Unmarshal(body, &hs) + return hs, err + case string(TypeHiveSource): + var hs HiveSource + err := json.Unmarshal(body, &hs) + return hs, err + case string(TypeHBaseSource): + var hbs HBaseSource + err := json.Unmarshal(body, &hbs) + return hbs, err + case string(TypeGreenplumSource): + var gs GreenplumSource + err := json.Unmarshal(body, &gs) + return gs, err + case string(TypeGoogleBigQuerySource): + var gbqs GoogleBigQuerySource + err := json.Unmarshal(body, &gbqs) + return gbqs, err + case string(TypeEloquaSource): + var es EloquaSource + err := json.Unmarshal(body, &es) + return es, err + case string(TypeDrillSource): + var ds DrillSource + err := json.Unmarshal(body, &ds) + return ds, err + case string(TypeCouchbaseSource): + var cs CouchbaseSource + err := json.Unmarshal(body, &cs) + return cs, err + case string(TypeConcurSource): + var cs ConcurSource + err := json.Unmarshal(body, &cs) + return cs, err + case string(TypeAzurePostgreSQLSource): + var apss AzurePostgreSQLSource + err := json.Unmarshal(body, &apss) + return apss, err + case string(TypeAmazonMWSSource): + var ams AmazonMWSSource + err := json.Unmarshal(body, &ams) + return ams, err + case string(TypeHTTPSource): + var hs HTTPSource + err := json.Unmarshal(body, &hs) + return hs, err + case string(TypeAzureBlobFSSource): + var abfs AzureBlobFSSource + err := json.Unmarshal(body, &abfs) + return abfs, err + case string(TypeAzureDataLakeStoreSource): + var adlss AzureDataLakeStoreSource + err := json.Unmarshal(body, &adlss) + return adlss, err + case string(TypeOffice365Source): + var o3s Office365Source + err := json.Unmarshal(body, &o3s) + return o3s, err + case string(TypeCosmosDbMongoDbAPISource): + var cdmdas CosmosDbMongoDbAPISource + err := json.Unmarshal(body, &cdmdas) + return cdmdas, err + case string(TypeMongoDbV2Source): + var mdvs MongoDbV2Source + err := json.Unmarshal(body, &mdvs) + return mdvs, err + case string(TypeMongoDbSource): + var mds MongoDbSource + err := json.Unmarshal(body, &mds) + return mds, err + case string(TypeCassandraSource): + var cs CassandraSource + err := json.Unmarshal(body, &cs) + return cs, err + case string(TypeWebSource): + var ws WebSource + err := json.Unmarshal(body, &ws) + return ws, err + case string(TypeTeradataSource): + var ts TeradataSource + err := json.Unmarshal(body, &ts) + return ts, err + case string(TypeOracleSource): + var osVar OracleSource + err := json.Unmarshal(body, &osVar) + return osVar, err + case string(TypeAzureDataExplorerSource): + var ades AzureDataExplorerSource + err := json.Unmarshal(body, &ades) + return ades, err + case string(TypeAzureMySQLSource): + var amss AzureMySQLSource + err := json.Unmarshal(body, &amss) + return amss, err + case string(TypeHdfsSource): + var hs HdfsSource + err := json.Unmarshal(body, &hs) + return hs, err + case string(TypeFileSystemSource): + var fss FileSystemSource + err := json.Unmarshal(body, &fss) + return fss, err + case string(TypeSQLDWSource): + var sds SQLDWSource + err := json.Unmarshal(body, &sds) + return sds, err + case string(TypeSQLMISource): + var sms SQLMISource + err := json.Unmarshal(body, &sms) + return sms, err + case string(TypeAzureSQLSource): + var ass AzureSQLSource + err := json.Unmarshal(body, &ass) + return ass, err + case string(TypeSQLServerSource): + var sss SQLServerSource + err := json.Unmarshal(body, &sss) + return sss, err + case string(TypeSQLSource): + var ss SQLSource + err := json.Unmarshal(body, &ss) + return ss, err + case string(TypeRestSource): + var rs RestSource + err := json.Unmarshal(body, &rs) + return rs, err + case string(TypeSapTableSource): + var sts SapTableSource + err := json.Unmarshal(body, &sts) + return sts, err + case string(TypeSapOpenHubSource): + var sohs SapOpenHubSource + err := json.Unmarshal(body, &sohs) + return sohs, err + case string(TypeSapHanaSource): + var shs SapHanaSource + err := json.Unmarshal(body, &shs) + return shs, err + case string(TypeSapEccSource): + var ses SapEccSource + err := json.Unmarshal(body, &ses) + return ses, err + case string(TypeSapCloudForCustomerSource): + var scfcs SapCloudForCustomerSource + err := json.Unmarshal(body, &scfcs) + return scfcs, err + case string(TypeSalesforceServiceCloudSource): + var sscs SalesforceServiceCloudSource + err := json.Unmarshal(body, &sscs) + return sscs, err + case string(TypeSalesforceSource): + var ss SalesforceSource + err := json.Unmarshal(body, &ss) + return ss, err + case string(TypeODataSource): + var ods ODataSource + err := json.Unmarshal(body, &ods) + return ods, err + case string(TypeSybaseSource): + var ss SybaseSource + err := json.Unmarshal(body, &ss) + return ss, err + case string(TypePostgreSQLSource): + var pss PostgreSQLSource + err := json.Unmarshal(body, &pss) + return pss, err + case string(TypeMySQLSource): + var mss MySQLSource + err := json.Unmarshal(body, &mss) + return mss, err + case string(TypeOdbcSource): + var osVar OdbcSource + err := json.Unmarshal(body, &osVar) + return osVar, err + case string(TypeDb2Source): + var d2s Db2Source + err := json.Unmarshal(body, &d2s) + return d2s, err + case string(TypeMicrosoftAccessSource): + var mas MicrosoftAccessSource + err := json.Unmarshal(body, &mas) + return mas, err + case string(TypeInformixSource): + var is InformixSource + err := json.Unmarshal(body, &is) + return is, err + case string(TypeRelationalSource): + var rs RelationalSource + err := json.Unmarshal(body, &rs) + return rs, err + case string(TypeCommonDataServiceForAppsSource): + var cdsfas CommonDataServiceForAppsSource + err := json.Unmarshal(body, &cdsfas) + return cdsfas, err + case string(TypeDynamicsCrmSource): + var dcs DynamicsCrmSource + err := json.Unmarshal(body, &dcs) + return dcs, err + case string(TypeDynamicsSource): + var ds DynamicsSource + err := json.Unmarshal(body, &ds) + return ds, err + case string(TypeDocumentDbCollectionSource): + var ddcs DocumentDbCollectionSource + err := json.Unmarshal(body, &ddcs) + return ddcs, err + case string(TypeBlobSource): + var bs BlobSource + err := json.Unmarshal(body, &bs) + return bs, err + case string(TypeAzureTableSource): + var ats AzureTableSource + err := json.Unmarshal(body, &ats) + return ats, err + case string(TypeBinarySource): + var bs BinarySource + err := json.Unmarshal(body, &bs) + return bs, err + case string(TypeDelimitedTextSource): + var dts DelimitedTextSource + err := json.Unmarshal(body, &dts) + return dts, err + case string(TypeParquetSource): + var ps ParquetSource + err := json.Unmarshal(body, &ps) + return ps, err + default: + var cs CopySource + err := json.Unmarshal(body, &cs) + return cs, err + } +} +func unmarshalBasicCopySourceArray(body []byte) ([]BasicCopySource, error) { + var rawMessages []*json.RawMessage + err := json.Unmarshal(body, &rawMessages) + if err != nil { + return nil, err + } + + csArray := make([]BasicCopySource, len(rawMessages)) + + for index, rawMessage := range rawMessages { + cs, err := unmarshalBasicCopySource(*rawMessage) + if err != nil { + return nil, err + } + csArray[index] = cs + } + return csArray, nil +} + +// MarshalJSON is the custom marshaler for CopySource. +func (cs CopySource) MarshalJSON() ([]byte, error) { + cs.Type = TypeCopySource + objectMap := make(map[string]interface{}) + if cs.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = cs.SourceRetryCount + } + if cs.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = cs.SourceRetryWait + } + if cs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = cs.MaxConcurrentConnections + } + if cs.Type != "" { + objectMap["type"] = cs.Type + } + for k, v := range cs.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAmazonRedshiftSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsResponsysSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsVerticaSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsNetezzaSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsZohoSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsXeroSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsSquareSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsSparkSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsShopifySource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsServiceNowSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsPrestoSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsPhoenixSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsPaypalSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsMarketoSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsMariaDBSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsMagentoSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsJiraSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsImpalaSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsHubspotSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsHiveSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsHBaseSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsGreenplumSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsEloquaSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsDrillSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsConcurSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsHTTPSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsOffice365Source is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &cdsls, true +// AsMongoDbV2Source is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for CustomDataSourceLinkedService struct. -func (cdsls *CustomDataSourceLinkedService) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "typeProperties": - if v != nil { - var typeProperties interface{} - err = json.Unmarshal(*v, &typeProperties) - if err != nil { - return err - } - cdsls.TypeProperties = typeProperties - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if cdsls.AdditionalProperties == nil { - cdsls.AdditionalProperties = make(map[string]interface{}) - } - cdsls.AdditionalProperties[k] = additionalProperties - } - case "connectVia": - if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) - if err != nil { - return err - } - cdsls.ConnectVia = &connectVia - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - cdsls.Description = &description - } - case "parameters": - if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) - if err != nil { - return err - } - cdsls.Parameters = parameters - } - case "annotations": - if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) - if err != nil { - return err - } - cdsls.Annotations = &annotations - } - case "type": - if v != nil { - var typeVar TypeBasicLinkedService - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - cdsls.Type = typeVar - } - } - } +// AsMongoDbSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} - return nil +// AsCassandraSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsCassandraSource() (*CassandraSource, bool) { + return nil, false } -// DatabricksNotebookActivity databricksNotebook activity. -type DatabricksNotebookActivity struct { - // DatabricksNotebookActivityTypeProperties - Databricks Notebook activity properties. - *DatabricksNotebookActivityTypeProperties `json:"typeProperties,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Policy - Activity policy. - Policy *ActivityPolicy `json:"policy,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Name - Activity name. - Name *string `json:"name,omitempty"` - // Description - Activity description. - Description *string `json:"description,omitempty"` - // DependsOn - Activity depends on condition. - DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // UserProperties - Activity user properties. - UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' - Type TypeBasicActivity `json:"type,omitempty"` +// AsWebSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsWebSource() (*WebSource, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) MarshalJSON() ([]byte, error) { - dna.Type = TypeDatabricksNotebook - objectMap := make(map[string]interface{}) - if dna.DatabricksNotebookActivityTypeProperties != nil { - objectMap["typeProperties"] = dna.DatabricksNotebookActivityTypeProperties - } - if dna.LinkedServiceName != nil { - objectMap["linkedServiceName"] = dna.LinkedServiceName - } - if dna.Policy != nil { - objectMap["policy"] = dna.Policy - } - if dna.Name != nil { - objectMap["name"] = dna.Name - } - if dna.Description != nil { - objectMap["description"] = dna.Description - } - if dna.DependsOn != nil { - objectMap["dependsOn"] = dna.DependsOn - } - if dna.UserProperties != nil { - objectMap["userProperties"] = dna.UserProperties - } - if dna.Type != "" { - objectMap["type"] = dna.Type - } - for k, v := range dna.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsTeradataSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false } -// AsAzureFunctionActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsOracleSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { - return &dna, true +// AsHdfsSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsFileSystemSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsSQLDWSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsSQLMISource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsWebActivity() (*WebActivity, bool) { +// AsSQLServerSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsSQLSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsDeleteActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// AsRestSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsSapTableSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsSapHanaSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsSapEccSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsSalesforceSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsODataSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsCopyActivity() (*CopyActivity, bool) { +// AsSybaseSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { - return &dna, true +// AsMySQLSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false } -// AsWebHookActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsWebHookActivity() (*WebHookActivity, bool) { +// AsOdbcSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsDb2Source is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsFilterActivity() (*FilterActivity, bool) { +// AsInformixSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsValidationActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsValidationActivity() (*ValidationActivity, bool) { +// AsRelationalSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsUntilActivity() (*UntilActivity, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsDynamicsSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsBlobSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsControlActivity() (*ControlActivity, bool) { +// AsAzureTableSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsBasicControlActivity() (BasicControlActivity, bool) { +// AsBinarySource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsActivity() (*Activity, bool) { +// AsDelimitedTextSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsBasicActivity() (BasicActivity, bool) { - return &dna, true +// AsParquetSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsParquetSource() (*ParquetSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for DatabricksNotebookActivity struct. -func (dna *DatabricksNotebookActivity) UnmarshalJSON(body []byte) error { +// AsCopySource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsCopySource() (*CopySource, bool) { + return &cs, true +} + +// AsBasicCopySource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsBasicCopySource() (BasicCopySource, bool) { + return &cs, true +} + +// UnmarshalJSON is the custom unmarshaler for CopySource struct. +func (cs *CopySource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -43079,33 +45489,6 @@ func (dna *DatabricksNotebookActivity) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": - if v != nil { - var databricksNotebookActivityTypeProperties DatabricksNotebookActivityTypeProperties - err = json.Unmarshal(*v, &databricksNotebookActivityTypeProperties) - if err != nil { - return err - } - dna.DatabricksNotebookActivityTypeProperties = &databricksNotebookActivityTypeProperties - } - case "linkedServiceName": - if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) - if err != nil { - return err - } - dna.LinkedServiceName = &linkedServiceName - } - case "policy": - if v != nil { - var policy ActivityPolicy - err = json.Unmarshal(*v, &policy) - if err != nil { - return err - } - dna.Policy = &policy - } default: if v != nil { var additionalProperties interface{} @@ -43113,55 +45496,46 @@ func (dna *DatabricksNotebookActivity) UnmarshalJSON(body []byte) error { if err != nil { return err } - if dna.AdditionalProperties == nil { - dna.AdditionalProperties = make(map[string]interface{}) - } - dna.AdditionalProperties[k] = additionalProperties - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err + if cs.AdditionalProperties == nil { + cs.AdditionalProperties = make(map[string]interface{}) } - dna.Name = &name + cs.AdditionalProperties[k] = additionalProperties } - case "description": + case "sourceRetryCount": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) if err != nil { return err } - dna.Description = &description + cs.SourceRetryCount = sourceRetryCount } - case "dependsOn": + case "sourceRetryWait": if v != nil { - var dependsOn []ActivityDependency - err = json.Unmarshal(*v, &dependsOn) + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) if err != nil { return err } - dna.DependsOn = &dependsOn + cs.SourceRetryWait = sourceRetryWait } - case "userProperties": + case "maxConcurrentConnections": if v != nil { - var userProperties []UserProperty - err = json.Unmarshal(*v, &userProperties) + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) if err != nil { return err } - dna.UserProperties = &userProperties + cs.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicActivity + var typeVar TypeBasicCopySource err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - dna.Type = typeVar + cs.Type = typeVar } } } @@ -43169,614 +45543,514 @@ func (dna *DatabricksNotebookActivity) UnmarshalJSON(body []byte) error { return nil } -// DatabricksNotebookActivityTypeProperties databricks Notebook activity properties. -type DatabricksNotebookActivityTypeProperties struct { - // NotebookPath - 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). - NotebookPath interface{} `json:"notebookPath,omitempty"` - // BaseParameters - 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. - BaseParameters map[string]interface{} `json:"baseParameters"` - // Libraries - A list of libraries to be installed on the cluster that will execute the job. - Libraries *[]map[string]interface{} `json:"libraries,omitempty"` -} - -// MarshalJSON is the custom marshaler for DatabricksNotebookActivityTypeProperties. -func (dnatp DatabricksNotebookActivityTypeProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if dnatp.NotebookPath != nil { - objectMap["notebookPath"] = dnatp.NotebookPath - } - if dnatp.BaseParameters != nil { - objectMap["baseParameters"] = dnatp.BaseParameters - } - if dnatp.Libraries != nil { - objectMap["libraries"] = dnatp.Libraries - } - return json.Marshal(objectMap) -} - -// DatabricksSparkJarActivity databricksSparkJar activity. -type DatabricksSparkJarActivity struct { - // DatabricksSparkJarActivityTypeProperties - Databricks SparkJar activity properties. - *DatabricksSparkJarActivityTypeProperties `json:"typeProperties,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Policy - Activity policy. - Policy *ActivityPolicy `json:"policy,omitempty"` +// CosmosDbLinkedService microsoft Azure Cosmos Database (CosmosDB) linked service. +type CosmosDbLinkedService struct { + // CosmosDbLinkedServiceTypeProperties - CosmosDB linked service properties. + *CosmosDbLinkedServiceTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Name - Activity name. - Name *string `json:"name,omitempty"` - // Description - Activity description. + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. Description *string `json:"description,omitempty"` - // DependsOn - Activity depends on condition. - DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // UserProperties - Activity user properties. - UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' - Type TypeBasicActivity `json:"type,omitempty"` + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the linked service. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) MarshalJSON() ([]byte, error) { - dsja.Type = TypeDatabricksSparkJar +// MarshalJSON is the custom marshaler for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) MarshalJSON() ([]byte, error) { + cdls.Type = TypeCosmosDb objectMap := make(map[string]interface{}) - if dsja.DatabricksSparkJarActivityTypeProperties != nil { - objectMap["typeProperties"] = dsja.DatabricksSparkJarActivityTypeProperties - } - if dsja.LinkedServiceName != nil { - objectMap["linkedServiceName"] = dsja.LinkedServiceName - } - if dsja.Policy != nil { - objectMap["policy"] = dsja.Policy + if cdls.CosmosDbLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = cdls.CosmosDbLinkedServiceTypeProperties } - if dsja.Name != nil { - objectMap["name"] = dsja.Name + if cdls.ConnectVia != nil { + objectMap["connectVia"] = cdls.ConnectVia } - if dsja.Description != nil { - objectMap["description"] = dsja.Description + if cdls.Description != nil { + objectMap["description"] = cdls.Description } - if dsja.DependsOn != nil { - objectMap["dependsOn"] = dsja.DependsOn + if cdls.Parameters != nil { + objectMap["parameters"] = cdls.Parameters } - if dsja.UserProperties != nil { - objectMap["userProperties"] = dsja.UserProperties + if cdls.Annotations != nil { + objectMap["annotations"] = cdls.Annotations } - if dsja.Type != "" { - objectMap["type"] = dsja.Type + if cdls.Type != "" { + objectMap["type"] = cdls.Type } - for k, v := range dsja.AdditionalProperties { + for k, v := range cdls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { - return &dsja, true +// AsSapTableLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { + return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsWebActivity() (*WebActivity, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsDeleteActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsCopyActivity() (*CopyActivity, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { - return &dsja, true +// AsPhoenixLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { + return nil, false } -// AsWebHookActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsWebHookActivity() (*WebHookActivity, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsFilterActivity() (*FilterActivity, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsValidationActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsValidationActivity() (*ValidationActivity, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsUntilActivity() (*UntilActivity, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsControlActivity() (*ControlActivity, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsBasicControlActivity() (BasicControlActivity, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsActivity() (*Activity, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsBasicActivity() (BasicActivity, bool) { - return &dsja, true +// AsCouchbaseLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for DatabricksSparkJarActivity struct. -func (dsja *DatabricksSparkJarActivity) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "typeProperties": - if v != nil { - var databricksSparkJarActivityTypeProperties DatabricksSparkJarActivityTypeProperties - err = json.Unmarshal(*v, &databricksSparkJarActivityTypeProperties) - if err != nil { - return err - } - dsja.DatabricksSparkJarActivityTypeProperties = &databricksSparkJarActivityTypeProperties - } - case "linkedServiceName": - if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) - if err != nil { - return err - } - dsja.LinkedServiceName = &linkedServiceName - } - case "policy": - if v != nil { - var policy ActivityPolicy - err = json.Unmarshal(*v, &policy) - if err != nil { - return err - } - dsja.Policy = &policy - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if dsja.AdditionalProperties == nil { - dsja.AdditionalProperties = make(map[string]interface{}) - } - dsja.AdditionalProperties[k] = additionalProperties - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - dsja.Name = &name - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - dsja.Description = &description - } - case "dependsOn": - if v != nil { - var dependsOn []ActivityDependency - err = json.Unmarshal(*v, &dependsOn) - if err != nil { - return err - } - dsja.DependsOn = &dependsOn - } - case "userProperties": - if v != nil { - var userProperties []UserProperty - err = json.Unmarshal(*v, &userProperties) - if err != nil { - return err - } - dsja.UserProperties = &userProperties - } - case "type": - if v != nil { - var typeVar TypeBasicActivity - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - dsja.Type = typeVar - } - } - } +// AsConcurLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { + return nil, false +} - return nil +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { + return nil, false } -// DatabricksSparkJarActivityTypeProperties databricks SparkJar activity properties. -type DatabricksSparkJarActivityTypeProperties struct { - // MainClassName - 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). - MainClassName interface{} `json:"mainClassName,omitempty"` - // Parameters - Parameters that will be passed to the main method. - Parameters *[]interface{} `json:"parameters,omitempty"` - // Libraries - A list of libraries to be installed on the cluster that will execute the job. - Libraries *[]map[string]interface{} `json:"libraries,omitempty"` +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { + return nil, false } -// DatabricksSparkPythonActivity databricksSparkPython activity. -type DatabricksSparkPythonActivity struct { - // DatabricksSparkPythonActivityTypeProperties - Databricks SparkPython activity properties. - *DatabricksSparkPythonActivityTypeProperties `json:"typeProperties,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Policy - Activity policy. - Policy *ActivityPolicy `json:"policy,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Name - Activity name. - Name *string `json:"name,omitempty"` - // Description - Activity description. - Description *string `json:"description,omitempty"` - // DependsOn - Activity depends on condition. - DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // UserProperties - Activity user properties. - UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' - Type TypeBasicActivity `json:"type,omitempty"` +// AsSapHanaLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) MarshalJSON() ([]byte, error) { - dspa.Type = TypeDatabricksSparkPython - objectMap := make(map[string]interface{}) - if dspa.DatabricksSparkPythonActivityTypeProperties != nil { - objectMap["typeProperties"] = dspa.DatabricksSparkPythonActivityTypeProperties - } - if dspa.LinkedServiceName != nil { - objectMap["linkedServiceName"] = dspa.LinkedServiceName - } - if dspa.Policy != nil { - objectMap["policy"] = dspa.Policy - } - if dspa.Name != nil { - objectMap["name"] = dspa.Name - } - if dspa.Description != nil { - objectMap["description"] = dspa.Description - } - if dspa.DependsOn != nil { - objectMap["dependsOn"] = dspa.DependsOn - } - if dspa.UserProperties != nil { - objectMap["userProperties"] = dspa.UserProperties - } - if dspa.Type != "" { - objectMap["type"] = dspa.Type - } - for k, v := range dspa.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsSapBWLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { + return nil, false } -// AsAzureFunctionActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { - return &dspa, true +// AsFtpServerLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { + return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsWebActivity() (*WebActivity, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsDeleteActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsCopyActivity() (*CopyActivity, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { - return &dspa, true +// AsODataLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { + return nil, false } -// AsWebHookActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsWebHookActivity() (*WebHookActivity, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsFilterActivity() (*FilterActivity, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsValidationActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsValidationActivity() (*ValidationActivity, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsUntilActivity() (*UntilActivity, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsControlActivity() (*ControlActivity, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsBasicControlActivity() (BasicControlActivity, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsActivity() (*Activity, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsBasicActivity() (BasicActivity, bool) { - return &dspa, true +// AsHDInsightLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for DatabricksSparkPythonActivity struct. -func (dspa *DatabricksSparkPythonActivity) UnmarshalJSON(body []byte) error { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + +// AsDynamicsLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false +} + +// AsCosmosDbLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return &cdls, true +} + +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false +} + +// AsAzureBatchLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} + +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &cdls, true +} + +// UnmarshalJSON is the custom unmarshaler for CosmosDbLinkedService struct. +func (cdls *CosmosDbLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -43786,30 +46060,12 @@ func (dspa *DatabricksSparkPythonActivity) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var databricksSparkPythonActivityTypeProperties DatabricksSparkPythonActivityTypeProperties - err = json.Unmarshal(*v, &databricksSparkPythonActivityTypeProperties) - if err != nil { - return err - } - dspa.DatabricksSparkPythonActivityTypeProperties = &databricksSparkPythonActivityTypeProperties - } - case "linkedServiceName": - if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) - if err != nil { - return err - } - dspa.LinkedServiceName = &linkedServiceName - } - case "policy": - if v != nil { - var policy ActivityPolicy - err = json.Unmarshal(*v, &policy) + var cosmosDbLinkedServiceTypeProperties CosmosDbLinkedServiceTypeProperties + err = json.Unmarshal(*v, &cosmosDbLinkedServiceTypeProperties) if err != nil { return err } - dspa.Policy = &policy + cdls.CosmosDbLinkedServiceTypeProperties = &cosmosDbLinkedServiceTypeProperties } default: if v != nil { @@ -43818,19 +46074,19 @@ func (dspa *DatabricksSparkPythonActivity) UnmarshalJSON(body []byte) error { if err != nil { return err } - if dspa.AdditionalProperties == nil { - dspa.AdditionalProperties = make(map[string]interface{}) + if cdls.AdditionalProperties == nil { + cdls.AdditionalProperties = make(map[string]interface{}) } - dspa.AdditionalProperties[k] = additionalProperties + cdls.AdditionalProperties[k] = additionalProperties } - case "name": + case "connectVia": if v != nil { - var name string - err = json.Unmarshal(*v, &name) + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) if err != nil { return err } - dspa.Name = &name + cdls.ConnectVia = &connectVia } case "description": if v != nil { @@ -43839,34 +46095,34 @@ func (dspa *DatabricksSparkPythonActivity) UnmarshalJSON(body []byte) error { if err != nil { return err } - dspa.Description = &description + cdls.Description = &description } - case "dependsOn": + case "parameters": if v != nil { - var dependsOn []ActivityDependency - err = json.Unmarshal(*v, &dependsOn) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - dspa.DependsOn = &dependsOn + cdls.Parameters = parameters } - case "userProperties": + case "annotations": if v != nil { - var userProperties []UserProperty - err = json.Unmarshal(*v, &userProperties) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - dspa.UserProperties = &userProperties + cdls.Annotations = &annotations } case "type": if v != nil { - var typeVar TypeBasicActivity + var typeVar TypeBasicLinkedService err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - dspa.Type = typeVar + cdls.Type = typeVar } } } @@ -43874,1174 +46130,479 @@ func (dspa *DatabricksSparkPythonActivity) UnmarshalJSON(body []byte) error { return nil } -// DatabricksSparkPythonActivityTypeProperties databricks SparkPython activity properties. -type DatabricksSparkPythonActivityTypeProperties struct { - // PythonFile - The URI of the Python file to be executed. DBFS paths are supported. Type: string (or Expression with resultType string). - PythonFile interface{} `json:"pythonFile,omitempty"` - // Parameters - Command line parameters that will be passed to the Python file. - Parameters *[]interface{} `json:"parameters,omitempty"` - // Libraries - A list of libraries to be installed on the cluster that will execute the job. - Libraries *[]map[string]interface{} `json:"libraries,omitempty"` +// CosmosDbLinkedServiceTypeProperties cosmosDB linked service properties. +type CosmosDbLinkedServiceTypeProperties struct { + // ConnectionString - The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + ConnectionString interface{} `json:"connectionString,omitempty"` + // AccountKey - The Azure key vault secret reference of accountKey in connection string. + AccountKey *AzureKeyVaultSecretReference `json:"accountKey,omitempty"` + // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` } -// DataLakeAnalyticsUSQLActivity data Lake Analytics U-SQL activity. -type DataLakeAnalyticsUSQLActivity struct { - // DataLakeAnalyticsUSQLActivityTypeProperties - Data Lake Analytics U-SQL activity properties. - *DataLakeAnalyticsUSQLActivityTypeProperties `json:"typeProperties,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Policy - Activity policy. - Policy *ActivityPolicy `json:"policy,omitempty"` +// CosmosDbMongoDbAPICollectionDataset the CosmosDB (MongoDB API) database dataset. +type CosmosDbMongoDbAPICollectionDataset struct { + // CosmosDbMongoDbAPICollectionDatasetTypeProperties - CosmosDB (MongoDB API) database dataset properties. + *CosmosDbMongoDbAPICollectionDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Name - Activity name. - Name *string `json:"name,omitempty"` - // Description - Activity description. + // Description - Dataset description. Description *string `json:"description,omitempty"` - // DependsOn - Activity depends on condition. - DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // UserProperties - Activity user properties. - UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' - Type TypeBasicActivity `json:"type,omitempty"` + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) MarshalJSON() ([]byte, error) { - dlaua.Type = TypeDataLakeAnalyticsUSQL +// MarshalJSON is the custom marshaler for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) MarshalJSON() ([]byte, error) { + cdmdacd.Type = TypeCosmosDbMongoDbAPICollection objectMap := make(map[string]interface{}) - if dlaua.DataLakeAnalyticsUSQLActivityTypeProperties != nil { - objectMap["typeProperties"] = dlaua.DataLakeAnalyticsUSQLActivityTypeProperties + if cdmdacd.CosmosDbMongoDbAPICollectionDatasetTypeProperties != nil { + objectMap["typeProperties"] = cdmdacd.CosmosDbMongoDbAPICollectionDatasetTypeProperties } - if dlaua.LinkedServiceName != nil { - objectMap["linkedServiceName"] = dlaua.LinkedServiceName + if cdmdacd.Description != nil { + objectMap["description"] = cdmdacd.Description } - if dlaua.Policy != nil { - objectMap["policy"] = dlaua.Policy + if cdmdacd.Structure != nil { + objectMap["structure"] = cdmdacd.Structure } - if dlaua.Name != nil { - objectMap["name"] = dlaua.Name + if cdmdacd.Schema != nil { + objectMap["schema"] = cdmdacd.Schema } - if dlaua.Description != nil { - objectMap["description"] = dlaua.Description + if cdmdacd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = cdmdacd.LinkedServiceName } - if dlaua.DependsOn != nil { - objectMap["dependsOn"] = dlaua.DependsOn + if cdmdacd.Parameters != nil { + objectMap["parameters"] = cdmdacd.Parameters } - if dlaua.UserProperties != nil { - objectMap["userProperties"] = dlaua.UserProperties + if cdmdacd.Annotations != nil { + objectMap["annotations"] = cdmdacd.Annotations } - if dlaua.Type != "" { - objectMap["type"] = dlaua.Type + if cdmdacd.Folder != nil { + objectMap["folder"] = cdmdacd.Folder } - for k, v := range dlaua.AdditionalProperties { + if cdmdacd.Type != "" { + objectMap["type"] = cdmdacd.Type + } + for k, v := range cdmdacd.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { - return &dlaua, true +// AsResponsysObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { + return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsWebActivity() (*WebActivity, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsDeleteActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsCopyActivity() (*CopyActivity, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { - return &dlaua, true +// AsJiraObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { + return nil, false } -// AsWebHookActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsWebHookActivity() (*WebHookActivity, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsFilterActivity() (*FilterActivity, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsValidationActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsValidationActivity() (*ValidationActivity, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsUntilActivity() (*UntilActivity, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsDrillTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsControlActivity() (*ControlActivity, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsBasicControlActivity() (BasicControlActivity, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsActivity() (*Activity, bool) { +// AsHTTPDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsBasicActivity() (BasicActivity, bool) { - return &dlaua, true +// AsAzureSearchIndexDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for DataLakeAnalyticsUSQLActivity struct. -func (dlaua *DataLakeAnalyticsUSQLActivity) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "typeProperties": - if v != nil { - var dataLakeAnalyticsUSQLActivityTypeProperties DataLakeAnalyticsUSQLActivityTypeProperties - err = json.Unmarshal(*v, &dataLakeAnalyticsUSQLActivityTypeProperties) - if err != nil { - return err - } - dlaua.DataLakeAnalyticsUSQLActivityTypeProperties = &dataLakeAnalyticsUSQLActivityTypeProperties - } - case "linkedServiceName": - if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) - if err != nil { - return err - } - dlaua.LinkedServiceName = &linkedServiceName - } - case "policy": - if v != nil { - var policy ActivityPolicy - err = json.Unmarshal(*v, &policy) - if err != nil { - return err - } - dlaua.Policy = &policy - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if dlaua.AdditionalProperties == nil { - dlaua.AdditionalProperties = make(map[string]interface{}) - } - dlaua.AdditionalProperties[k] = additionalProperties - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - dlaua.Name = &name - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - dlaua.Description = &description - } - case "dependsOn": - if v != nil { - var dependsOn []ActivityDependency - err = json.Unmarshal(*v, &dependsOn) - if err != nil { - return err - } - dlaua.DependsOn = &dependsOn - } - case "userProperties": - if v != nil { - var userProperties []UserProperty - err = json.Unmarshal(*v, &userProperties) - if err != nil { - return err - } - dlaua.UserProperties = &userProperties - } - case "type": - if v != nil { - var typeVar TypeBasicActivity - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - dlaua.Type = typeVar - } - } - } +// AsWebTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsWebTableDataset() (*WebTableDataset, bool) { + return nil, false +} - return nil +// AsSapTableResourceDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { + return nil, false } -// DataLakeAnalyticsUSQLActivityTypeProperties dataLakeAnalyticsU-SQL activity properties. -type DataLakeAnalyticsUSQLActivityTypeProperties struct { - // ScriptPath - Case-sensitive path to folder that contains the U-SQL script. Type: string (or Expression with resultType string). - ScriptPath interface{} `json:"scriptPath,omitempty"` - // ScriptLinkedService - Script linked service reference. - ScriptLinkedService *LinkedServiceReference `json:"scriptLinkedService,omitempty"` - // DegreeOfParallelism - The maximum number of nodes simultaneously used to run the job. Default value is 1. Type: integer (or Expression with resultType integer), minimum: 1. - DegreeOfParallelism interface{} `json:"degreeOfParallelism,omitempty"` - // Priority - Determines which jobs out of all that are queued should be selected to run first. The lower the number, the higher the priority. Default value is 1000. Type: integer (or Expression with resultType integer), minimum: 1. - Priority interface{} `json:"priority,omitempty"` - // Parameters - Parameters for U-SQL job request. - Parameters map[string]interface{} `json:"parameters"` - // RuntimeVersion - Runtime version of the U-SQL engine to use. Type: string (or Expression with resultType string). - RuntimeVersion interface{} `json:"runtimeVersion,omitempty"` - // CompilationMode - Compilation mode of U-SQL. Must be one of these values : Semantic, Full and SingleBox. Type: string (or Expression with resultType string). - CompilationMode interface{} `json:"compilationMode,omitempty"` -} - -// MarshalJSON is the custom marshaler for DataLakeAnalyticsUSQLActivityTypeProperties. -func (dlauatp DataLakeAnalyticsUSQLActivityTypeProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if dlauatp.ScriptPath != nil { - objectMap["scriptPath"] = dlauatp.ScriptPath - } - if dlauatp.ScriptLinkedService != nil { - objectMap["scriptLinkedService"] = dlauatp.ScriptLinkedService - } - if dlauatp.DegreeOfParallelism != nil { - objectMap["degreeOfParallelism"] = dlauatp.DegreeOfParallelism - } - if dlauatp.Priority != nil { - objectMap["priority"] = dlauatp.Priority - } - if dlauatp.Parameters != nil { - objectMap["parameters"] = dlauatp.Parameters - } - if dlauatp.RuntimeVersion != nil { - objectMap["runtimeVersion"] = dlauatp.RuntimeVersion - } - if dlauatp.CompilationMode != nil { - objectMap["compilationMode"] = dlauatp.CompilationMode - } - return json.Marshal(objectMap) -} - -// BasicDataset the Azure Data Factory nested object which identifies data within different data stores, such as -// tables, files, folders, and documents. -type BasicDataset interface { - AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) - AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) - AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) - AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) - AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) - AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) - AsVerticaTableDataset() (*VerticaTableDataset, bool) - AsNetezzaTableDataset() (*NetezzaTableDataset, bool) - AsZohoObjectDataset() (*ZohoObjectDataset, bool) - AsXeroObjectDataset() (*XeroObjectDataset, bool) - AsSquareObjectDataset() (*SquareObjectDataset, bool) - AsSparkObjectDataset() (*SparkObjectDataset, bool) - AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) - AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) - AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) - AsPrestoObjectDataset() (*PrestoObjectDataset, bool) - AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) - AsPaypalObjectDataset() (*PaypalObjectDataset, bool) - AsMarketoObjectDataset() (*MarketoObjectDataset, bool) - AsMariaDBTableDataset() (*MariaDBTableDataset, bool) - AsMagentoObjectDataset() (*MagentoObjectDataset, bool) - AsJiraObjectDataset() (*JiraObjectDataset, bool) - AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) - AsHubspotObjectDataset() (*HubspotObjectDataset, bool) - AsHiveObjectDataset() (*HiveObjectDataset, bool) - AsHBaseObjectDataset() (*HBaseObjectDataset, bool) - AsGreenplumTableDataset() (*GreenplumTableDataset, bool) - AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) - AsEloquaObjectDataset() (*EloquaObjectDataset, bool) - AsDrillTableDataset() (*DrillTableDataset, bool) - AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) - AsConcurObjectDataset() (*ConcurObjectDataset, bool) - AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) - AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) - AsHTTPDataset() (*HTTPDataset, bool) - AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) - AsWebTableDataset() (*WebTableDataset, bool) - AsSapTableResourceDataset() (*SapTableResourceDataset, bool) - AsRestResourceDataset() (*RestResourceDataset, bool) - AsSQLServerTableDataset() (*SQLServerTableDataset, bool) - AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) - AsSapHanaTableDataset() (*SapHanaTableDataset, bool) - AsSapEccResourceDataset() (*SapEccResourceDataset, bool) - AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) - AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) - AsRelationalTableDataset() (*RelationalTableDataset, bool) - AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) - AsOracleTableDataset() (*OracleTableDataset, bool) - AsODataResourceDataset() (*ODataResourceDataset, bool) - AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) - AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) - AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) - AsFileShareDataset() (*FileShareDataset, bool) - AsOffice365Dataset() (*Office365Dataset, bool) - AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) - AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) - AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) - AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) - AsCustomDataset() (*CustomDataset, bool) - AsCassandraTableDataset() (*CassandraTableDataset, bool) - AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) - AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) - AsAzureTableDataset() (*AzureTableDataset, bool) - AsAzureBlobDataset() (*AzureBlobDataset, bool) - AsDelimitedTextDataset() (*DelimitedTextDataset, bool) - AsParquetDataset() (*ParquetDataset, bool) - AsAmazonS3Dataset() (*AmazonS3Dataset, bool) - AsDataset() (*Dataset, bool) -} - -// Dataset the Azure Data Factory nested object which identifies data within different data stores, such as -// tables, files, folders, and documents. -type Dataset struct { - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Description - Dataset description. - Description *string `json:"description,omitempty"` - // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. - Structure interface{} `json:"structure,omitempty"` - // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - Schema interface{} `json:"schema,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Parameters - Parameters for dataset. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the Dataset. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' - Type TypeBasicDataset `json:"type,omitempty"` -} - -func unmarshalBasicDataset(body []byte) (BasicDataset, error) { - var m map[string]interface{} - err := json.Unmarshal(body, &m) - if err != nil { - return nil, err - } - - switch m["type"] { - case string(TypeGoogleAdWordsObject): - var gawod GoogleAdWordsObjectDataset - err := json.Unmarshal(body, &gawod) - return gawod, err - case string(TypeAzureDataExplorerTable): - var adetd AzureDataExplorerTableDataset - err := json.Unmarshal(body, &adetd) - return adetd, err - case string(TypeOracleServiceCloudObject): - var oscod OracleServiceCloudObjectDataset - err := json.Unmarshal(body, &oscod) - return oscod, err - case string(TypeDynamicsAXResource): - var dard DynamicsAXResourceDataset - err := json.Unmarshal(body, &dard) - return dard, err - case string(TypeResponsysObject): - var rod ResponsysObjectDataset - err := json.Unmarshal(body, &rod) - return rod, err - case string(TypeSalesforceMarketingCloudObject): - var smcod SalesforceMarketingCloudObjectDataset - err := json.Unmarshal(body, &smcod) - return smcod, err - case string(TypeVerticaTable): - var vtd VerticaTableDataset - err := json.Unmarshal(body, &vtd) - return vtd, err - case string(TypeNetezzaTable): - var ntd NetezzaTableDataset - err := json.Unmarshal(body, &ntd) - return ntd, err - case string(TypeZohoObject): - var zod ZohoObjectDataset - err := json.Unmarshal(body, &zod) - return zod, err - case string(TypeXeroObject): - var xod XeroObjectDataset - err := json.Unmarshal(body, &xod) - return xod, err - case string(TypeSquareObject): - var sod SquareObjectDataset - err := json.Unmarshal(body, &sod) - return sod, err - case string(TypeSparkObject): - var sod SparkObjectDataset - err := json.Unmarshal(body, &sod) - return sod, err - case string(TypeShopifyObject): - var sod ShopifyObjectDataset - err := json.Unmarshal(body, &sod) - return sod, err - case string(TypeServiceNowObject): - var snod ServiceNowObjectDataset - err := json.Unmarshal(body, &snod) - return snod, err - case string(TypeQuickBooksObject): - var qbod QuickBooksObjectDataset - err := json.Unmarshal(body, &qbod) - return qbod, err - case string(TypePrestoObject): - var pod PrestoObjectDataset - err := json.Unmarshal(body, &pod) - return pod, err - case string(TypePhoenixObject): - var pod PhoenixObjectDataset - err := json.Unmarshal(body, &pod) - return pod, err - case string(TypePaypalObject): - var pod PaypalObjectDataset - err := json.Unmarshal(body, &pod) - return pod, err - case string(TypeMarketoObject): - var mod MarketoObjectDataset - err := json.Unmarshal(body, &mod) - return mod, err - case string(TypeMariaDBTable): - var mdtd MariaDBTableDataset - err := json.Unmarshal(body, &mdtd) - return mdtd, err - case string(TypeMagentoObject): - var mod MagentoObjectDataset - err := json.Unmarshal(body, &mod) - return mod, err - case string(TypeJiraObject): - var jod JiraObjectDataset - err := json.Unmarshal(body, &jod) - return jod, err - case string(TypeImpalaObject): - var iod ImpalaObjectDataset - err := json.Unmarshal(body, &iod) - return iod, err - case string(TypeHubspotObject): - var hod HubspotObjectDataset - err := json.Unmarshal(body, &hod) - return hod, err - case string(TypeHiveObject): - var hod HiveObjectDataset - err := json.Unmarshal(body, &hod) - return hod, err - case string(TypeHBaseObject): - var hbod HBaseObjectDataset - err := json.Unmarshal(body, &hbod) - return hbod, err - case string(TypeGreenplumTable): - var gtd GreenplumTableDataset - err := json.Unmarshal(body, >d) - return gtd, err - case string(TypeGoogleBigQueryObject): - var gbqod GoogleBigQueryObjectDataset - err := json.Unmarshal(body, &gbqod) - return gbqod, err - case string(TypeEloquaObject): - var eod EloquaObjectDataset - err := json.Unmarshal(body, &eod) - return eod, err - case string(TypeDrillTable): - var dtd DrillTableDataset - err := json.Unmarshal(body, &dtd) - return dtd, err - case string(TypeCouchbaseTable): - var ctd CouchbaseTableDataset - err := json.Unmarshal(body, &ctd) - return ctd, err - case string(TypeConcurObject): - var cod ConcurObjectDataset - err := json.Unmarshal(body, &cod) - return cod, err - case string(TypeAzurePostgreSQLTable): - var apstd AzurePostgreSQLTableDataset - err := json.Unmarshal(body, &apstd) - return apstd, err - case string(TypeAmazonMWSObject): - var amod AmazonMWSObjectDataset - err := json.Unmarshal(body, &amod) - return amod, err - case string(TypeHTTPFile): - var hd HTTPDataset - err := json.Unmarshal(body, &hd) - return hd, err - case string(TypeAzureSearchIndex): - var asid AzureSearchIndexDataset - err := json.Unmarshal(body, &asid) - return asid, err - case string(TypeWebTable): - var wtd WebTableDataset - err := json.Unmarshal(body, &wtd) - return wtd, err - case string(TypeSapTableResource): - var strd SapTableResourceDataset - err := json.Unmarshal(body, &strd) - return strd, err - case string(TypeRestResource): - var rrd RestResourceDataset - err := json.Unmarshal(body, &rrd) - return rrd, err - case string(TypeSQLServerTable): - var sstd SQLServerTableDataset - err := json.Unmarshal(body, &sstd) - return sstd, err - case string(TypeSapOpenHubTable): - var sohtd SapOpenHubTableDataset - err := json.Unmarshal(body, &sohtd) - return sohtd, err - case string(TypeSapHanaTable): - var shtd SapHanaTableDataset - err := json.Unmarshal(body, &shtd) - return shtd, err - case string(TypeSapEccResource): - var serd SapEccResourceDataset - err := json.Unmarshal(body, &serd) - return serd, err - case string(TypeSapCloudForCustomerResource): - var scfcrd SapCloudForCustomerResourceDataset - err := json.Unmarshal(body, &scfcrd) - return scfcrd, err - case string(TypeSalesforceObject): - var sod SalesforceObjectDataset - err := json.Unmarshal(body, &sod) - return sod, err - case string(TypeRelationalTable): - var rtd RelationalTableDataset - err := json.Unmarshal(body, &rtd) - return rtd, err - case string(TypeAzureMySQLTable): - var amstd AzureMySQLTableDataset - err := json.Unmarshal(body, &amstd) - return amstd, err - case string(TypeOracleTable): - var otd OracleTableDataset - err := json.Unmarshal(body, &otd) - return otd, err - case string(TypeODataResource): - var odrd ODataResourceDataset - err := json.Unmarshal(body, &odrd) - return odrd, err - case string(TypeCosmosDbMongoDbAPICollection): - var cdmdacd CosmosDbMongoDbAPICollectionDataset - err := json.Unmarshal(body, &cdmdacd) - return cdmdacd, err - case string(TypeMongoDbV2Collection): - var mdvcd MongoDbV2CollectionDataset - err := json.Unmarshal(body, &mdvcd) - return mdvcd, err - case string(TypeMongoDbCollection): - var mdcd MongoDbCollectionDataset - err := json.Unmarshal(body, &mdcd) - return mdcd, err - case string(TypeFileShare): - var fsd FileShareDataset - err := json.Unmarshal(body, &fsd) - return fsd, err - case string(TypeOffice365Table): - var o3d Office365Dataset - err := json.Unmarshal(body, &o3d) - return o3d, err - case string(TypeAzureBlobFSFile): - var abfd AzureBlobFSDataset - err := json.Unmarshal(body, &abfd) - return abfd, err - case string(TypeAzureDataLakeStoreFile): - var adlsd AzureDataLakeStoreDataset - err := json.Unmarshal(body, &adlsd) - return adlsd, err - case string(TypeDynamicsEntity): - var ded DynamicsEntityDataset - err := json.Unmarshal(body, &ded) - return ded, err - case string(TypeDocumentDbCollection): - var ddcd DocumentDbCollectionDataset - err := json.Unmarshal(body, &ddcd) - return ddcd, err - case string(TypeCustomDataset): - var cd CustomDataset - err := json.Unmarshal(body, &cd) - return cd, err - case string(TypeCassandraTable): - var ctd CassandraTableDataset - err := json.Unmarshal(body, &ctd) - return ctd, err - case string(TypeAzureSQLDWTable): - var asdtd AzureSQLDWTableDataset - err := json.Unmarshal(body, &asdtd) - return asdtd, err - case string(TypeAzureSQLTable): - var astd AzureSQLTableDataset - err := json.Unmarshal(body, &astd) - return astd, err - case string(TypeAzureTable): - var atd AzureTableDataset - err := json.Unmarshal(body, &atd) - return atd, err - case string(TypeAzureBlob): - var abd AzureBlobDataset - err := json.Unmarshal(body, &abd) - return abd, err - case string(TypeDelimitedText): - var dtd DelimitedTextDataset - err := json.Unmarshal(body, &dtd) - return dtd, err - case string(TypeParquet): - var pd ParquetDataset - err := json.Unmarshal(body, &pd) - return pd, err - case string(TypeAmazonS3Object): - var asd AmazonS3Dataset - err := json.Unmarshal(body, &asd) - return asd, err - default: - var d Dataset - err := json.Unmarshal(body, &d) - return d, err - } -} -func unmarshalBasicDatasetArray(body []byte) ([]BasicDataset, error) { - var rawMessages []*json.RawMessage - err := json.Unmarshal(body, &rawMessages) - if err != nil { - return nil, err - } - - dArray := make([]BasicDataset, len(rawMessages)) - - for index, rawMessage := range rawMessages { - d, err := unmarshalBasicDataset(*rawMessage) - if err != nil { - return nil, err - } - dArray[index] = d - } - return dArray, nil -} - -// MarshalJSON is the custom marshaler for Dataset. -func (d Dataset) MarshalJSON() ([]byte, error) { - d.Type = TypeDataset - objectMap := make(map[string]interface{}) - if d.Description != nil { - objectMap["description"] = d.Description - } - if d.Structure != nil { - objectMap["structure"] = d.Structure - } - if d.Schema != nil { - objectMap["schema"] = d.Schema - } - if d.LinkedServiceName != nil { - objectMap["linkedServiceName"] = d.LinkedServiceName - } - if d.Parameters != nil { - objectMap["parameters"] = d.Parameters - } - if d.Annotations != nil { - objectMap["annotations"] = d.Annotations - } - if d.Folder != nil { - objectMap["folder"] = d.Folder - } - if d.Type != "" { - objectMap["type"] = d.Type - } - for k, v := range d.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) -} - -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { - return nil, false -} - -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { - return nil, false -} - -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { - return nil, false -} - -// AsDynamicsAXResourceDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { - return nil, false -} - -// AsResponsysObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { - return nil, false -} - -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { - return nil, false -} - -// AsVerticaTableDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { - return nil, false -} - -// AsNetezzaTableDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { - return nil, false -} - -// AsZohoObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { - return nil, false -} - -// AsXeroObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { - return nil, false -} - -// AsSquareObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { - return nil, false -} - -// AsSparkObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { - return nil, false -} - -// AsShopifyObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { - return nil, false -} - -// AsServiceNowObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { - return nil, false -} - -// AsQuickBooksObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { - return nil, false -} - -// AsPrestoObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { - return nil, false -} - -// AsPhoenixObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { - return nil, false -} - -// AsPaypalObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { - return nil, false -} - -// AsMarketoObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { - return nil, false -} - -// AsMariaDBTableDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { - return nil, false -} - -// AsMagentoObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { - return nil, false -} - -// AsJiraObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { - return nil, false -} - -// AsImpalaObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { - return nil, false -} - -// AsHubspotObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { - return nil, false -} - -// AsHiveObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { - return nil, false -} - -// AsHBaseObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { - return nil, false -} - -// AsGreenplumTableDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsRestResourceDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsInformixTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsOracleTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsODataResourceDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { - return nil, false +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { + return &cdmdacd, true } -// AsRelationalTableDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsFileShareDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsOffice365Dataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsCustomDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsCustomDataset() (*CustomDataset, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsAzureTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsBinaryDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsParquetDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsAmazonS3Dataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsDataset() (*Dataset, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsDataset() (*Dataset, bool) { - return &d, true -} - -// AsBasicDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsBasicDataset() (BasicDataset, bool) { - return &d, true +// AsBasicDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsBasicDataset() (BasicDataset, bool) { + return &cdmdacd, true } -// UnmarshalJSON is the custom unmarshaler for Dataset struct. -func (d *Dataset) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for CosmosDbMongoDbAPICollectionDataset struct. +func (cdmdacd *CosmosDbMongoDbAPICollectionDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -45049,6 +46610,15 @@ func (d *Dataset) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { + case "typeProperties": + if v != nil { + var cosmosDbMongoDbAPICollectionDatasetTypeProperties CosmosDbMongoDbAPICollectionDatasetTypeProperties + err = json.Unmarshal(*v, &cosmosDbMongoDbAPICollectionDatasetTypeProperties) + if err != nil { + return err + } + cdmdacd.CosmosDbMongoDbAPICollectionDatasetTypeProperties = &cosmosDbMongoDbAPICollectionDatasetTypeProperties + } default: if v != nil { var additionalProperties interface{} @@ -45056,10 +46626,10 @@ func (d *Dataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if d.AdditionalProperties == nil { - d.AdditionalProperties = make(map[string]interface{}) + if cdmdacd.AdditionalProperties == nil { + cdmdacd.AdditionalProperties = make(map[string]interface{}) } - d.AdditionalProperties[k] = additionalProperties + cdmdacd.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -45068,7 +46638,7 @@ func (d *Dataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - d.Description = &description + cdmdacd.Description = &description } case "structure": if v != nil { @@ -45077,7 +46647,7 @@ func (d *Dataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - d.Structure = structure + cdmdacd.Structure = structure } case "schema": if v != nil { @@ -45086,7 +46656,7 @@ func (d *Dataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - d.Schema = schema + cdmdacd.Schema = schema } case "linkedServiceName": if v != nil { @@ -45095,7 +46665,7 @@ func (d *Dataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - d.LinkedServiceName = &linkedServiceName + cdmdacd.LinkedServiceName = &linkedServiceName } case "parameters": if v != nil { @@ -45104,7 +46674,7 @@ func (d *Dataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - d.Parameters = parameters + cdmdacd.Parameters = parameters } case "annotations": if v != nil { @@ -45113,7 +46683,7 @@ func (d *Dataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - d.Annotations = &annotations + cdmdacd.Annotations = &annotations } case "folder": if v != nil { @@ -45122,7 +46692,7 @@ func (d *Dataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - d.Folder = &folder + cdmdacd.Folder = &folder } case "type": if v != nil { @@ -45131,7 +46701,7 @@ func (d *Dataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - d.Type = typeVar + cdmdacd.Type = typeVar } } } @@ -45139,1017 +46709,520 @@ func (d *Dataset) UnmarshalJSON(body []byte) error { return nil } -// DatasetBZip2Compression the BZip2 compression method used on a dataset. -type DatasetBZip2Compression struct { +// CosmosDbMongoDbAPICollectionDatasetTypeProperties cosmosDB (MongoDB API) database dataset properties. +type CosmosDbMongoDbAPICollectionDatasetTypeProperties struct { + // Collection - The collection name of the CosmosDB (MongoDB API) database. Type: string (or Expression with resultType string). + Collection interface{} `json:"collection,omitempty"` +} + +// CosmosDbMongoDbAPILinkedService linked service for CosmosDB (MongoDB API) data source. +type CosmosDbMongoDbAPILinkedService struct { + // CosmosDbMongoDbAPILinkedServiceTypeProperties - CosmosDB (MongoDB API) linked service properties. + *CosmosDbMongoDbAPILinkedServiceTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Type - Possible values include: 'TypeDatasetCompression', 'TypeZipDeflate', 'TypeDeflate', 'TypeGZip', 'TypeBZip2' - Type TypeBasicDatasetCompression `json:"type,omitempty"` + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. + Description *string `json:"description,omitempty"` + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the linked service. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for DatasetBZip2Compression. -func (dbz2c DatasetBZip2Compression) MarshalJSON() ([]byte, error) { - dbz2c.Type = TypeBZip2 +// MarshalJSON is the custom marshaler for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) MarshalJSON() ([]byte, error) { + cdmdals.Type = TypeCosmosDbMongoDbAPI objectMap := make(map[string]interface{}) - if dbz2c.Type != "" { - objectMap["type"] = dbz2c.Type + if cdmdals.CosmosDbMongoDbAPILinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = cdmdals.CosmosDbMongoDbAPILinkedServiceTypeProperties } - for k, v := range dbz2c.AdditionalProperties { + if cdmdals.ConnectVia != nil { + objectMap["connectVia"] = cdmdals.ConnectVia + } + if cdmdals.Description != nil { + objectMap["description"] = cdmdals.Description + } + if cdmdals.Parameters != nil { + objectMap["parameters"] = cdmdals.Parameters + } + if cdmdals.Annotations != nil { + objectMap["annotations"] = cdmdals.Annotations + } + if cdmdals.Type != "" { + objectMap["type"] = cdmdals.Type + } + for k, v := range cdmdals.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsDatasetZipDeflateCompression is the BasicDatasetCompression implementation for DatasetBZip2Compression. -func (dbz2c DatasetBZip2Compression) AsDatasetZipDeflateCompression() (*DatasetZipDeflateCompression, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsDatasetDeflateCompression is the BasicDatasetCompression implementation for DatasetBZip2Compression. -func (dbz2c DatasetBZip2Compression) AsDatasetDeflateCompression() (*DatasetDeflateCompression, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsDatasetGZipCompression is the BasicDatasetCompression implementation for DatasetBZip2Compression. -func (dbz2c DatasetBZip2Compression) AsDatasetGZipCompression() (*DatasetGZipCompression, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsDatasetBZip2Compression is the BasicDatasetCompression implementation for DatasetBZip2Compression. -func (dbz2c DatasetBZip2Compression) AsDatasetBZip2Compression() (*DatasetBZip2Compression, bool) { - return &dbz2c, true +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { + return nil, false } -// AsDatasetCompression is the BasicDatasetCompression implementation for DatasetBZip2Compression. -func (dbz2c DatasetBZip2Compression) AsDatasetCompression() (*DatasetCompression, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsBasicDatasetCompression is the BasicDatasetCompression implementation for DatasetBZip2Compression. -func (dbz2c DatasetBZip2Compression) AsBasicDatasetCompression() (BasicDatasetCompression, bool) { - return &dbz2c, true +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for DatasetBZip2Compression struct. -func (dbz2c *DatasetBZip2Compression) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if dbz2c.AdditionalProperties == nil { - dbz2c.AdditionalProperties = make(map[string]interface{}) - } - dbz2c.AdditionalProperties[k] = additionalProperties - } - case "type": - if v != nil { - var typeVar TypeBasicDatasetCompression - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - dbz2c.Type = typeVar - } - } - } - - return nil +// AsResponsysLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { + return nil, false } -// BasicDatasetCompression the compression method used on a dataset. -type BasicDatasetCompression interface { - AsDatasetZipDeflateCompression() (*DatasetZipDeflateCompression, bool) - AsDatasetDeflateCompression() (*DatasetDeflateCompression, bool) - AsDatasetGZipCompression() (*DatasetGZipCompression, bool) - AsDatasetBZip2Compression() (*DatasetBZip2Compression, bool) - AsDatasetCompression() (*DatasetCompression, bool) +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false } -// DatasetCompression the compression method used on a dataset. -type DatasetCompression struct { - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Type - Possible values include: 'TypeDatasetCompression', 'TypeZipDeflate', 'TypeDeflate', 'TypeGZip', 'TypeBZip2' - Type TypeBasicDatasetCompression `json:"type,omitempty"` +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { + return nil, false } -func unmarshalBasicDatasetCompression(body []byte) (BasicDatasetCompression, error) { - var m map[string]interface{} - err := json.Unmarshal(body, &m) - if err != nil { - return nil, err - } +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { + return nil, false +} - switch m["type"] { - case string(TypeZipDeflate): - var dzdc DatasetZipDeflateCompression - err := json.Unmarshal(body, &dzdc) - return dzdc, err - case string(TypeDeflate): - var ddc DatasetDeflateCompression - err := json.Unmarshal(body, &ddc) - return ddc, err - case string(TypeGZip): - var dgzc DatasetGZipCompression - err := json.Unmarshal(body, &dgzc) - return dgzc, err - case string(TypeBZip2): - var dbz2c DatasetBZip2Compression - err := json.Unmarshal(body, &dbz2c) - return dbz2c, err - default: - var dc DatasetCompression - err := json.Unmarshal(body, &dc) - return dc, err - } +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { + return nil, false } -func unmarshalBasicDatasetCompressionArray(body []byte) ([]BasicDatasetCompression, error) { - var rawMessages []*json.RawMessage - err := json.Unmarshal(body, &rawMessages) - if err != nil { - return nil, err - } - dcArray := make([]BasicDatasetCompression, len(rawMessages)) +// AsNetezzaLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} - for index, rawMessage := range rawMessages { - dc, err := unmarshalBasicDatasetCompression(*rawMessage) - if err != nil { - return nil, err - } - dcArray[index] = dc - } - return dcArray, nil +// AsVerticaLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for DatasetCompression. -func (dc DatasetCompression) MarshalJSON() ([]byte, error) { - dc.Type = TypeDatasetCompression - objectMap := make(map[string]interface{}) - if dc.Type != "" { - objectMap["type"] = dc.Type - } - for k, v := range dc.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsZohoLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { + return nil, false } -// AsDatasetZipDeflateCompression is the BasicDatasetCompression implementation for DatasetCompression. -func (dc DatasetCompression) AsDatasetZipDeflateCompression() (*DatasetZipDeflateCompression, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsDatasetDeflateCompression is the BasicDatasetCompression implementation for DatasetCompression. -func (dc DatasetCompression) AsDatasetDeflateCompression() (*DatasetDeflateCompression, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsDatasetGZipCompression is the BasicDatasetCompression implementation for DatasetCompression. -func (dc DatasetCompression) AsDatasetGZipCompression() (*DatasetGZipCompression, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsDatasetBZip2Compression is the BasicDatasetCompression implementation for DatasetCompression. -func (dc DatasetCompression) AsDatasetBZip2Compression() (*DatasetBZip2Compression, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsDatasetCompression is the BasicDatasetCompression implementation for DatasetCompression. -func (dc DatasetCompression) AsDatasetCompression() (*DatasetCompression, bool) { - return &dc, true +// AsServiceNowLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { + return nil, false } -// AsBasicDatasetCompression is the BasicDatasetCompression implementation for DatasetCompression. -func (dc DatasetCompression) AsBasicDatasetCompression() (BasicDatasetCompression, bool) { - return &dc, true +// AsQuickBooksLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for DatasetCompression struct. -func (dc *DatasetCompression) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if dc.AdditionalProperties == nil { - dc.AdditionalProperties = make(map[string]interface{}) - } - dc.AdditionalProperties[k] = additionalProperties - } - case "type": - if v != nil { - var typeVar TypeBasicDatasetCompression - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - dc.Type = typeVar - } - } - } - - return nil +// AsPrestoLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { + return nil, false } -// DatasetDeflateCompression the Deflate compression method used on a dataset. -type DatasetDeflateCompression struct { - // Level - The Deflate compression level. - Level interface{} `json:"level,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Type - Possible values include: 'TypeDatasetCompression', 'TypeZipDeflate', 'TypeDeflate', 'TypeGZip', 'TypeBZip2' - Type TypeBasicDatasetCompression `json:"type,omitempty"` +// AsPhoenixLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for DatasetDeflateCompression. -func (ddc DatasetDeflateCompression) MarshalJSON() ([]byte, error) { - ddc.Type = TypeDeflate - objectMap := make(map[string]interface{}) - if ddc.Level != nil { - objectMap["level"] = ddc.Level - } - if ddc.Type != "" { - objectMap["type"] = ddc.Type - } - for k, v := range ddc.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsPaypalLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { + return nil, false } -// AsDatasetZipDeflateCompression is the BasicDatasetCompression implementation for DatasetDeflateCompression. -func (ddc DatasetDeflateCompression) AsDatasetZipDeflateCompression() (*DatasetZipDeflateCompression, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsDatasetDeflateCompression is the BasicDatasetCompression implementation for DatasetDeflateCompression. -func (ddc DatasetDeflateCompression) AsDatasetDeflateCompression() (*DatasetDeflateCompression, bool) { - return &ddc, true +// AsMariaDBLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { + return nil, false } -// AsDatasetGZipCompression is the BasicDatasetCompression implementation for DatasetDeflateCompression. -func (ddc DatasetDeflateCompression) AsDatasetGZipCompression() (*DatasetGZipCompression, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsDatasetBZip2Compression is the BasicDatasetCompression implementation for DatasetDeflateCompression. -func (ddc DatasetDeflateCompression) AsDatasetBZip2Compression() (*DatasetBZip2Compression, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsDatasetCompression is the BasicDatasetCompression implementation for DatasetDeflateCompression. -func (ddc DatasetDeflateCompression) AsDatasetCompression() (*DatasetCompression, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsBasicDatasetCompression is the BasicDatasetCompression implementation for DatasetDeflateCompression. -func (ddc DatasetDeflateCompression) AsBasicDatasetCompression() (BasicDatasetCompression, bool) { - return &ddc, true +// AsHubspotLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for DatasetDeflateCompression struct. -func (ddc *DatasetDeflateCompression) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "level": - if v != nil { - var level interface{} - err = json.Unmarshal(*v, &level) - if err != nil { - return err - } - ddc.Level = level - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if ddc.AdditionalProperties == nil { - ddc.AdditionalProperties = make(map[string]interface{}) - } - ddc.AdditionalProperties[k] = additionalProperties - } - case "type": - if v != nil { - var typeVar TypeBasicDatasetCompression - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - ddc.Type = typeVar - } - } - } +// AsHiveLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { + return nil, false +} - return nil +// AsHBaseLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { + return nil, false } -// DatasetFolder the folder that this Dataset is in. If not specified, Dataset will appear at the root -// level. -type DatasetFolder struct { - // Name - The name of the folder that this Dataset is in. - Name *string `json:"name,omitempty"` +// AsGreenplumLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { + return nil, false } -// DatasetGZipCompression the GZip compression method used on a dataset. -type DatasetGZipCompression struct { - // Level - The GZip compression level. - Level interface{} `json:"level,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Type - Possible values include: 'TypeDatasetCompression', 'TypeZipDeflate', 'TypeDeflate', 'TypeGZip', 'TypeBZip2' - Type TypeBasicDatasetCompression `json:"type,omitempty"` +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for DatasetGZipCompression. -func (dgzc DatasetGZipCompression) MarshalJSON() ([]byte, error) { - dgzc.Type = TypeGZip - objectMap := make(map[string]interface{}) - if dgzc.Level != nil { - objectMap["level"] = dgzc.Level - } - if dgzc.Type != "" { - objectMap["type"] = dgzc.Type - } - for k, v := range dgzc.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsEloquaLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { + return nil, false } -// AsDatasetZipDeflateCompression is the BasicDatasetCompression implementation for DatasetGZipCompression. -func (dgzc DatasetGZipCompression) AsDatasetZipDeflateCompression() (*DatasetZipDeflateCompression, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsDatasetDeflateCompression is the BasicDatasetCompression implementation for DatasetGZipCompression. -func (dgzc DatasetGZipCompression) AsDatasetDeflateCompression() (*DatasetDeflateCompression, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsDatasetGZipCompression is the BasicDatasetCompression implementation for DatasetGZipCompression. -func (dgzc DatasetGZipCompression) AsDatasetGZipCompression() (*DatasetGZipCompression, bool) { - return &dgzc, true +// AsConcurLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { + return nil, false } -// AsDatasetBZip2Compression is the BasicDatasetCompression implementation for DatasetGZipCompression. -func (dgzc DatasetGZipCompression) AsDatasetBZip2Compression() (*DatasetBZip2Compression, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsDatasetCompression is the BasicDatasetCompression implementation for DatasetGZipCompression. -func (dgzc DatasetGZipCompression) AsDatasetCompression() (*DatasetCompression, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsBasicDatasetCompression is the BasicDatasetCompression implementation for DatasetGZipCompression. -func (dgzc DatasetGZipCompression) AsBasicDatasetCompression() (BasicDatasetCompression, bool) { - return &dgzc, true +// AsSapHanaLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for DatasetGZipCompression struct. -func (dgzc *DatasetGZipCompression) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "level": - if v != nil { - var level interface{} - err = json.Unmarshal(*v, &level) - if err != nil { - return err - } - dgzc.Level = level - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if dgzc.AdditionalProperties == nil { - dgzc.AdditionalProperties = make(map[string]interface{}) - } - dgzc.AdditionalProperties[k] = additionalProperties - } - case "type": - if v != nil { - var typeVar TypeBasicDatasetCompression - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - dgzc.Type = typeVar - } - } - } +// AsSapBWLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { + return nil, false +} - return nil +// AsSftpServerLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { + return nil, false } -// DatasetListResponse a list of dataset resources. -type DatasetListResponse struct { - autorest.Response `json:"-"` - // Value - List of datasets. - Value *[]DatasetResource `json:"value,omitempty"` - // NextLink - The link to the next page of results, if any remaining results exist. - NextLink *string `json:"nextLink,omitempty"` +// AsFtpServerLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { + return nil, false } -// DatasetListResponseIterator provides access to a complete listing of DatasetResource values. -type DatasetListResponseIterator struct { - i int - page DatasetListResponsePage +// AsHTTPLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { + return nil, false } -// NextWithContext advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -func (iter *DatasetListResponseIterator) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/DatasetListResponseIterator.NextWithContext") - defer func() { - sc := -1 - if iter.Response().Response.Response != nil { - sc = iter.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - iter.i++ - if iter.i < len(iter.page.Values()) { - return nil - } - err = iter.page.NextWithContext(ctx) - if err != nil { - iter.i-- - return err - } - iter.i = 0 - return nil +// AsAzureSearchLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { + return nil, false } -// Next advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (iter *DatasetListResponseIterator) Next() error { - return iter.NextWithContext(context.Background()) +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { + return nil, false } -// NotDone returns true if the enumeration should be started or is not yet complete. -func (iter DatasetListResponseIterator) NotDone() bool { - return iter.page.NotDone() && iter.i < len(iter.page.Values()) +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { + return nil, false } -// Response returns the raw server response from the last page request. -func (iter DatasetListResponseIterator) Response() DatasetListResponse { - return iter.page.Response() +// AsAmazonS3LinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { + return nil, false } -// Value returns the current value or a zero-initialized value if the -// iterator has advanced beyond the end of the collection. -func (iter DatasetListResponseIterator) Value() DatasetResource { - if !iter.page.NotDone() { - return DatasetResource{} - } - return iter.page.Values()[iter.i] +// AsRestServiceLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { + return nil, false } -// Creates a new instance of the DatasetListResponseIterator type. -func NewDatasetListResponseIterator(page DatasetListResponsePage) DatasetListResponseIterator { - return DatasetListResponseIterator{page: page} +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { + return nil, false } -// IsEmpty returns true if the ListResult contains no values. -func (dlr DatasetListResponse) IsEmpty() bool { - return dlr.Value == nil || len(*dlr.Value) == 0 +// AsSapEccLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { + return nil, false } -// datasetListResponsePreparer prepares a request to retrieve the next set of results. -// It returns nil if no more results exist. -func (dlr DatasetListResponse) datasetListResponsePreparer(ctx context.Context) (*http.Request, error) { - if dlr.NextLink == nil || len(to.String(dlr.NextLink)) < 1 { - return nil, nil - } - return autorest.Prepare((&http.Request{}).WithContext(ctx), - autorest.AsJSON(), - autorest.AsGet(), - autorest.WithBaseURL(to.String(dlr.NextLink))) +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { + return nil, false } -// DatasetListResponsePage contains a page of DatasetResource values. -type DatasetListResponsePage struct { - fn func(context.Context, DatasetListResponse) (DatasetListResponse, error) - dlr DatasetListResponse +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false } -// NextWithContext advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -func (page *DatasetListResponsePage) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/DatasetListResponsePage.NextWithContext") - defer func() { - sc := -1 - if page.Response().Response.Response != nil { - sc = page.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - next, err := page.fn(ctx, page.dlr) - if err != nil { - return err - } - page.dlr = next - return nil +// AsSalesforceLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { + return nil, false } -// Next advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (page *DatasetListResponsePage) Next() error { - return page.NextWithContext(context.Background()) +// AsOffice365LinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { + return nil, false } -// NotDone returns true if the page enumeration should be started or is not yet complete. -func (page DatasetListResponsePage) NotDone() bool { - return !page.dlr.IsEmpty() +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { + return nil, false } -// Response returns the raw server response from the last page request. -func (page DatasetListResponsePage) Response() DatasetListResponse { - return page.dlr +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { + return nil, false } -// Values returns the slice of values for the current page or nil if there are no values. -func (page DatasetListResponsePage) Values() []DatasetResource { - if page.dlr.IsEmpty() { - return nil - } - return *page.dlr.Value +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { + return &cdmdals, true } -// Creates a new instance of the DatasetListResponsePage type. -func NewDatasetListResponsePage(getNextPage func(context.Context, DatasetListResponse) (DatasetListResponse, error)) DatasetListResponsePage { - return DatasetListResponsePage{fn: getNextPage} +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { + return nil, false } -// DatasetLocation dataset location. -type DatasetLocation struct { - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Type - Type of dataset storage location. - Type *string `json:"type,omitempty"` - // FolderPath - Specify the folder path of dataset. Type: string (or Expression with resultType string) - FolderPath interface{} `json:"folderPath,omitempty"` - // FileName - Specify the file name of dataset. Type: string (or Expression with resultType string). - FileName interface{} `json:"fileName,omitempty"` +// AsMongoDbLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for DatasetLocation. -func (dl DatasetLocation) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if dl.Type != nil { - objectMap["type"] = dl.Type - } - if dl.FolderPath != nil { - objectMap["folderPath"] = dl.FolderPath - } - if dl.FileName != nil { - objectMap["fileName"] = dl.FileName - } - for k, v := range dl.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsCassandraLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for DatasetLocation struct. -func (dl *DatasetLocation) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if dl.AdditionalProperties == nil { - dl.AdditionalProperties = make(map[string]interface{}) - } - dl.AdditionalProperties[k] = additionalProperties - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - dl.Type = &typeVar - } - case "folderPath": - if v != nil { - var folderPath interface{} - err = json.Unmarshal(*v, &folderPath) - if err != nil { - return err - } - dl.FolderPath = folderPath - } - case "fileName": - if v != nil { - var fileName interface{} - err = json.Unmarshal(*v, &fileName) - if err != nil { - return err - } - dl.FileName = fileName - } - } - } +// AsWebLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsWebLinkedService() (*WebLinkedService, bool) { + return nil, false +} - return nil +// AsODataLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { + return nil, false } -// DatasetReference dataset reference type. -type DatasetReference struct { - // Type - Dataset reference type. - Type *string `json:"type,omitempty"` - // ReferenceName - Reference dataset name. - ReferenceName *string `json:"referenceName,omitempty"` - // Parameters - Arguments for dataset. - Parameters map[string]interface{} `json:"parameters"` +// AsHdfsLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for DatasetReference. -func (dr DatasetReference) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if dr.Type != nil { - objectMap["type"] = dr.Type - } - if dr.ReferenceName != nil { - objectMap["referenceName"] = dr.ReferenceName - } - if dr.Parameters != nil { - objectMap["parameters"] = dr.Parameters - } - return json.Marshal(objectMap) +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false } -// DatasetResource dataset resource type. -type DatasetResource struct { - autorest.Response `json:"-"` - // Properties - Dataset properties. - Properties BasicDataset `json:"properties,omitempty"` - // ID - READ-ONLY; The resource identifier. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; The resource name. - Name *string `json:"name,omitempty"` - // Type - READ-ONLY; The resource type. - Type *string `json:"type,omitempty"` - // Etag - READ-ONLY; Etag identifies change in the resource. - Etag *string `json:"etag,omitempty"` +// AsInformixLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for DatasetResource struct. -func (dr *DatasetResource) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - properties, err := unmarshalBasicDataset(*v) - if err != nil { - return err - } - dr.Properties = properties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - dr.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - dr.Name = &name - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - dr.Type = &typeVar - } - case "etag": - if v != nil { - var etag string - err = json.Unmarshal(*v, &etag) - if err != nil { - return err - } - dr.Etag = &etag - } - } - } +// AsOdbcLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { + return nil, false +} - return nil +// AsAzureMLLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { + return nil, false } -// BasicDatasetStorageFormat the format definition of a storage. -type BasicDatasetStorageFormat interface { - AsParquetFormat() (*ParquetFormat, bool) - AsOrcFormat() (*OrcFormat, bool) - AsAvroFormat() (*AvroFormat, bool) - AsJSONFormat() (*JSONFormat, bool) - AsTextFormat() (*TextFormat, bool) - AsDatasetStorageFormat() (*DatasetStorageFormat, bool) +// AsTeradataLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { + return nil, false } -// DatasetStorageFormat the format definition of a storage. -type DatasetStorageFormat struct { - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Serializer - Serializer. Type: string (or Expression with resultType string). - Serializer interface{} `json:"serializer,omitempty"` - // Deserializer - Deserializer. Type: string (or Expression with resultType string). - Deserializer interface{} `json:"deserializer,omitempty"` - // Type - Possible values include: 'TypeDatasetStorageFormat', 'TypeParquetFormat', 'TypeOrcFormat', 'TypeAvroFormat', 'TypeJSONFormat', 'TypeTextFormat' - Type TypeBasicDatasetStorageFormat `json:"type,omitempty"` +// AsDb2LinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return nil, false } -func unmarshalBasicDatasetStorageFormat(body []byte) (BasicDatasetStorageFormat, error) { - var m map[string]interface{} - err := json.Unmarshal(body, &m) - if err != nil { - return nil, err - } +// AsSybaseLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { + return nil, false +} - switch m["type"] { - case string(TypeParquetFormat): - var pf ParquetFormat - err := json.Unmarshal(body, &pf) - return pf, err - case string(TypeOrcFormat): - var of OrcFormat - err := json.Unmarshal(body, &of) - return of, err - case string(TypeAvroFormat): - var af AvroFormat - err := json.Unmarshal(body, &af) - return af, err - case string(TypeJSONFormat): - var jf JSONFormat - err := json.Unmarshal(body, &jf) - return jf, err - case string(TypeTextFormat): - var tf TextFormat - err := json.Unmarshal(body, &tf) - return tf, err - default: - var dsf DatasetStorageFormat - err := json.Unmarshal(body, &dsf) - return dsf, err - } +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { + return nil, false } -func unmarshalBasicDatasetStorageFormatArray(body []byte) ([]BasicDatasetStorageFormat, error) { - var rawMessages []*json.RawMessage - err := json.Unmarshal(body, &rawMessages) - if err != nil { - return nil, err - } - dsfArray := make([]BasicDatasetStorageFormat, len(rawMessages)) +// AsMySQLLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { + return nil, false +} - for index, rawMessage := range rawMessages { - dsf, err := unmarshalBasicDatasetStorageFormat(*rawMessage) - if err != nil { - return nil, err - } - dsfArray[index] = dsf - } - return dsfArray, nil +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for DatasetStorageFormat. -func (dsf DatasetStorageFormat) MarshalJSON() ([]byte, error) { - dsf.Type = TypeDatasetStorageFormat - objectMap := make(map[string]interface{}) - if dsf.Serializer != nil { - objectMap["serializer"] = dsf.Serializer - } - if dsf.Deserializer != nil { - objectMap["deserializer"] = dsf.Deserializer - } - if dsf.Type != "" { - objectMap["type"] = dsf.Type - } - for k, v := range dsf.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsOracleLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { + return nil, false } -// AsParquetFormat is the BasicDatasetStorageFormat implementation for DatasetStorageFormat. -func (dsf DatasetStorageFormat) AsParquetFormat() (*ParquetFormat, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsOrcFormat is the BasicDatasetStorageFormat implementation for DatasetStorageFormat. -func (dsf DatasetStorageFormat) AsOrcFormat() (*OrcFormat, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsAvroFormat is the BasicDatasetStorageFormat implementation for DatasetStorageFormat. -func (dsf DatasetStorageFormat) AsAvroFormat() (*AvroFormat, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsJSONFormat is the BasicDatasetStorageFormat implementation for DatasetStorageFormat. -func (dsf DatasetStorageFormat) AsJSONFormat() (*JSONFormat, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsTextFormat is the BasicDatasetStorageFormat implementation for DatasetStorageFormat. -func (dsf DatasetStorageFormat) AsTextFormat() (*TextFormat, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsDatasetStorageFormat is the BasicDatasetStorageFormat implementation for DatasetStorageFormat. -func (dsf DatasetStorageFormat) AsDatasetStorageFormat() (*DatasetStorageFormat, bool) { - return &dsf, true +// AsCosmosDbLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false } -// AsBasicDatasetStorageFormat is the BasicDatasetStorageFormat implementation for DatasetStorageFormat. -func (dsf DatasetStorageFormat) AsBasicDatasetStorageFormat() (BasicDatasetStorageFormat, bool) { - return &dsf, true +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for DatasetStorageFormat struct. -func (dsf *DatasetStorageFormat) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if dsf.AdditionalProperties == nil { - dsf.AdditionalProperties = make(map[string]interface{}) - } - dsf.AdditionalProperties[k] = additionalProperties - } - case "serializer": - if v != nil { - var serializer interface{} - err = json.Unmarshal(*v, &serializer) - if err != nil { - return err - } - dsf.Serializer = serializer - } - case "deserializer": - if v != nil { - var deserializer interface{} - err = json.Unmarshal(*v, &deserializer) - if err != nil { - return err - } - dsf.Deserializer = deserializer - } - case "type": - if v != nil { - var typeVar TypeBasicDatasetStorageFormat - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - dsf.Type = typeVar - } - } - } +// AsAzureBatchLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} - return nil +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false } -// DatasetZipDeflateCompression the ZipDeflate compression method used on a dataset. -type DatasetZipDeflateCompression struct { - // Level - The ZipDeflate compression level. - Level interface{} `json:"level,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Type - Possible values include: 'TypeDatasetCompression', 'TypeZipDeflate', 'TypeDeflate', 'TypeGZip', 'TypeBZip2' - Type TypeBasicDatasetCompression `json:"type,omitempty"` +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for DatasetZipDeflateCompression. -func (dzdc DatasetZipDeflateCompression) MarshalJSON() ([]byte, error) { - dzdc.Type = TypeZipDeflate - objectMap := make(map[string]interface{}) - if dzdc.Level != nil { - objectMap["level"] = dzdc.Level - } - if dzdc.Type != "" { - objectMap["type"] = dzdc.Type - } - for k, v := range dzdc.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsSQLServerLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false } -// AsDatasetZipDeflateCompression is the BasicDatasetCompression implementation for DatasetZipDeflateCompression. -func (dzdc DatasetZipDeflateCompression) AsDatasetZipDeflateCompression() (*DatasetZipDeflateCompression, bool) { - return &dzdc, true +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false } -// AsDatasetDeflateCompression is the BasicDatasetCompression implementation for DatasetZipDeflateCompression. -func (dzdc DatasetZipDeflateCompression) AsDatasetDeflateCompression() (*DatasetDeflateCompression, bool) { +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { return nil, false } -// AsDatasetGZipCompression is the BasicDatasetCompression implementation for DatasetZipDeflateCompression. -func (dzdc DatasetZipDeflateCompression) AsDatasetGZipCompression() (*DatasetGZipCompression, bool) { +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { return nil, false } -// AsDatasetBZip2Compression is the BasicDatasetCompression implementation for DatasetZipDeflateCompression. -func (dzdc DatasetZipDeflateCompression) AsDatasetBZip2Compression() (*DatasetBZip2Compression, bool) { +// AsAzureStorageLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { return nil, false } -// AsDatasetCompression is the BasicDatasetCompression implementation for DatasetZipDeflateCompression. -func (dzdc DatasetZipDeflateCompression) AsDatasetCompression() (*DatasetCompression, bool) { +// AsLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsLinkedService() (*LinkedService, bool) { return nil, false } -// AsBasicDatasetCompression is the BasicDatasetCompression implementation for DatasetZipDeflateCompression. -func (dzdc DatasetZipDeflateCompression) AsBasicDatasetCompression() (BasicDatasetCompression, bool) { - return &dzdc, true +// AsBasicLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &cdmdals, true } -// UnmarshalJSON is the custom unmarshaler for DatasetZipDeflateCompression struct. -func (dzdc *DatasetZipDeflateCompression) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for CosmosDbMongoDbAPILinkedService struct. +func (cdmdals *CosmosDbMongoDbAPILinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -46157,14 +47230,14 @@ func (dzdc *DatasetZipDeflateCompression) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "level": + case "typeProperties": if v != nil { - var level interface{} - err = json.Unmarshal(*v, &level) + var cosmosDbMongoDbAPILinkedServiceTypeProperties CosmosDbMongoDbAPILinkedServiceTypeProperties + err = json.Unmarshal(*v, &cosmosDbMongoDbAPILinkedServiceTypeProperties) if err != nil { return err } - dzdc.Level = level + cdmdals.CosmosDbMongoDbAPILinkedServiceTypeProperties = &cosmosDbMongoDbAPILinkedServiceTypeProperties } default: if v != nil { @@ -46173,19 +47246,55 @@ func (dzdc *DatasetZipDeflateCompression) UnmarshalJSON(body []byte) error { if err != nil { return err } - if dzdc.AdditionalProperties == nil { - dzdc.AdditionalProperties = make(map[string]interface{}) + if cdmdals.AdditionalProperties == nil { + cdmdals.AdditionalProperties = make(map[string]interface{}) } - dzdc.AdditionalProperties[k] = additionalProperties + cdmdals.AdditionalProperties[k] = additionalProperties + } + case "connectVia": + if v != nil { + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) + if err != nil { + return err + } + cdmdals.ConnectVia = &connectVia + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + cdmdals.Description = &description + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + cdmdals.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + cdmdals.Annotations = &annotations } case "type": if v != nil { - var typeVar TypeBasicDatasetCompression + var typeVar TypeBasicLinkedService err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - dzdc.Type = typeVar + cdmdals.Type = typeVar } } } @@ -46193,885 +47302,773 @@ func (dzdc *DatasetZipDeflateCompression) UnmarshalJSON(body []byte) error { return nil } -// Db2LinkedService linked service for DB2 data source. -type Db2LinkedService struct { - // Db2LinkedServiceTypeProperties - DB2 linked service properties. - *Db2LinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// CosmosDbMongoDbAPILinkedServiceTypeProperties cosmosDB (MongoDB API) linked service properties. +type CosmosDbMongoDbAPILinkedServiceTypeProperties struct { + // ConnectionString - The CosmosDB (MongoDB API) connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference. + ConnectionString interface{} `json:"connectionString,omitempty"` + // Database - The name of the CosmosDB (MongoDB API) database that you want to access. Type: string (or Expression with resultType string). + Database interface{} `json:"database,omitempty"` +} + +// CosmosDbMongoDbAPISink a copy activity sink for a CosmosDB (MongoDB API) database. +type CosmosDbMongoDbAPISink struct { + // WriteBehavior - 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). + WriteBehavior interface{} `json:"writeBehavior,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. - Description *string `json:"description,omitempty"` - // Parameters - Parameters for linked service. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the linked service. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` + // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + WriteBatchSize interface{} `json:"writeBatchSize,omitempty"` + // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"` + // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer). + SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"` + // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink' + Type TypeBasicCopySink `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for Db2LinkedService. -func (d2ls Db2LinkedService) MarshalJSON() ([]byte, error) { - d2ls.Type = TypeDb2 +// MarshalJSON is the custom marshaler for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) MarshalJSON() ([]byte, error) { + cdmdas.Type = TypeCosmosDbMongoDbAPISink objectMap := make(map[string]interface{}) - if d2ls.Db2LinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = d2ls.Db2LinkedServiceTypeProperties + if cdmdas.WriteBehavior != nil { + objectMap["writeBehavior"] = cdmdas.WriteBehavior } - if d2ls.ConnectVia != nil { - objectMap["connectVia"] = d2ls.ConnectVia + if cdmdas.WriteBatchSize != nil { + objectMap["writeBatchSize"] = cdmdas.WriteBatchSize } - if d2ls.Description != nil { - objectMap["description"] = d2ls.Description + if cdmdas.WriteBatchTimeout != nil { + objectMap["writeBatchTimeout"] = cdmdas.WriteBatchTimeout } - if d2ls.Parameters != nil { - objectMap["parameters"] = d2ls.Parameters + if cdmdas.SinkRetryCount != nil { + objectMap["sinkRetryCount"] = cdmdas.SinkRetryCount } - if d2ls.Annotations != nil { - objectMap["annotations"] = d2ls.Annotations + if cdmdas.SinkRetryWait != nil { + objectMap["sinkRetryWait"] = cdmdas.SinkRetryWait } - if d2ls.Type != "" { - objectMap["type"] = d2ls.Type + if cdmdas.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = cdmdas.MaxConcurrentConnections } - for k, v := range d2ls.AdditionalProperties { + if cdmdas.Type != "" { + objectMap["type"] = cdmdas.Type + } + for k, v := range cdmdas.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { - return nil, false +// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { + return &cdmdas, true } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { return nil, false } -// AsSapTableLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsSalesforceSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsSalesforceSink() (*SalesforceSink, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsAzureDataExplorerSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsDynamicsCrmSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsDynamicsSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsDynamicsSink() (*DynamicsSink, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsMicrosoftAccessSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsInformixSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsInformixSink() (*InformixSink, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsOdbcSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsOdbcSink() (*OdbcSink, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsAzureSearchIndexSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsAzureBlobFSSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { - return nil, false -} - -// AsXeroLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsOracleSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsOracleSink() (*OracleSink, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsSQLDWSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsSQLMISink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsSQLMISink() (*SQLMISink, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsAzureSQLSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsAzureSQLSink() (*AzureSQLSink, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsSQLServerSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsSQLServerSink() (*SQLServerSink, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsSQLSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsSQLSink() (*SQLSink, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsDocumentDbCollectionSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsFileSystemSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsFileSystemSink() (*FileSystemSink, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsBlobSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsBlobSink() (*BlobSink, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsBinarySink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsBinarySink() (*BinarySink, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsParquetSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsParquetSink() (*ParquetSink, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsAzureTableSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsAzureTableSink() (*AzureTableSink, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsAzureQueueSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsAzureQueueSink() (*AzureQueueSink, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsSapCloudForCustomerSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsAzurePostgreSQLSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsDelimitedTextSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsCopySink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsCopySink() (*CopySink, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { - return nil, false +// AsBasicCopySink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsBasicCopySink() (BasicCopySink, bool) { + return &cdmdas, true } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { - return nil, false -} +// UnmarshalJSON is the custom unmarshaler for CosmosDbMongoDbAPISink struct. +func (cdmdas *CosmosDbMongoDbAPISink) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "writeBehavior": + if v != nil { + var writeBehavior interface{} + err = json.Unmarshal(*v, &writeBehavior) + if err != nil { + return err + } + cdmdas.WriteBehavior = writeBehavior + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if cdmdas.AdditionalProperties == nil { + cdmdas.AdditionalProperties = make(map[string]interface{}) + } + cdmdas.AdditionalProperties[k] = additionalProperties + } + case "writeBatchSize": + if v != nil { + var writeBatchSize interface{} + err = json.Unmarshal(*v, &writeBatchSize) + if err != nil { + return err + } + cdmdas.WriteBatchSize = writeBatchSize + } + case "writeBatchTimeout": + if v != nil { + var writeBatchTimeout interface{} + err = json.Unmarshal(*v, &writeBatchTimeout) + if err != nil { + return err + } + cdmdas.WriteBatchTimeout = writeBatchTimeout + } + case "sinkRetryCount": + if v != nil { + var sinkRetryCount interface{} + err = json.Unmarshal(*v, &sinkRetryCount) + if err != nil { + return err + } + cdmdas.SinkRetryCount = sinkRetryCount + } + case "sinkRetryWait": + if v != nil { + var sinkRetryWait interface{} + err = json.Unmarshal(*v, &sinkRetryWait) + if err != nil { + return err + } + cdmdas.SinkRetryWait = sinkRetryWait + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + cdmdas.MaxConcurrentConnections = maxConcurrentConnections + } + case "type": + if v != nil { + var typeVar TypeBasicCopySink + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + cdmdas.Type = typeVar + } + } + } -// AsEloquaLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { - return nil, false + return nil } -// AsDrillLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { - return nil, false +// CosmosDbMongoDbAPISource a copy activity source for a CosmosDB (MongoDB API) database. +type CosmosDbMongoDbAPISource struct { + // Filter - Specifies selection filter using query operators. To return all documents in a collection, omit this parameter or pass an empty document ({}). Type: string (or Expression with resultType string). + Filter interface{} `json:"filter,omitempty"` + // CursorMethods - Cursor methods for Mongodb query. + CursorMethods *MongoDbCursorMethodsProperties `json:"cursorMethods,omitempty"` + // BatchSize - 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). + BatchSize interface{} `json:"batchSize,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { - return nil, false +// MarshalJSON is the custom marshaler for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) MarshalJSON() ([]byte, error) { + cdmdas.Type = TypeCosmosDbMongoDbAPISource + objectMap := make(map[string]interface{}) + if cdmdas.Filter != nil { + objectMap["filter"] = cdmdas.Filter + } + if cdmdas.CursorMethods != nil { + objectMap["cursorMethods"] = cdmdas.CursorMethods + } + if cdmdas.BatchSize != nil { + objectMap["batchSize"] = cdmdas.BatchSize + } + if cdmdas.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = cdmdas.SourceRetryCount + } + if cdmdas.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = cdmdas.SourceRetryWait + } + if cdmdas.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = cdmdas.MaxConcurrentConnections + } + if cdmdas.Type != "" { + objectMap["type"] = cdmdas.Type + } + for k, v := range cdmdas.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// AsConcurLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsResponsysSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsVerticaSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsNetezzaSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsZohoSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsXeroSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsSquareSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsSparkSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsShopifySource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsServiceNowSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsPrestoSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsPhoenixSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsPaypalSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsMarketoSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsMariaDBSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsMagentoSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsJiraSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsImpalaSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsHubspotSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsHiveSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsHBaseSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsGreenplumSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsEloquaSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsDrillSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { - return &d2ls, true -} - -// AsSybaseLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsConcurSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsHTTPSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsOffice365Source is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { - return nil, false +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return &cdmdas, true } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsMongoDbSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsCassandraSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsWebSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsTeradataSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsOracleSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsLinkedService() (*LinkedService, bool) { +// AsHdfsSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &d2ls, true -} - -// UnmarshalJSON is the custom unmarshaler for Db2LinkedService struct. -func (d2ls *Db2LinkedService) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "typeProperties": - if v != nil { - var db2LinkedServiceTypeProperties Db2LinkedServiceTypeProperties - err = json.Unmarshal(*v, &db2LinkedServiceTypeProperties) - if err != nil { - return err - } - d2ls.Db2LinkedServiceTypeProperties = &db2LinkedServiceTypeProperties - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if d2ls.AdditionalProperties == nil { - d2ls.AdditionalProperties = make(map[string]interface{}) - } - d2ls.AdditionalProperties[k] = additionalProperties - } - case "connectVia": - if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) - if err != nil { - return err - } - d2ls.ConnectVia = &connectVia - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - d2ls.Description = &description - } - case "parameters": - if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) - if err != nil { - return err - } - d2ls.Parameters = parameters - } - case "annotations": - if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) - if err != nil { - return err - } - d2ls.Annotations = &annotations - } - case "type": - if v != nil { - var typeVar TypeBasicLinkedService - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - d2ls.Type = typeVar - } - } - } - - return nil -} - -// Db2LinkedServiceTypeProperties dB2 linked service properties. -type Db2LinkedServiceTypeProperties struct { - // Server - Server name for connection. Type: string (or Expression with resultType string). - Server interface{} `json:"server,omitempty"` - // Database - Database name for connection. Type: string (or Expression with resultType string). - Database interface{} `json:"database,omitempty"` - // AuthenticationType - AuthenticationType to be used for connection. Possible values include: 'Basic' - AuthenticationType Db2AuthenticationType `json:"authenticationType,omitempty"` - // Username - Username for authentication. Type: string (or Expression with resultType string). - Username interface{} `json:"username,omitempty"` - // Password - Password for authentication. - Password BasicSecretBase `json:"password,omitempty"` - // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). - EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` -} - -// UnmarshalJSON is the custom unmarshaler for Db2LinkedServiceTypeProperties struct. -func (d2lstp *Db2LinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "server": - if v != nil { - var server interface{} - err = json.Unmarshal(*v, &server) - if err != nil { - return err - } - d2lstp.Server = server - } - case "database": - if v != nil { - var databaseVar interface{} - err = json.Unmarshal(*v, &databaseVar) - if err != nil { - return err - } - d2lstp.Database = databaseVar - } - case "authenticationType": - if v != nil { - var authenticationType Db2AuthenticationType - err = json.Unmarshal(*v, &authenticationType) - if err != nil { - return err - } - d2lstp.AuthenticationType = authenticationType - } - case "username": - if v != nil { - var username interface{} - err = json.Unmarshal(*v, &username) - if err != nil { - return err - } - d2lstp.Username = username - } - case "password": - if v != nil { - password, err := unmarshalBasicSecretBase(*v) - if err != nil { - return err - } - d2lstp.Password = password - } - case "encryptedCredential": - if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) - if err != nil { - return err - } - d2lstp.EncryptedCredential = encryptedCredential - } - } - } - - return nil -} - -// DeleteActivity delete activity. -type DeleteActivity struct { - // DeleteActivityTypeProperties - Delete activity properties. - *DeleteActivityTypeProperties `json:"typeProperties,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Policy - Activity policy. - Policy *ActivityPolicy `json:"policy,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Name - Activity name. - Name *string `json:"name,omitempty"` - // Description - Activity description. - Description *string `json:"description,omitempty"` - // DependsOn - Activity depends on condition. - DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // UserProperties - Activity user properties. - UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' - Type TypeBasicActivity `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for DeleteActivity. -func (da DeleteActivity) MarshalJSON() ([]byte, error) { - da.Type = TypeDelete - objectMap := make(map[string]interface{}) - if da.DeleteActivityTypeProperties != nil { - objectMap["typeProperties"] = da.DeleteActivityTypeProperties - } - if da.LinkedServiceName != nil { - objectMap["linkedServiceName"] = da.LinkedServiceName - } - if da.Policy != nil { - objectMap["policy"] = da.Policy - } - if da.Name != nil { - objectMap["name"] = da.Name - } - if da.Description != nil { - objectMap["description"] = da.Description - } - if da.DependsOn != nil { - objectMap["dependsOn"] = da.DependsOn - } - if da.UserProperties != nil { - objectMap["userProperties"] = da.UserProperties - } - if da.Type != "" { - objectMap["type"] = da.Type - } - for k, v := range da.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) -} - -// AsAzureFunctionActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsFileSystemSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsSQLDWSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsSQLMISource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsSQLServerSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsSQLSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsRestSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsSapTableSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsWebActivity() (*WebActivity, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsSapHanaSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsDeleteActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsDeleteActivity() (*DeleteActivity, bool) { - return &da, true -} - -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsSapEccSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsSalesforceSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsODataSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsSybaseSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsMySQLSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsCopyActivity() (*CopyActivity, bool) { +// AsOdbcSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsDb2Source is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { - return &da, true -} - -// AsWebHookActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsWebHookActivity() (*WebHookActivity, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsInformixSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsRelationalSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsFilterActivity() (*FilterActivity, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsValidationActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsValidationActivity() (*ValidationActivity, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsUntilActivity() (*UntilActivity, bool) { +// AsDynamicsSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsBlobSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsAzureTableSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsBinarySource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsControlActivity() (*ControlActivity, bool) { +// AsDelimitedTextSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsBasicControlActivity() (BasicControlActivity, bool) { +// AsParquetSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsParquetSource() (*ParquetSource, bool) { return nil, false } -// AsActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsActivity() (*Activity, bool) { +// AsCopySource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsCopySource() (*CopySource, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsBasicActivity() (BasicActivity, bool) { - return &da, true +// AsBasicCopySource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsBasicCopySource() (BasicCopySource, bool) { + return &cdmdas, true } -// UnmarshalJSON is the custom unmarshaler for DeleteActivity struct. -func (da *DeleteActivity) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for CosmosDbMongoDbAPISource struct. +func (cdmdas *CosmosDbMongoDbAPISource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -47079,32 +48076,32 @@ func (da *DeleteActivity) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": + case "filter": if v != nil { - var deleteActivityTypeProperties DeleteActivityTypeProperties - err = json.Unmarshal(*v, &deleteActivityTypeProperties) + var filter interface{} + err = json.Unmarshal(*v, &filter) if err != nil { return err } - da.DeleteActivityTypeProperties = &deleteActivityTypeProperties + cdmdas.Filter = filter } - case "linkedServiceName": + case "cursorMethods": if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) + var cursorMethods MongoDbCursorMethodsProperties + err = json.Unmarshal(*v, &cursorMethods) if err != nil { return err } - da.LinkedServiceName = &linkedServiceName + cdmdas.CursorMethods = &cursorMethods } - case "policy": + case "batchSize": if v != nil { - var policy ActivityPolicy - err = json.Unmarshal(*v, &policy) + var batchSize interface{} + err = json.Unmarshal(*v, &batchSize) if err != nil { return err } - da.Policy = &policy + cdmdas.BatchSize = batchSize } default: if v != nil { @@ -47113,55 +48110,46 @@ func (da *DeleteActivity) UnmarshalJSON(body []byte) error { if err != nil { return err } - if da.AdditionalProperties == nil { - da.AdditionalProperties = make(map[string]interface{}) - } - da.AdditionalProperties[k] = additionalProperties - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err + if cdmdas.AdditionalProperties == nil { + cdmdas.AdditionalProperties = make(map[string]interface{}) } - da.Name = &name + cdmdas.AdditionalProperties[k] = additionalProperties } - case "description": + case "sourceRetryCount": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) if err != nil { return err } - da.Description = &description + cdmdas.SourceRetryCount = sourceRetryCount } - case "dependsOn": + case "sourceRetryWait": if v != nil { - var dependsOn []ActivityDependency - err = json.Unmarshal(*v, &dependsOn) + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) if err != nil { return err } - da.DependsOn = &dependsOn + cdmdas.SourceRetryWait = sourceRetryWait } - case "userProperties": + case "maxConcurrentConnections": if v != nil { - var userProperties []UserProperty - err = json.Unmarshal(*v, &userProperties) + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) if err != nil { return err } - da.UserProperties = &userProperties + cdmdas.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicActivity + var typeVar TypeBasicCopySource err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - da.Type = typeVar + cdmdas.Type = typeVar } } } @@ -47169,800 +48157,514 @@ func (da *DeleteActivity) UnmarshalJSON(body []byte) error { return nil } -// DeleteActivityTypeProperties delete activity properties. -type DeleteActivityTypeProperties struct { - // Recursive - If true, files or sub-folders under current folder path will be deleted recursively. Default is false. Type: boolean (or Expression with resultType boolean). - Recursive interface{} `json:"recursive,omitempty"` - // MaxConcurrentConnections - The max concurrent connections to connect data source at the same time. - MaxConcurrentConnections *int32 `json:"maxConcurrentConnections,omitempty"` - // EnableLogging - Whether to record detailed logs of delete-activity execution. Default value is false. Type: boolean (or Expression with resultType boolean). - EnableLogging interface{} `json:"enableLogging,omitempty"` - // LogStorageSettings - Log storage settings customer need to provide when enableLogging is true. - LogStorageSettings *LogStorageSettings `json:"logStorageSettings,omitempty"` - // Dataset - Delete activity dataset reference. - Dataset *DatasetReference `json:"dataset,omitempty"` -} - -// DelimitedTextDataset delimited text dataset. -type DelimitedTextDataset struct { - // DelimitedTextDatasetTypeProperties - Delimited text dataset properties. - *DelimitedTextDatasetTypeProperties `json:"typeProperties,omitempty"` +// CouchbaseLinkedService couchbase server linked service. +type CouchbaseLinkedService struct { + // CouchbaseLinkedServiceTypeProperties - Couchbase server linked service properties. + *CouchbaseLinkedServiceTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Description - Dataset description. + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. Description *string `json:"description,omitempty"` - // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. - Structure interface{} `json:"structure,omitempty"` - // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - Schema interface{} `json:"schema,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Parameters - Parameters for dataset. + // Parameters - Parameters for linked service. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the Dataset. + // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' - Type TypeBasicDataset `json:"type,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for DelimitedTextDataset. -func (dtd DelimitedTextDataset) MarshalJSON() ([]byte, error) { - dtd.Type = TypeDelimitedText +// MarshalJSON is the custom marshaler for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) MarshalJSON() ([]byte, error) { + cls.Type = TypeCouchbase objectMap := make(map[string]interface{}) - if dtd.DelimitedTextDatasetTypeProperties != nil { - objectMap["typeProperties"] = dtd.DelimitedTextDatasetTypeProperties - } - if dtd.Description != nil { - objectMap["description"] = dtd.Description - } - if dtd.Structure != nil { - objectMap["structure"] = dtd.Structure - } - if dtd.Schema != nil { - objectMap["schema"] = dtd.Schema + if cls.CouchbaseLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = cls.CouchbaseLinkedServiceTypeProperties } - if dtd.LinkedServiceName != nil { - objectMap["linkedServiceName"] = dtd.LinkedServiceName + if cls.ConnectVia != nil { + objectMap["connectVia"] = cls.ConnectVia } - if dtd.Parameters != nil { - objectMap["parameters"] = dtd.Parameters + if cls.Description != nil { + objectMap["description"] = cls.Description } - if dtd.Annotations != nil { - objectMap["annotations"] = dtd.Annotations + if cls.Parameters != nil { + objectMap["parameters"] = cls.Parameters } - if dtd.Folder != nil { - objectMap["folder"] = dtd.Folder + if cls.Annotations != nil { + objectMap["annotations"] = cls.Annotations } - if dtd.Type != "" { - objectMap["type"] = dtd.Type + if cls.Type != "" { + objectMap["type"] = cls.Type } - for k, v := range dtd.AdditionalProperties { + for k, v := range cls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { - return nil, false +// AsCouchbaseLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { + return &cls, true } -// AsWebTableDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { - return &dtd, true -} - -// AsParquetDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsDataset() (*Dataset, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsBasicDataset() (BasicDataset, bool) { - return &dtd, true -} - -// UnmarshalJSON is the custom unmarshaler for DelimitedTextDataset struct. -func (dtd *DelimitedTextDataset) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "typeProperties": - if v != nil { - var delimitedTextDatasetTypeProperties DelimitedTextDatasetTypeProperties - err = json.Unmarshal(*v, &delimitedTextDatasetTypeProperties) - if err != nil { - return err - } - dtd.DelimitedTextDatasetTypeProperties = &delimitedTextDatasetTypeProperties - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if dtd.AdditionalProperties == nil { - dtd.AdditionalProperties = make(map[string]interface{}) - } - dtd.AdditionalProperties[k] = additionalProperties - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - dtd.Description = &description - } - case "structure": - if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) - if err != nil { - return err - } - dtd.Structure = structure - } - case "schema": - if v != nil { - var schema interface{} - err = json.Unmarshal(*v, &schema) - if err != nil { - return err - } - dtd.Schema = schema - } - case "linkedServiceName": - if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) - if err != nil { - return err - } - dtd.LinkedServiceName = &linkedServiceName - } - case "parameters": - if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) - if err != nil { - return err - } - dtd.Parameters = parameters - } - case "annotations": - if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) - if err != nil { - return err - } - dtd.Annotations = &annotations - } - case "folder": - if v != nil { - var folder DatasetFolder - err = json.Unmarshal(*v, &folder) - if err != nil { - return err - } - dtd.Folder = &folder - } - case "type": - if v != nil { - var typeVar TypeBasicDataset - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - dtd.Type = typeVar - } - } - } - - return nil -} - -// DelimitedTextDatasetTypeProperties delimitedText dataset properties. -type DelimitedTextDatasetTypeProperties struct { - // Location - The location of the delimited text storage. - Location *DatasetLocation `json:"location,omitempty"` - // ColumnDelimiter - The column delimiter. Type: string (or Expression with resultType string). - ColumnDelimiter interface{} `json:"columnDelimiter,omitempty"` - // RowDelimiter - The row delimiter. Type: string (or Expression with resultType string). - RowDelimiter interface{} `json:"rowDelimiter,omitempty"` - // EncodingName - The code page name of the preferred encoding. If miss, 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). - EncodingName interface{} `json:"encodingName,omitempty"` - CompressionCodec interface{} `json:"compressionCodec,omitempty"` - // CompressionLevel - The data compression method used for DelimitedText. - CompressionLevel interface{} `json:"compressionLevel,omitempty"` - // QuoteChar - The quote character. Type: string (or Expression with resultType string). - QuoteChar interface{} `json:"quoteChar,omitempty"` - // EscapeChar - The escape character. Type: string (or Expression with resultType string). - EscapeChar interface{} `json:"escapeChar,omitempty"` - // FirstRowAsHeader - 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). - FirstRowAsHeader interface{} `json:"firstRowAsHeader,omitempty"` - // NullValue - The null value string. Type: string (or Expression with resultType string). - NullValue interface{} `json:"nullValue,omitempty"` -} - -// DelimitedTextReadSettings delimited text read settings. -type DelimitedTextReadSettings struct { - // SkipLineCount - Indicates the number of non-empty rows to skip when reading data from input files. Type: integer (or Expression with resultType integer). - SkipLineCount interface{} `json:"skipLineCount,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Type - The read setting type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for DelimitedTextReadSettings. -func (dtrs DelimitedTextReadSettings) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if dtrs.SkipLineCount != nil { - objectMap["skipLineCount"] = dtrs.SkipLineCount - } - if dtrs.Type != nil { - objectMap["type"] = dtrs.Type - } - for k, v := range dtrs.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for DelimitedTextReadSettings struct. -func (dtrs *DelimitedTextReadSettings) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "skipLineCount": - if v != nil { - var skipLineCount interface{} - err = json.Unmarshal(*v, &skipLineCount) - if err != nil { - return err - } - dtrs.SkipLineCount = skipLineCount - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if dtrs.AdditionalProperties == nil { - dtrs.AdditionalProperties = make(map[string]interface{}) - } - dtrs.AdditionalProperties[k] = additionalProperties - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - dtrs.Type = &typeVar - } - } - } - - return nil -} - -// DelimitedTextSink a copy activity DelimitedText sink. -type DelimitedTextSink struct { - // StoreSettings - DelimitedText store settings. - StoreSettings *StoreWriteSettings `json:"storeSettings,omitempty"` - // FormatSettings - DelimitedText format settings. - FormatSettings *DelimitedTextWriteSettings `json:"formatSettings,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - WriteBatchSize interface{} `json:"writeBatchSize,omitempty"` - // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"` - // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer). - SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"` - // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeDelimitedTextSink' - Type TypeBasicCopySink `json:"type,omitempty"` +// AsAzureMLLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for DelimitedTextSink. -func (dts DelimitedTextSink) MarshalJSON() ([]byte, error) { - dts.Type = TypeDelimitedTextSink - objectMap := make(map[string]interface{}) - if dts.StoreSettings != nil { - objectMap["storeSettings"] = dts.StoreSettings - } - if dts.FormatSettings != nil { - objectMap["formatSettings"] = dts.FormatSettings - } - if dts.WriteBatchSize != nil { - objectMap["writeBatchSize"] = dts.WriteBatchSize - } - if dts.WriteBatchTimeout != nil { - objectMap["writeBatchTimeout"] = dts.WriteBatchTimeout - } - if dts.SinkRetryCount != nil { - objectMap["sinkRetryCount"] = dts.SinkRetryCount - } - if dts.SinkRetryWait != nil { - objectMap["sinkRetryWait"] = dts.SinkRetryWait - } - if dts.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = dts.MaxConcurrentConnections - } - if dts.Type != "" { - objectMap["type"] = dts.Type - } - for k, v := range dts.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsTeradataLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { + return nil, false } -// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsSalesforceSink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsSalesforceSink() (*SalesforceSink, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsAzureDataExplorerSink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsDynamicsSink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsDynamicsSink() (*DynamicsSink, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsOdbcSink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsOdbcSink() (*OdbcSink, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsAzureSearchIndexSink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsAzureBlobFSSink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreSink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsOracleSink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsOracleSink() (*OracleSink, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsSQLDWSink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsSQLDWSink() (*SQLDWSink, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsAzureSQLSink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsAzureSQLSink() (*AzureSQLSink, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsSQLServerSink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsSQLServerSink() (*SQLServerSink, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsSQLSink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsSQLSink() (*SQLSink, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionSink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsFileSystemSink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsFileSystemSink() (*FileSystemSink, bool) { +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { return nil, false } -// AsBlobSink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsBlobSink() (*BlobSink, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsParquetSink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsParquetSink() (*ParquetSink, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsAzureTableSink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsAzureTableSink() (*AzureTableSink, bool) { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { return nil, false } -// AsAzureQueueSink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsAzureQueueSink() (*AzureQueueSink, bool) { +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerSink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { return nil, false } -// AsDelimitedTextSink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { - return &dts, true +// AsAzureStorageLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false } -// AsCopySink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsCopySink() (*CopySink, bool) { +// AsLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsLinkedService() (*LinkedService, bool) { return nil, false } -// AsBasicCopySink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsBasicCopySink() (BasicCopySink, bool) { - return &dts, true +// AsBasicLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &cls, true } -// UnmarshalJSON is the custom unmarshaler for DelimitedTextSink struct. -func (dts *DelimitedTextSink) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for CouchbaseLinkedService struct. +func (cls *CouchbaseLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -47970,23 +48672,14 @@ func (dts *DelimitedTextSink) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "storeSettings": - if v != nil { - var storeSettings StoreWriteSettings - err = json.Unmarshal(*v, &storeSettings) - if err != nil { - return err - } - dts.StoreSettings = &storeSettings - } - case "formatSettings": + case "typeProperties": if v != nil { - var formatSettings DelimitedTextWriteSettings - err = json.Unmarshal(*v, &formatSettings) + var couchbaseLinkedServiceTypeProperties CouchbaseLinkedServiceTypeProperties + err = json.Unmarshal(*v, &couchbaseLinkedServiceTypeProperties) if err != nil { return err } - dts.FormatSettings = &formatSettings + cls.CouchbaseLinkedServiceTypeProperties = &couchbaseLinkedServiceTypeProperties } default: if v != nil { @@ -47995,64 +48688,55 @@ func (dts *DelimitedTextSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - if dts.AdditionalProperties == nil { - dts.AdditionalProperties = make(map[string]interface{}) - } - dts.AdditionalProperties[k] = additionalProperties - } - case "writeBatchSize": - if v != nil { - var writeBatchSize interface{} - err = json.Unmarshal(*v, &writeBatchSize) - if err != nil { - return err + if cls.AdditionalProperties == nil { + cls.AdditionalProperties = make(map[string]interface{}) } - dts.WriteBatchSize = writeBatchSize + cls.AdditionalProperties[k] = additionalProperties } - case "writeBatchTimeout": + case "connectVia": if v != nil { - var writeBatchTimeout interface{} - err = json.Unmarshal(*v, &writeBatchTimeout) + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) if err != nil { return err } - dts.WriteBatchTimeout = writeBatchTimeout + cls.ConnectVia = &connectVia } - case "sinkRetryCount": + case "description": if v != nil { - var sinkRetryCount interface{} - err = json.Unmarshal(*v, &sinkRetryCount) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - dts.SinkRetryCount = sinkRetryCount + cls.Description = &description } - case "sinkRetryWait": + case "parameters": if v != nil { - var sinkRetryWait interface{} - err = json.Unmarshal(*v, &sinkRetryWait) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - dts.SinkRetryWait = sinkRetryWait + cls.Parameters = parameters } - case "maxConcurrentConnections": + case "annotations": if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - dts.MaxConcurrentConnections = maxConcurrentConnections + cls.Annotations = &annotations } case "type": if v != nil { - var typeVar TypeBasicCopySink + var typeVar TypeBasicLinkedService err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - dts.Type = typeVar + cls.Type = typeVar } } } @@ -48060,12 +48744,20 @@ func (dts *DelimitedTextSink) UnmarshalJSON(body []byte) error { return nil } -// DelimitedTextSource a copy activity DelimitedText source. -type DelimitedTextSource struct { - // StoreSettings - DelimitedText store settings. - StoreSettings *StoreReadSettings `json:"storeSettings,omitempty"` - // FormatSettings - DelimitedText format settings. - FormatSettings *DelimitedTextReadSettings `json:"formatSettings,omitempty"` +// CouchbaseLinkedServiceTypeProperties couchbase server linked service properties. +type CouchbaseLinkedServiceTypeProperties struct { + // ConnectionString - An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + ConnectionString interface{} `json:"connectionString,omitempty"` + // CredString - The Azure key vault secret reference of credString in connection string. + CredString *AzureKeyVaultSecretReference `json:"credString,omitempty"` + // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` +} + +// CouchbaseSource a copy activity Couchbase server source. +type CouchbaseSource struct { + // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). + Query interface{} `json:"query,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -48074,380 +48766,447 @@ type DelimitedTextSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for DelimitedTextSource. -func (dts DelimitedTextSource) MarshalJSON() ([]byte, error) { - dts.Type = TypeDelimitedTextSource +// MarshalJSON is the custom marshaler for CouchbaseSource. +func (cs CouchbaseSource) MarshalJSON() ([]byte, error) { + cs.Type = TypeCouchbaseSource objectMap := make(map[string]interface{}) - if dts.StoreSettings != nil { - objectMap["storeSettings"] = dts.StoreSettings - } - if dts.FormatSettings != nil { - objectMap["formatSettings"] = dts.FormatSettings + if cs.Query != nil { + objectMap["query"] = cs.Query } - if dts.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = dts.SourceRetryCount + if cs.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = cs.SourceRetryCount } - if dts.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = dts.SourceRetryWait + if cs.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = cs.SourceRetryWait } - if dts.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = dts.MaxConcurrentConnections + if cs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = cs.MaxConcurrentConnections } - if dts.Type != "" { - objectMap["type"] = dts.Type + if cs.Type != "" { + objectMap["type"] = cs.Type } - for k, v := range dts.AdditionalProperties { + for k, v := range cs.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsResponsysSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsVerticaSource() (*VerticaSource, bool) { +// AsVerticaSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsNetezzaSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsZohoSource() (*ZohoSource, bool) { +// AsZohoSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsXeroSource() (*XeroSource, bool) { +// AsXeroSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsSquareSource() (*SquareSource, bool) { +// AsSquareSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsSparkSource() (*SparkSource, bool) { +// AsSparkSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsShopifySource() (*ShopifySource, bool) { +// AsShopifySource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsServiceNowSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsPrestoSource() (*PrestoSource, bool) { +// AsPrestoSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsPhoenixSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsPaypalSource() (*PaypalSource, bool) { +// AsPaypalSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsMarketoSource() (*MarketoSource, bool) { +// AsMarketoSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsMariaDBSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsMagentoSource() (*MagentoSource, bool) { +// AsMagentoSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsJiraSource() (*JiraSource, bool) { +// AsJiraSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsImpalaSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsHubspotSource() (*HubspotSource, bool) { +// AsHubspotSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsHiveSource() (*HiveSource, bool) { +// AsHiveSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsHBaseSource() (*HBaseSource, bool) { +// AsHBaseSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsGreenplumSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsEloquaSource() (*EloquaSource, bool) { +// AsEloquaSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsDrillSource() (*DrillSource, bool) { +// AsDrillSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsCouchbaseSource() (*CouchbaseSource, bool) { + return &cs, true +} + +// AsConcurSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsConcurSource() (*ConcurSource, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsHTTPSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsHTTPSource() (*HTTPSource, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsOffice365Source is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsOffice365Source() (*Office365Source, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsMongoDbSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsCassandraSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsCassandraSource() (*CassandraSource, bool) { +// AsWebSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsWebSource() (*WebSource, bool) { +// AsTeradataSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsOracleSource() (*OracleSource, bool) { +// AsOracleSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsHdfsSource() (*HdfsSource, bool) { +// AsHdfsSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsFileSystemSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsSQLDWSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsSQLMISource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsSQLSource() (*SQLSource, bool) { +// AsSQLServerSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsRestSource() (*RestSource, bool) { +// AsSQLSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsSapTableSource() (*SapTableSource, bool) { +// AsRestSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsSapTableSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsSapEccSource() (*SapEccSource, bool) { +// AsSapHanaSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsSapEccSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsRelationalSource() (*RelationalSource, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsSalesforceSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsODataSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsBlobSource() (*BlobSource, bool) { +// AsSybaseSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { - return &dts, true +// AsMySQLSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false } -// AsParquetSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsParquetSource() (*ParquetSource, bool) { +// AsOdbcSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsCopySource() (*CopySource, bool) { +// AsDb2Source is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsBasicCopySource() (BasicCopySource, bool) { - return &dts, true +// AsMicrosoftAccessSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for DelimitedTextSource struct. -func (dts *DelimitedTextSource) UnmarshalJSON(body []byte) error { +// AsInformixSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + +// AsRelationalSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + +// AsDynamicsSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + +// AsAzureTableSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsBinarySource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsDelimitedTextSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false +} + +// AsParquetSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsBasicCopySource() (BasicCopySource, bool) { + return &cs, true +} + +// UnmarshalJSON is the custom unmarshaler for CouchbaseSource struct. +func (cs *CouchbaseSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -48455,23 +49214,14 @@ func (dts *DelimitedTextSource) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "storeSettings": - if v != nil { - var storeSettings StoreReadSettings - err = json.Unmarshal(*v, &storeSettings) - if err != nil { - return err - } - dts.StoreSettings = &storeSettings - } - case "formatSettings": + case "query": if v != nil { - var formatSettings DelimitedTextReadSettings - err = json.Unmarshal(*v, &formatSettings) + var query interface{} + err = json.Unmarshal(*v, &query) if err != nil { return err } - dts.FormatSettings = &formatSettings + cs.Query = query } default: if v != nil { @@ -48480,10 +49230,10 @@ func (dts *DelimitedTextSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - if dts.AdditionalProperties == nil { - dts.AdditionalProperties = make(map[string]interface{}) + if cs.AdditionalProperties == nil { + cs.AdditionalProperties = make(map[string]interface{}) } - dts.AdditionalProperties[k] = additionalProperties + cs.AdditionalProperties[k] = additionalProperties } case "sourceRetryCount": if v != nil { @@ -48492,7 +49242,7 @@ func (dts *DelimitedTextSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - dts.SourceRetryCount = sourceRetryCount + cs.SourceRetryCount = sourceRetryCount } case "sourceRetryWait": if v != nil { @@ -48501,7 +49251,7 @@ func (dts *DelimitedTextSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - dts.SourceRetryWait = sourceRetryWait + cs.SourceRetryWait = sourceRetryWait } case "maxConcurrentConnections": if v != nil { @@ -48510,7 +49260,7 @@ func (dts *DelimitedTextSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - dts.MaxConcurrentConnections = maxConcurrentConnections + cs.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { @@ -48519,7 +49269,7 @@ func (dts *DelimitedTextSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - dts.Type = typeVar + cs.Type = typeVar } } } @@ -48527,608 +49277,469 @@ func (dts *DelimitedTextSource) UnmarshalJSON(body []byte) error { return nil } -// DelimitedTextWriteSettings delimited text write settings. -type DelimitedTextWriteSettings struct { - // QuoteAllText - Indicates whether string values should always be enclosed with quotes. Type: boolean (or Expression with resultType boolean). - QuoteAllText interface{} `json:"quoteAllText,omitempty"` - // FileExtension - The file extension used to create the files. Type: string (or Expression with resultType string). - FileExtension interface{} `json:"fileExtension,omitempty"` +// CouchbaseTableDataset couchbase server dataset. +type CouchbaseTableDataset struct { + // GenericDatasetTypeProperties - Properties specific to this dataset type. + *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Type - The write setting type. - Type *string `json:"type,omitempty"` + // Description - Dataset description. + Description *string `json:"description,omitempty"` + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for DelimitedTextWriteSettings. -func (dtws DelimitedTextWriteSettings) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) MarshalJSON() ([]byte, error) { + ctd.Type = TypeCouchbaseTable objectMap := make(map[string]interface{}) - if dtws.QuoteAllText != nil { - objectMap["quoteAllText"] = dtws.QuoteAllText + if ctd.GenericDatasetTypeProperties != nil { + objectMap["typeProperties"] = ctd.GenericDatasetTypeProperties } - if dtws.FileExtension != nil { - objectMap["fileExtension"] = dtws.FileExtension + if ctd.Description != nil { + objectMap["description"] = ctd.Description } - if dtws.Type != nil { - objectMap["type"] = dtws.Type + if ctd.Structure != nil { + objectMap["structure"] = ctd.Structure } - for k, v := range dtws.AdditionalProperties { - objectMap[k] = v + if ctd.Schema != nil { + objectMap["schema"] = ctd.Schema } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for DelimitedTextWriteSettings struct. -func (dtws *DelimitedTextWriteSettings) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err + if ctd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = ctd.LinkedServiceName } - for k, v := range m { - switch k { - case "quoteAllText": - if v != nil { - var quoteAllText interface{} - err = json.Unmarshal(*v, "eAllText) - if err != nil { - return err - } - dtws.QuoteAllText = quoteAllText - } - case "fileExtension": - if v != nil { - var fileExtension interface{} - err = json.Unmarshal(*v, &fileExtension) - if err != nil { - return err - } - dtws.FileExtension = fileExtension - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if dtws.AdditionalProperties == nil { - dtws.AdditionalProperties = make(map[string]interface{}) - } - dtws.AdditionalProperties[k] = additionalProperties - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - dtws.Type = &typeVar - } - } + if ctd.Parameters != nil { + objectMap["parameters"] = ctd.Parameters } - - return nil -} - -// BasicDependencyReference referenced dependency. -type BasicDependencyReference interface { - AsSelfDependencyTumblingWindowTriggerReference() (*SelfDependencyTumblingWindowTriggerReference, bool) - AsTumblingWindowTriggerDependencyReference() (*TumblingWindowTriggerDependencyReference, bool) - AsTriggerDependencyReference() (*TriggerDependencyReference, bool) - AsBasicTriggerDependencyReference() (BasicTriggerDependencyReference, bool) - AsDependencyReference() (*DependencyReference, bool) -} - -// DependencyReference referenced dependency. -type DependencyReference struct { - // Type - Possible values include: 'TypeDependencyReference', 'TypeSelfDependencyTumblingWindowTriggerReference', 'TypeTumblingWindowTriggerDependencyReference', 'TypeTriggerDependencyReference' - Type TypeBasicDependencyReference `json:"type,omitempty"` -} - -func unmarshalBasicDependencyReference(body []byte) (BasicDependencyReference, error) { - var m map[string]interface{} - err := json.Unmarshal(body, &m) - if err != nil { - return nil, err + if ctd.Annotations != nil { + objectMap["annotations"] = ctd.Annotations } - - switch m["type"] { - case string(TypeSelfDependencyTumblingWindowTriggerReference): - var sdtwtr SelfDependencyTumblingWindowTriggerReference - err := json.Unmarshal(body, &sdtwtr) - return sdtwtr, err - case string(TypeTumblingWindowTriggerDependencyReference): - var twtdr TumblingWindowTriggerDependencyReference - err := json.Unmarshal(body, &twtdr) - return twtdr, err - case string(TypeTriggerDependencyReference): - var tdr TriggerDependencyReference - err := json.Unmarshal(body, &tdr) - return tdr, err - default: - var dr DependencyReference - err := json.Unmarshal(body, &dr) - return dr, err + if ctd.Folder != nil { + objectMap["folder"] = ctd.Folder } -} -func unmarshalBasicDependencyReferenceArray(body []byte) ([]BasicDependencyReference, error) { - var rawMessages []*json.RawMessage - err := json.Unmarshal(body, &rawMessages) - if err != nil { - return nil, err + if ctd.Type != "" { + objectMap["type"] = ctd.Type } - - drArray := make([]BasicDependencyReference, len(rawMessages)) - - for index, rawMessage := range rawMessages { - dr, err := unmarshalBasicDependencyReference(*rawMessage) - if err != nil { - return nil, err - } - drArray[index] = dr + for k, v := range ctd.AdditionalProperties { + objectMap[k] = v } - return drArray, nil + return json.Marshal(objectMap) } -// MarshalJSON is the custom marshaler for DependencyReference. -func (dr DependencyReference) MarshalJSON() ([]byte, error) { - dr.Type = TypeDependencyReference - objectMap := make(map[string]interface{}) - if dr.Type != "" { - objectMap["type"] = dr.Type - } - return json.Marshal(objectMap) +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { + return nil, false } -// AsSelfDependencyTumblingWindowTriggerReference is the BasicDependencyReference implementation for DependencyReference. -func (dr DependencyReference) AsSelfDependencyTumblingWindowTriggerReference() (*SelfDependencyTumblingWindowTriggerReference, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsTumblingWindowTriggerDependencyReference is the BasicDependencyReference implementation for DependencyReference. -func (dr DependencyReference) AsTumblingWindowTriggerDependencyReference() (*TumblingWindowTriggerDependencyReference, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsTriggerDependencyReference is the BasicDependencyReference implementation for DependencyReference. -func (dr DependencyReference) AsTriggerDependencyReference() (*TriggerDependencyReference, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsBasicTriggerDependencyReference is the BasicDependencyReference implementation for DependencyReference. -func (dr DependencyReference) AsBasicTriggerDependencyReference() (BasicTriggerDependencyReference, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsDependencyReference is the BasicDependencyReference implementation for DependencyReference. -func (dr DependencyReference) AsDependencyReference() (*DependencyReference, bool) { - return &dr, true +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { + return nil, false } -// AsBasicDependencyReference is the BasicDependencyReference implementation for DependencyReference. -func (dr DependencyReference) AsBasicDependencyReference() (BasicDependencyReference, bool) { - return &dr, true +// AsVerticaTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false } -// DistcpSettings distcp settings. -type DistcpSettings struct { - // ResourceManagerEndpoint - Specifies the Yarn ResourceManager endpoint. Type: string (or Expression with resultType string). - ResourceManagerEndpoint interface{} `json:"resourceManagerEndpoint,omitempty"` - // TempScriptPath - Specifies an existing folder path which will be used to store temp Distcp command script. The script file is generated by ADF and will be removed after Copy job finished. Type: string (or Expression with resultType string). - TempScriptPath interface{} `json:"tempScriptPath,omitempty"` - // DistcpOptions - Specifies the Distcp options. Type: string (or Expression with resultType string). - DistcpOptions interface{} `json:"distcpOptions,omitempty"` +// AsNetezzaTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false } -// DocumentDbCollectionDataset microsoft Azure Document Database Collection dataset. -type DocumentDbCollectionDataset struct { - // DocumentDbCollectionDatasetTypeProperties - DocumentDB Collection dataset properties. - *DocumentDbCollectionDatasetTypeProperties `json:"typeProperties,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Description - Dataset description. - Description *string `json:"description,omitempty"` - // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. - Structure interface{} `json:"structure,omitempty"` - // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - Schema interface{} `json:"schema,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Parameters - Parameters for dataset. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the Dataset. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' - Type TypeBasicDataset `json:"type,omitempty"` +// AsZohoObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) MarshalJSON() ([]byte, error) { - ddcd.Type = TypeDocumentDbCollection - objectMap := make(map[string]interface{}) - if ddcd.DocumentDbCollectionDatasetTypeProperties != nil { - objectMap["typeProperties"] = ddcd.DocumentDbCollectionDatasetTypeProperties - } - if ddcd.Description != nil { - objectMap["description"] = ddcd.Description - } - if ddcd.Structure != nil { - objectMap["structure"] = ddcd.Structure - } - if ddcd.Schema != nil { - objectMap["schema"] = ddcd.Schema - } - if ddcd.LinkedServiceName != nil { - objectMap["linkedServiceName"] = ddcd.LinkedServiceName - } - if ddcd.Parameters != nil { - objectMap["parameters"] = ddcd.Parameters - } - if ddcd.Annotations != nil { - objectMap["annotations"] = ddcd.Annotations - } - if ddcd.Folder != nil { - objectMap["folder"] = ddcd.Folder - } - if ddcd.Type != "" { - objectMap["type"] = ddcd.Type - } - for k, v := range ddcd.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsXeroObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { + return nil, false } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsDrillTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { + return &ctd, true +} + +// AsConcurObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsHTTPDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsWebTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsRestResourceDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsInformixTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsOracleTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsODataResourceDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsFileShareDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsOffice365Dataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsCustomDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { - return &ddcd, true +// AsCassandraTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { + return nil, false } -// AsCustomDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsAzureTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsBinaryDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsParquetDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsAmazonS3Dataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsDataset() (*Dataset, bool) { +// AsDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsDataset() (*Dataset, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsBasicDataset() (BasicDataset, bool) { - return &ddcd, true +// AsBasicDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsBasicDataset() (BasicDataset, bool) { + return &ctd, true } -// UnmarshalJSON is the custom unmarshaler for DocumentDbCollectionDataset struct. -func (ddcd *DocumentDbCollectionDataset) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for CouchbaseTableDataset struct. +func (ctd *CouchbaseTableDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -49138,12 +49749,12 @@ func (ddcd *DocumentDbCollectionDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var documentDbCollectionDatasetTypeProperties DocumentDbCollectionDatasetTypeProperties - err = json.Unmarshal(*v, &documentDbCollectionDatasetTypeProperties) + var genericDatasetTypeProperties GenericDatasetTypeProperties + err = json.Unmarshal(*v, &genericDatasetTypeProperties) if err != nil { return err } - ddcd.DocumentDbCollectionDatasetTypeProperties = &documentDbCollectionDatasetTypeProperties + ctd.GenericDatasetTypeProperties = &genericDatasetTypeProperties } default: if v != nil { @@ -49152,10 +49763,10 @@ func (ddcd *DocumentDbCollectionDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if ddcd.AdditionalProperties == nil { - ddcd.AdditionalProperties = make(map[string]interface{}) + if ctd.AdditionalProperties == nil { + ctd.AdditionalProperties = make(map[string]interface{}) } - ddcd.AdditionalProperties[k] = additionalProperties + ctd.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -49164,7 +49775,7 @@ func (ddcd *DocumentDbCollectionDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - ddcd.Description = &description + ctd.Description = &description } case "structure": if v != nil { @@ -49173,7 +49784,7 @@ func (ddcd *DocumentDbCollectionDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - ddcd.Structure = structure + ctd.Structure = structure } case "schema": if v != nil { @@ -49182,7 +49793,7 @@ func (ddcd *DocumentDbCollectionDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - ddcd.Schema = schema + ctd.Schema = schema } case "linkedServiceName": if v != nil { @@ -49191,7 +49802,7 @@ func (ddcd *DocumentDbCollectionDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - ddcd.LinkedServiceName = &linkedServiceName + ctd.LinkedServiceName = &linkedServiceName } case "parameters": if v != nil { @@ -49200,7 +49811,7 @@ func (ddcd *DocumentDbCollectionDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - ddcd.Parameters = parameters + ctd.Parameters = parameters } case "annotations": if v != nil { @@ -49209,7 +49820,7 @@ func (ddcd *DocumentDbCollectionDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - ddcd.Annotations = &annotations + ctd.Annotations = &annotations } case "folder": if v != nil { @@ -49218,7 +49829,7 @@ func (ddcd *DocumentDbCollectionDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - ddcd.Folder = &folder + ctd.Folder = &folder } case "type": if v != nil { @@ -49227,7 +49838,7 @@ func (ddcd *DocumentDbCollectionDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - ddcd.Type = typeVar + ctd.Type = typeVar } } } @@ -49235,185 +49846,263 @@ func (ddcd *DocumentDbCollectionDataset) UnmarshalJSON(body []byte) error { return nil } -// DocumentDbCollectionDatasetTypeProperties documentDB Collection dataset properties. -type DocumentDbCollectionDatasetTypeProperties struct { - // CollectionName - Document Database collection name. Type: string (or Expression with resultType string). - CollectionName interface{} `json:"collectionName,omitempty"` +// CreateLinkedIntegrationRuntimeRequest the linked integration runtime information. +type CreateLinkedIntegrationRuntimeRequest struct { + // Name - The name of the linked integration runtime. + Name *string `json:"name,omitempty"` + // SubscriptionID - The ID of the subscription that the linked integration runtime belongs to. + SubscriptionID *string `json:"subscriptionId,omitempty"` + // DataFactoryName - The name of the data factory that the linked integration runtime belongs to. + DataFactoryName *string `json:"dataFactoryName,omitempty"` + // DataFactoryLocation - The location of the data factory that the linked integration runtime belongs to. + DataFactoryLocation *string `json:"dataFactoryLocation,omitempty"` } -// DocumentDbCollectionSink a copy activity Document Database Collection sink. -type DocumentDbCollectionSink struct { - // NestingSeparator - Nested properties separator. Default is . (dot). Type: string (or Expression with resultType string). - NestingSeparator interface{} `json:"nestingSeparator,omitempty"` - // WriteBehavior - Describes how to write data to Azure Cosmos DB. Allowed values: insert and upsert. - WriteBehavior interface{} `json:"writeBehavior,omitempty"` +// CreateRunResponse response body with a run identifier. +type CreateRunResponse struct { + autorest.Response `json:"-"` + // RunID - Identifier of a run. + RunID *string `json:"runId,omitempty"` +} + +// CustomActivity custom activity type. +type CustomActivity struct { + // CustomActivityTypeProperties - Custom activity properties. + *CustomActivityTypeProperties `json:"typeProperties,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Policy - Activity policy. + Policy *ActivityPolicy `json:"policy,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - WriteBatchSize interface{} `json:"writeBatchSize,omitempty"` - // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"` - // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer). - SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"` - // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeDelimitedTextSink' - Type TypeBasicCopySink `json:"type,omitempty"` + // Name - Activity name. + Name *string `json:"name,omitempty"` + // Description - Activity description. + Description *string `json:"description,omitempty"` + // DependsOn - Activity depends on condition. + DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` + // UserProperties - Activity user properties. + UserProperties *[]UserProperty `json:"userProperties,omitempty"` + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + Type TypeBasicActivity `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) MarshalJSON() ([]byte, error) { - ddcs.Type = TypeDocumentDbCollectionSink +// MarshalJSON is the custom marshaler for CustomActivity. +func (ca CustomActivity) MarshalJSON() ([]byte, error) { + ca.Type = TypeCustom objectMap := make(map[string]interface{}) - if ddcs.NestingSeparator != nil { - objectMap["nestingSeparator"] = ddcs.NestingSeparator + if ca.CustomActivityTypeProperties != nil { + objectMap["typeProperties"] = ca.CustomActivityTypeProperties } - if ddcs.WriteBehavior != nil { - objectMap["writeBehavior"] = ddcs.WriteBehavior + if ca.LinkedServiceName != nil { + objectMap["linkedServiceName"] = ca.LinkedServiceName } - if ddcs.WriteBatchSize != nil { - objectMap["writeBatchSize"] = ddcs.WriteBatchSize + if ca.Policy != nil { + objectMap["policy"] = ca.Policy } - if ddcs.WriteBatchTimeout != nil { - objectMap["writeBatchTimeout"] = ddcs.WriteBatchTimeout + if ca.Name != nil { + objectMap["name"] = ca.Name } - if ddcs.SinkRetryCount != nil { - objectMap["sinkRetryCount"] = ddcs.SinkRetryCount + if ca.Description != nil { + objectMap["description"] = ca.Description } - if ddcs.SinkRetryWait != nil { - objectMap["sinkRetryWait"] = ddcs.SinkRetryWait + if ca.DependsOn != nil { + objectMap["dependsOn"] = ca.DependsOn } - if ddcs.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = ddcs.MaxConcurrentConnections + if ca.UserProperties != nil { + objectMap["userProperties"] = ca.UserProperties } - if ddcs.Type != "" { - objectMap["type"] = ddcs.Type + if ca.Type != "" { + objectMap["type"] = ca.Type } - for k, v := range ddcs.AdditionalProperties { + for k, v := range ca.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { +// AsAzureFunctionActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { return nil, false } -// AsSalesforceSink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsSalesforceSink() (*SalesforceSink, bool) { +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { return nil, false } -// AsAzureDataExplorerSink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { +// AsDatabricksSparkJarActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { return nil, false } -// AsDynamicsSink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsDynamicsSink() (*DynamicsSink, bool) { +// AsDatabricksNotebookActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { return nil, false } -// AsOdbcSink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsOdbcSink() (*OdbcSink, bool) { +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false } -// AsAzureSearchIndexSink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { return nil, false } -// AsAzureBlobFSSink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { return nil, false } -// AsAzureDataLakeStoreSink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { +// AsGetMetadataActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { return nil, false } -// AsOracleSink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsOracleSink() (*OracleSink, bool) { +// AsWebActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsWebActivity() (*WebActivity, bool) { return nil, false } -// AsSQLDWSink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsSQLDWSink() (*SQLDWSink, bool) { +// AsLookupActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureSQLSink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsAzureSQLSink() (*AzureSQLSink, bool) { +// AsDeleteActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false } -// AsSQLServerSink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsSQLServerSink() (*SQLServerSink, bool) { +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { return nil, false } -// AsSQLSink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsSQLSink() (*SQLSink, bool) { +// AsCustomActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsCustomActivity() (*CustomActivity, bool) { + return &ca, true +} + +// AsExecuteSSISPackageActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { return nil, false } -// AsDocumentDbCollectionSink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { - return &ddcs, true +// AsHDInsightSparkActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { + return nil, false } -// AsFileSystemSink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsFileSystemSink() (*FileSystemSink, bool) { +// AsHDInsightStreamingActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { return nil, false } -// AsBlobSink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsBlobSink() (*BlobSink, bool) { +// AsHDInsightMapReduceActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { return nil, false } -// AsParquetSink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsParquetSink() (*ParquetSink, bool) { +// AsHDInsightPigActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { return nil, false } -// AsAzureTableSink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsAzureTableSink() (*AzureTableSink, bool) { +// AsHDInsightHiveActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { return nil, false } -// AsAzureQueueSink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsAzureQueueSink() (*AzureQueueSink, bool) { +// AsCopyActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsCopyActivity() (*CopyActivity, bool) { return nil, false } -// AsSapCloudForCustomerSink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { +// AsExecutionActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsExecutionActivity() (*ExecutionActivity, bool) { return nil, false } -// AsDelimitedTextSink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { +// AsBasicExecutionActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return &ca, true +} + +// AsWebHookActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsWebHookActivity() (*WebHookActivity, bool) { return nil, false } -// AsCopySink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsCopySink() (*CopySink, bool) { +// AsAppendVariableActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { return nil, false } -// AsBasicCopySink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsBasicCopySink() (BasicCopySink, bool) { - return &ddcs, true +// AsSetVariableActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for DocumentDbCollectionSink struct. -func (ddcs *DocumentDbCollectionSink) UnmarshalJSON(body []byte) error { +// AsFilterActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsFilterActivity() (*FilterActivity, bool) { + return nil, false +} + +// AsValidationActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsValidationActivity() (*ValidationActivity, bool) { + return nil, false +} + +// AsUntilActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsUntilActivity() (*UntilActivity, bool) { + return nil, false +} + +// AsWaitActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsWaitActivity() (*WaitActivity, bool) { + return nil, false +} + +// AsForEachActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsForEachActivity() (*ForEachActivity, bool) { + return nil, false +} + +// AsIfConditionActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { + return nil, false +} + +// AsExecutePipelineActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { + return nil, false +} + +// AsControlActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsControlActivity() (*ControlActivity, bool) { + return nil, false +} + +// AsBasicControlActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsBasicControlActivity() (BasicControlActivity, bool) { + return nil, false +} + +// AsActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsActivity() (*Activity, bool) { + return nil, false +} + +// AsBasicActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsBasicActivity() (BasicActivity, bool) { + return &ca, true +} + +// UnmarshalJSON is the custom unmarshaler for CustomActivity struct. +func (ca *CustomActivity) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -49421,89 +50110,89 @@ func (ddcs *DocumentDbCollectionSink) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "nestingSeparator": + case "typeProperties": if v != nil { - var nestingSeparator interface{} - err = json.Unmarshal(*v, &nestingSeparator) + var customActivityTypeProperties CustomActivityTypeProperties + err = json.Unmarshal(*v, &customActivityTypeProperties) if err != nil { return err } - ddcs.NestingSeparator = nestingSeparator + ca.CustomActivityTypeProperties = &customActivityTypeProperties } - case "writeBehavior": + case "linkedServiceName": if v != nil { - var writeBehavior interface{} - err = json.Unmarshal(*v, &writeBehavior) + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) if err != nil { return err } - ddcs.WriteBehavior = writeBehavior + ca.LinkedServiceName = &linkedServiceName } - default: + case "policy": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var policy ActivityPolicy + err = json.Unmarshal(*v, &policy) if err != nil { return err } - if ddcs.AdditionalProperties == nil { - ddcs.AdditionalProperties = make(map[string]interface{}) - } - ddcs.AdditionalProperties[k] = additionalProperties + ca.Policy = &policy } - case "writeBatchSize": + default: if v != nil { - var writeBatchSize interface{} - err = json.Unmarshal(*v, &writeBatchSize) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - ddcs.WriteBatchSize = writeBatchSize + if ca.AdditionalProperties == nil { + ca.AdditionalProperties = make(map[string]interface{}) + } + ca.AdditionalProperties[k] = additionalProperties } - case "writeBatchTimeout": + case "name": if v != nil { - var writeBatchTimeout interface{} - err = json.Unmarshal(*v, &writeBatchTimeout) + var name string + err = json.Unmarshal(*v, &name) if err != nil { return err } - ddcs.WriteBatchTimeout = writeBatchTimeout + ca.Name = &name } - case "sinkRetryCount": + case "description": if v != nil { - var sinkRetryCount interface{} - err = json.Unmarshal(*v, &sinkRetryCount) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - ddcs.SinkRetryCount = sinkRetryCount + ca.Description = &description } - case "sinkRetryWait": + case "dependsOn": if v != nil { - var sinkRetryWait interface{} - err = json.Unmarshal(*v, &sinkRetryWait) + var dependsOn []ActivityDependency + err = json.Unmarshal(*v, &dependsOn) if err != nil { return err } - ddcs.SinkRetryWait = sinkRetryWait + ca.DependsOn = &dependsOn } - case "maxConcurrentConnections": + case "userProperties": if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) + var userProperties []UserProperty + err = json.Unmarshal(*v, &userProperties) if err != nil { return err } - ddcs.MaxConcurrentConnections = maxConcurrentConnections + ca.UserProperties = &userProperties } case "type": if v != nil { - var typeVar TypeBasicCopySink + var typeVar TypeBasicActivity err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - ddcs.Type = typeVar + ca.Type = typeVar } } } @@ -49511,394 +50200,517 @@ func (ddcs *DocumentDbCollectionSink) UnmarshalJSON(body []byte) error { return nil } -// DocumentDbCollectionSource a copy activity Document Database Collection source. -type DocumentDbCollectionSource struct { - // Query - Documents query. Type: string (or Expression with resultType string). - Query interface{} `json:"query,omitempty"` - // NestingSeparator - Nested properties separator. Type: string (or Expression with resultType string). - NestingSeparator interface{} `json:"nestingSeparator,omitempty"` +// CustomActivityReferenceObject reference objects for custom activity +type CustomActivityReferenceObject struct { + // LinkedServices - Linked service references. + LinkedServices *[]LinkedServiceReference `json:"linkedServices,omitempty"` + // Datasets - Dataset references. + Datasets *[]DatasetReference `json:"datasets,omitempty"` +} + +// CustomActivityTypeProperties custom activity properties. +type CustomActivityTypeProperties struct { + // Command - Command for custom activity Type: string (or Expression with resultType string). + Command interface{} `json:"command,omitempty"` + // ResourceLinkedService - Resource linked service reference. + ResourceLinkedService *LinkedServiceReference `json:"resourceLinkedService,omitempty"` + // FolderPath - Folder path for resource files Type: string (or Expression with resultType string). + FolderPath interface{} `json:"folderPath,omitempty"` + // ReferenceObjects - Reference objects + ReferenceObjects *CustomActivityReferenceObject `json:"referenceObjects,omitempty"` + // ExtendedProperties - 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. + ExtendedProperties map[string]interface{} `json:"extendedProperties"` + // RetentionTimeInDays - The retention time for the files submitted for custom activity. Type: double (or Expression with resultType double). + RetentionTimeInDays interface{} `json:"retentionTimeInDays,omitempty"` +} + +// MarshalJSON is the custom marshaler for CustomActivityTypeProperties. +func (catp CustomActivityTypeProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if catp.Command != nil { + objectMap["command"] = catp.Command + } + if catp.ResourceLinkedService != nil { + objectMap["resourceLinkedService"] = catp.ResourceLinkedService + } + if catp.FolderPath != nil { + objectMap["folderPath"] = catp.FolderPath + } + if catp.ReferenceObjects != nil { + objectMap["referenceObjects"] = catp.ReferenceObjects + } + if catp.ExtendedProperties != nil { + objectMap["extendedProperties"] = catp.ExtendedProperties + } + if catp.RetentionTimeInDays != nil { + objectMap["retentionTimeInDays"] = catp.RetentionTimeInDays + } + return json.Marshal(objectMap) +} + +// CustomDataset the custom dataset. +type CustomDataset struct { + // TypeProperties - Custom dataset properties. + TypeProperties interface{} `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). - SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` - // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' - Type TypeBasicCopySource `json:"type,omitempty"` + // Description - Dataset description. + Description *string `json:"description,omitempty"` + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) MarshalJSON() ([]byte, error) { - ddcs.Type = TypeDocumentDbCollectionSource +// MarshalJSON is the custom marshaler for CustomDataset. +func (cd CustomDataset) MarshalJSON() ([]byte, error) { + cd.Type = TypeCustomDataset objectMap := make(map[string]interface{}) - if ddcs.Query != nil { - objectMap["query"] = ddcs.Query + if cd.TypeProperties != nil { + objectMap["typeProperties"] = cd.TypeProperties } - if ddcs.NestingSeparator != nil { - objectMap["nestingSeparator"] = ddcs.NestingSeparator + if cd.Description != nil { + objectMap["description"] = cd.Description } - if ddcs.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = ddcs.SourceRetryCount + if cd.Structure != nil { + objectMap["structure"] = cd.Structure } - if ddcs.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = ddcs.SourceRetryWait + if cd.Schema != nil { + objectMap["schema"] = cd.Schema } - if ddcs.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = ddcs.MaxConcurrentConnections + if cd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = cd.LinkedServiceName } - if ddcs.Type != "" { - objectMap["type"] = ddcs.Type + if cd.Parameters != nil { + objectMap["parameters"] = cd.Parameters } - for k, v := range ddcs.AdditionalProperties { + if cd.Annotations != nil { + objectMap["annotations"] = cd.Annotations + } + if cd.Folder != nil { + objectMap["folder"] = cd.Folder + } + if cd.Type != "" { + objectMap["type"] = cd.Type + } + for k, v := range cd.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsVerticaSource() (*VerticaSource, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsZohoSource() (*ZohoSource, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsXeroSource() (*XeroSource, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsSquareSource() (*SquareSource, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsSparkSource() (*SparkSource, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsShopifySource() (*ShopifySource, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsPrestoSource() (*PrestoSource, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsPaypalSource() (*PaypalSource, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsMarketoSource() (*MarketoSource, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsMagentoSource() (*MagentoSource, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsJiraSource() (*JiraSource, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsHubspotSource() (*HubspotSource, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsHiveSource() (*HiveSource, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsHBaseSource() (*HBaseSource, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsEloquaSource() (*EloquaSource, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsDrillSource() (*DrillSource, bool) { +// AsDrillTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsConcurSource() (*ConcurSource, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsHTTPSource() (*HTTPSource, bool) { +// AsHTTPDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsWebTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsOffice365Source() (*Office365Source, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsRestResourceDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsCassandraSource() (*CassandraSource, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsWebSource() (*WebSource, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsOracleSource() (*OracleSource, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsHdfsSource() (*HdfsSource, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsInformixTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsSQLSource() (*SQLSource, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsRestSource() (*RestSource, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsSapTableSource() (*SapTableSource, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsOracleTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsODataResourceDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsSapEccSource() (*SapEccSource, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsRelationalSource() (*RelationalSource, bool) { +// AsFileShareDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsOffice365Dataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { - return &ddcs, true +// AsAzureBlobFSDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { + return nil, false } -// AsBlobSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsBlobSource() (*BlobSource, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsParquetSource() (*ParquetSource, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsCopySource() (*CopySource, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsBasicCopySource() (BasicCopySource, bool) { - return &ddcs, true +// AsCustomDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsCustomDataset() (*CustomDataset, bool) { + return &cd, true } -// UnmarshalJSON is the custom unmarshaler for DocumentDbCollectionSource struct. -func (ddcs *DocumentDbCollectionSource) UnmarshalJSON(body []byte) error { +// AsCassandraTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { + return nil, false +} + +// AsAzureSQLDWTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { + return nil, false +} + +// AsAzureSQLMITableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + +// AsAzureSQLTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { + return nil, false +} + +// AsAzureTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { + return nil, false +} + +// AsAzureBlobDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { + return nil, false +} + +// AsBinaryDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + +// AsDelimitedTextDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { + return nil, false +} + +// AsParquetDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsBasicDataset() (BasicDataset, bool) { + return &cd, true +} + +// UnmarshalJSON is the custom unmarshaler for CustomDataset struct. +func (cd *CustomDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -49906,71 +50718,98 @@ func (ddcs *DocumentDbCollectionSource) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "query": + case "typeProperties": if v != nil { - var query interface{} - err = json.Unmarshal(*v, &query) + var typeProperties interface{} + err = json.Unmarshal(*v, &typeProperties) if err != nil { return err } - ddcs.Query = query + cd.TypeProperties = typeProperties } - case "nestingSeparator": + default: if v != nil { - var nestingSeparator interface{} - err = json.Unmarshal(*v, &nestingSeparator) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - ddcs.NestingSeparator = nestingSeparator + if cd.AdditionalProperties == nil { + cd.AdditionalProperties = make(map[string]interface{}) + } + cd.AdditionalProperties[k] = additionalProperties } - default: + case "description": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - if ddcs.AdditionalProperties == nil { - ddcs.AdditionalProperties = make(map[string]interface{}) + cd.Description = &description + } + case "structure": + if v != nil { + var structure interface{} + err = json.Unmarshal(*v, &structure) + if err != nil { + return err } - ddcs.AdditionalProperties[k] = additionalProperties + cd.Structure = structure } - case "sourceRetryCount": + case "schema": if v != nil { - var sourceRetryCount interface{} - err = json.Unmarshal(*v, &sourceRetryCount) + var schema interface{} + err = json.Unmarshal(*v, &schema) if err != nil { return err } - ddcs.SourceRetryCount = sourceRetryCount + cd.Schema = schema } - case "sourceRetryWait": + case "linkedServiceName": if v != nil { - var sourceRetryWait interface{} - err = json.Unmarshal(*v, &sourceRetryWait) + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) if err != nil { return err } - ddcs.SourceRetryWait = sourceRetryWait + cd.LinkedServiceName = &linkedServiceName } - case "maxConcurrentConnections": + case "parameters": if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - ddcs.MaxConcurrentConnections = maxConcurrentConnections + cd.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + cd.Annotations = &annotations + } + case "folder": + if v != nil { + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) + if err != nil { + return err + } + cd.Folder = &folder } case "type": if v != nil { - var typeVar TypeBasicCopySource + var typeVar TypeBasicDataset err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - ddcs.Type = typeVar + cd.Type = typeVar } } } @@ -49978,10 +50817,10 @@ func (ddcs *DocumentDbCollectionSource) UnmarshalJSON(body []byte) error { return nil } -// DrillLinkedService drill server linked service. -type DrillLinkedService struct { - // DrillLinkedServiceTypeProperties - Drill server linked service properties. - *DrillLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// CustomDataSourceLinkedService custom linked service. +type CustomDataSourceLinkedService struct { + // TypeProperties - Custom linked service properties. + TypeProperties interface{} `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // ConnectVia - The integration runtime reference. @@ -49992,470 +50831,500 @@ type DrillLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for DrillLinkedService. -func (dls DrillLinkedService) MarshalJSON() ([]byte, error) { - dls.Type = TypeDrill +// MarshalJSON is the custom marshaler for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) MarshalJSON() ([]byte, error) { + cdsls.Type = TypeCustomDataSource objectMap := make(map[string]interface{}) - if dls.DrillLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = dls.DrillLinkedServiceTypeProperties + if cdsls.TypeProperties != nil { + objectMap["typeProperties"] = cdsls.TypeProperties } - if dls.ConnectVia != nil { - objectMap["connectVia"] = dls.ConnectVia + if cdsls.ConnectVia != nil { + objectMap["connectVia"] = cdsls.ConnectVia } - if dls.Description != nil { - objectMap["description"] = dls.Description + if cdsls.Description != nil { + objectMap["description"] = cdsls.Description } - if dls.Parameters != nil { - objectMap["parameters"] = dls.Parameters + if cdsls.Parameters != nil { + objectMap["parameters"] = cdsls.Parameters } - if dls.Annotations != nil { - objectMap["annotations"] = dls.Annotations + if cdsls.Annotations != nil { + objectMap["annotations"] = cdsls.Annotations } - if dls.Type != "" { - objectMap["type"] = dls.Type + if cdsls.Type != "" { + objectMap["type"] = cdsls.Type } - for k, v := range dls.AdditionalProperties { + for k, v := range cdsls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsSapTableLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { - return &dls, true +// AsDrillLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { + return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { + return &cdsls, true +} + +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &dls, true +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for DrillLinkedService struct. -func (dls *DrillLinkedService) UnmarshalJSON(body []byte) error { +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &cdsls, true +} + +// UnmarshalJSON is the custom unmarshaler for CustomDataSourceLinkedService struct. +func (cdsls *CustomDataSourceLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -50465,12 +51334,12 @@ func (dls *DrillLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var drillLinkedServiceTypeProperties DrillLinkedServiceTypeProperties - err = json.Unmarshal(*v, &drillLinkedServiceTypeProperties) + var typeProperties interface{} + err = json.Unmarshal(*v, &typeProperties) if err != nil { return err } - dls.DrillLinkedServiceTypeProperties = &drillLinkedServiceTypeProperties + cdsls.TypeProperties = typeProperties } default: if v != nil { @@ -50479,10 +51348,10 @@ func (dls *DrillLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if dls.AdditionalProperties == nil { - dls.AdditionalProperties = make(map[string]interface{}) + if cdsls.AdditionalProperties == nil { + cdsls.AdditionalProperties = make(map[string]interface{}) } - dls.AdditionalProperties[k] = additionalProperties + cdsls.AdditionalProperties[k] = additionalProperties } case "connectVia": if v != nil { @@ -50491,7 +51360,7 @@ func (dls *DrillLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - dls.ConnectVia = &connectVia + cdsls.ConnectVia = &connectVia } case "description": if v != nil { @@ -50500,7 +51369,7 @@ func (dls *DrillLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - dls.Description = &description + cdsls.Description = &description } case "parameters": if v != nil { @@ -50509,7 +51378,7 @@ func (dls *DrillLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - dls.Parameters = parameters + cdsls.Parameters = parameters } case "annotations": if v != nil { @@ -50518,7 +51387,7 @@ func (dls *DrillLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - dls.Annotations = &annotations + cdsls.Annotations = &annotations } case "type": if v != nil { @@ -50527,7 +51396,7 @@ func (dls *DrillLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - dls.Type = typeVar + cdsls.Type = typeVar } } } @@ -50535,399 +51404,604 @@ func (dls *DrillLinkedService) UnmarshalJSON(body []byte) error { return nil } -// DrillLinkedServiceTypeProperties drill server linked service properties. -type DrillLinkedServiceTypeProperties struct { - // ConnectionString - An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. - ConnectionString interface{} `json:"connectionString,omitempty"` - // Pwd - The Azure key vault secret reference of password in connection string. - Pwd *AzureKeyVaultSecretReference `json:"pwd,omitempty"` - // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). - EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` -} - -// DrillSource a copy activity Drill server source. -type DrillSource struct { - // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). - Query interface{} `json:"query,omitempty"` +// DatabricksNotebookActivity databricksNotebook activity. +type DatabricksNotebookActivity struct { + // DatabricksNotebookActivityTypeProperties - Databricks Notebook activity properties. + *DatabricksNotebookActivityTypeProperties `json:"typeProperties,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Policy - Activity policy. + Policy *ActivityPolicy `json:"policy,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). - SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` - // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' - Type TypeBasicCopySource `json:"type,omitempty"` + // Name - Activity name. + Name *string `json:"name,omitempty"` + // Description - Activity description. + Description *string `json:"description,omitempty"` + // DependsOn - Activity depends on condition. + DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` + // UserProperties - Activity user properties. + UserProperties *[]UserProperty `json:"userProperties,omitempty"` + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + Type TypeBasicActivity `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for DrillSource. -func (ds DrillSource) MarshalJSON() ([]byte, error) { - ds.Type = TypeDrillSource +// MarshalJSON is the custom marshaler for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) MarshalJSON() ([]byte, error) { + dna.Type = TypeDatabricksNotebook objectMap := make(map[string]interface{}) - if ds.Query != nil { - objectMap["query"] = ds.Query + if dna.DatabricksNotebookActivityTypeProperties != nil { + objectMap["typeProperties"] = dna.DatabricksNotebookActivityTypeProperties } - if ds.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = ds.SourceRetryCount + if dna.LinkedServiceName != nil { + objectMap["linkedServiceName"] = dna.LinkedServiceName } - if ds.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = ds.SourceRetryWait + if dna.Policy != nil { + objectMap["policy"] = dna.Policy } - if ds.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = ds.MaxConcurrentConnections + if dna.Name != nil { + objectMap["name"] = dna.Name } - if ds.Type != "" { - objectMap["type"] = ds.Type + if dna.Description != nil { + objectMap["description"] = dna.Description } - for k, v := range ds.AdditionalProperties { + if dna.DependsOn != nil { + objectMap["dependsOn"] = dna.DependsOn + } + if dna.UserProperties != nil { + objectMap["userProperties"] = dna.UserProperties + } + if dna.Type != "" { + objectMap["type"] = dna.Type + } + for k, v := range dna.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsAzureFunctionActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsDatabricksSparkJarActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { - return nil, false +// AsDatabricksNotebookActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { + return &dna, true } -// AsResponsysSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsVerticaSource() (*VerticaSource, bool) { +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsGetMetadataActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsZohoSource() (*ZohoSource, bool) { +// AsWebActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsWebActivity() (*WebActivity, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsXeroSource() (*XeroSource, bool) { +// AsLookupActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsSquareSource() (*SquareSource, bool) { +// AsDeleteActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsSparkSource() (*SparkSource, bool) { +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsShopifySource() (*ShopifySource, bool) { +// AsCustomActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsCustomActivity() (*CustomActivity, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsExecuteSSISPackageActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsHDInsightSparkActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsPrestoSource() (*PrestoSource, bool) { +// AsHDInsightStreamingActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsHDInsightMapReduceActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsPaypalSource() (*PaypalSource, bool) { +// AsHDInsightPigActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsMarketoSource() (*MarketoSource, bool) { +// AsHDInsightHiveActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsCopyActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsCopyActivity() (*CopyActivity, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsMagentoSource() (*MagentoSource, bool) { +// AsExecutionActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsExecutionActivity() (*ExecutionActivity, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsJiraSource() (*JiraSource, bool) { - return nil, false +// AsBasicExecutionActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return &dna, true } -// AsImpalaSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsWebHookActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsWebHookActivity() (*WebHookActivity, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsHubspotSource() (*HubspotSource, bool) { +// AsAppendVariableActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsHiveSource() (*HiveSource, bool) { +// AsSetVariableActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsHBaseSource() (*HBaseSource, bool) { +// AsFilterActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsFilterActivity() (*FilterActivity, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsValidationActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsValidationActivity() (*ValidationActivity, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsUntilActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsEloquaSource() (*EloquaSource, bool) { +// AsWaitActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsWaitActivity() (*WaitActivity, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsDrillSource() (*DrillSource, bool) { - return &ds, true +// AsForEachActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsForEachActivity() (*ForEachActivity, bool) { + return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsIfConditionActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsConcurSource() (*ConcurSource, bool) { +// AsExecutePipelineActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsControlActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsControlActivity() (*ControlActivity, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsBasicControlActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsBasicControlActivity() (BasicControlActivity, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsHTTPSource() (*HTTPSource, bool) { +// AsActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsActivity() (*Activity, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsBasicActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsBasicActivity() (BasicActivity, bool) { + return &dna, true +} + +// UnmarshalJSON is the custom unmarshaler for DatabricksNotebookActivity struct. +func (dna *DatabricksNotebookActivity) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "typeProperties": + if v != nil { + var databricksNotebookActivityTypeProperties DatabricksNotebookActivityTypeProperties + err = json.Unmarshal(*v, &databricksNotebookActivityTypeProperties) + if err != nil { + return err + } + dna.DatabricksNotebookActivityTypeProperties = &databricksNotebookActivityTypeProperties + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + dna.LinkedServiceName = &linkedServiceName + } + case "policy": + if v != nil { + var policy ActivityPolicy + err = json.Unmarshal(*v, &policy) + if err != nil { + return err + } + dna.Policy = &policy + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if dna.AdditionalProperties == nil { + dna.AdditionalProperties = make(map[string]interface{}) + } + dna.AdditionalProperties[k] = additionalProperties + } + case "name": + if v != nil { + var name string + err = json.Unmarshal(*v, &name) + if err != nil { + return err + } + dna.Name = &name + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + dna.Description = &description + } + case "dependsOn": + if v != nil { + var dependsOn []ActivityDependency + err = json.Unmarshal(*v, &dependsOn) + if err != nil { + return err + } + dna.DependsOn = &dependsOn + } + case "userProperties": + if v != nil { + var userProperties []UserProperty + err = json.Unmarshal(*v, &userProperties) + if err != nil { + return err + } + dna.UserProperties = &userProperties + } + case "type": + if v != nil { + var typeVar TypeBasicActivity + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + dna.Type = typeVar + } + } + } + + return nil +} + +// DatabricksNotebookActivityTypeProperties databricks Notebook activity properties. +type DatabricksNotebookActivityTypeProperties struct { + // NotebookPath - 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). + NotebookPath interface{} `json:"notebookPath,omitempty"` + // BaseParameters - 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. + BaseParameters map[string]interface{} `json:"baseParameters"` + // Libraries - A list of libraries to be installed on the cluster that will execute the job. + Libraries *[]map[string]interface{} `json:"libraries,omitempty"` +} + +// MarshalJSON is the custom marshaler for DatabricksNotebookActivityTypeProperties. +func (dnatp DatabricksNotebookActivityTypeProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if dnatp.NotebookPath != nil { + objectMap["notebookPath"] = dnatp.NotebookPath + } + if dnatp.BaseParameters != nil { + objectMap["baseParameters"] = dnatp.BaseParameters + } + if dnatp.Libraries != nil { + objectMap["libraries"] = dnatp.Libraries + } + return json.Marshal(objectMap) +} + +// DatabricksSparkJarActivity databricksSparkJar activity. +type DatabricksSparkJarActivity struct { + // DatabricksSparkJarActivityTypeProperties - Databricks SparkJar activity properties. + *DatabricksSparkJarActivityTypeProperties `json:"typeProperties,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Policy - Activity policy. + Policy *ActivityPolicy `json:"policy,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Name - Activity name. + Name *string `json:"name,omitempty"` + // Description - Activity description. + Description *string `json:"description,omitempty"` + // DependsOn - Activity depends on condition. + DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` + // UserProperties - Activity user properties. + UserProperties *[]UserProperty `json:"userProperties,omitempty"` + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + Type TypeBasicActivity `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) MarshalJSON() ([]byte, error) { + dsja.Type = TypeDatabricksSparkJar + objectMap := make(map[string]interface{}) + if dsja.DatabricksSparkJarActivityTypeProperties != nil { + objectMap["typeProperties"] = dsja.DatabricksSparkJarActivityTypeProperties + } + if dsja.LinkedServiceName != nil { + objectMap["linkedServiceName"] = dsja.LinkedServiceName + } + if dsja.Policy != nil { + objectMap["policy"] = dsja.Policy + } + if dsja.Name != nil { + objectMap["name"] = dsja.Name + } + if dsja.Description != nil { + objectMap["description"] = dsja.Description + } + if dsja.DependsOn != nil { + objectMap["dependsOn"] = dsja.DependsOn + } + if dsja.UserProperties != nil { + objectMap["userProperties"] = dsja.UserProperties + } + if dsja.Type != "" { + objectMap["type"] = dsja.Type + } + for k, v := range dsja.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAzureFunctionActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsOffice365Source() (*Office365Source, bool) { +// AsDatabricksSparkJarActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { + return &dsja, true +} + +// AsDatabricksNotebookActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsCassandraSource() (*CassandraSource, bool) { +// AsGetMetadataActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsWebSource() (*WebSource, bool) { +// AsWebActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsWebActivity() (*WebActivity, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsOracleSource() (*OracleSource, bool) { +// AsLookupActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsDeleteActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsHdfsSource() (*HdfsSource, bool) { +// AsCustomActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsCustomActivity() (*CustomActivity, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsExecuteSSISPackageActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsHDInsightSparkActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsHDInsightStreamingActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsHDInsightMapReduceActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsSQLSource() (*SQLSource, bool) { +// AsHDInsightPigActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsRestSource() (*RestSource, bool) { +// AsHDInsightHiveActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsSapTableSource() (*SapTableSource, bool) { +// AsCopyActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsCopyActivity() (*CopyActivity, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsExecutionActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsExecutionActivity() (*ExecutionActivity, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsBasicExecutionActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return &dsja, true +} + +// AsWebHookActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsWebHookActivity() (*WebHookActivity, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsSapEccSource() (*SapEccSource, bool) { +// AsAppendVariableActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsSetVariableActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsFilterActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsFilterActivity() (*FilterActivity, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsRelationalSource() (*RelationalSource, bool) { +// AsValidationActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsValidationActivity() (*ValidationActivity, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsUntilActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsWaitActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsWaitActivity() (*WaitActivity, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsBlobSource() (*BlobSource, bool) { +// AsForEachActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsForEachActivity() (*ForEachActivity, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsIfConditionActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsExecutePipelineActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsParquetSource() (*ParquetSource, bool) { +// AsControlActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsControlActivity() (*ControlActivity, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsCopySource() (*CopySource, bool) { +// AsBasicControlActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsBasicControlActivity() (BasicControlActivity, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsBasicCopySource() (BasicCopySource, bool) { - return &ds, true +// AsActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsActivity() (*Activity, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for DrillSource struct. -func (ds *DrillSource) UnmarshalJSON(body []byte) error { +// AsBasicActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsBasicActivity() (BasicActivity, bool) { + return &dsja, true +} + +// UnmarshalJSON is the custom unmarshaler for DatabricksSparkJarActivity struct. +func (dsja *DatabricksSparkJarActivity) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -50935,14 +52009,32 @@ func (ds *DrillSource) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "query": + case "typeProperties": if v != nil { - var query interface{} - err = json.Unmarshal(*v, &query) + var databricksSparkJarActivityTypeProperties DatabricksSparkJarActivityTypeProperties + err = json.Unmarshal(*v, &databricksSparkJarActivityTypeProperties) if err != nil { return err } - ds.Query = query + dsja.DatabricksSparkJarActivityTypeProperties = &databricksSparkJarActivityTypeProperties + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + dsja.LinkedServiceName = &linkedServiceName + } + case "policy": + if v != nil { + var policy ActivityPolicy + err = json.Unmarshal(*v, &policy) + if err != nil { + return err + } + dsja.Policy = &policy } default: if v != nil { @@ -50951,46 +52043,55 @@ func (ds *DrillSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - if ds.AdditionalProperties == nil { - ds.AdditionalProperties = make(map[string]interface{}) + if dsja.AdditionalProperties == nil { + dsja.AdditionalProperties = make(map[string]interface{}) } - ds.AdditionalProperties[k] = additionalProperties + dsja.AdditionalProperties[k] = additionalProperties } - case "sourceRetryCount": + case "name": if v != nil { - var sourceRetryCount interface{} - err = json.Unmarshal(*v, &sourceRetryCount) + var name string + err = json.Unmarshal(*v, &name) if err != nil { return err } - ds.SourceRetryCount = sourceRetryCount + dsja.Name = &name } - case "sourceRetryWait": + case "description": if v != nil { - var sourceRetryWait interface{} - err = json.Unmarshal(*v, &sourceRetryWait) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - ds.SourceRetryWait = sourceRetryWait + dsja.Description = &description } - case "maxConcurrentConnections": + case "dependsOn": if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) + var dependsOn []ActivityDependency + err = json.Unmarshal(*v, &dependsOn) if err != nil { return err } - ds.MaxConcurrentConnections = maxConcurrentConnections + dsja.DependsOn = &dependsOn + } + case "userProperties": + if v != nil { + var userProperties []UserProperty + err = json.Unmarshal(*v, &userProperties) + if err != nil { + return err + } + dsja.UserProperties = &userProperties } case "type": if v != nil { - var typeVar TypeBasicCopySource + var typeVar TypeBasicActivity err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - ds.Type = typeVar + dsja.Type = typeVar } } } @@ -50998,414 +52099,599 @@ func (ds *DrillSource) UnmarshalJSON(body []byte) error { return nil } -// DrillTableDataset drill server dataset. -type DrillTableDataset struct { - // GenericDatasetTypeProperties - Properties specific to this dataset type. - *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` +// DatabricksSparkJarActivityTypeProperties databricks SparkJar activity properties. +type DatabricksSparkJarActivityTypeProperties struct { + // MainClassName - 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). + MainClassName interface{} `json:"mainClassName,omitempty"` + // Parameters - Parameters that will be passed to the main method. + Parameters *[]interface{} `json:"parameters,omitempty"` + // Libraries - A list of libraries to be installed on the cluster that will execute the job. + Libraries *[]map[string]interface{} `json:"libraries,omitempty"` +} + +// DatabricksSparkPythonActivity databricksSparkPython activity. +type DatabricksSparkPythonActivity struct { + // DatabricksSparkPythonActivityTypeProperties - Databricks SparkPython activity properties. + *DatabricksSparkPythonActivityTypeProperties `json:"typeProperties,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Policy - Activity policy. + Policy *ActivityPolicy `json:"policy,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Description - Dataset description. + // Name - Activity name. + Name *string `json:"name,omitempty"` + // Description - Activity description. Description *string `json:"description,omitempty"` - // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. - Structure interface{} `json:"structure,omitempty"` - // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - Schema interface{} `json:"schema,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Parameters - Parameters for dataset. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the Dataset. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' - Type TypeBasicDataset `json:"type,omitempty"` + // DependsOn - Activity depends on condition. + DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` + // UserProperties - Activity user properties. + UserProperties *[]UserProperty `json:"userProperties,omitempty"` + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + Type TypeBasicActivity `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for DrillTableDataset. -func (dtd DrillTableDataset) MarshalJSON() ([]byte, error) { - dtd.Type = TypeDrillTable +// MarshalJSON is the custom marshaler for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) MarshalJSON() ([]byte, error) { + dspa.Type = TypeDatabricksSparkPython objectMap := make(map[string]interface{}) - if dtd.GenericDatasetTypeProperties != nil { - objectMap["typeProperties"] = dtd.GenericDatasetTypeProperties - } - if dtd.Description != nil { - objectMap["description"] = dtd.Description + if dspa.DatabricksSparkPythonActivityTypeProperties != nil { + objectMap["typeProperties"] = dspa.DatabricksSparkPythonActivityTypeProperties } - if dtd.Structure != nil { - objectMap["structure"] = dtd.Structure + if dspa.LinkedServiceName != nil { + objectMap["linkedServiceName"] = dspa.LinkedServiceName } - if dtd.Schema != nil { - objectMap["schema"] = dtd.Schema + if dspa.Policy != nil { + objectMap["policy"] = dspa.Policy } - if dtd.LinkedServiceName != nil { - objectMap["linkedServiceName"] = dtd.LinkedServiceName + if dspa.Name != nil { + objectMap["name"] = dspa.Name } - if dtd.Parameters != nil { - objectMap["parameters"] = dtd.Parameters + if dspa.Description != nil { + objectMap["description"] = dspa.Description } - if dtd.Annotations != nil { - objectMap["annotations"] = dtd.Annotations + if dspa.DependsOn != nil { + objectMap["dependsOn"] = dspa.DependsOn } - if dtd.Folder != nil { - objectMap["folder"] = dtd.Folder + if dspa.UserProperties != nil { + objectMap["userProperties"] = dspa.UserProperties } - if dtd.Type != "" { - objectMap["type"] = dtd.Type + if dspa.Type != "" { + objectMap["type"] = dspa.Type } - for k, v := range dtd.AdditionalProperties { + for k, v := range dspa.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsAzureFunctionActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { - return nil, false +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { + return &dspa, true } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsDatabricksSparkJarActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsDatabricksNotebookActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsGetMetadataActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsWebActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsWebActivity() (*WebActivity, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsLookupActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsDeleteActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsCustomActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsCustomActivity() (*CustomActivity, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsExecuteSSISPackageActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsHDInsightSparkActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsHDInsightStreamingActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsHDInsightMapReduceActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsHDInsightPigActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsHDInsightHiveActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsCopyActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsCopyActivity() (*CopyActivity, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsExecutionActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsExecutionActivity() (*ExecutionActivity, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { - return nil, false +// AsBasicExecutionActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return &dspa, true } -// AsImpalaObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsWebHookActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsWebHookActivity() (*WebHookActivity, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsAppendVariableActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsSetVariableActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsFilterActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsFilterActivity() (*FilterActivity, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsValidationActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsValidationActivity() (*ValidationActivity, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsUntilActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsWaitActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsWaitActivity() (*WaitActivity, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { - return &dtd, true +// AsForEachActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsForEachActivity() (*ForEachActivity, bool) { + return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsIfConditionActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsExecutePipelineActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsControlActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsControlActivity() (*ControlActivity, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsBasicControlActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsBasicControlActivity() (BasicControlActivity, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsActivity() (*Activity, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsBasicActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsBasicActivity() (BasicActivity, bool) { + return &dspa, true +} + +// UnmarshalJSON is the custom unmarshaler for DatabricksSparkPythonActivity struct. +func (dspa *DatabricksSparkPythonActivity) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "typeProperties": + if v != nil { + var databricksSparkPythonActivityTypeProperties DatabricksSparkPythonActivityTypeProperties + err = json.Unmarshal(*v, &databricksSparkPythonActivityTypeProperties) + if err != nil { + return err + } + dspa.DatabricksSparkPythonActivityTypeProperties = &databricksSparkPythonActivityTypeProperties + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + dspa.LinkedServiceName = &linkedServiceName + } + case "policy": + if v != nil { + var policy ActivityPolicy + err = json.Unmarshal(*v, &policy) + if err != nil { + return err + } + dspa.Policy = &policy + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if dspa.AdditionalProperties == nil { + dspa.AdditionalProperties = make(map[string]interface{}) + } + dspa.AdditionalProperties[k] = additionalProperties + } + case "name": + if v != nil { + var name string + err = json.Unmarshal(*v, &name) + if err != nil { + return err + } + dspa.Name = &name + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + dspa.Description = &description + } + case "dependsOn": + if v != nil { + var dependsOn []ActivityDependency + err = json.Unmarshal(*v, &dependsOn) + if err != nil { + return err + } + dspa.DependsOn = &dependsOn + } + case "userProperties": + if v != nil { + var userProperties []UserProperty + err = json.Unmarshal(*v, &userProperties) + if err != nil { + return err + } + dspa.UserProperties = &userProperties + } + case "type": + if v != nil { + var typeVar TypeBasicActivity + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + dspa.Type = typeVar + } + } + } + + return nil +} + +// DatabricksSparkPythonActivityTypeProperties databricks SparkPython activity properties. +type DatabricksSparkPythonActivityTypeProperties struct { + // PythonFile - The URI of the Python file to be executed. DBFS paths are supported. Type: string (or Expression with resultType string). + PythonFile interface{} `json:"pythonFile,omitempty"` + // Parameters - Command line parameters that will be passed to the Python file. + Parameters *[]interface{} `json:"parameters,omitempty"` + // Libraries - A list of libraries to be installed on the cluster that will execute the job. + Libraries *[]map[string]interface{} `json:"libraries,omitempty"` +} + +// DataLakeAnalyticsUSQLActivity data Lake Analytics U-SQL activity. +type DataLakeAnalyticsUSQLActivity struct { + // DataLakeAnalyticsUSQLActivityTypeProperties - Data Lake Analytics U-SQL activity properties. + *DataLakeAnalyticsUSQLActivityTypeProperties `json:"typeProperties,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Policy - Activity policy. + Policy *ActivityPolicy `json:"policy,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Name - Activity name. + Name *string `json:"name,omitempty"` + // Description - Activity description. + Description *string `json:"description,omitempty"` + // DependsOn - Activity depends on condition. + DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` + // UserProperties - Activity user properties. + UserProperties *[]UserProperty `json:"userProperties,omitempty"` + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + Type TypeBasicActivity `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) MarshalJSON() ([]byte, error) { + dlaua.Type = TypeDataLakeAnalyticsUSQL + objectMap := make(map[string]interface{}) + if dlaua.DataLakeAnalyticsUSQLActivityTypeProperties != nil { + objectMap["typeProperties"] = dlaua.DataLakeAnalyticsUSQLActivityTypeProperties + } + if dlaua.LinkedServiceName != nil { + objectMap["linkedServiceName"] = dlaua.LinkedServiceName + } + if dlaua.Policy != nil { + objectMap["policy"] = dlaua.Policy + } + if dlaua.Name != nil { + objectMap["name"] = dlaua.Name + } + if dlaua.Description != nil { + objectMap["description"] = dlaua.Description + } + if dlaua.DependsOn != nil { + objectMap["dependsOn"] = dlaua.DependsOn + } + if dlaua.UserProperties != nil { + objectMap["userProperties"] = dlaua.UserProperties + } + if dlaua.Type != "" { + objectMap["type"] = dlaua.Type + } + for k, v := range dlaua.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAzureFunctionActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsDatabricksSparkJarActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsDatabricksNotebookActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { + return &dlaua, true +} + +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsGetMetadataActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsWebActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsWebActivity() (*WebActivity, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsLookupActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsDeleteActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsCustomActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsCustomActivity() (*CustomActivity, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsExecuteSSISPackageActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsHDInsightSparkActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsHDInsightStreamingActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsHDInsightMapReduceActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsHDInsightPigActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsHDInsightHiveActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsCopyActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsCopyActivity() (*CopyActivity, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsExecutionActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsExecutionActivity() (*ExecutionActivity, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsBasicExecutionActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return &dlaua, true +} + +// AsWebHookActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsWebHookActivity() (*WebHookActivity, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsAppendVariableActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsSetVariableActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsFilterActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsFilterActivity() (*FilterActivity, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsValidationActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsValidationActivity() (*ValidationActivity, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsUntilActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsWaitActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsWaitActivity() (*WaitActivity, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsForEachActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsForEachActivity() (*ForEachActivity, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsIfConditionActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsExecutePipelineActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsControlActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsControlActivity() (*ControlActivity, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsBasicControlActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsBasicControlActivity() (BasicControlActivity, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsDataset() (*Dataset, bool) { +// AsActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsActivity() (*Activity, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsBasicDataset() (BasicDataset, bool) { - return &dtd, true +// AsBasicActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsBasicActivity() (BasicActivity, bool) { + return &dlaua, true } -// UnmarshalJSON is the custom unmarshaler for DrillTableDataset struct. -func (dtd *DrillTableDataset) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for DataLakeAnalyticsUSQLActivity struct. +func (dlaua *DataLakeAnalyticsUSQLActivity) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -51415,96 +52701,87 @@ func (dtd *DrillTableDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var genericDatasetTypeProperties GenericDatasetTypeProperties - err = json.Unmarshal(*v, &genericDatasetTypeProperties) + var dataLakeAnalyticsUSQLActivityTypeProperties DataLakeAnalyticsUSQLActivityTypeProperties + err = json.Unmarshal(*v, &dataLakeAnalyticsUSQLActivityTypeProperties) if err != nil { return err } - dtd.GenericDatasetTypeProperties = &genericDatasetTypeProperties + dlaua.DataLakeAnalyticsUSQLActivityTypeProperties = &dataLakeAnalyticsUSQLActivityTypeProperties } - default: + case "linkedServiceName": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) if err != nil { return err } - if dtd.AdditionalProperties == nil { - dtd.AdditionalProperties = make(map[string]interface{}) - } - dtd.AdditionalProperties[k] = additionalProperties + dlaua.LinkedServiceName = &linkedServiceName } - case "description": + case "policy": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var policy ActivityPolicy + err = json.Unmarshal(*v, &policy) if err != nil { return err } - dtd.Description = &description + dlaua.Policy = &policy } - case "structure": + default: if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - dtd.Structure = structure + if dlaua.AdditionalProperties == nil { + dlaua.AdditionalProperties = make(map[string]interface{}) + } + dlaua.AdditionalProperties[k] = additionalProperties } - case "schema": + case "name": if v != nil { - var schema interface{} - err = json.Unmarshal(*v, &schema) + var name string + err = json.Unmarshal(*v, &name) if err != nil { return err } - dtd.Schema = schema + dlaua.Name = &name } - case "linkedServiceName": + case "description": if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - dtd.LinkedServiceName = &linkedServiceName + dlaua.Description = &description } - case "parameters": + case "dependsOn": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) - if err != nil { - return err - } - dtd.Parameters = parameters - } - case "annotations": - if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var dependsOn []ActivityDependency + err = json.Unmarshal(*v, &dependsOn) if err != nil { return err } - dtd.Annotations = &annotations + dlaua.DependsOn = &dependsOn } - case "folder": + case "userProperties": if v != nil { - var folder DatasetFolder - err = json.Unmarshal(*v, &folder) + var userProperties []UserProperty + err = json.Unmarshal(*v, &userProperties) if err != nil { return err } - dtd.Folder = &folder + dlaua.UserProperties = &userProperties } case "type": if v != nil { - var typeVar TypeBasicDataset + var typeVar TypeBasicActivity err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - dtd.Type = typeVar + dlaua.Type = typeVar } } } @@ -51512,484 +52789,939 @@ func (dtd *DrillTableDataset) UnmarshalJSON(body []byte) error { return nil } -// DynamicsAXLinkedService dynamics AX linked service. -type DynamicsAXLinkedService struct { - // DynamicsAXLinkedServiceTypeProperties - Dynamics AX linked service properties. - *DynamicsAXLinkedServiceTypeProperties `json:"typeProperties,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. - Description *string `json:"description,omitempty"` - // Parameters - Parameters for linked service. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the linked service. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` +// DataLakeAnalyticsUSQLActivityTypeProperties dataLakeAnalyticsU-SQL activity properties. +type DataLakeAnalyticsUSQLActivityTypeProperties struct { + // ScriptPath - Case-sensitive path to folder that contains the U-SQL script. Type: string (or Expression with resultType string). + ScriptPath interface{} `json:"scriptPath,omitempty"` + // ScriptLinkedService - Script linked service reference. + ScriptLinkedService *LinkedServiceReference `json:"scriptLinkedService,omitempty"` + // DegreeOfParallelism - The maximum number of nodes simultaneously used to run the job. Default value is 1. Type: integer (or Expression with resultType integer), minimum: 1. + DegreeOfParallelism interface{} `json:"degreeOfParallelism,omitempty"` + // Priority - Determines which jobs out of all that are queued should be selected to run first. The lower the number, the higher the priority. Default value is 1000. Type: integer (or Expression with resultType integer), minimum: 1. + Priority interface{} `json:"priority,omitempty"` + // Parameters - Parameters for U-SQL job request. + Parameters map[string]interface{} `json:"parameters"` + // RuntimeVersion - Runtime version of the U-SQL engine to use. Type: string (or Expression with resultType string). + RuntimeVersion interface{} `json:"runtimeVersion,omitempty"` + // CompilationMode - Compilation mode of U-SQL. Must be one of these values : Semantic, Full and SingleBox. Type: string (or Expression with resultType string). + CompilationMode interface{} `json:"compilationMode,omitempty"` } -// MarshalJSON is the custom marshaler for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) MarshalJSON() ([]byte, error) { - dals.Type = TypeDynamicsAX +// MarshalJSON is the custom marshaler for DataLakeAnalyticsUSQLActivityTypeProperties. +func (dlauatp DataLakeAnalyticsUSQLActivityTypeProperties) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if dals.DynamicsAXLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = dals.DynamicsAXLinkedServiceTypeProperties + if dlauatp.ScriptPath != nil { + objectMap["scriptPath"] = dlauatp.ScriptPath } - if dals.ConnectVia != nil { - objectMap["connectVia"] = dals.ConnectVia + if dlauatp.ScriptLinkedService != nil { + objectMap["scriptLinkedService"] = dlauatp.ScriptLinkedService } - if dals.Description != nil { - objectMap["description"] = dals.Description + if dlauatp.DegreeOfParallelism != nil { + objectMap["degreeOfParallelism"] = dlauatp.DegreeOfParallelism } - if dals.Parameters != nil { - objectMap["parameters"] = dals.Parameters + if dlauatp.Priority != nil { + objectMap["priority"] = dlauatp.Priority } - if dals.Annotations != nil { - objectMap["annotations"] = dals.Annotations + if dlauatp.Parameters != nil { + objectMap["parameters"] = dlauatp.Parameters } - if dals.Type != "" { - objectMap["type"] = dals.Type + if dlauatp.RuntimeVersion != nil { + objectMap["runtimeVersion"] = dlauatp.RuntimeVersion } - for k, v := range dals.AdditionalProperties { - objectMap[k] = v + if dlauatp.CompilationMode != nil { + objectMap["compilationMode"] = dlauatp.CompilationMode } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { - return nil, false +// BasicDataset the Azure Data Factory nested object which identifies data within different data stores, such as +// tables, files, folders, and documents. +type BasicDataset interface { + AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) + AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) + AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) + AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) + AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) + AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) + AsVerticaTableDataset() (*VerticaTableDataset, bool) + AsNetezzaTableDataset() (*NetezzaTableDataset, bool) + AsZohoObjectDataset() (*ZohoObjectDataset, bool) + AsXeroObjectDataset() (*XeroObjectDataset, bool) + AsSquareObjectDataset() (*SquareObjectDataset, bool) + AsSparkObjectDataset() (*SparkObjectDataset, bool) + AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) + AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) + AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) + AsPrestoObjectDataset() (*PrestoObjectDataset, bool) + AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) + AsPaypalObjectDataset() (*PaypalObjectDataset, bool) + AsMarketoObjectDataset() (*MarketoObjectDataset, bool) + AsMariaDBTableDataset() (*MariaDBTableDataset, bool) + AsMagentoObjectDataset() (*MagentoObjectDataset, bool) + AsJiraObjectDataset() (*JiraObjectDataset, bool) + AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) + AsHubspotObjectDataset() (*HubspotObjectDataset, bool) + AsHiveObjectDataset() (*HiveObjectDataset, bool) + AsHBaseObjectDataset() (*HBaseObjectDataset, bool) + AsGreenplumTableDataset() (*GreenplumTableDataset, bool) + AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) + AsEloquaObjectDataset() (*EloquaObjectDataset, bool) + AsDrillTableDataset() (*DrillTableDataset, bool) + AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) + AsConcurObjectDataset() (*ConcurObjectDataset, bool) + AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) + AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) + AsHTTPDataset() (*HTTPDataset, bool) + AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) + AsWebTableDataset() (*WebTableDataset, bool) + AsSapTableResourceDataset() (*SapTableResourceDataset, bool) + AsRestResourceDataset() (*RestResourceDataset, bool) + AsSQLServerTableDataset() (*SQLServerTableDataset, bool) + AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) + AsSapHanaTableDataset() (*SapHanaTableDataset, bool) + AsSapEccResourceDataset() (*SapEccResourceDataset, bool) + AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) + AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) + AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) + AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) + AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) + AsMySQLTableDataset() (*MySQLTableDataset, bool) + AsOdbcTableDataset() (*OdbcTableDataset, bool) + AsInformixTableDataset() (*InformixTableDataset, bool) + AsRelationalTableDataset() (*RelationalTableDataset, bool) + AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) + AsTeradataTableDataset() (*TeradataTableDataset, bool) + AsOracleTableDataset() (*OracleTableDataset, bool) + AsODataResourceDataset() (*ODataResourceDataset, bool) + AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) + AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) + AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) + AsFileShareDataset() (*FileShareDataset, bool) + AsOffice365Dataset() (*Office365Dataset, bool) + AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) + AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) + AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) + AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) + AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) + AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) + AsCustomDataset() (*CustomDataset, bool) + AsCassandraTableDataset() (*CassandraTableDataset, bool) + AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) + AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) + AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) + AsAzureTableDataset() (*AzureTableDataset, bool) + AsAzureBlobDataset() (*AzureBlobDataset, bool) + AsBinaryDataset() (*BinaryDataset, bool) + AsDelimitedTextDataset() (*DelimitedTextDataset, bool) + AsParquetDataset() (*ParquetDataset, bool) + AsAmazonS3Dataset() (*AmazonS3Dataset, bool) + AsDataset() (*Dataset, bool) } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { - return nil, false +// Dataset the Azure Data Factory nested object which identifies data within different data stores, such as +// tables, files, folders, and documents. +type Dataset struct { + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Description - Dataset description. + Description *string `json:"description,omitempty"` + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// AsSapTableLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { - return nil, false -} +func unmarshalBasicDataset(body []byte) (BasicDataset, error) { + var m map[string]interface{} + err := json.Unmarshal(body, &m) + if err != nil { + return nil, err + } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { - return nil, false + switch m["type"] { + case string(TypeGoogleAdWordsObject): + var gawod GoogleAdWordsObjectDataset + err := json.Unmarshal(body, &gawod) + return gawod, err + case string(TypeAzureDataExplorerTable): + var adetd AzureDataExplorerTableDataset + err := json.Unmarshal(body, &adetd) + return adetd, err + case string(TypeOracleServiceCloudObject): + var oscod OracleServiceCloudObjectDataset + err := json.Unmarshal(body, &oscod) + return oscod, err + case string(TypeDynamicsAXResource): + var dard DynamicsAXResourceDataset + err := json.Unmarshal(body, &dard) + return dard, err + case string(TypeResponsysObject): + var rod ResponsysObjectDataset + err := json.Unmarshal(body, &rod) + return rod, err + case string(TypeSalesforceMarketingCloudObject): + var smcod SalesforceMarketingCloudObjectDataset + err := json.Unmarshal(body, &smcod) + return smcod, err + case string(TypeVerticaTable): + var vtd VerticaTableDataset + err := json.Unmarshal(body, &vtd) + return vtd, err + case string(TypeNetezzaTable): + var ntd NetezzaTableDataset + err := json.Unmarshal(body, &ntd) + return ntd, err + case string(TypeZohoObject): + var zod ZohoObjectDataset + err := json.Unmarshal(body, &zod) + return zod, err + case string(TypeXeroObject): + var xod XeroObjectDataset + err := json.Unmarshal(body, &xod) + return xod, err + case string(TypeSquareObject): + var sod SquareObjectDataset + err := json.Unmarshal(body, &sod) + return sod, err + case string(TypeSparkObject): + var sod SparkObjectDataset + err := json.Unmarshal(body, &sod) + return sod, err + case string(TypeShopifyObject): + var sod ShopifyObjectDataset + err := json.Unmarshal(body, &sod) + return sod, err + case string(TypeServiceNowObject): + var snod ServiceNowObjectDataset + err := json.Unmarshal(body, &snod) + return snod, err + case string(TypeQuickBooksObject): + var qbod QuickBooksObjectDataset + err := json.Unmarshal(body, &qbod) + return qbod, err + case string(TypePrestoObject): + var pod PrestoObjectDataset + err := json.Unmarshal(body, &pod) + return pod, err + case string(TypePhoenixObject): + var pod PhoenixObjectDataset + err := json.Unmarshal(body, &pod) + return pod, err + case string(TypePaypalObject): + var pod PaypalObjectDataset + err := json.Unmarshal(body, &pod) + return pod, err + case string(TypeMarketoObject): + var mod MarketoObjectDataset + err := json.Unmarshal(body, &mod) + return mod, err + case string(TypeMariaDBTable): + var mdtd MariaDBTableDataset + err := json.Unmarshal(body, &mdtd) + return mdtd, err + case string(TypeMagentoObject): + var mod MagentoObjectDataset + err := json.Unmarshal(body, &mod) + return mod, err + case string(TypeJiraObject): + var jod JiraObjectDataset + err := json.Unmarshal(body, &jod) + return jod, err + case string(TypeImpalaObject): + var iod ImpalaObjectDataset + err := json.Unmarshal(body, &iod) + return iod, err + case string(TypeHubspotObject): + var hod HubspotObjectDataset + err := json.Unmarshal(body, &hod) + return hod, err + case string(TypeHiveObject): + var hod HiveObjectDataset + err := json.Unmarshal(body, &hod) + return hod, err + case string(TypeHBaseObject): + var hbod HBaseObjectDataset + err := json.Unmarshal(body, &hbod) + return hbod, err + case string(TypeGreenplumTable): + var gtd GreenplumTableDataset + err := json.Unmarshal(body, >d) + return gtd, err + case string(TypeGoogleBigQueryObject): + var gbqod GoogleBigQueryObjectDataset + err := json.Unmarshal(body, &gbqod) + return gbqod, err + case string(TypeEloquaObject): + var eod EloquaObjectDataset + err := json.Unmarshal(body, &eod) + return eod, err + case string(TypeDrillTable): + var dtd DrillTableDataset + err := json.Unmarshal(body, &dtd) + return dtd, err + case string(TypeCouchbaseTable): + var ctd CouchbaseTableDataset + err := json.Unmarshal(body, &ctd) + return ctd, err + case string(TypeConcurObject): + var cod ConcurObjectDataset + err := json.Unmarshal(body, &cod) + return cod, err + case string(TypeAzurePostgreSQLTable): + var apstd AzurePostgreSQLTableDataset + err := json.Unmarshal(body, &apstd) + return apstd, err + case string(TypeAmazonMWSObject): + var amod AmazonMWSObjectDataset + err := json.Unmarshal(body, &amod) + return amod, err + case string(TypeHTTPFile): + var hd HTTPDataset + err := json.Unmarshal(body, &hd) + return hd, err + case string(TypeAzureSearchIndex): + var asid AzureSearchIndexDataset + err := json.Unmarshal(body, &asid) + return asid, err + case string(TypeWebTable): + var wtd WebTableDataset + err := json.Unmarshal(body, &wtd) + return wtd, err + case string(TypeSapTableResource): + var strd SapTableResourceDataset + err := json.Unmarshal(body, &strd) + return strd, err + case string(TypeRestResource): + var rrd RestResourceDataset + err := json.Unmarshal(body, &rrd) + return rrd, err + case string(TypeSQLServerTable): + var sstd SQLServerTableDataset + err := json.Unmarshal(body, &sstd) + return sstd, err + case string(TypeSapOpenHubTable): + var sohtd SapOpenHubTableDataset + err := json.Unmarshal(body, &sohtd) + return sohtd, err + case string(TypeSapHanaTable): + var shtd SapHanaTableDataset + err := json.Unmarshal(body, &shtd) + return shtd, err + case string(TypeSapEccResource): + var serd SapEccResourceDataset + err := json.Unmarshal(body, &serd) + return serd, err + case string(TypeSapCloudForCustomerResource): + var scfcrd SapCloudForCustomerResourceDataset + err := json.Unmarshal(body, &scfcrd) + return scfcrd, err + case string(TypeSalesforceServiceCloudObject): + var sscod SalesforceServiceCloudObjectDataset + err := json.Unmarshal(body, &sscod) + return sscod, err + case string(TypeSalesforceObject): + var sod SalesforceObjectDataset + err := json.Unmarshal(body, &sod) + return sod, err + case string(TypeMicrosoftAccessTable): + var matd MicrosoftAccessTableDataset + err := json.Unmarshal(body, &matd) + return matd, err + case string(TypePostgreSQLTable): + var pstd PostgreSQLTableDataset + err := json.Unmarshal(body, &pstd) + return pstd, err + case string(TypeMySQLTable): + var mstd MySQLTableDataset + err := json.Unmarshal(body, &mstd) + return mstd, err + case string(TypeOdbcTable): + var otd OdbcTableDataset + err := json.Unmarshal(body, &otd) + return otd, err + case string(TypeInformixTable): + var itd InformixTableDataset + err := json.Unmarshal(body, &itd) + return itd, err + case string(TypeRelationalTable): + var rtd RelationalTableDataset + err := json.Unmarshal(body, &rtd) + return rtd, err + case string(TypeAzureMySQLTable): + var amstd AzureMySQLTableDataset + err := json.Unmarshal(body, &amstd) + return amstd, err + case string(TypeTeradataTable): + var ttd TeradataTableDataset + err := json.Unmarshal(body, &ttd) + return ttd, err + case string(TypeOracleTable): + var otd OracleTableDataset + err := json.Unmarshal(body, &otd) + return otd, err + case string(TypeODataResource): + var odrd ODataResourceDataset + err := json.Unmarshal(body, &odrd) + return odrd, err + case string(TypeCosmosDbMongoDbAPICollection): + var cdmdacd CosmosDbMongoDbAPICollectionDataset + err := json.Unmarshal(body, &cdmdacd) + return cdmdacd, err + case string(TypeMongoDbV2Collection): + var mdvcd MongoDbV2CollectionDataset + err := json.Unmarshal(body, &mdvcd) + return mdvcd, err + case string(TypeMongoDbCollection): + var mdcd MongoDbCollectionDataset + err := json.Unmarshal(body, &mdcd) + return mdcd, err + case string(TypeFileShare): + var fsd FileShareDataset + err := json.Unmarshal(body, &fsd) + return fsd, err + case string(TypeOffice365Table): + var o3d Office365Dataset + err := json.Unmarshal(body, &o3d) + return o3d, err + case string(TypeAzureBlobFSFile): + var abfd AzureBlobFSDataset + err := json.Unmarshal(body, &abfd) + return abfd, err + case string(TypeAzureDataLakeStoreFile): + var adlsd AzureDataLakeStoreDataset + err := json.Unmarshal(body, &adlsd) + return adlsd, err + case string(TypeCommonDataServiceForAppsEntity): + var cdsfaed CommonDataServiceForAppsEntityDataset + err := json.Unmarshal(body, &cdsfaed) + return cdsfaed, err + case string(TypeDynamicsCrmEntity): + var dced DynamicsCrmEntityDataset + err := json.Unmarshal(body, &dced) + return dced, err + case string(TypeDynamicsEntity): + var ded DynamicsEntityDataset + err := json.Unmarshal(body, &ded) + return ded, err + case string(TypeDocumentDbCollection): + var ddcd DocumentDbCollectionDataset + err := json.Unmarshal(body, &ddcd) + return ddcd, err + case string(TypeCustomDataset): + var cd CustomDataset + err := json.Unmarshal(body, &cd) + return cd, err + case string(TypeCassandraTable): + var ctd CassandraTableDataset + err := json.Unmarshal(body, &ctd) + return ctd, err + case string(TypeAzureSQLDWTable): + var asdtd AzureSQLDWTableDataset + err := json.Unmarshal(body, &asdtd) + return asdtd, err + case string(TypeAzureSQLMITable): + var asmtd AzureSQLMITableDataset + err := json.Unmarshal(body, &asmtd) + return asmtd, err + case string(TypeAzureSQLTable): + var astd AzureSQLTableDataset + err := json.Unmarshal(body, &astd) + return astd, err + case string(TypeAzureTable): + var atd AzureTableDataset + err := json.Unmarshal(body, &atd) + return atd, err + case string(TypeAzureBlob): + var abd AzureBlobDataset + err := json.Unmarshal(body, &abd) + return abd, err + case string(TypeBinary): + var bd BinaryDataset + err := json.Unmarshal(body, &bd) + return bd, err + case string(TypeDelimitedText): + var dtd DelimitedTextDataset + err := json.Unmarshal(body, &dtd) + return dtd, err + case string(TypeParquet): + var pd ParquetDataset + err := json.Unmarshal(body, &pd) + return pd, err + case string(TypeAmazonS3Object): + var asd AmazonS3Dataset + err := json.Unmarshal(body, &asd) + return asd, err + default: + var d Dataset + err := json.Unmarshal(body, &d) + return d, err + } } +func unmarshalBasicDatasetArray(body []byte) ([]BasicDataset, error) { + var rawMessages []*json.RawMessage + err := json.Unmarshal(body, &rawMessages) + if err != nil { + return nil, err + } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { - return nil, false + dArray := make([]BasicDataset, len(rawMessages)) + + for index, rawMessage := range rawMessages { + d, err := unmarshalBasicDataset(*rawMessage) + if err != nil { + return nil, err + } + dArray[index] = d + } + return dArray, nil } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { - return &dals, true +// MarshalJSON is the custom marshaler for Dataset. +func (d Dataset) MarshalJSON() ([]byte, error) { + d.Type = TypeDataset + objectMap := make(map[string]interface{}) + if d.Description != nil { + objectMap["description"] = d.Description + } + if d.Structure != nil { + objectMap["structure"] = d.Structure + } + if d.Schema != nil { + objectMap["schema"] = d.Schema + } + if d.LinkedServiceName != nil { + objectMap["linkedServiceName"] = d.LinkedServiceName + } + if d.Parameters != nil { + objectMap["parameters"] = d.Parameters + } + if d.Annotations != nil { + objectMap["annotations"] = d.Annotations + } + if d.Folder != nil { + objectMap["folder"] = d.Folder + } + if d.Type != "" { + objectMap["type"] = d.Type + } + for k, v := range d.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// AsResponsysLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsDrillTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsHTTPDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsWebTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsRestResourceDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsInformixTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsOracleTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsODataResourceDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsFileShareDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsOffice365Dataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsCustomDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsAzureTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsBinaryDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsParquetDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAmazonS3Dataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsLinkedService() (*LinkedService, bool) { - return nil, false +// AsDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsDataset() (*Dataset, bool) { + return &d, true } -// AsBasicLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &dals, true +// AsBasicDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsBasicDataset() (BasicDataset, bool) { + return &d, true } -// UnmarshalJSON is the custom unmarshaler for DynamicsAXLinkedService struct. -func (dals *DynamicsAXLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for Dataset struct. +func (d *Dataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -51997,44 +53729,53 @@ func (dals *DynamicsAXLinkedService) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": + default: if v != nil { - var dynamicsAXLinkedServiceTypeProperties DynamicsAXLinkedServiceTypeProperties - err = json.Unmarshal(*v, &dynamicsAXLinkedServiceTypeProperties) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - dals.DynamicsAXLinkedServiceTypeProperties = &dynamicsAXLinkedServiceTypeProperties + if d.AdditionalProperties == nil { + d.AdditionalProperties = make(map[string]interface{}) + } + d.AdditionalProperties[k] = additionalProperties } - default: + case "description": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - if dals.AdditionalProperties == nil { - dals.AdditionalProperties = make(map[string]interface{}) + d.Description = &description + } + case "structure": + if v != nil { + var structure interface{} + err = json.Unmarshal(*v, &structure) + if err != nil { + return err } - dals.AdditionalProperties[k] = additionalProperties + d.Structure = structure } - case "connectVia": + case "schema": if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) + var schema interface{} + err = json.Unmarshal(*v, &schema) if err != nil { return err } - dals.ConnectVia = &connectVia + d.Schema = schema } - case "description": + case "linkedServiceName": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) if err != nil { return err } - dals.Description = &description + d.LinkedServiceName = &linkedServiceName } case "parameters": if v != nil { @@ -52043,7 +53784,7 @@ func (dals *DynamicsAXLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - dals.Parameters = parameters + d.Parameters = parameters } case "annotations": if v != nil { @@ -52052,16 +53793,25 @@ func (dals *DynamicsAXLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - dals.Annotations = &annotations + d.Annotations = &annotations + } + case "folder": + if v != nil { + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) + if err != nil { + return err + } + d.Folder = &folder } case "type": if v != nil { - var typeVar TypeBasicLinkedService + var typeVar TypeBasicDataset err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - dals.Type = typeVar + d.Type = typeVar } } } @@ -52069,24 +53819,59 @@ func (dals *DynamicsAXLinkedService) UnmarshalJSON(body []byte) error { return nil } -// DynamicsAXLinkedServiceTypeProperties dynamics AX linked service properties. -type DynamicsAXLinkedServiceTypeProperties struct { - // URL - The Dynamics AX (or Dynamics 365 Finance and Operations) instance OData endpoint. - URL interface{} `json:"url,omitempty"` - // ServicePrincipalID - Specify the application's client ID. Type: string (or Expression with resultType string). - ServicePrincipalID interface{} `json:"servicePrincipalId,omitempty"` - // ServicePrincipalKey - Specify the application's key. Mark this field as a SecureString to store it securely in Data Factory, or reference a secret stored in Azure Key Vault. Type: string (or Expression with resultType string). - ServicePrincipalKey BasicSecretBase `json:"servicePrincipalKey,omitempty"` - // Tenant - 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). - Tenant interface{} `json:"tenant,omitempty"` - // AadResourceID - Specify the resource you are requesting authorization. Type: string (or Expression with resultType string). - AadResourceID interface{} `json:"aadResourceId,omitempty"` - // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). - EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` +// DatasetBZip2Compression the BZip2 compression method used on a dataset. +type DatasetBZip2Compression struct { + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Type - Possible values include: 'TypeDatasetCompression', 'TypeZipDeflate', 'TypeDeflate', 'TypeGZip', 'TypeBZip2' + Type TypeBasicDatasetCompression `json:"type,omitempty"` } -// UnmarshalJSON is the custom unmarshaler for DynamicsAXLinkedServiceTypeProperties struct. -func (dalstp *DynamicsAXLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { +// MarshalJSON is the custom marshaler for DatasetBZip2Compression. +func (dbz2c DatasetBZip2Compression) MarshalJSON() ([]byte, error) { + dbz2c.Type = TypeBZip2 + objectMap := make(map[string]interface{}) + if dbz2c.Type != "" { + objectMap["type"] = dbz2c.Type + } + for k, v := range dbz2c.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsDatasetZipDeflateCompression is the BasicDatasetCompression implementation for DatasetBZip2Compression. +func (dbz2c DatasetBZip2Compression) AsDatasetZipDeflateCompression() (*DatasetZipDeflateCompression, bool) { + return nil, false +} + +// AsDatasetDeflateCompression is the BasicDatasetCompression implementation for DatasetBZip2Compression. +func (dbz2c DatasetBZip2Compression) AsDatasetDeflateCompression() (*DatasetDeflateCompression, bool) { + return nil, false +} + +// AsDatasetGZipCompression is the BasicDatasetCompression implementation for DatasetBZip2Compression. +func (dbz2c DatasetBZip2Compression) AsDatasetGZipCompression() (*DatasetGZipCompression, bool) { + return nil, false +} + +// AsDatasetBZip2Compression is the BasicDatasetCompression implementation for DatasetBZip2Compression. +func (dbz2c DatasetBZip2Compression) AsDatasetBZip2Compression() (*DatasetBZip2Compression, bool) { + return &dbz2c, true +} + +// AsDatasetCompression is the BasicDatasetCompression implementation for DatasetBZip2Compression. +func (dbz2c DatasetBZip2Compression) AsDatasetCompression() (*DatasetCompression, bool) { + return nil, false +} + +// AsBasicDatasetCompression is the BasicDatasetCompression implementation for DatasetBZip2Compression. +func (dbz2c DatasetBZip2Compression) AsBasicDatasetCompression() (BasicDatasetCompression, bool) { + return &dbz2c, true +} + +// UnmarshalJSON is the custom unmarshaler for DatasetBZip2Compression struct. +func (dbz2c *DatasetBZip2Compression) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -52094,58 +53879,26 @@ func (dalstp *DynamicsAXLinkedServiceTypeProperties) UnmarshalJSON(body []byte) } for k, v := range m { switch k { - case "url": - if v != nil { - var URL interface{} - err = json.Unmarshal(*v, &URL) - if err != nil { - return err - } - dalstp.URL = URL - } - case "servicePrincipalId": - if v != nil { - var servicePrincipalID interface{} - err = json.Unmarshal(*v, &servicePrincipalID) - if err != nil { - return err - } - dalstp.ServicePrincipalID = servicePrincipalID - } - case "servicePrincipalKey": - if v != nil { - servicePrincipalKey, err := unmarshalBasicSecretBase(*v) - if err != nil { - return err - } - dalstp.ServicePrincipalKey = servicePrincipalKey - } - case "tenant": + default: if v != nil { - var tenant interface{} - err = json.Unmarshal(*v, &tenant) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - dalstp.Tenant = tenant - } - case "aadResourceId": - if v != nil { - var aadResourceID interface{} - err = json.Unmarshal(*v, &aadResourceID) - if err != nil { - return err + if dbz2c.AdditionalProperties == nil { + dbz2c.AdditionalProperties = make(map[string]interface{}) } - dalstp.AadResourceID = aadResourceID + dbz2c.AdditionalProperties[k] = additionalProperties } - case "encryptedCredential": + case "type": if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) + var typeVar TypeBasicDatasetCompression + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - dalstp.EncryptedCredential = encryptedCredential + dbz2c.Type = typeVar } } } @@ -52153,414 +53906,538 @@ func (dalstp *DynamicsAXLinkedServiceTypeProperties) UnmarshalJSON(body []byte) return nil } -// DynamicsAXResourceDataset the path of the Dynamics AX OData entity. -type DynamicsAXResourceDataset struct { - // DynamicsAXResourceDatasetTypeProperties - Dynamics AX OData resource dataset properties. - *DynamicsAXResourceDatasetTypeProperties `json:"typeProperties,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Description - Dataset description. - Description *string `json:"description,omitempty"` - // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. - Structure interface{} `json:"structure,omitempty"` - // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - Schema interface{} `json:"schema,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Parameters - Parameters for dataset. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the Dataset. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' - Type TypeBasicDataset `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) MarshalJSON() ([]byte, error) { - dard.Type = TypeDynamicsAXResource - objectMap := make(map[string]interface{}) - if dard.DynamicsAXResourceDatasetTypeProperties != nil { - objectMap["typeProperties"] = dard.DynamicsAXResourceDatasetTypeProperties - } - if dard.Description != nil { - objectMap["description"] = dard.Description - } - if dard.Structure != nil { - objectMap["structure"] = dard.Structure - } - if dard.Schema != nil { - objectMap["schema"] = dard.Schema - } - if dard.LinkedServiceName != nil { - objectMap["linkedServiceName"] = dard.LinkedServiceName - } - if dard.Parameters != nil { - objectMap["parameters"] = dard.Parameters - } - if dard.Annotations != nil { - objectMap["annotations"] = dard.Annotations - } - if dard.Folder != nil { - objectMap["folder"] = dard.Folder - } - if dard.Type != "" { - objectMap["type"] = dard.Type - } - for k, v := range dard.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) -} - -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { - return nil, false -} - -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { - return nil, false -} - -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { - return nil, false -} - -// AsDynamicsAXResourceDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { - return &dard, true -} - -// AsResponsysObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { - return nil, false -} - -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { - return nil, false -} - -// AsVerticaTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { - return nil, false -} - -// AsNetezzaTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { - return nil, false -} - -// AsZohoObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { - return nil, false -} - -// AsXeroObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { - return nil, false -} - -// AsSquareObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { - return nil, false -} - -// AsSparkObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { - return nil, false -} - -// AsShopifyObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { - return nil, false -} - -// AsServiceNowObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { - return nil, false -} - -// AsQuickBooksObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { - return nil, false +// BasicDatasetCompression the compression method used on a dataset. +type BasicDatasetCompression interface { + AsDatasetZipDeflateCompression() (*DatasetZipDeflateCompression, bool) + AsDatasetDeflateCompression() (*DatasetDeflateCompression, bool) + AsDatasetGZipCompression() (*DatasetGZipCompression, bool) + AsDatasetBZip2Compression() (*DatasetBZip2Compression, bool) + AsDatasetCompression() (*DatasetCompression, bool) } -// AsPrestoObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { - return nil, false +// DatasetCompression the compression method used on a dataset. +type DatasetCompression struct { + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Type - Possible values include: 'TypeDatasetCompression', 'TypeZipDeflate', 'TypeDeflate', 'TypeGZip', 'TypeBZip2' + Type TypeBasicDatasetCompression `json:"type,omitempty"` } -// AsPhoenixObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { - return nil, false -} +func unmarshalBasicDatasetCompression(body []byte) (BasicDatasetCompression, error) { + var m map[string]interface{} + err := json.Unmarshal(body, &m) + if err != nil { + return nil, err + } -// AsPaypalObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { - return nil, false + switch m["type"] { + case string(TypeZipDeflate): + var dzdc DatasetZipDeflateCompression + err := json.Unmarshal(body, &dzdc) + return dzdc, err + case string(TypeDeflate): + var ddc DatasetDeflateCompression + err := json.Unmarshal(body, &ddc) + return ddc, err + case string(TypeGZip): + var dgzc DatasetGZipCompression + err := json.Unmarshal(body, &dgzc) + return dgzc, err + case string(TypeBZip2): + var dbz2c DatasetBZip2Compression + err := json.Unmarshal(body, &dbz2c) + return dbz2c, err + default: + var dc DatasetCompression + err := json.Unmarshal(body, &dc) + return dc, err + } } +func unmarshalBasicDatasetCompressionArray(body []byte) ([]BasicDatasetCompression, error) { + var rawMessages []*json.RawMessage + err := json.Unmarshal(body, &rawMessages) + if err != nil { + return nil, err + } -// AsMarketoObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { - return nil, false -} + dcArray := make([]BasicDatasetCompression, len(rawMessages)) -// AsMariaDBTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { - return nil, false + for index, rawMessage := range rawMessages { + dc, err := unmarshalBasicDatasetCompression(*rawMessage) + if err != nil { + return nil, err + } + dcArray[index] = dc + } + return dcArray, nil } -// AsMagentoObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { - return nil, false +// MarshalJSON is the custom marshaler for DatasetCompression. +func (dc DatasetCompression) MarshalJSON() ([]byte, error) { + dc.Type = TypeDatasetCompression + objectMap := make(map[string]interface{}) + if dc.Type != "" { + objectMap["type"] = dc.Type + } + for k, v := range dc.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// AsJiraObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsDatasetZipDeflateCompression is the BasicDatasetCompression implementation for DatasetCompression. +func (dc DatasetCompression) AsDatasetZipDeflateCompression() (*DatasetZipDeflateCompression, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsDatasetDeflateCompression is the BasicDatasetCompression implementation for DatasetCompression. +func (dc DatasetCompression) AsDatasetDeflateCompression() (*DatasetDeflateCompression, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsDatasetGZipCompression is the BasicDatasetCompression implementation for DatasetCompression. +func (dc DatasetCompression) AsDatasetGZipCompression() (*DatasetGZipCompression, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsDatasetBZip2Compression is the BasicDatasetCompression implementation for DatasetCompression. +func (dc DatasetCompression) AsDatasetBZip2Compression() (*DatasetBZip2Compression, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { - return nil, false +// AsDatasetCompression is the BasicDatasetCompression implementation for DatasetCompression. +func (dc DatasetCompression) AsDatasetCompression() (*DatasetCompression, bool) { + return &dc, true } -// AsGreenplumTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { - return nil, false +// AsBasicDatasetCompression is the BasicDatasetCompression implementation for DatasetCompression. +func (dc DatasetCompression) AsBasicDatasetCompression() (BasicDatasetCompression, bool) { + return &dc, true } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { - return nil, false -} +// UnmarshalJSON is the custom unmarshaler for DatasetCompression struct. +func (dc *DatasetCompression) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if dc.AdditionalProperties == nil { + dc.AdditionalProperties = make(map[string]interface{}) + } + dc.AdditionalProperties[k] = additionalProperties + } + case "type": + if v != nil { + var typeVar TypeBasicDatasetCompression + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + dc.Type = typeVar + } + } + } -// AsEloquaObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { - return nil, false + return nil } -// AsDrillTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { - return nil, false +// DatasetDeflateCompression the Deflate compression method used on a dataset. +type DatasetDeflateCompression struct { + // Level - The Deflate compression level. + Level interface{} `json:"level,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Type - Possible values include: 'TypeDatasetCompression', 'TypeZipDeflate', 'TypeDeflate', 'TypeGZip', 'TypeBZip2' + Type TypeBasicDatasetCompression `json:"type,omitempty"` } -// AsCouchbaseTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { - return nil, false +// MarshalJSON is the custom marshaler for DatasetDeflateCompression. +func (ddc DatasetDeflateCompression) MarshalJSON() ([]byte, error) { + ddc.Type = TypeDeflate + objectMap := make(map[string]interface{}) + if ddc.Level != nil { + objectMap["level"] = ddc.Level + } + if ddc.Type != "" { + objectMap["type"] = ddc.Type + } + for k, v := range ddc.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// AsConcurObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsDatasetZipDeflateCompression is the BasicDatasetCompression implementation for DatasetDeflateCompression. +func (ddc DatasetDeflateCompression) AsDatasetZipDeflateCompression() (*DatasetZipDeflateCompression, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { - return nil, false +// AsDatasetDeflateCompression is the BasicDatasetCompression implementation for DatasetDeflateCompression. +func (ddc DatasetDeflateCompression) AsDatasetDeflateCompression() (*DatasetDeflateCompression, bool) { + return &ddc, true } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsDatasetGZipCompression is the BasicDatasetCompression implementation for DatasetDeflateCompression. +func (ddc DatasetDeflateCompression) AsDatasetGZipCompression() (*DatasetGZipCompression, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsDatasetBZip2Compression is the BasicDatasetCompression implementation for DatasetDeflateCompression. +func (ddc DatasetDeflateCompression) AsDatasetBZip2Compression() (*DatasetBZip2Compression, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsDatasetCompression is the BasicDatasetCompression implementation for DatasetDeflateCompression. +func (ddc DatasetDeflateCompression) AsDatasetCompression() (*DatasetCompression, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsWebTableDataset() (*WebTableDataset, bool) { - return nil, false +// AsBasicDatasetCompression is the BasicDatasetCompression implementation for DatasetDeflateCompression. +func (ddc DatasetDeflateCompression) AsBasicDatasetCompression() (BasicDatasetCompression, bool) { + return &ddc, true } -// AsSapTableResourceDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { - return nil, false -} +// UnmarshalJSON is the custom unmarshaler for DatasetDeflateCompression struct. +func (ddc *DatasetDeflateCompression) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "level": + if v != nil { + var level interface{} + err = json.Unmarshal(*v, &level) + if err != nil { + return err + } + ddc.Level = level + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if ddc.AdditionalProperties == nil { + ddc.AdditionalProperties = make(map[string]interface{}) + } + ddc.AdditionalProperties[k] = additionalProperties + } + case "type": + if v != nil { + var typeVar TypeBasicDatasetCompression + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + ddc.Type = typeVar + } + } + } -// AsRestResourceDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { - return nil, false + return nil } -// AsSQLServerTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { - return nil, false +// DatasetFolder the folder that this Dataset is in. If not specified, Dataset will appear at the root +// level. +type DatasetFolder struct { + // Name - The name of the folder that this Dataset is in. + Name *string `json:"name,omitempty"` } -// AsSapOpenHubTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { - return nil, false +// DatasetGZipCompression the GZip compression method used on a dataset. +type DatasetGZipCompression struct { + // Level - The GZip compression level. + Level interface{} `json:"level,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Type - Possible values include: 'TypeDatasetCompression', 'TypeZipDeflate', 'TypeDeflate', 'TypeGZip', 'TypeBZip2' + Type TypeBasicDatasetCompression `json:"type,omitempty"` } -// AsSapHanaTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { - return nil, false +// MarshalJSON is the custom marshaler for DatasetGZipCompression. +func (dgzc DatasetGZipCompression) MarshalJSON() ([]byte, error) { + dgzc.Type = TypeGZip + objectMap := make(map[string]interface{}) + if dgzc.Level != nil { + objectMap["level"] = dgzc.Level + } + if dgzc.Type != "" { + objectMap["type"] = dgzc.Type + } + for k, v := range dgzc.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// AsSapEccResourceDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsDatasetZipDeflateCompression is the BasicDatasetCompression implementation for DatasetGZipCompression. +func (dgzc DatasetGZipCompression) AsDatasetZipDeflateCompression() (*DatasetZipDeflateCompression, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsDatasetDeflateCompression is the BasicDatasetCompression implementation for DatasetGZipCompression. +func (dgzc DatasetGZipCompression) AsDatasetDeflateCompression() (*DatasetDeflateCompression, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { - return nil, false +// AsDatasetGZipCompression is the BasicDatasetCompression implementation for DatasetGZipCompression. +func (dgzc DatasetGZipCompression) AsDatasetGZipCompression() (*DatasetGZipCompression, bool) { + return &dgzc, true } -// AsRelationalTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsDatasetBZip2Compression is the BasicDatasetCompression implementation for DatasetGZipCompression. +func (dgzc DatasetGZipCompression) AsDatasetBZip2Compression() (*DatasetBZip2Compression, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsDatasetCompression is the BasicDatasetCompression implementation for DatasetGZipCompression. +func (dgzc DatasetGZipCompression) AsDatasetCompression() (*DatasetCompression, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { - return nil, false +// AsBasicDatasetCompression is the BasicDatasetCompression implementation for DatasetGZipCompression. +func (dgzc DatasetGZipCompression) AsBasicDatasetCompression() (BasicDatasetCompression, bool) { + return &dgzc, true } -// AsODataResourceDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { - return nil, false -} +// UnmarshalJSON is the custom unmarshaler for DatasetGZipCompression struct. +func (dgzc *DatasetGZipCompression) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "level": + if v != nil { + var level interface{} + err = json.Unmarshal(*v, &level) + if err != nil { + return err + } + dgzc.Level = level + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if dgzc.AdditionalProperties == nil { + dgzc.AdditionalProperties = make(map[string]interface{}) + } + dgzc.AdditionalProperties[k] = additionalProperties + } + case "type": + if v != nil { + var typeVar TypeBasicDatasetCompression + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + dgzc.Type = typeVar + } + } + } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { - return nil, false + return nil } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { - return nil, false +// DatasetListResponse a list of dataset resources. +type DatasetListResponse struct { + autorest.Response `json:"-"` + // Value - List of datasets. + Value *[]DatasetResource `json:"value,omitempty"` + // NextLink - The link to the next page of results, if any remaining results exist. + NextLink *string `json:"nextLink,omitempty"` } -// AsMongoDbCollectionDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { - return nil, false +// DatasetListResponseIterator provides access to a complete listing of DatasetResource values. +type DatasetListResponseIterator struct { + i int + page DatasetListResponsePage } -// AsFileShareDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsFileShareDataset() (*FileShareDataset, bool) { - return nil, false +// NextWithContext advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +func (iter *DatasetListResponseIterator) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/DatasetListResponseIterator.NextWithContext") + defer func() { + sc := -1 + if iter.Response().Response.Response != nil { + sc = iter.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + iter.i++ + if iter.i < len(iter.page.Values()) { + return nil + } + err = iter.page.NextWithContext(ctx) + if err != nil { + iter.i-- + return err + } + iter.i = 0 + return nil } -// AsOffice365Dataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsOffice365Dataset() (*Office365Dataset, bool) { - return nil, false +// Next advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (iter *DatasetListResponseIterator) Next() error { + return iter.NextWithContext(context.Background()) } -// AsAzureBlobFSDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { - return nil, false +// NotDone returns true if the enumeration should be started or is not yet complete. +func (iter DatasetListResponseIterator) NotDone() bool { + return iter.page.NotDone() && iter.i < len(iter.page.Values()) } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { - return nil, false +// Response returns the raw server response from the last page request. +func (iter DatasetListResponseIterator) Response() DatasetListResponse { + return iter.page.Response() } -// AsDynamicsEntityDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { - return nil, false +// Value returns the current value or a zero-initialized value if the +// iterator has advanced beyond the end of the collection. +func (iter DatasetListResponseIterator) Value() DatasetResource { + if !iter.page.NotDone() { + return DatasetResource{} + } + return iter.page.Values()[iter.i] } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { - return nil, false +// Creates a new instance of the DatasetListResponseIterator type. +func NewDatasetListResponseIterator(page DatasetListResponsePage) DatasetListResponseIterator { + return DatasetListResponseIterator{page: page} } -// AsCustomDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsCustomDataset() (*CustomDataset, bool) { - return nil, false +// IsEmpty returns true if the ListResult contains no values. +func (dlr DatasetListResponse) IsEmpty() bool { + return dlr.Value == nil || len(*dlr.Value) == 0 } -// AsCassandraTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { - return nil, false +// datasetListResponsePreparer prepares a request to retrieve the next set of results. +// It returns nil if no more results exist. +func (dlr DatasetListResponse) datasetListResponsePreparer(ctx context.Context) (*http.Request, error) { + if dlr.NextLink == nil || len(to.String(dlr.NextLink)) < 1 { + return nil, nil + } + return autorest.Prepare((&http.Request{}).WithContext(ctx), + autorest.AsJSON(), + autorest.AsGet(), + autorest.WithBaseURL(to.String(dlr.NextLink))) } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { - return nil, false +// DatasetListResponsePage contains a page of DatasetResource values. +type DatasetListResponsePage struct { + fn func(context.Context, DatasetListResponse) (DatasetListResponse, error) + dlr DatasetListResponse } -// AsAzureSQLTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { - return nil, false +// NextWithContext advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +func (page *DatasetListResponsePage) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/DatasetListResponsePage.NextWithContext") + defer func() { + sc := -1 + if page.Response().Response.Response != nil { + sc = page.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + next, err := page.fn(ctx, page.dlr) + if err != nil { + return err + } + page.dlr = next + return nil } -// AsAzureTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { - return nil, false +// Next advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (page *DatasetListResponsePage) Next() error { + return page.NextWithContext(context.Background()) } -// AsAzureBlobDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { - return nil, false +// NotDone returns true if the page enumeration should be started or is not yet complete. +func (page DatasetListResponsePage) NotDone() bool { + return !page.dlr.IsEmpty() } -// AsDelimitedTextDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { - return nil, false +// Response returns the raw server response from the last page request. +func (page DatasetListResponsePage) Response() DatasetListResponse { + return page.dlr } -// AsParquetDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsParquetDataset() (*ParquetDataset, bool) { - return nil, false +// Values returns the slice of values for the current page or nil if there are no values. +func (page DatasetListResponsePage) Values() []DatasetResource { + if page.dlr.IsEmpty() { + return nil + } + return *page.dlr.Value } -// AsAmazonS3Dataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { - return nil, false +// Creates a new instance of the DatasetListResponsePage type. +func NewDatasetListResponsePage(getNextPage func(context.Context, DatasetListResponse) (DatasetListResponse, error)) DatasetListResponsePage { + return DatasetListResponsePage{fn: getNextPage} } -// AsDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsDataset() (*Dataset, bool) { - return nil, false +// DatasetLocation dataset location. +type DatasetLocation struct { + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Type - Type of dataset storage location. + Type *string `json:"type,omitempty"` + // FolderPath - Specify the folder path of dataset. Type: string (or Expression with resultType string) + FolderPath interface{} `json:"folderPath,omitempty"` + // FileName - Specify the file name of dataset. Type: string (or Expression with resultType string). + FileName interface{} `json:"fileName,omitempty"` } -// AsBasicDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsBasicDataset() (BasicDataset, bool) { - return &dard, true +// MarshalJSON is the custom marshaler for DatasetLocation. +func (dl DatasetLocation) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if dl.Type != nil { + objectMap["type"] = dl.Type + } + if dl.FolderPath != nil { + objectMap["folderPath"] = dl.FolderPath + } + if dl.FileName != nil { + objectMap["fileName"] = dl.FileName + } + for k, v := range dl.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for DynamicsAXResourceDataset struct. -func (dard *DynamicsAXResourceDataset) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for DatasetLocation struct. +func (dl *DatasetLocation) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -52568,15 +54445,6 @@ func (dard *DynamicsAXResourceDataset) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": - if v != nil { - var dynamicsAXResourceDatasetTypeProperties DynamicsAXResourceDatasetTypeProperties - err = json.Unmarshal(*v, &dynamicsAXResourceDatasetTypeProperties) - if err != nil { - return err - } - dard.DynamicsAXResourceDatasetTypeProperties = &dynamicsAXResourceDatasetTypeProperties - } default: if v != nil { var additionalProperties interface{} @@ -52584,82 +54452,136 @@ func (dard *DynamicsAXResourceDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if dard.AdditionalProperties == nil { - dard.AdditionalProperties = make(map[string]interface{}) + if dl.AdditionalProperties == nil { + dl.AdditionalProperties = make(map[string]interface{}) } - dard.AdditionalProperties[k] = additionalProperties + dl.AdditionalProperties[k] = additionalProperties } - case "description": + case "type": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var typeVar string + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - dard.Description = &description + dl.Type = &typeVar } - case "structure": + case "folderPath": if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) + var folderPath interface{} + err = json.Unmarshal(*v, &folderPath) if err != nil { return err } - dard.Structure = structure + dl.FolderPath = folderPath } - case "schema": + case "fileName": if v != nil { - var schema interface{} - err = json.Unmarshal(*v, &schema) + var fileName interface{} + err = json.Unmarshal(*v, &fileName) if err != nil { return err } - dard.Schema = schema + dl.FileName = fileName } - case "linkedServiceName": + } + } + + return nil +} + +// DatasetReference dataset reference type. +type DatasetReference struct { + // Type - Dataset reference type. + Type *string `json:"type,omitempty"` + // ReferenceName - Reference dataset name. + ReferenceName *string `json:"referenceName,omitempty"` + // Parameters - Arguments for dataset. + Parameters map[string]interface{} `json:"parameters"` +} + +// MarshalJSON is the custom marshaler for DatasetReference. +func (dr DatasetReference) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if dr.Type != nil { + objectMap["type"] = dr.Type + } + if dr.ReferenceName != nil { + objectMap["referenceName"] = dr.ReferenceName + } + if dr.Parameters != nil { + objectMap["parameters"] = dr.Parameters + } + return json.Marshal(objectMap) +} + +// DatasetResource dataset resource type. +type DatasetResource struct { + autorest.Response `json:"-"` + // Properties - Dataset properties. + Properties BasicDataset `json:"properties,omitempty"` + // ID - READ-ONLY; The resource identifier. + ID *string `json:"id,omitempty"` + // Name - READ-ONLY; The resource name. + Name *string `json:"name,omitempty"` + // Type - READ-ONLY; The resource type. + Type *string `json:"type,omitempty"` + // Etag - READ-ONLY; Etag identifies change in the resource. + Etag *string `json:"etag,omitempty"` +} + +// UnmarshalJSON is the custom unmarshaler for DatasetResource struct. +func (dr *DatasetResource) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "properties": if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) + properties, err := unmarshalBasicDataset(*v) if err != nil { return err } - dard.LinkedServiceName = &linkedServiceName + dr.Properties = properties } - case "parameters": + case "id": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var ID string + err = json.Unmarshal(*v, &ID) if err != nil { return err } - dard.Parameters = parameters + dr.ID = &ID } - case "annotations": + case "name": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var name string + err = json.Unmarshal(*v, &name) if err != nil { return err } - dard.Annotations = &annotations + dr.Name = &name } - case "folder": + case "type": if v != nil { - var folder DatasetFolder - err = json.Unmarshal(*v, &folder) + var typeVar string + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - dard.Folder = &folder + dr.Type = &typeVar } - case "type": + case "etag": if v != nil { - var typeVar TypeBasicDataset - err = json.Unmarshal(*v, &typeVar) + var etag string + err = json.Unmarshal(*v, &etag) if err != nil { return err } - dard.Type = typeVar + dr.Etag = &etag } } } @@ -52667,873 +54589,798 @@ func (dard *DynamicsAXResourceDataset) UnmarshalJSON(body []byte) error { return nil } -// DynamicsAXResourceDatasetTypeProperties dynamics AX OData resource dataset properties. -type DynamicsAXResourceDatasetTypeProperties struct { - // Path - The path of the Dynamics AX OData entity. Type: string (or Expression with resultType string). - Path interface{} `json:"path,omitempty"` +// BasicDatasetStorageFormat the format definition of a storage. +type BasicDatasetStorageFormat interface { + AsParquetFormat() (*ParquetFormat, bool) + AsOrcFormat() (*OrcFormat, bool) + AsAvroFormat() (*AvroFormat, bool) + AsJSONFormat() (*JSONFormat, bool) + AsTextFormat() (*TextFormat, bool) + AsDatasetStorageFormat() (*DatasetStorageFormat, bool) } -// DynamicsAXSource a copy activity Dynamics AX source. -type DynamicsAXSource struct { - // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). - Query interface{} `json:"query,omitempty"` +// DatasetStorageFormat the format definition of a storage. +type DatasetStorageFormat struct { // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). - SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` - // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' - Type TypeBasicCopySource `json:"type,omitempty"` + // Serializer - Serializer. Type: string (or Expression with resultType string). + Serializer interface{} `json:"serializer,omitempty"` + // Deserializer - Deserializer. Type: string (or Expression with resultType string). + Deserializer interface{} `json:"deserializer,omitempty"` + // Type - Possible values include: 'TypeDatasetStorageFormat', 'TypeParquetFormat', 'TypeOrcFormat', 'TypeAvroFormat', 'TypeJSONFormat', 'TypeTextFormat' + Type TypeBasicDatasetStorageFormat `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for DynamicsAXSource. -func (das DynamicsAXSource) MarshalJSON() ([]byte, error) { - das.Type = TypeDynamicsAXSource - objectMap := make(map[string]interface{}) - if das.Query != nil { - objectMap["query"] = das.Query +func unmarshalBasicDatasetStorageFormat(body []byte) (BasicDatasetStorageFormat, error) { + var m map[string]interface{} + err := json.Unmarshal(body, &m) + if err != nil { + return nil, err } - if das.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = das.SourceRetryCount + + switch m["type"] { + case string(TypeParquetFormat): + var pf ParquetFormat + err := json.Unmarshal(body, &pf) + return pf, err + case string(TypeOrcFormat): + var of OrcFormat + err := json.Unmarshal(body, &of) + return of, err + case string(TypeAvroFormat): + var af AvroFormat + err := json.Unmarshal(body, &af) + return af, err + case string(TypeJSONFormat): + var jf JSONFormat + err := json.Unmarshal(body, &jf) + return jf, err + case string(TypeTextFormat): + var tf TextFormat + err := json.Unmarshal(body, &tf) + return tf, err + default: + var dsf DatasetStorageFormat + err := json.Unmarshal(body, &dsf) + return dsf, err } - if das.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = das.SourceRetryWait +} +func unmarshalBasicDatasetStorageFormatArray(body []byte) ([]BasicDatasetStorageFormat, error) { + var rawMessages []*json.RawMessage + err := json.Unmarshal(body, &rawMessages) + if err != nil { + return nil, err } - if das.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = das.MaxConcurrentConnections + + dsfArray := make([]BasicDatasetStorageFormat, len(rawMessages)) + + for index, rawMessage := range rawMessages { + dsf, err := unmarshalBasicDatasetStorageFormat(*rawMessage) + if err != nil { + return nil, err + } + dsfArray[index] = dsf } - if das.Type != "" { - objectMap["type"] = das.Type + return dsfArray, nil +} + +// MarshalJSON is the custom marshaler for DatasetStorageFormat. +func (dsf DatasetStorageFormat) MarshalJSON() ([]byte, error) { + dsf.Type = TypeDatasetStorageFormat + objectMap := make(map[string]interface{}) + if dsf.Serializer != nil { + objectMap["serializer"] = dsf.Serializer } - for k, v := range das.AdditionalProperties { + if dsf.Deserializer != nil { + objectMap["deserializer"] = dsf.Deserializer + } + if dsf.Type != "" { + objectMap["type"] = dsf.Type + } + for k, v := range dsf.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { - return nil, false -} - -// AsGoogleAdWordsSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { - return nil, false -} - -// AsOracleServiceCloudSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { - return nil, false -} - -// AsDynamicsAXSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { - return &das, true -} - -// AsResponsysSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsResponsysSource() (*ResponsysSource, bool) { - return nil, false -} - -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { - return nil, false -} - -// AsVerticaSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsVerticaSource() (*VerticaSource, bool) { - return nil, false -} - -// AsNetezzaSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsNetezzaSource() (*NetezzaSource, bool) { - return nil, false -} - -// AsZohoSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsZohoSource() (*ZohoSource, bool) { - return nil, false -} - -// AsXeroSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsXeroSource() (*XeroSource, bool) { - return nil, false -} - -// AsSquareSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsSquareSource() (*SquareSource, bool) { +// AsParquetFormat is the BasicDatasetStorageFormat implementation for DatasetStorageFormat. +func (dsf DatasetStorageFormat) AsParquetFormat() (*ParquetFormat, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsSparkSource() (*SparkSource, bool) { +// AsOrcFormat is the BasicDatasetStorageFormat implementation for DatasetStorageFormat. +func (dsf DatasetStorageFormat) AsOrcFormat() (*OrcFormat, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsShopifySource() (*ShopifySource, bool) { +// AsAvroFormat is the BasicDatasetStorageFormat implementation for DatasetStorageFormat. +func (dsf DatasetStorageFormat) AsAvroFormat() (*AvroFormat, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsJSONFormat is the BasicDatasetStorageFormat implementation for DatasetStorageFormat. +func (dsf DatasetStorageFormat) AsJSONFormat() (*JSONFormat, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsTextFormat is the BasicDatasetStorageFormat implementation for DatasetStorageFormat. +func (dsf DatasetStorageFormat) AsTextFormat() (*TextFormat, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsPrestoSource() (*PrestoSource, bool) { - return nil, false +// AsDatasetStorageFormat is the BasicDatasetStorageFormat implementation for DatasetStorageFormat. +func (dsf DatasetStorageFormat) AsDatasetStorageFormat() (*DatasetStorageFormat, bool) { + return &dsf, true } -// AsPhoenixSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsPhoenixSource() (*PhoenixSource, bool) { - return nil, false +// AsBasicDatasetStorageFormat is the BasicDatasetStorageFormat implementation for DatasetStorageFormat. +func (dsf DatasetStorageFormat) AsBasicDatasetStorageFormat() (BasicDatasetStorageFormat, bool) { + return &dsf, true } -// AsPaypalSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsPaypalSource() (*PaypalSource, bool) { - return nil, false -} - -// AsMarketoSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsMarketoSource() (*MarketoSource, bool) { - return nil, false -} - -// AsMariaDBSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsMariaDBSource() (*MariaDBSource, bool) { - return nil, false -} - -// AsMagentoSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsMagentoSource() (*MagentoSource, bool) { - return nil, false -} - -// AsJiraSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsJiraSource() (*JiraSource, bool) { - return nil, false -} - -// AsImpalaSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsImpalaSource() (*ImpalaSource, bool) { - return nil, false -} - -// AsHubspotSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsHubspotSource() (*HubspotSource, bool) { - return nil, false -} - -// AsHiveSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsHiveSource() (*HiveSource, bool) { - return nil, false -} - -// AsHBaseSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsHBaseSource() (*HBaseSource, bool) { - return nil, false -} - -// AsGreenplumSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsGreenplumSource() (*GreenplumSource, bool) { - return nil, false -} - -// AsGoogleBigQuerySource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { - return nil, false -} - -// AsEloquaSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsEloquaSource() (*EloquaSource, bool) { - return nil, false -} - -// AsDrillSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsDrillSource() (*DrillSource, bool) { - return nil, false -} +// UnmarshalJSON is the custom unmarshaler for DatasetStorageFormat struct. +func (dsf *DatasetStorageFormat) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if dsf.AdditionalProperties == nil { + dsf.AdditionalProperties = make(map[string]interface{}) + } + dsf.AdditionalProperties[k] = additionalProperties + } + case "serializer": + if v != nil { + var serializer interface{} + err = json.Unmarshal(*v, &serializer) + if err != nil { + return err + } + dsf.Serializer = serializer + } + case "deserializer": + if v != nil { + var deserializer interface{} + err = json.Unmarshal(*v, &deserializer) + if err != nil { + return err + } + dsf.Deserializer = deserializer + } + case "type": + if v != nil { + var typeVar TypeBasicDatasetStorageFormat + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + dsf.Type = typeVar + } + } + } -// AsCouchbaseSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsCouchbaseSource() (*CouchbaseSource, bool) { - return nil, false + return nil } -// AsConcurSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsConcurSource() (*ConcurSource, bool) { - return nil, false +// DatasetZipDeflateCompression the ZipDeflate compression method used on a dataset. +type DatasetZipDeflateCompression struct { + // Level - The ZipDeflate compression level. + Level interface{} `json:"level,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Type - Possible values include: 'TypeDatasetCompression', 'TypeZipDeflate', 'TypeDeflate', 'TypeGZip', 'TypeBZip2' + Type TypeBasicDatasetCompression `json:"type,omitempty"` } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { - return nil, false +// MarshalJSON is the custom marshaler for DatasetZipDeflateCompression. +func (dzdc DatasetZipDeflateCompression) MarshalJSON() ([]byte, error) { + dzdc.Type = TypeZipDeflate + objectMap := make(map[string]interface{}) + if dzdc.Level != nil { + objectMap["level"] = dzdc.Level + } + if dzdc.Type != "" { + objectMap["type"] = dzdc.Type + } + for k, v := range dzdc.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// AsAmazonMWSSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { - return nil, false +// AsDatasetZipDeflateCompression is the BasicDatasetCompression implementation for DatasetZipDeflateCompression. +func (dzdc DatasetZipDeflateCompression) AsDatasetZipDeflateCompression() (*DatasetZipDeflateCompression, bool) { + return &dzdc, true } -// AsHTTPSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsHTTPSource() (*HTTPSource, bool) { +// AsDatasetDeflateCompression is the BasicDatasetCompression implementation for DatasetZipDeflateCompression. +func (dzdc DatasetZipDeflateCompression) AsDatasetDeflateCompression() (*DatasetDeflateCompression, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsDatasetGZipCompression is the BasicDatasetCompression implementation for DatasetZipDeflateCompression. +func (dzdc DatasetZipDeflateCompression) AsDatasetGZipCompression() (*DatasetGZipCompression, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsDatasetBZip2Compression is the BasicDatasetCompression implementation for DatasetZipDeflateCompression. +func (dzdc DatasetZipDeflateCompression) AsDatasetBZip2Compression() (*DatasetBZip2Compression, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsOffice365Source() (*Office365Source, bool) { +// AsDatasetCompression is the BasicDatasetCompression implementation for DatasetZipDeflateCompression. +func (dzdc DatasetZipDeflateCompression) AsDatasetCompression() (*DatasetCompression, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { - return nil, false +// AsBasicDatasetCompression is the BasicDatasetCompression implementation for DatasetZipDeflateCompression. +func (dzdc DatasetZipDeflateCompression) AsBasicDatasetCompression() (BasicDatasetCompression, bool) { + return &dzdc, true } -// AsMongoDbV2Source is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { - return nil, false -} +// UnmarshalJSON is the custom unmarshaler for DatasetZipDeflateCompression struct. +func (dzdc *DatasetZipDeflateCompression) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "level": + if v != nil { + var level interface{} + err = json.Unmarshal(*v, &level) + if err != nil { + return err + } + dzdc.Level = level + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if dzdc.AdditionalProperties == nil { + dzdc.AdditionalProperties = make(map[string]interface{}) + } + dzdc.AdditionalProperties[k] = additionalProperties + } + case "type": + if v != nil { + var typeVar TypeBasicDatasetCompression + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + dzdc.Type = typeVar + } + } + } -// AsMongoDbSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsMongoDbSource() (*MongoDbSource, bool) { - return nil, false + return nil } -// AsCassandraSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsCassandraSource() (*CassandraSource, bool) { - return nil, false +// Db2LinkedService linked service for DB2 data source. +type Db2LinkedService struct { + // Db2LinkedServiceTypeProperties - DB2 linked service properties. + *Db2LinkedServiceTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. + Description *string `json:"description,omitempty"` + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the linked service. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` } -// AsWebSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsWebSource() (*WebSource, bool) { - return nil, false +// MarshalJSON is the custom marshaler for Db2LinkedService. +func (d2ls Db2LinkedService) MarshalJSON() ([]byte, error) { + d2ls.Type = TypeDb2 + objectMap := make(map[string]interface{}) + if d2ls.Db2LinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = d2ls.Db2LinkedServiceTypeProperties + } + if d2ls.ConnectVia != nil { + objectMap["connectVia"] = d2ls.ConnectVia + } + if d2ls.Description != nil { + objectMap["description"] = d2ls.Description + } + if d2ls.Parameters != nil { + objectMap["parameters"] = d2ls.Parameters + } + if d2ls.Annotations != nil { + objectMap["annotations"] = d2ls.Annotations + } + if d2ls.Type != "" { + objectMap["type"] = d2ls.Type + } + for k, v := range d2ls.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// AsOracleSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsOracleSource() (*OracleSource, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsHdfsSource() (*HdfsSource, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsSQLSource() (*SQLSource, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsRestSource() (*RestSource, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsSapTableSource() (*SapTableSource, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsSapEccSource() (*SapEccSource, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsRelationalSource() (*RelationalSource, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsBlobSource() (*BlobSource, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsParquetSource() (*ParquetSource, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsCopySource() (*CopySource, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsBasicCopySource() (BasicCopySource, bool) { - return &das, true -} - -// UnmarshalJSON is the custom unmarshaler for DynamicsAXSource struct. -func (das *DynamicsAXSource) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "query": - if v != nil { - var query interface{} - err = json.Unmarshal(*v, &query) - if err != nil { - return err - } - das.Query = query - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if das.AdditionalProperties == nil { - das.AdditionalProperties = make(map[string]interface{}) - } - das.AdditionalProperties[k] = additionalProperties - } - case "sourceRetryCount": - if v != nil { - var sourceRetryCount interface{} - err = json.Unmarshal(*v, &sourceRetryCount) - if err != nil { - return err - } - das.SourceRetryCount = sourceRetryCount - } - case "sourceRetryWait": - if v != nil { - var sourceRetryWait interface{} - err = json.Unmarshal(*v, &sourceRetryWait) - if err != nil { - return err - } - das.SourceRetryWait = sourceRetryWait - } - case "maxConcurrentConnections": - if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) - if err != nil { - return err - } - das.MaxConcurrentConnections = maxConcurrentConnections - } - case "type": - if v != nil { - var typeVar TypeBasicCopySource - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - das.Type = typeVar - } - } - } - - return nil -} - -// DynamicsEntityDataset the Dynamics entity dataset. -type DynamicsEntityDataset struct { - // DynamicsEntityDatasetTypeProperties - Dynamics entity dataset properties. - *DynamicsEntityDatasetTypeProperties `json:"typeProperties,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Description - Dataset description. - Description *string `json:"description,omitempty"` - // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. - Structure interface{} `json:"structure,omitempty"` - // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - Schema interface{} `json:"schema,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Parameters - Parameters for dataset. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the Dataset. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' - Type TypeBasicDataset `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) MarshalJSON() ([]byte, error) { - ded.Type = TypeDynamicsEntity - objectMap := make(map[string]interface{}) - if ded.DynamicsEntityDatasetTypeProperties != nil { - objectMap["typeProperties"] = ded.DynamicsEntityDatasetTypeProperties - } - if ded.Description != nil { - objectMap["description"] = ded.Description - } - if ded.Structure != nil { - objectMap["structure"] = ded.Structure - } - if ded.Schema != nil { - objectMap["schema"] = ded.Schema - } - if ded.LinkedServiceName != nil { - objectMap["linkedServiceName"] = ded.LinkedServiceName - } - if ded.Parameters != nil { - objectMap["parameters"] = ded.Parameters - } - if ded.Annotations != nil { - objectMap["annotations"] = ded.Annotations - } - if ded.Folder != nil { - objectMap["folder"] = ded.Folder - } - if ded.Type != "" { - objectMap["type"] = ded.Type - } - for k, v := range ded.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) -} - -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { - return nil, false +// AsDb2LinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return &d2ls, true } -// AsAzureMySQLTableDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { - return &ded, true -} - -// AsDocumentDbCollectionDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsAzureStorageLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsDataset() (*Dataset, bool) { +// AsLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsLinkedService() (*LinkedService, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsBasicDataset() (BasicDataset, bool) { - return &ded, true +// AsBasicLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &d2ls, true } -// UnmarshalJSON is the custom unmarshaler for DynamicsEntityDataset struct. -func (ded *DynamicsEntityDataset) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for Db2LinkedService struct. +func (d2ls *Db2LinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -53543,12 +55390,12 @@ func (ded *DynamicsEntityDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var dynamicsEntityDatasetTypeProperties DynamicsEntityDatasetTypeProperties - err = json.Unmarshal(*v, &dynamicsEntityDatasetTypeProperties) + var db2LinkedServiceTypeProperties Db2LinkedServiceTypeProperties + err = json.Unmarshal(*v, &db2LinkedServiceTypeProperties) if err != nil { return err } - ded.DynamicsEntityDatasetTypeProperties = &dynamicsEntityDatasetTypeProperties + d2ls.Db2LinkedServiceTypeProperties = &db2LinkedServiceTypeProperties } default: if v != nil { @@ -53557,10 +55404,19 @@ func (ded *DynamicsEntityDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if ded.AdditionalProperties == nil { - ded.AdditionalProperties = make(map[string]interface{}) + if d2ls.AdditionalProperties == nil { + d2ls.AdditionalProperties = make(map[string]interface{}) } - ded.AdditionalProperties[k] = additionalProperties + d2ls.AdditionalProperties[k] = additionalProperties + } + case "connectVia": + if v != nil { + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) + if err != nil { + return err + } + d2ls.ConnectVia = &connectVia } case "description": if v != nil { @@ -53569,70 +55425,118 @@ func (ded *DynamicsEntityDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - ded.Description = &description + d2ls.Description = &description } - case "structure": + case "parameters": if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - ded.Structure = structure + d2ls.Parameters = parameters } - case "schema": + case "annotations": if v != nil { - var schema interface{} - err = json.Unmarshal(*v, &schema) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - ded.Schema = schema + d2ls.Annotations = &annotations } - case "linkedServiceName": + case "type": if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) + var typeVar TypeBasicLinkedService + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - ded.LinkedServiceName = &linkedServiceName + d2ls.Type = typeVar } - case "parameters": + } + } + + return nil +} + +// Db2LinkedServiceTypeProperties dB2 linked service properties. +type Db2LinkedServiceTypeProperties struct { + // Server - Server name for connection. Type: string (or Expression with resultType string). + Server interface{} `json:"server,omitempty"` + // Database - Database name for connection. Type: string (or Expression with resultType string). + Database interface{} `json:"database,omitempty"` + // AuthenticationType - AuthenticationType to be used for connection. Possible values include: 'Basic' + AuthenticationType Db2AuthenticationType `json:"authenticationType,omitempty"` + // Username - Username for authentication. Type: string (or Expression with resultType string). + Username interface{} `json:"username,omitempty"` + // Password - Password for authentication. + Password BasicSecretBase `json:"password,omitempty"` + // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` +} + +// UnmarshalJSON is the custom unmarshaler for Db2LinkedServiceTypeProperties struct. +func (d2lstp *Db2LinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "server": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var server interface{} + err = json.Unmarshal(*v, &server) if err != nil { return err } - ded.Parameters = parameters + d2lstp.Server = server } - case "annotations": + case "database": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var databaseVar interface{} + err = json.Unmarshal(*v, &databaseVar) if err != nil { return err } - ded.Annotations = &annotations + d2lstp.Database = databaseVar } - case "folder": + case "authenticationType": if v != nil { - var folder DatasetFolder - err = json.Unmarshal(*v, &folder) + var authenticationType Db2AuthenticationType + err = json.Unmarshal(*v, &authenticationType) if err != nil { return err } - ded.Folder = &folder + d2lstp.AuthenticationType = authenticationType } - case "type": + case "username": if v != nil { - var typeVar TypeBasicDataset - err = json.Unmarshal(*v, &typeVar) + var username interface{} + err = json.Unmarshal(*v, &username) if err != nil { return err } - ded.Type = typeVar + d2lstp.Username = username + } + case "password": + if v != nil { + password, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + d2lstp.Password = password + } + case "encryptedCredential": + if v != nil { + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) + if err != nil { + return err + } + d2lstp.EncryptedCredential = encryptedCredential } } } @@ -53640,490 +55544,459 @@ func (ded *DynamicsEntityDataset) UnmarshalJSON(body []byte) error { return nil } -// DynamicsEntityDatasetTypeProperties dynamics entity dataset properties. -type DynamicsEntityDatasetTypeProperties struct { - // EntityName - The logical name of the entity. Type: string (or Expression with resultType string). - EntityName interface{} `json:"entityName,omitempty"` -} - -// DynamicsLinkedService dynamics linked service. -type DynamicsLinkedService struct { - // DynamicsLinkedServiceTypeProperties - Dynamics linked service properties. - *DynamicsLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// Db2Source a copy activity source for Db2 databases. +type Db2Source struct { + // Query - Database query. Type: string (or Expression with resultType string). + Query interface{} `json:"query,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. - Description *string `json:"description,omitempty"` - // Parameters - Parameters for linked service. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the linked service. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for DynamicsLinkedService. -func (dls DynamicsLinkedService) MarshalJSON() ([]byte, error) { - dls.Type = TypeDynamics +// MarshalJSON is the custom marshaler for Db2Source. +func (d2s Db2Source) MarshalJSON() ([]byte, error) { + d2s.Type = TypeDb2Source objectMap := make(map[string]interface{}) - if dls.DynamicsLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = dls.DynamicsLinkedServiceTypeProperties - } - if dls.ConnectVia != nil { - objectMap["connectVia"] = dls.ConnectVia + if d2s.Query != nil { + objectMap["query"] = d2s.Query } - if dls.Description != nil { - objectMap["description"] = dls.Description + if d2s.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = d2s.SourceRetryCount } - if dls.Parameters != nil { - objectMap["parameters"] = dls.Parameters + if d2s.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = d2s.SourceRetryWait } - if dls.Annotations != nil { - objectMap["annotations"] = dls.Annotations + if d2s.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = d2s.MaxConcurrentConnections } - if dls.Type != "" { - objectMap["type"] = dls.Type + if d2s.Type != "" { + objectMap["type"] = d2s.Type } - for k, v := range dls.AdditionalProperties { + for k, v := range d2s.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsSapTableLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsResponsysSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsVerticaSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsNetezzaSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsZohoSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsXeroSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsSquareSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsSparkSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsShopifySource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsServiceNowSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsPrestoSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsPhoenixSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsPaypalSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsMarketoSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsMariaDBSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsMagentoSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsJiraSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsImpalaSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsHubspotSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsHiveSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsHBaseSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsGreenplumSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsEloquaSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsDrillSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsConcurSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsHTTPSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsOffice365Source is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { - return nil, false -} - -// AsSapBWLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { - return nil, false -} - -// AsSftpServerLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { - return nil, false -} - -// AsFtpServerLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsMongoDbSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsCassandraSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsWebSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsWebSource() (*WebSource, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsTeradataSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsOracleSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsHdfsSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsFileSystemSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsSQLDWSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsSQLMISource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsSQLServerSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsSQLSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsRestSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsRestSource() (*RestSource, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsSapTableSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsSapHanaSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsSapEccSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsSalesforceSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsODataSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsSybaseSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsMySQLSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsOdbcSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { - return nil, false +// AsDb2Source is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsDb2Source() (*Db2Source, bool) { + return &d2s, true } -// AsOracleLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsInformixSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsRelationalSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { - return &dls, true -} - -// AsCosmosDbLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsDynamicsSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsBlobSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsAzureTableSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsBinarySource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsDelimitedTextSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsParquetSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsParquetSource() (*ParquetSource, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsCopySource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsCopySource() (*CopySource, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &dls, true +// AsBasicCopySource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsBasicCopySource() (BasicCopySource, bool) { + return &d2s, true } -// UnmarshalJSON is the custom unmarshaler for DynamicsLinkedService struct. -func (dls *DynamicsLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for Db2Source struct. +func (d2s *Db2Source) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -54131,14 +56004,14 @@ func (dls *DynamicsLinkedService) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": + case "query": if v != nil { - var dynamicsLinkedServiceTypeProperties DynamicsLinkedServiceTypeProperties - err = json.Unmarshal(*v, &dynamicsLinkedServiceTypeProperties) + var query interface{} + err = json.Unmarshal(*v, &query) if err != nil { return err } - dls.DynamicsLinkedServiceTypeProperties = &dynamicsLinkedServiceTypeProperties + d2s.Query = query } default: if v != nil { @@ -54147,172 +56020,46 @@ func (dls *DynamicsLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if dls.AdditionalProperties == nil { - dls.AdditionalProperties = make(map[string]interface{}) - } - dls.AdditionalProperties[k] = additionalProperties - } - case "connectVia": - if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) - if err != nil { - return err + if d2s.AdditionalProperties == nil { + d2s.AdditionalProperties = make(map[string]interface{}) } - dls.ConnectVia = &connectVia + d2s.AdditionalProperties[k] = additionalProperties } - case "description": + case "sourceRetryCount": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) if err != nil { return err } - dls.Description = &description + d2s.SourceRetryCount = sourceRetryCount } - case "parameters": + case "sourceRetryWait": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) if err != nil { return err } - dls.Parameters = parameters + d2s.SourceRetryWait = sourceRetryWait } - case "annotations": + case "maxConcurrentConnections": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) if err != nil { return err } - dls.Annotations = &annotations + d2s.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicLinkedService + var typeVar TypeBasicCopySource err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - dls.Type = typeVar - } - } - } - - return nil -} - -// DynamicsLinkedServiceTypeProperties dynamics linked service properties. -type DynamicsLinkedServiceTypeProperties struct { - // DeploymentType - The deployment type of the Dynamics instance. 'Online' for Dynamics Online and 'OnPremisesWithIfd' for Dynamics on-premises with Ifd. Type: string (or Expression with resultType string). - DeploymentType interface{} `json:"deploymentType,omitempty"` - // HostName - The host name of the on-premises Dynamics server. The property is required for on-prem and not allowed for online. Type: string (or Expression with resultType string). - HostName interface{} `json:"hostName,omitempty"` - // Port - The port of on-premises Dynamics server. The property is required for on-prem and not allowed for online. Default is 443. Type: integer (or Expression with resultType integer), minimum: 0. - Port interface{} `json:"port,omitempty"` - // ServiceURI - The URL to the Microsoft Dynamics server. The property is required for on-line and not allowed for on-prem. Type: string (or Expression with resultType string). - ServiceURI interface{} `json:"serviceUri,omitempty"` - // OrganizationName - The organization name of the Dynamics instance. The property is required for on-prem and required for online when there are more than one Dynamics instances associated with the user. Type: string (or Expression with resultType string). - OrganizationName interface{} `json:"organizationName,omitempty"` - // AuthenticationType - The authentication type to connect to Dynamics server. 'Office365' for online scenario, 'Ifd' for on-premises with Ifd scenario. Type: string (or Expression with resultType string). - AuthenticationType interface{} `json:"authenticationType,omitempty"` - // Username - User name to access the Dynamics instance. Type: string (or Expression with resultType string). - Username interface{} `json:"username,omitempty"` - // Password - Password to access the Dynamics instance. - Password BasicSecretBase `json:"password,omitempty"` - // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). - EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` -} - -// UnmarshalJSON is the custom unmarshaler for DynamicsLinkedServiceTypeProperties struct. -func (dlstp *DynamicsLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "deploymentType": - if v != nil { - var deploymentType interface{} - err = json.Unmarshal(*v, &deploymentType) - if err != nil { - return err - } - dlstp.DeploymentType = deploymentType - } - case "hostName": - if v != nil { - var hostName interface{} - err = json.Unmarshal(*v, &hostName) - if err != nil { - return err - } - dlstp.HostName = hostName - } - case "port": - if v != nil { - var port interface{} - err = json.Unmarshal(*v, &port) - if err != nil { - return err - } - dlstp.Port = port - } - case "serviceUri": - if v != nil { - var serviceURI interface{} - err = json.Unmarshal(*v, &serviceURI) - if err != nil { - return err - } - dlstp.ServiceURI = serviceURI - } - case "organizationName": - if v != nil { - var organizationName interface{} - err = json.Unmarshal(*v, &organizationName) - if err != nil { - return err - } - dlstp.OrganizationName = organizationName - } - case "authenticationType": - if v != nil { - var authenticationType interface{} - err = json.Unmarshal(*v, &authenticationType) - if err != nil { - return err - } - dlstp.AuthenticationType = authenticationType - } - case "username": - if v != nil { - var username interface{} - err = json.Unmarshal(*v, &username) - if err != nil { - return err - } - dlstp.Username = username - } - case "password": - if v != nil { - password, err := unmarshalBasicSecretBase(*v) - if err != nil { - return err - } - dlstp.Password = password - } - case "encryptedCredential": - if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) - if err != nil { - return err - } - dlstp.EncryptedCredential = encryptedCredential + d2s.Type = typeVar } } } @@ -54320,179 +56067,244 @@ func (dlstp *DynamicsLinkedServiceTypeProperties) UnmarshalJSON(body []byte) err return nil } -// DynamicsSink a copy activity Dynamics sink. -type DynamicsSink struct { - // WriteBehavior - The write behavior for the operation. - WriteBehavior *string `json:"writeBehavior,omitempty"` - // IgnoreNullValues - 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). - IgnoreNullValues interface{} `json:"ignoreNullValues,omitempty"` +// DeleteActivity delete activity. +type DeleteActivity struct { + // DeleteActivityTypeProperties - Delete activity properties. + *DeleteActivityTypeProperties `json:"typeProperties,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Policy - Activity policy. + Policy *ActivityPolicy `json:"policy,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - WriteBatchSize interface{} `json:"writeBatchSize,omitempty"` - // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"` - // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer). - SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"` - // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeDelimitedTextSink' - Type TypeBasicCopySink `json:"type,omitempty"` + // Name - Activity name. + Name *string `json:"name,omitempty"` + // Description - Activity description. + Description *string `json:"description,omitempty"` + // DependsOn - Activity depends on condition. + DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` + // UserProperties - Activity user properties. + UserProperties *[]UserProperty `json:"userProperties,omitempty"` + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + Type TypeBasicActivity `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for DynamicsSink. -func (ds DynamicsSink) MarshalJSON() ([]byte, error) { - ds.Type = TypeDynamicsSink +// MarshalJSON is the custom marshaler for DeleteActivity. +func (da DeleteActivity) MarshalJSON() ([]byte, error) { + da.Type = TypeDelete objectMap := make(map[string]interface{}) - if ds.WriteBehavior != nil { - objectMap["writeBehavior"] = ds.WriteBehavior + if da.DeleteActivityTypeProperties != nil { + objectMap["typeProperties"] = da.DeleteActivityTypeProperties } - if ds.IgnoreNullValues != nil { - objectMap["ignoreNullValues"] = ds.IgnoreNullValues + if da.LinkedServiceName != nil { + objectMap["linkedServiceName"] = da.LinkedServiceName } - if ds.WriteBatchSize != nil { - objectMap["writeBatchSize"] = ds.WriteBatchSize + if da.Policy != nil { + objectMap["policy"] = da.Policy } - if ds.WriteBatchTimeout != nil { - objectMap["writeBatchTimeout"] = ds.WriteBatchTimeout + if da.Name != nil { + objectMap["name"] = da.Name } - if ds.SinkRetryCount != nil { - objectMap["sinkRetryCount"] = ds.SinkRetryCount + if da.Description != nil { + objectMap["description"] = da.Description } - if ds.SinkRetryWait != nil { - objectMap["sinkRetryWait"] = ds.SinkRetryWait + if da.DependsOn != nil { + objectMap["dependsOn"] = da.DependsOn } - if ds.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = ds.MaxConcurrentConnections + if da.UserProperties != nil { + objectMap["userProperties"] = da.UserProperties } - if ds.Type != "" { - objectMap["type"] = ds.Type + if da.Type != "" { + objectMap["type"] = da.Type } - for k, v := range ds.AdditionalProperties { + for k, v := range da.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { +// AsAzureFunctionActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { return nil, false } -// AsSalesforceSink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsSalesforceSink() (*SalesforceSink, bool) { +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { return nil, false } -// AsAzureDataExplorerSink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { +// AsDatabricksSparkJarActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { return nil, false } -// AsDynamicsSink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsDynamicsSink() (*DynamicsSink, bool) { - return &ds, true +// AsDatabricksNotebookActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { + return nil, false } -// AsOdbcSink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsOdbcSink() (*OdbcSink, bool) { +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false } -// AsAzureSearchIndexSink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { return nil, false } -// AsAzureBlobFSSink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { return nil, false } -// AsAzureDataLakeStoreSink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { +// AsGetMetadataActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { return nil, false } -// AsOracleSink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsOracleSink() (*OracleSink, bool) { +// AsWebActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsWebActivity() (*WebActivity, bool) { return nil, false } -// AsSQLDWSink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsSQLDWSink() (*SQLDWSink, bool) { +// AsLookupActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureSQLSink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsAzureSQLSink() (*AzureSQLSink, bool) { +// AsDeleteActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsDeleteActivity() (*DeleteActivity, bool) { + return &da, true +} + +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { return nil, false } -// AsSQLServerSink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsSQLServerSink() (*SQLServerSink, bool) { +// AsCustomActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsCustomActivity() (*CustomActivity, bool) { return nil, false } -// AsSQLSink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsSQLSink() (*SQLSink, bool) { +// AsExecuteSSISPackageActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { return nil, false } -// AsDocumentDbCollectionSink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { +// AsHDInsightSparkActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { return nil, false } -// AsFileSystemSink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsFileSystemSink() (*FileSystemSink, bool) { +// AsHDInsightStreamingActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { return nil, false } -// AsBlobSink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsBlobSink() (*BlobSink, bool) { +// AsHDInsightMapReduceActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { return nil, false } -// AsParquetSink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsParquetSink() (*ParquetSink, bool) { +// AsHDInsightPigActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { return nil, false } -// AsAzureTableSink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsAzureTableSink() (*AzureTableSink, bool) { +// AsHDInsightHiveActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { return nil, false } -// AsAzureQueueSink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsAzureQueueSink() (*AzureQueueSink, bool) { +// AsCopyActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsCopyActivity() (*CopyActivity, bool) { return nil, false } -// AsSapCloudForCustomerSink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { +// AsExecutionActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsExecutionActivity() (*ExecutionActivity, bool) { return nil, false } -// AsDelimitedTextSink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { +// AsBasicExecutionActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return &da, true +} + +// AsWebHookActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsWebHookActivity() (*WebHookActivity, bool) { return nil, false } -// AsCopySink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsCopySink() (*CopySink, bool) { +// AsAppendVariableActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { return nil, false } -// AsBasicCopySink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsBasicCopySink() (BasicCopySink, bool) { - return &ds, true +// AsSetVariableActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for DynamicsSink struct. -func (ds *DynamicsSink) UnmarshalJSON(body []byte) error { +// AsFilterActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsFilterActivity() (*FilterActivity, bool) { + return nil, false +} + +// AsValidationActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsValidationActivity() (*ValidationActivity, bool) { + return nil, false +} + +// AsUntilActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsUntilActivity() (*UntilActivity, bool) { + return nil, false +} + +// AsWaitActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsWaitActivity() (*WaitActivity, bool) { + return nil, false +} + +// AsForEachActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsForEachActivity() (*ForEachActivity, bool) { + return nil, false +} + +// AsIfConditionActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { + return nil, false +} + +// AsExecutePipelineActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { + return nil, false +} + +// AsControlActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsControlActivity() (*ControlActivity, bool) { + return nil, false +} + +// AsBasicControlActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsBasicControlActivity() (BasicControlActivity, bool) { + return nil, false +} + +// AsActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsActivity() (*Activity, bool) { + return nil, false +} + +// AsBasicActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsBasicActivity() (BasicActivity, bool) { + return &da, true +} + +// UnmarshalJSON is the custom unmarshaler for DeleteActivity struct. +func (da *DeleteActivity) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -54500,89 +56312,89 @@ func (ds *DynamicsSink) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "writeBehavior": + case "typeProperties": if v != nil { - var writeBehavior string - err = json.Unmarshal(*v, &writeBehavior) + var deleteActivityTypeProperties DeleteActivityTypeProperties + err = json.Unmarshal(*v, &deleteActivityTypeProperties) if err != nil { return err } - ds.WriteBehavior = &writeBehavior + da.DeleteActivityTypeProperties = &deleteActivityTypeProperties } - case "ignoreNullValues": + case "linkedServiceName": if v != nil { - var ignoreNullValues interface{} - err = json.Unmarshal(*v, &ignoreNullValues) + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) if err != nil { return err } - ds.IgnoreNullValues = ignoreNullValues + da.LinkedServiceName = &linkedServiceName } - default: + case "policy": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var policy ActivityPolicy + err = json.Unmarshal(*v, &policy) if err != nil { return err } - if ds.AdditionalProperties == nil { - ds.AdditionalProperties = make(map[string]interface{}) - } - ds.AdditionalProperties[k] = additionalProperties + da.Policy = &policy } - case "writeBatchSize": + default: if v != nil { - var writeBatchSize interface{} - err = json.Unmarshal(*v, &writeBatchSize) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - ds.WriteBatchSize = writeBatchSize + if da.AdditionalProperties == nil { + da.AdditionalProperties = make(map[string]interface{}) + } + da.AdditionalProperties[k] = additionalProperties } - case "writeBatchTimeout": + case "name": if v != nil { - var writeBatchTimeout interface{} - err = json.Unmarshal(*v, &writeBatchTimeout) + var name string + err = json.Unmarshal(*v, &name) if err != nil { return err } - ds.WriteBatchTimeout = writeBatchTimeout + da.Name = &name } - case "sinkRetryCount": + case "description": if v != nil { - var sinkRetryCount interface{} - err = json.Unmarshal(*v, &sinkRetryCount) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - ds.SinkRetryCount = sinkRetryCount + da.Description = &description } - case "sinkRetryWait": + case "dependsOn": if v != nil { - var sinkRetryWait interface{} - err = json.Unmarshal(*v, &sinkRetryWait) + var dependsOn []ActivityDependency + err = json.Unmarshal(*v, &dependsOn) if err != nil { return err } - ds.SinkRetryWait = sinkRetryWait + da.DependsOn = &dependsOn } - case "maxConcurrentConnections": + case "userProperties": if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) + var userProperties []UserProperty + err = json.Unmarshal(*v, &userProperties) if err != nil { return err } - ds.MaxConcurrentConnections = maxConcurrentConnections + da.UserProperties = &userProperties } case "type": if v != nil { - var typeVar TypeBasicCopySink + var typeVar TypeBasicActivity err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - ds.Type = typeVar + da.Type = typeVar } } } @@ -54590,389 +56402,483 @@ func (ds *DynamicsSink) UnmarshalJSON(body []byte) error { return nil } -// DynamicsSource a copy activity Dynamics source. -type DynamicsSource struct { - // Query - FetchXML is a proprietary query language that is used in Microsoft Dynamics (online & on-premises). Type: string (or Expression with resultType string). - Query interface{} `json:"query,omitempty"` +// DeleteActivityTypeProperties delete activity properties. +type DeleteActivityTypeProperties struct { + // Recursive - If true, files or sub-folders under current folder path will be deleted recursively. Default is false. Type: boolean (or Expression with resultType boolean). + Recursive interface{} `json:"recursive,omitempty"` + // MaxConcurrentConnections - The max concurrent connections to connect data source at the same time. + MaxConcurrentConnections *int32 `json:"maxConcurrentConnections,omitempty"` + // EnableLogging - Whether to record detailed logs of delete-activity execution. Default value is false. Type: boolean (or Expression with resultType boolean). + EnableLogging interface{} `json:"enableLogging,omitempty"` + // LogStorageSettings - Log storage settings customer need to provide when enableLogging is true. + LogStorageSettings *LogStorageSettings `json:"logStorageSettings,omitempty"` + // Dataset - Delete activity dataset reference. + Dataset *DatasetReference `json:"dataset,omitempty"` +} + +// DelimitedTextDataset delimited text dataset. +type DelimitedTextDataset struct { + // DelimitedTextDatasetTypeProperties - Delimited text dataset properties. + *DelimitedTextDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). - SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` - // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' - Type TypeBasicCopySource `json:"type,omitempty"` + // Description - Dataset description. + Description *string `json:"description,omitempty"` + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for DynamicsSource. -func (ds DynamicsSource) MarshalJSON() ([]byte, error) { - ds.Type = TypeDynamicsSource +// MarshalJSON is the custom marshaler for DelimitedTextDataset. +func (dtd DelimitedTextDataset) MarshalJSON() ([]byte, error) { + dtd.Type = TypeDelimitedText objectMap := make(map[string]interface{}) - if ds.Query != nil { - objectMap["query"] = ds.Query + if dtd.DelimitedTextDatasetTypeProperties != nil { + objectMap["typeProperties"] = dtd.DelimitedTextDatasetTypeProperties } - if ds.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = ds.SourceRetryCount + if dtd.Description != nil { + objectMap["description"] = dtd.Description } - if ds.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = ds.SourceRetryWait + if dtd.Structure != nil { + objectMap["structure"] = dtd.Structure } - if ds.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = ds.MaxConcurrentConnections + if dtd.Schema != nil { + objectMap["schema"] = dtd.Schema } - if ds.Type != "" { - objectMap["type"] = ds.Type + if dtd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = dtd.LinkedServiceName } - for k, v := range ds.AdditionalProperties { + if dtd.Parameters != nil { + objectMap["parameters"] = dtd.Parameters + } + if dtd.Annotations != nil { + objectMap["annotations"] = dtd.Annotations + } + if dtd.Folder != nil { + objectMap["folder"] = dtd.Folder + } + if dtd.Type != "" { + objectMap["type"] = dtd.Type + } + for k, v := range dtd.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsVerticaSource() (*VerticaSource, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsZohoSource() (*ZohoSource, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsXeroSource() (*XeroSource, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsSquareSource() (*SquareSource, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsSparkSource() (*SparkSource, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsShopifySource() (*ShopifySource, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsPrestoSource() (*PrestoSource, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsPaypalSource() (*PaypalSource, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsMarketoSource() (*MarketoSource, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsMagentoSource() (*MagentoSource, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsJiraSource() (*JiraSource, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsHubspotSource() (*HubspotSource, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsHiveSource() (*HiveSource, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsHBaseSource() (*HBaseSource, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsEloquaSource() (*EloquaSource, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsDrillSource() (*DrillSource, bool) { +// AsDrillTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsConcurSource() (*ConcurSource, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsHTTPSource() (*HTTPSource, bool) { +// AsHTTPDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsWebTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsOffice365Source() (*Office365Source, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsRestResourceDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsCassandraSource() (*CassandraSource, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsWebSource() (*WebSource, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsOracleSource() (*OracleSource, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsHdfsSource() (*HdfsSource, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsInformixTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsSQLSource() (*SQLSource, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsRestSource() (*RestSource, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsSapTableSource() (*SapTableSource, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsOracleTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsODataResourceDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsSapEccSource() (*SapEccSource, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsRelationalSource() (*RelationalSource, bool) { +// AsFileShareDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsDynamicsSource() (*DynamicsSource, bool) { - return &ds, true +// AsOffice365Dataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsOffice365Dataset() (*Office365Dataset, bool) { + return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsBlobSource() (*BlobSource, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsParquetSource() (*ParquetSource, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsCopySource() (*CopySource, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsBasicCopySource() (BasicCopySource, bool) { - return &ds, true +// AsCustomDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsCustomDataset() (*CustomDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for DynamicsSource struct. -func (ds *DynamicsSource) UnmarshalJSON(body []byte) error { +// AsCassandraTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { + return nil, false +} + +// AsAzureSQLDWTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { + return nil, false +} + +// AsAzureSQLMITableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + +// AsAzureSQLTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { + return nil, false +} + +// AsAzureTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { + return nil, false +} + +// AsAzureBlobDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { + return nil, false +} + +// AsBinaryDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + +// AsDelimitedTextDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { + return &dtd, true +} + +// AsParquetDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsBasicDataset() (BasicDataset, bool) { + return &dtd, true +} + +// UnmarshalJSON is the custom unmarshaler for DelimitedTextDataset struct. +func (dtd *DelimitedTextDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -54980,14 +56886,14 @@ func (ds *DynamicsSource) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "query": + case "typeProperties": if v != nil { - var query interface{} - err = json.Unmarshal(*v, &query) + var delimitedTextDatasetTypeProperties DelimitedTextDatasetTypeProperties + err = json.Unmarshal(*v, &delimitedTextDatasetTypeProperties) if err != nil { return err } - ds.Query = query + dtd.DelimitedTextDatasetTypeProperties = &delimitedTextDatasetTypeProperties } default: if v != nil { @@ -54996,46 +56902,82 @@ func (ds *DynamicsSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - if ds.AdditionalProperties == nil { - ds.AdditionalProperties = make(map[string]interface{}) + if dtd.AdditionalProperties == nil { + dtd.AdditionalProperties = make(map[string]interface{}) } - ds.AdditionalProperties[k] = additionalProperties + dtd.AdditionalProperties[k] = additionalProperties } - case "sourceRetryCount": + case "description": if v != nil { - var sourceRetryCount interface{} - err = json.Unmarshal(*v, &sourceRetryCount) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - ds.SourceRetryCount = sourceRetryCount + dtd.Description = &description } - case "sourceRetryWait": + case "structure": if v != nil { - var sourceRetryWait interface{} - err = json.Unmarshal(*v, &sourceRetryWait) + var structure interface{} + err = json.Unmarshal(*v, &structure) if err != nil { return err } - ds.SourceRetryWait = sourceRetryWait + dtd.Structure = structure } - case "maxConcurrentConnections": + case "schema": if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) + var schema interface{} + err = json.Unmarshal(*v, &schema) if err != nil { return err } - ds.MaxConcurrentConnections = maxConcurrentConnections + dtd.Schema = schema } - case "type": + case "linkedServiceName": if v != nil { - var typeVar TypeBasicCopySource + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + dtd.LinkedServiceName = &linkedServiceName + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + dtd.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + dtd.Annotations = &annotations + } + case "folder": + if v != nil { + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) + if err != nil { + return err + } + dtd.Folder = &folder + } + case "type": + if v != nil { + var typeVar TypeBasicDataset err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - ds.Type = typeVar + dtd.Type = typeVar } } } @@ -55043,484 +56985,867 @@ func (ds *DynamicsSource) UnmarshalJSON(body []byte) error { return nil } -// EloquaLinkedService eloqua server linked service. -type EloquaLinkedService struct { - // EloquaLinkedServiceTypeProperties - Eloqua server linked service properties. - *EloquaLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// DelimitedTextDatasetTypeProperties delimitedText dataset properties. +type DelimitedTextDatasetTypeProperties struct { + // Location - The location of the delimited text storage. + Location *DatasetLocation `json:"location,omitempty"` + // ColumnDelimiter - The column delimiter. Type: string (or Expression with resultType string). + ColumnDelimiter interface{} `json:"columnDelimiter,omitempty"` + // RowDelimiter - The row delimiter. Type: string (or Expression with resultType string). + RowDelimiter interface{} `json:"rowDelimiter,omitempty"` + // EncodingName - The code page name of the preferred encoding. If miss, 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). + EncodingName interface{} `json:"encodingName,omitempty"` + CompressionCodec interface{} `json:"compressionCodec,omitempty"` + // CompressionLevel - The data compression method used for DelimitedText. + CompressionLevel interface{} `json:"compressionLevel,omitempty"` + // QuoteChar - The quote character. Type: string (or Expression with resultType string). + QuoteChar interface{} `json:"quoteChar,omitempty"` + // EscapeChar - The escape character. Type: string (or Expression with resultType string). + EscapeChar interface{} `json:"escapeChar,omitempty"` + // FirstRowAsHeader - 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). + FirstRowAsHeader interface{} `json:"firstRowAsHeader,omitempty"` + // NullValue - The null value string. Type: string (or Expression with resultType string). + NullValue interface{} `json:"nullValue,omitempty"` +} + +// DelimitedTextReadSettings delimited text read settings. +type DelimitedTextReadSettings struct { + // SkipLineCount - Indicates the number of non-empty rows to skip when reading data from input files. Type: integer (or Expression with resultType integer). + SkipLineCount interface{} `json:"skipLineCount,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. - Description *string `json:"description,omitempty"` - // Parameters - Parameters for linked service. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the linked service. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` + // Type - The read setting type. + Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for EloquaLinkedService. -func (els EloquaLinkedService) MarshalJSON() ([]byte, error) { - els.Type = TypeEloqua +// MarshalJSON is the custom marshaler for DelimitedTextReadSettings. +func (dtrs DelimitedTextReadSettings) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if els.EloquaLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = els.EloquaLinkedServiceTypeProperties + if dtrs.SkipLineCount != nil { + objectMap["skipLineCount"] = dtrs.SkipLineCount } - if els.ConnectVia != nil { - objectMap["connectVia"] = els.ConnectVia + if dtrs.Type != nil { + objectMap["type"] = dtrs.Type } - if els.Description != nil { - objectMap["description"] = els.Description + for k, v := range dtrs.AdditionalProperties { + objectMap[k] = v } - if els.Parameters != nil { - objectMap["parameters"] = els.Parameters + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for DelimitedTextReadSettings struct. +func (dtrs *DelimitedTextReadSettings) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err } - if els.Annotations != nil { - objectMap["annotations"] = els.Annotations + for k, v := range m { + switch k { + case "skipLineCount": + if v != nil { + var skipLineCount interface{} + err = json.Unmarshal(*v, &skipLineCount) + if err != nil { + return err + } + dtrs.SkipLineCount = skipLineCount + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if dtrs.AdditionalProperties == nil { + dtrs.AdditionalProperties = make(map[string]interface{}) + } + dtrs.AdditionalProperties[k] = additionalProperties + } + case "type": + if v != nil { + var typeVar string + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + dtrs.Type = &typeVar + } + } } - if els.Type != "" { - objectMap["type"] = els.Type + + return nil +} + +// DelimitedTextSink a copy activity DelimitedText sink. +type DelimitedTextSink struct { + // StoreSettings - DelimitedText store settings. + StoreSettings *StoreWriteSettings `json:"storeSettings,omitempty"` + // FormatSettings - DelimitedText format settings. + FormatSettings *DelimitedTextWriteSettings `json:"formatSettings,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + WriteBatchSize interface{} `json:"writeBatchSize,omitempty"` + // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"` + // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer). + SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"` + // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink' + Type TypeBasicCopySink `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for DelimitedTextSink. +func (dts DelimitedTextSink) MarshalJSON() ([]byte, error) { + dts.Type = TypeDelimitedTextSink + objectMap := make(map[string]interface{}) + if dts.StoreSettings != nil { + objectMap["storeSettings"] = dts.StoreSettings } - for k, v := range els.AdditionalProperties { + if dts.FormatSettings != nil { + objectMap["formatSettings"] = dts.FormatSettings + } + if dts.WriteBatchSize != nil { + objectMap["writeBatchSize"] = dts.WriteBatchSize + } + if dts.WriteBatchTimeout != nil { + objectMap["writeBatchTimeout"] = dts.WriteBatchTimeout + } + if dts.SinkRetryCount != nil { + objectMap["sinkRetryCount"] = dts.SinkRetryCount + } + if dts.SinkRetryWait != nil { + objectMap["sinkRetryWait"] = dts.SinkRetryWait + } + if dts.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = dts.MaxConcurrentConnections + } + if dts.Type != "" { + objectMap["type"] = dts.Type + } + for k, v := range dts.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { +// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { return nil, false } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { return nil, false } -// AsSapTableLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsSalesforceSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsSalesforceSink() (*SalesforceSink, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsAzureDataExplorerSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsDynamicsCrmSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsDynamicsSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsDynamicsSink() (*DynamicsSink, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsMicrosoftAccessSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsInformixSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsInformixSink() (*InformixSink, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsOdbcSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsOdbcSink() (*OdbcSink, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsAzureSearchIndexSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsAzureBlobFSSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsOracleSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsOracleSink() (*OracleSink, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsSQLDWSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsSQLMISink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsSQLMISink() (*SQLMISink, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsAzureSQLSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsAzureSQLSink() (*AzureSQLSink, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsSQLServerSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsSQLServerSink() (*SQLServerSink, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsSQLSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsSQLSink() (*SQLSink, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsDocumentDbCollectionSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsFileSystemSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsFileSystemSink() (*FileSystemSink, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsBlobSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsBlobSink() (*BlobSink, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsBinarySink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsBinarySink() (*BinarySink, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsParquetSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsParquetSink() (*ParquetSink, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsAzureTableSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsAzureTableSink() (*AzureTableSink, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsAzureQueueSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsAzureQueueSink() (*AzureQueueSink, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsSapCloudForCustomerSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsAzurePostgreSQLSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsDelimitedTextSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { + return &dts, true +} + +// AsCopySink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsCopySink() (*CopySink, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsBasicCopySink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsBasicCopySink() (BasicCopySink, bool) { + return &dts, true +} + +// UnmarshalJSON is the custom unmarshaler for DelimitedTextSink struct. +func (dts *DelimitedTextSink) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "storeSettings": + if v != nil { + var storeSettings StoreWriteSettings + err = json.Unmarshal(*v, &storeSettings) + if err != nil { + return err + } + dts.StoreSettings = &storeSettings + } + case "formatSettings": + if v != nil { + var formatSettings DelimitedTextWriteSettings + err = json.Unmarshal(*v, &formatSettings) + if err != nil { + return err + } + dts.FormatSettings = &formatSettings + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if dts.AdditionalProperties == nil { + dts.AdditionalProperties = make(map[string]interface{}) + } + dts.AdditionalProperties[k] = additionalProperties + } + case "writeBatchSize": + if v != nil { + var writeBatchSize interface{} + err = json.Unmarshal(*v, &writeBatchSize) + if err != nil { + return err + } + dts.WriteBatchSize = writeBatchSize + } + case "writeBatchTimeout": + if v != nil { + var writeBatchTimeout interface{} + err = json.Unmarshal(*v, &writeBatchTimeout) + if err != nil { + return err + } + dts.WriteBatchTimeout = writeBatchTimeout + } + case "sinkRetryCount": + if v != nil { + var sinkRetryCount interface{} + err = json.Unmarshal(*v, &sinkRetryCount) + if err != nil { + return err + } + dts.SinkRetryCount = sinkRetryCount + } + case "sinkRetryWait": + if v != nil { + var sinkRetryWait interface{} + err = json.Unmarshal(*v, &sinkRetryWait) + if err != nil { + return err + } + dts.SinkRetryWait = sinkRetryWait + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + dts.MaxConcurrentConnections = maxConcurrentConnections + } + case "type": + if v != nil { + var typeVar TypeBasicCopySink + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + dts.Type = typeVar + } + } + } + + return nil +} + +// DelimitedTextSource a copy activity DelimitedText source. +type DelimitedTextSource struct { + // StoreSettings - DelimitedText store settings. + StoreSettings *StoreReadSettings `json:"storeSettings,omitempty"` + // FormatSettings - DelimitedText format settings. + FormatSettings *DelimitedTextReadSettings `json:"formatSettings,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + Type TypeBasicCopySource `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for DelimitedTextSource. +func (dts DelimitedTextSource) MarshalJSON() ([]byte, error) { + dts.Type = TypeDelimitedTextSource + objectMap := make(map[string]interface{}) + if dts.StoreSettings != nil { + objectMap["storeSettings"] = dts.StoreSettings + } + if dts.FormatSettings != nil { + objectMap["formatSettings"] = dts.FormatSettings + } + if dts.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = dts.SourceRetryCount + } + if dts.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = dts.SourceRetryWait + } + if dts.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = dts.MaxConcurrentConnections + } + if dts.Type != "" { + objectMap["type"] = dts.Type + } + for k, v := range dts.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAmazonRedshiftSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { - return &els, true +// AsResponsysSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsResponsysSource() (*ResponsysSource, bool) { + return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsVerticaSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsNetezzaSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsZohoSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsXeroSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsSquareSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsSparkSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsShopifySource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsServiceNowSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsPrestoSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsPhoenixSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsPaypalSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsMarketoSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsMariaDBSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsMagentoSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsJiraSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsImpalaSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsHubspotSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsHiveSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsHBaseSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsGreenplumSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsEloquaSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsDrillSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsConcurSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsHTTPSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsOffice365Source is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsMongoDbSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsCassandraSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsWebSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsTeradataSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsOracleSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsHdfsSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsFileSystemSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsSQLDWSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsSQLMISource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsSQLServerSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsSQLSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsRestSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsSapTableSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &els, true +// AsSapOpenHubSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for EloquaLinkedService struct. -func (els *EloquaLinkedService) UnmarshalJSON(body []byte) error { +// AsSapHanaSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsSapHanaSource() (*SapHanaSource, bool) { + return nil, false +} + +// AsSapEccSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsSapEccSource() (*SapEccSource, bool) { + return nil, false +} + +// AsSapCloudForCustomerSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsSalesforceSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsSalesforceSource() (*SalesforceSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsSybaseSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsSybaseSource() (*SybaseSource, bool) { + return nil, false +} + +// AsPostgreSQLSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false +} + +// AsMySQLSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false +} + +// AsOdbcSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false +} + +// AsDb2Source is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsDb2Source() (*Db2Source, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + +// AsRelationalSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + +// AsDynamicsSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + +// AsAzureTableSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsBinarySource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsDelimitedTextSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return &dts, true +} + +// AsParquetSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsBasicCopySource() (BasicCopySource, bool) { + return &dts, true +} + +// UnmarshalJSON is the custom unmarshaler for DelimitedTextSource struct. +func (dts *DelimitedTextSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -55528,71 +57853,71 @@ func (els *EloquaLinkedService) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": + case "storeSettings": if v != nil { - var eloquaLinkedServiceTypeProperties EloquaLinkedServiceTypeProperties - err = json.Unmarshal(*v, &eloquaLinkedServiceTypeProperties) + var storeSettings StoreReadSettings + err = json.Unmarshal(*v, &storeSettings) if err != nil { return err } - els.EloquaLinkedServiceTypeProperties = &eloquaLinkedServiceTypeProperties + dts.StoreSettings = &storeSettings } - default: + case "formatSettings": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var formatSettings DelimitedTextReadSettings + err = json.Unmarshal(*v, &formatSettings) if err != nil { return err } - if els.AdditionalProperties == nil { - els.AdditionalProperties = make(map[string]interface{}) - } - els.AdditionalProperties[k] = additionalProperties + dts.FormatSettings = &formatSettings } - case "connectVia": + default: if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - els.ConnectVia = &connectVia + if dts.AdditionalProperties == nil { + dts.AdditionalProperties = make(map[string]interface{}) + } + dts.AdditionalProperties[k] = additionalProperties } - case "description": + case "sourceRetryCount": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) if err != nil { return err } - els.Description = &description + dts.SourceRetryCount = sourceRetryCount } - case "parameters": + case "sourceRetryWait": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) if err != nil { return err } - els.Parameters = parameters + dts.SourceRetryWait = sourceRetryWait } - case "annotations": + case "maxConcurrentConnections": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) if err != nil { return err } - els.Annotations = &annotations + dts.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicLinkedService + var typeVar TypeBasicCopySource err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - els.Type = typeVar + dts.Type = typeVar } } } @@ -55600,26 +57925,38 @@ func (els *EloquaLinkedService) UnmarshalJSON(body []byte) error { return nil } -// EloquaLinkedServiceTypeProperties eloqua server linked service properties. -type EloquaLinkedServiceTypeProperties struct { - // Endpoint - The endpoint of the Eloqua server. (i.e. eloqua.example.com) - Endpoint interface{} `json:"endpoint,omitempty"` - // Username - The site name and user name of your Eloqua account in the form: sitename/username. (i.e. Eloqua/Alice) - Username interface{} `json:"username,omitempty"` - // Password - The password corresponding to the user name. - Password BasicSecretBase `json:"password,omitempty"` - // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. - UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"` - // UseHostVerification - 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. - UseHostVerification interface{} `json:"useHostVerification,omitempty"` - // UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. - UsePeerVerification interface{} `json:"usePeerVerification,omitempty"` - // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). - EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` +// DelimitedTextWriteSettings delimited text write settings. +type DelimitedTextWriteSettings struct { + // QuoteAllText - Indicates whether string values should always be enclosed with quotes. Type: boolean (or Expression with resultType boolean). + QuoteAllText interface{} `json:"quoteAllText,omitempty"` + // FileExtension - The file extension used to create the files. Type: string (or Expression with resultType string). + FileExtension interface{} `json:"fileExtension,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Type - The write setting type. + Type *string `json:"type,omitempty"` } -// UnmarshalJSON is the custom unmarshaler for EloquaLinkedServiceTypeProperties struct. -func (elstp *EloquaLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { +// MarshalJSON is the custom marshaler for DelimitedTextWriteSettings. +func (dtws DelimitedTextWriteSettings) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if dtws.QuoteAllText != nil { + objectMap["quoteAllText"] = dtws.QuoteAllText + } + if dtws.FileExtension != nil { + objectMap["fileExtension"] = dtws.FileExtension + } + if dtws.Type != nil { + objectMap["type"] = dtws.Type + } + for k, v := range dtws.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for DelimitedTextWriteSettings struct. +func (dtws *DelimitedTextWriteSettings) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -55627,67 +57964,44 @@ func (elstp *EloquaLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error } for k, v := range m { switch k { - case "endpoint": - if v != nil { - var endpoint interface{} - err = json.Unmarshal(*v, &endpoint) - if err != nil { - return err - } - elstp.Endpoint = endpoint - } - case "username": - if v != nil { - var username interface{} - err = json.Unmarshal(*v, &username) - if err != nil { - return err - } - elstp.Username = username - } - case "password": + case "quoteAllText": if v != nil { - password, err := unmarshalBasicSecretBase(*v) + var quoteAllText interface{} + err = json.Unmarshal(*v, "eAllText) if err != nil { return err } - elstp.Password = password + dtws.QuoteAllText = quoteAllText } - case "useEncryptedEndpoints": + case "fileExtension": if v != nil { - var useEncryptedEndpoints interface{} - err = json.Unmarshal(*v, &useEncryptedEndpoints) + var fileExtension interface{} + err = json.Unmarshal(*v, &fileExtension) if err != nil { return err } - elstp.UseEncryptedEndpoints = useEncryptedEndpoints + dtws.FileExtension = fileExtension } - case "useHostVerification": + default: if v != nil { - var useHostVerification interface{} - err = json.Unmarshal(*v, &useHostVerification) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - elstp.UseHostVerification = useHostVerification - } - case "usePeerVerification": - if v != nil { - var usePeerVerification interface{} - err = json.Unmarshal(*v, &usePeerVerification) - if err != nil { - return err + if dtws.AdditionalProperties == nil { + dtws.AdditionalProperties = make(map[string]interface{}) } - elstp.UsePeerVerification = usePeerVerification + dtws.AdditionalProperties[k] = additionalProperties } - case "encryptedCredential": + case "type": if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) + var typeVar string + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - elstp.EncryptedCredential = encryptedCredential + dtws.Type = &typeVar } } } @@ -55695,414 +58009,579 @@ func (elstp *EloquaLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error return nil } -// EloquaObjectDataset eloqua server dataset. -type EloquaObjectDataset struct { - // GenericDatasetTypeProperties - Properties specific to this dataset type. - *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Description - Dataset description. - Description *string `json:"description,omitempty"` - // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. - Structure interface{} `json:"structure,omitempty"` - // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - Schema interface{} `json:"schema,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Parameters - Parameters for dataset. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the Dataset. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' - Type TypeBasicDataset `json:"type,omitempty"` +// BasicDependencyReference referenced dependency. +type BasicDependencyReference interface { + AsSelfDependencyTumblingWindowTriggerReference() (*SelfDependencyTumblingWindowTriggerReference, bool) + AsTumblingWindowTriggerDependencyReference() (*TumblingWindowTriggerDependencyReference, bool) + AsTriggerDependencyReference() (*TriggerDependencyReference, bool) + AsBasicTriggerDependencyReference() (BasicTriggerDependencyReference, bool) + AsDependencyReference() (*DependencyReference, bool) } -// MarshalJSON is the custom marshaler for EloquaObjectDataset. -func (eod EloquaObjectDataset) MarshalJSON() ([]byte, error) { - eod.Type = TypeEloquaObject - objectMap := make(map[string]interface{}) - if eod.GenericDatasetTypeProperties != nil { - objectMap["typeProperties"] = eod.GenericDatasetTypeProperties - } - if eod.Description != nil { - objectMap["description"] = eod.Description - } - if eod.Structure != nil { - objectMap["structure"] = eod.Structure - } - if eod.Schema != nil { - objectMap["schema"] = eod.Schema - } - if eod.LinkedServiceName != nil { - objectMap["linkedServiceName"] = eod.LinkedServiceName - } - if eod.Parameters != nil { - objectMap["parameters"] = eod.Parameters - } - if eod.Annotations != nil { - objectMap["annotations"] = eod.Annotations - } - if eod.Folder != nil { - objectMap["folder"] = eod.Folder - } - if eod.Type != "" { - objectMap["type"] = eod.Type - } - for k, v := range eod.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// DependencyReference referenced dependency. +type DependencyReference struct { + // Type - Possible values include: 'TypeDependencyReference', 'TypeSelfDependencyTumblingWindowTriggerReference', 'TypeTumblingWindowTriggerDependencyReference', 'TypeTriggerDependencyReference' + Type TypeBasicDependencyReference `json:"type,omitempty"` } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { - return nil, false +func unmarshalBasicDependencyReference(body []byte) (BasicDependencyReference, error) { + var m map[string]interface{} + err := json.Unmarshal(body, &m) + if err != nil { + return nil, err + } + + switch m["type"] { + case string(TypeSelfDependencyTumblingWindowTriggerReference): + var sdtwtr SelfDependencyTumblingWindowTriggerReference + err := json.Unmarshal(body, &sdtwtr) + return sdtwtr, err + case string(TypeTumblingWindowTriggerDependencyReference): + var twtdr TumblingWindowTriggerDependencyReference + err := json.Unmarshal(body, &twtdr) + return twtdr, err + case string(TypeTriggerDependencyReference): + var tdr TriggerDependencyReference + err := json.Unmarshal(body, &tdr) + return tdr, err + default: + var dr DependencyReference + err := json.Unmarshal(body, &dr) + return dr, err + } } +func unmarshalBasicDependencyReferenceArray(body []byte) ([]BasicDependencyReference, error) { + var rawMessages []*json.RawMessage + err := json.Unmarshal(body, &rawMessages) + if err != nil { + return nil, err + } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { + drArray := make([]BasicDependencyReference, len(rawMessages)) + + for index, rawMessage := range rawMessages { + dr, err := unmarshalBasicDependencyReference(*rawMessage) + if err != nil { + return nil, err + } + drArray[index] = dr + } + return drArray, nil +} + +// MarshalJSON is the custom marshaler for DependencyReference. +func (dr DependencyReference) MarshalJSON() ([]byte, error) { + dr.Type = TypeDependencyReference + objectMap := make(map[string]interface{}) + if dr.Type != "" { + objectMap["type"] = dr.Type + } + return json.Marshal(objectMap) +} + +// AsSelfDependencyTumblingWindowTriggerReference is the BasicDependencyReference implementation for DependencyReference. +func (dr DependencyReference) AsSelfDependencyTumblingWindowTriggerReference() (*SelfDependencyTumblingWindowTriggerReference, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsTumblingWindowTriggerDependencyReference is the BasicDependencyReference implementation for DependencyReference. +func (dr DependencyReference) AsTumblingWindowTriggerDependencyReference() (*TumblingWindowTriggerDependencyReference, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsTriggerDependencyReference is the BasicDependencyReference implementation for DependencyReference. +func (dr DependencyReference) AsTriggerDependencyReference() (*TriggerDependencyReference, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsBasicTriggerDependencyReference is the BasicDependencyReference implementation for DependencyReference. +func (dr DependencyReference) AsBasicTriggerDependencyReference() (BasicTriggerDependencyReference, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsDependencyReference is the BasicDependencyReference implementation for DependencyReference. +func (dr DependencyReference) AsDependencyReference() (*DependencyReference, bool) { + return &dr, true +} + +// AsBasicDependencyReference is the BasicDependencyReference implementation for DependencyReference. +func (dr DependencyReference) AsBasicDependencyReference() (BasicDependencyReference, bool) { + return &dr, true +} + +// DistcpSettings distcp settings. +type DistcpSettings struct { + // ResourceManagerEndpoint - Specifies the Yarn ResourceManager endpoint. Type: string (or Expression with resultType string). + ResourceManagerEndpoint interface{} `json:"resourceManagerEndpoint,omitempty"` + // TempScriptPath - Specifies an existing folder path which will be used to store temp Distcp command script. The script file is generated by ADF and will be removed after Copy job finished. Type: string (or Expression with resultType string). + TempScriptPath interface{} `json:"tempScriptPath,omitempty"` + // DistcpOptions - Specifies the Distcp options. Type: string (or Expression with resultType string). + DistcpOptions interface{} `json:"distcpOptions,omitempty"` +} + +// DocumentDbCollectionDataset microsoft Azure Document Database Collection dataset. +type DocumentDbCollectionDataset struct { + // DocumentDbCollectionDatasetTypeProperties - DocumentDB Collection dataset properties. + *DocumentDbCollectionDatasetTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Description - Dataset description. + Description *string `json:"description,omitempty"` + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) MarshalJSON() ([]byte, error) { + ddcd.Type = TypeDocumentDbCollection + objectMap := make(map[string]interface{}) + if ddcd.DocumentDbCollectionDatasetTypeProperties != nil { + objectMap["typeProperties"] = ddcd.DocumentDbCollectionDatasetTypeProperties + } + if ddcd.Description != nil { + objectMap["description"] = ddcd.Description + } + if ddcd.Structure != nil { + objectMap["structure"] = ddcd.Structure + } + if ddcd.Schema != nil { + objectMap["schema"] = ddcd.Schema + } + if ddcd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = ddcd.LinkedServiceName + } + if ddcd.Parameters != nil { + objectMap["parameters"] = ddcd.Parameters + } + if ddcd.Annotations != nil { + objectMap["annotations"] = ddcd.Annotations + } + if ddcd.Folder != nil { + objectMap["folder"] = ddcd.Folder + } + if ddcd.Type != "" { + objectMap["type"] = ddcd.Type + } + for k, v := range ddcd.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { - return &eod, true +// AsHubspotObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { + return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsDrillTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsHTTPDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsWebTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsRestResourceDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsInformixTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsOracleTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsODataResourceDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsFileShareDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsOffice365Dataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsDataset() (*Dataset, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsBasicDataset() (BasicDataset, bool) { - return &eod, true +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for EloquaObjectDataset struct. -func (eod *EloquaObjectDataset) UnmarshalJSON(body []byte) error { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { + return nil, false +} + +// AsDynamicsEntityDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { + return nil, false +} + +// AsDocumentDbCollectionDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { + return &ddcd, true +} + +// AsCustomDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsCustomDataset() (*CustomDataset, bool) { + return nil, false +} + +// AsCassandraTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { + return nil, false +} + +// AsAzureSQLDWTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { + return nil, false +} + +// AsAzureSQLMITableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + +// AsAzureSQLTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { + return nil, false +} + +// AsAzureTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { + return nil, false +} + +// AsAzureBlobDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { + return nil, false +} + +// AsBinaryDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + +// AsDelimitedTextDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { + return nil, false +} + +// AsParquetDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsBasicDataset() (BasicDataset, bool) { + return &ddcd, true +} + +// UnmarshalJSON is the custom unmarshaler for DocumentDbCollectionDataset struct. +func (ddcd *DocumentDbCollectionDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -56112,12 +58591,12 @@ func (eod *EloquaObjectDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var genericDatasetTypeProperties GenericDatasetTypeProperties - err = json.Unmarshal(*v, &genericDatasetTypeProperties) + var documentDbCollectionDatasetTypeProperties DocumentDbCollectionDatasetTypeProperties + err = json.Unmarshal(*v, &documentDbCollectionDatasetTypeProperties) if err != nil { return err } - eod.GenericDatasetTypeProperties = &genericDatasetTypeProperties + ddcd.DocumentDbCollectionDatasetTypeProperties = &documentDbCollectionDatasetTypeProperties } default: if v != nil { @@ -56126,10 +58605,10 @@ func (eod *EloquaObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if eod.AdditionalProperties == nil { - eod.AdditionalProperties = make(map[string]interface{}) + if ddcd.AdditionalProperties == nil { + ddcd.AdditionalProperties = make(map[string]interface{}) } - eod.AdditionalProperties[k] = additionalProperties + ddcd.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -56138,7 +58617,7 @@ func (eod *EloquaObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - eod.Description = &description + ddcd.Description = &description } case "structure": if v != nil { @@ -56147,7 +58626,7 @@ func (eod *EloquaObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - eod.Structure = structure + ddcd.Structure = structure } case "schema": if v != nil { @@ -56156,7 +58635,7 @@ func (eod *EloquaObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - eod.Schema = schema + ddcd.Schema = schema } case "linkedServiceName": if v != nil { @@ -56165,7 +58644,7 @@ func (eod *EloquaObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - eod.LinkedServiceName = &linkedServiceName + ddcd.LinkedServiceName = &linkedServiceName } case "parameters": if v != nil { @@ -56174,7 +58653,7 @@ func (eod *EloquaObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - eod.Parameters = parameters + ddcd.Parameters = parameters } case "annotations": if v != nil { @@ -56183,7 +58662,7 @@ func (eod *EloquaObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - eod.Annotations = &annotations + ddcd.Annotations = &annotations } case "folder": if v != nil { @@ -56192,7 +58671,7 @@ func (eod *EloquaObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - eod.Folder = &folder + ddcd.Folder = &folder } case "type": if v != nil { @@ -56201,7 +58680,7 @@ func (eod *EloquaObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - eod.Type = typeVar + ddcd.Type = typeVar } } } @@ -56209,695 +58688,780 @@ func (eod *EloquaObjectDataset) UnmarshalJSON(body []byte) error { return nil } -// EloquaSource a copy activity Eloqua server source. -type EloquaSource struct { - // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). - Query interface{} `json:"query,omitempty"` +// DocumentDbCollectionDatasetTypeProperties documentDB Collection dataset properties. +type DocumentDbCollectionDatasetTypeProperties struct { + // CollectionName - Document Database collection name. Type: string (or Expression with resultType string). + CollectionName interface{} `json:"collectionName,omitempty"` +} + +// DocumentDbCollectionSink a copy activity Document Database Collection sink. +type DocumentDbCollectionSink struct { + // NestingSeparator - Nested properties separator. Default is . (dot). Type: string (or Expression with resultType string). + NestingSeparator interface{} `json:"nestingSeparator,omitempty"` + // WriteBehavior - Describes how to write data to Azure Cosmos DB. Allowed values: insert and upsert. + WriteBehavior interface{} `json:"writeBehavior,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). - SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` - // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + WriteBatchSize interface{} `json:"writeBatchSize,omitempty"` + // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"` + // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer). + SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"` + // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' - Type TypeBasicCopySource `json:"type,omitempty"` + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink' + Type TypeBasicCopySink `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for EloquaSource. -func (es EloquaSource) MarshalJSON() ([]byte, error) { - es.Type = TypeEloquaSource +// MarshalJSON is the custom marshaler for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) MarshalJSON() ([]byte, error) { + ddcs.Type = TypeDocumentDbCollectionSink objectMap := make(map[string]interface{}) - if es.Query != nil { - objectMap["query"] = es.Query + if ddcs.NestingSeparator != nil { + objectMap["nestingSeparator"] = ddcs.NestingSeparator } - if es.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = es.SourceRetryCount + if ddcs.WriteBehavior != nil { + objectMap["writeBehavior"] = ddcs.WriteBehavior } - if es.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = es.SourceRetryWait + if ddcs.WriteBatchSize != nil { + objectMap["writeBatchSize"] = ddcs.WriteBatchSize } - if es.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = es.MaxConcurrentConnections + if ddcs.WriteBatchTimeout != nil { + objectMap["writeBatchTimeout"] = ddcs.WriteBatchTimeout } - if es.Type != "" { - objectMap["type"] = es.Type + if ddcs.SinkRetryCount != nil { + objectMap["sinkRetryCount"] = ddcs.SinkRetryCount } - for k, v := range es.AdditionalProperties { + if ddcs.SinkRetryWait != nil { + objectMap["sinkRetryWait"] = ddcs.SinkRetryWait + } + if ddcs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = ddcs.MaxConcurrentConnections + } + if ddcs.Type != "" { + objectMap["type"] = ddcs.Type + } + for k, v := range ddcs.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsSalesforceSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsSalesforceSink() (*SalesforceSink, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsAzureDataExplorerSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsDynamicsCrmSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsVerticaSource() (*VerticaSource, bool) { +// AsDynamicsSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsDynamicsSink() (*DynamicsSink, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsMicrosoftAccessSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsZohoSource() (*ZohoSource, bool) { +// AsInformixSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsInformixSink() (*InformixSink, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsXeroSource() (*XeroSource, bool) { +// AsOdbcSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsOdbcSink() (*OdbcSink, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsSquareSource() (*SquareSource, bool) { +// AsAzureSearchIndexSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsSparkSource() (*SparkSource, bool) { +// AsAzureBlobFSSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsShopifySource() (*ShopifySource, bool) { +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsOracleSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsOracleSink() (*OracleSink, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsSQLDWSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsPrestoSource() (*PrestoSource, bool) { +// AsSQLMISink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsSQLMISink() (*SQLMISink, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsAzureSQLSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsAzureSQLSink() (*AzureSQLSink, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsPaypalSource() (*PaypalSource, bool) { +// AsSQLServerSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsSQLServerSink() (*SQLServerSink, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsMarketoSource() (*MarketoSource, bool) { +// AsSQLSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsSQLSink() (*SQLSink, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsDocumentDbCollectionSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { + return &ddcs, true +} + +// AsFileSystemSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsFileSystemSink() (*FileSystemSink, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsMagentoSource() (*MagentoSource, bool) { +// AsBlobSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsBlobSink() (*BlobSink, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsJiraSource() (*JiraSource, bool) { +// AsBinarySink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsBinarySink() (*BinarySink, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsParquetSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsParquetSink() (*ParquetSink, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsHubspotSource() (*HubspotSource, bool) { +// AsAzureTableSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsAzureTableSink() (*AzureTableSink, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsHiveSource() (*HiveSource, bool) { +// AsAzureQueueSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsAzureQueueSink() (*AzureQueueSink, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsHBaseSource() (*HBaseSource, bool) { +// AsSapCloudForCustomerSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsAzurePostgreSQLSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsDelimitedTextSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsEloquaSource() (*EloquaSource, bool) { - return &es, true +// AsCopySink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsCopySink() (*CopySink, bool) { + return nil, false } -// AsDrillSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsDrillSource() (*DrillSource, bool) { +// AsBasicCopySink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsBasicCopySink() (BasicCopySink, bool) { + return &ddcs, true +} + +// UnmarshalJSON is the custom unmarshaler for DocumentDbCollectionSink struct. +func (ddcs *DocumentDbCollectionSink) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "nestingSeparator": + if v != nil { + var nestingSeparator interface{} + err = json.Unmarshal(*v, &nestingSeparator) + if err != nil { + return err + } + ddcs.NestingSeparator = nestingSeparator + } + case "writeBehavior": + if v != nil { + var writeBehavior interface{} + err = json.Unmarshal(*v, &writeBehavior) + if err != nil { + return err + } + ddcs.WriteBehavior = writeBehavior + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if ddcs.AdditionalProperties == nil { + ddcs.AdditionalProperties = make(map[string]interface{}) + } + ddcs.AdditionalProperties[k] = additionalProperties + } + case "writeBatchSize": + if v != nil { + var writeBatchSize interface{} + err = json.Unmarshal(*v, &writeBatchSize) + if err != nil { + return err + } + ddcs.WriteBatchSize = writeBatchSize + } + case "writeBatchTimeout": + if v != nil { + var writeBatchTimeout interface{} + err = json.Unmarshal(*v, &writeBatchTimeout) + if err != nil { + return err + } + ddcs.WriteBatchTimeout = writeBatchTimeout + } + case "sinkRetryCount": + if v != nil { + var sinkRetryCount interface{} + err = json.Unmarshal(*v, &sinkRetryCount) + if err != nil { + return err + } + ddcs.SinkRetryCount = sinkRetryCount + } + case "sinkRetryWait": + if v != nil { + var sinkRetryWait interface{} + err = json.Unmarshal(*v, &sinkRetryWait) + if err != nil { + return err + } + ddcs.SinkRetryWait = sinkRetryWait + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + ddcs.MaxConcurrentConnections = maxConcurrentConnections + } + case "type": + if v != nil { + var typeVar TypeBasicCopySink + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + ddcs.Type = typeVar + } + } + } + + return nil +} + +// DocumentDbCollectionSource a copy activity Document Database Collection source. +type DocumentDbCollectionSource struct { + // Query - Documents query. Type: string (or Expression with resultType string). + Query interface{} `json:"query,omitempty"` + // NestingSeparator - Nested properties separator. Type: string (or Expression with resultType string). + NestingSeparator interface{} `json:"nestingSeparator,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + Type TypeBasicCopySource `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) MarshalJSON() ([]byte, error) { + ddcs.Type = TypeDocumentDbCollectionSource + objectMap := make(map[string]interface{}) + if ddcs.Query != nil { + objectMap["query"] = ddcs.Query + } + if ddcs.NestingSeparator != nil { + objectMap["nestingSeparator"] = ddcs.NestingSeparator + } + if ddcs.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = ddcs.SourceRetryCount + } + if ddcs.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = ddcs.SourceRetryWait + } + if ddcs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = ddcs.MaxConcurrentConnections + } + if ddcs.Type != "" { + objectMap["type"] = ddcs.Type + } + for k, v := range ddcs.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAmazonRedshiftSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsConcurSource() (*ConcurSource, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsResponsysSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsHTTPSource() (*HTTPSource, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsVerticaSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsNetezzaSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsOffice365Source() (*Office365Source, bool) { +// AsZohoSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsXeroSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsSquareSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsSparkSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsCassandraSource() (*CassandraSource, bool) { +// AsShopifySource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsWebSource() (*WebSource, bool) { +// AsServiceNowSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsOracleSource() (*OracleSource, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsPrestoSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsPhoenixSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsHdfsSource() (*HdfsSource, bool) { +// AsPaypalSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsMarketoSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsMariaDBSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsMagentoSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsJiraSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsSQLSource() (*SQLSource, bool) { +// AsImpalaSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsRestSource() (*RestSource, bool) { +// AsHubspotSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsSapTableSource() (*SapTableSource, bool) { +// AsHiveSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsHBaseSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsGreenplumSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsSapEccSource() (*SapEccSource, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsEloquaSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsDrillSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsRelationalSource() (*RelationalSource, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsConcurSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsBlobSource() (*BlobSource, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsHTTPSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsParquetSource() (*ParquetSource, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsCopySource() (*CopySource, bool) { +// AsOffice365Source is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsBasicCopySource() (BasicCopySource, bool) { - return &es, true +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for EloquaSource struct. -func (es *EloquaSource) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "query": - if v != nil { - var query interface{} - err = json.Unmarshal(*v, &query) - if err != nil { - return err - } - es.Query = query - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if es.AdditionalProperties == nil { - es.AdditionalProperties = make(map[string]interface{}) - } - es.AdditionalProperties[k] = additionalProperties - } - case "sourceRetryCount": - if v != nil { - var sourceRetryCount interface{} - err = json.Unmarshal(*v, &sourceRetryCount) - if err != nil { - return err - } - es.SourceRetryCount = sourceRetryCount - } - case "sourceRetryWait": - if v != nil { - var sourceRetryWait interface{} - err = json.Unmarshal(*v, &sourceRetryWait) - if err != nil { - return err - } - es.SourceRetryWait = sourceRetryWait - } - case "maxConcurrentConnections": - if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) - if err != nil { - return err - } - es.MaxConcurrentConnections = maxConcurrentConnections - } - case "type": - if v != nil { - var typeVar TypeBasicCopySource - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - es.Type = typeVar - } - } - } +// AsMongoDbV2Source is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} - return nil +// AsMongoDbSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false } -// EntityReference the entity reference. -type EntityReference struct { - // Type - The type of this referenced entity. Possible values include: 'IntegrationRuntimeEntityReferenceTypeIntegrationRuntimeReference', 'IntegrationRuntimeEntityReferenceTypeLinkedServiceReference' - Type IntegrationRuntimeEntityReferenceType `json:"type,omitempty"` - // ReferenceName - The name of this referenced entity. - ReferenceName *string `json:"referenceName,omitempty"` +// AsCassandraSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsCassandraSource() (*CassandraSource, bool) { + return nil, false } -// ExecutePipelineActivity execute pipeline activity. -type ExecutePipelineActivity struct { - // ExecutePipelineActivityTypeProperties - Execute pipeline activity properties. - *ExecutePipelineActivityTypeProperties `json:"typeProperties,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Name - Activity name. - Name *string `json:"name,omitempty"` - // Description - Activity description. - Description *string `json:"description,omitempty"` - // DependsOn - Activity depends on condition. - DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // UserProperties - Activity user properties. - UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' - Type TypeBasicActivity `json:"type,omitempty"` +// AsWebSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsWebSource() (*WebSource, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) MarshalJSON() ([]byte, error) { - epa.Type = TypeExecutePipeline - objectMap := make(map[string]interface{}) - if epa.ExecutePipelineActivityTypeProperties != nil { - objectMap["typeProperties"] = epa.ExecutePipelineActivityTypeProperties - } - if epa.Name != nil { - objectMap["name"] = epa.Name - } - if epa.Description != nil { - objectMap["description"] = epa.Description - } - if epa.DependsOn != nil { - objectMap["dependsOn"] = epa.DependsOn - } - if epa.UserProperties != nil { - objectMap["userProperties"] = epa.UserProperties - } - if epa.Type != "" { - objectMap["type"] = epa.Type - } - for k, v := range epa.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsTeradataSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false } -// AsAzureFunctionActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsOracleSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { +// AsHdfsSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsFileSystemSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsSQLDWSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsSQLMISource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsWebActivity() (*WebActivity, bool) { +// AsSQLServerSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsSQLSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsDeleteActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// AsRestSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsSapTableSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsSapHanaSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsSapEccSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsSalesforceSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsODataSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsCopyActivity() (*CopyActivity, bool) { +// AsSybaseSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { +// AsMySQLSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsWebHookActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsWebHookActivity() (*WebHookActivity, bool) { +// AsOdbcSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsDb2Source is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsFilterActivity() (*FilterActivity, bool) { +// AsInformixSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsValidationActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsValidationActivity() (*ValidationActivity, bool) { +// AsRelationalSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsUntilActivity() (*UntilActivity, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsDynamicsSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return &ddcs, true +} + +// AsBlobSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { - return &epa, true +// AsAzureTableSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false } -// AsControlActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsControlActivity() (*ControlActivity, bool) { +// AsBinarySource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsBasicControlActivity() (BasicControlActivity, bool) { - return &epa, true +// AsDelimitedTextSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false } -// AsActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsActivity() (*Activity, bool) { +// AsParquetSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsBasicActivity() (BasicActivity, bool) { - return &epa, true +// AsCopySource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsCopySource() (*CopySource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for ExecutePipelineActivity struct. -func (epa *ExecutePipelineActivity) UnmarshalJSON(body []byte) error { +// AsBasicCopySource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsBasicCopySource() (BasicCopySource, bool) { + return &ddcs, true +} + +// UnmarshalJSON is the custom unmarshaler for DocumentDbCollectionSource struct. +func (ddcs *DocumentDbCollectionSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -56905,71 +59469,71 @@ func (epa *ExecutePipelineActivity) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": + case "query": if v != nil { - var executePipelineActivityTypeProperties ExecutePipelineActivityTypeProperties - err = json.Unmarshal(*v, &executePipelineActivityTypeProperties) + var query interface{} + err = json.Unmarshal(*v, &query) if err != nil { return err } - epa.ExecutePipelineActivityTypeProperties = &executePipelineActivityTypeProperties + ddcs.Query = query } - default: + case "nestingSeparator": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var nestingSeparator interface{} + err = json.Unmarshal(*v, &nestingSeparator) if err != nil { return err } - if epa.AdditionalProperties == nil { - epa.AdditionalProperties = make(map[string]interface{}) - } - epa.AdditionalProperties[k] = additionalProperties + ddcs.NestingSeparator = nestingSeparator } - case "name": + default: if v != nil { - var name string - err = json.Unmarshal(*v, &name) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - epa.Name = &name + if ddcs.AdditionalProperties == nil { + ddcs.AdditionalProperties = make(map[string]interface{}) + } + ddcs.AdditionalProperties[k] = additionalProperties } - case "description": + case "sourceRetryCount": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) if err != nil { return err } - epa.Description = &description + ddcs.SourceRetryCount = sourceRetryCount } - case "dependsOn": + case "sourceRetryWait": if v != nil { - var dependsOn []ActivityDependency - err = json.Unmarshal(*v, &dependsOn) + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) if err != nil { return err } - epa.DependsOn = &dependsOn + ddcs.SourceRetryWait = sourceRetryWait } - case "userProperties": + case "maxConcurrentConnections": if v != nil { - var userProperties []UserProperty - err = json.Unmarshal(*v, &userProperties) + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) if err != nil { return err } - epa.UserProperties = &userProperties + ddcs.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicActivity + var typeVar TypeBasicCopySource err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - epa.Type = typeVar + ddcs.Type = typeVar } } } @@ -56977,961 +59541,514 @@ func (epa *ExecutePipelineActivity) UnmarshalJSON(body []byte) error { return nil } -// ExecutePipelineActivityTypeProperties execute pipeline activity properties. -type ExecutePipelineActivityTypeProperties struct { - // Pipeline - Pipeline reference. - Pipeline *PipelineReference `json:"pipeline,omitempty"` - // Parameters - Pipeline parameters. - Parameters map[string]interface{} `json:"parameters"` - // WaitOnCompletion - Defines whether activity execution will wait for the dependent pipeline execution to finish. Default is false. - WaitOnCompletion *bool `json:"waitOnCompletion,omitempty"` -} - -// MarshalJSON is the custom marshaler for ExecutePipelineActivityTypeProperties. -func (epatp ExecutePipelineActivityTypeProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if epatp.Pipeline != nil { - objectMap["pipeline"] = epatp.Pipeline - } - if epatp.Parameters != nil { - objectMap["parameters"] = epatp.Parameters - } - if epatp.WaitOnCompletion != nil { - objectMap["waitOnCompletion"] = epatp.WaitOnCompletion - } - return json.Marshal(objectMap) -} - -// ExecuteSSISPackageActivity execute SSIS package activity. -type ExecuteSSISPackageActivity struct { - // ExecuteSSISPackageActivityTypeProperties - Execute SSIS package activity properties. - *ExecuteSSISPackageActivityTypeProperties `json:"typeProperties,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Policy - Activity policy. - Policy *ActivityPolicy `json:"policy,omitempty"` +// DrillLinkedService drill server linked service. +type DrillLinkedService struct { + // DrillLinkedServiceTypeProperties - Drill server linked service properties. + *DrillLinkedServiceTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Name - Activity name. - Name *string `json:"name,omitempty"` - // Description - Activity description. + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. Description *string `json:"description,omitempty"` - // DependsOn - Activity depends on condition. - DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // UserProperties - Activity user properties. - UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' - Type TypeBasicActivity `json:"type,omitempty"` + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the linked service. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) MarshalJSON() ([]byte, error) { - espa.Type = TypeExecuteSSISPackage +// MarshalJSON is the custom marshaler for DrillLinkedService. +func (dls DrillLinkedService) MarshalJSON() ([]byte, error) { + dls.Type = TypeDrill objectMap := make(map[string]interface{}) - if espa.ExecuteSSISPackageActivityTypeProperties != nil { - objectMap["typeProperties"] = espa.ExecuteSSISPackageActivityTypeProperties - } - if espa.LinkedServiceName != nil { - objectMap["linkedServiceName"] = espa.LinkedServiceName - } - if espa.Policy != nil { - objectMap["policy"] = espa.Policy + if dls.DrillLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = dls.DrillLinkedServiceTypeProperties } - if espa.Name != nil { - objectMap["name"] = espa.Name + if dls.ConnectVia != nil { + objectMap["connectVia"] = dls.ConnectVia } - if espa.Description != nil { - objectMap["description"] = espa.Description + if dls.Description != nil { + objectMap["description"] = dls.Description } - if espa.DependsOn != nil { - objectMap["dependsOn"] = espa.DependsOn + if dls.Parameters != nil { + objectMap["parameters"] = dls.Parameters } - if espa.UserProperties != nil { - objectMap["userProperties"] = espa.UserProperties + if dls.Annotations != nil { + objectMap["annotations"] = dls.Annotations } - if espa.Type != "" { - objectMap["type"] = espa.Type + if dls.Type != "" { + objectMap["type"] = dls.Type } - for k, v := range espa.AdditionalProperties { + for k, v := range dls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsWebActivity() (*WebActivity, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsDeleteActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { - return &espa, true -} - -// AsHDInsightSparkActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsCopyActivity() (*CopyActivity, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { - return &espa, true +// AsPrestoLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { + return nil, false } -// AsWebHookActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsWebHookActivity() (*WebHookActivity, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsFilterActivity() (*FilterActivity, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsValidationActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsValidationActivity() (*ValidationActivity, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsUntilActivity() (*UntilActivity, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsControlActivity() (*ControlActivity, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsBasicControlActivity() (BasicControlActivity, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsActivity() (*Activity, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsBasicActivity() (BasicActivity, bool) { - return &espa, true +// AsDrillLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { + return &dls, true } -// UnmarshalJSON is the custom unmarshaler for ExecuteSSISPackageActivity struct. -func (espa *ExecuteSSISPackageActivity) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "typeProperties": - if v != nil { - var executeSSISPackageActivityTypeProperties ExecuteSSISPackageActivityTypeProperties - err = json.Unmarshal(*v, &executeSSISPackageActivityTypeProperties) - if err != nil { - return err - } - espa.ExecuteSSISPackageActivityTypeProperties = &executeSSISPackageActivityTypeProperties - } - case "linkedServiceName": - if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) - if err != nil { - return err - } - espa.LinkedServiceName = &linkedServiceName - } - case "policy": - if v != nil { - var policy ActivityPolicy - err = json.Unmarshal(*v, &policy) - if err != nil { - return err - } - espa.Policy = &policy - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if espa.AdditionalProperties == nil { - espa.AdditionalProperties = make(map[string]interface{}) - } - espa.AdditionalProperties[k] = additionalProperties - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - espa.Name = &name - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - espa.Description = &description - } - case "dependsOn": - if v != nil { - var dependsOn []ActivityDependency - err = json.Unmarshal(*v, &dependsOn) - if err != nil { - return err - } - espa.DependsOn = &dependsOn - } - case "userProperties": - if v != nil { - var userProperties []UserProperty - err = json.Unmarshal(*v, &userProperties) - if err != nil { - return err - } - espa.UserProperties = &userProperties - } - case "type": - if v != nil { - var typeVar TypeBasicActivity - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - espa.Type = typeVar - } - } - } - - return nil +// AsCouchbaseLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { + return nil, false } -// ExecuteSSISPackageActivityTypeProperties execute SSIS package activity properties. -type ExecuteSSISPackageActivityTypeProperties struct { - // PackageLocation - SSIS package location. - PackageLocation *SSISPackageLocation `json:"packageLocation,omitempty"` - // Runtime - Specifies the runtime to execute SSIS package. The value should be "x86" or "x64". Type: string (or Expression with resultType string). - Runtime interface{} `json:"runtime,omitempty"` - // LoggingLevel - The logging level of SSIS package execution. Type: string (or Expression with resultType string). - LoggingLevel interface{} `json:"loggingLevel,omitempty"` - // EnvironmentPath - The environment path to execute the SSIS package. Type: string (or Expression with resultType string). - EnvironmentPath interface{} `json:"environmentPath,omitempty"` - // ExecutionCredential - The package execution credential. - ExecutionCredential *SSISExecutionCredential `json:"executionCredential,omitempty"` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // ProjectParameters - The project level parameters to execute the SSIS package. - ProjectParameters map[string]*SSISExecutionParameter `json:"projectParameters"` - // PackageParameters - The package level parameters to execute the SSIS package. - PackageParameters map[string]*SSISExecutionParameter `json:"packageParameters"` - // ProjectConnectionManagers - The project level connection managers to execute the SSIS package. - ProjectConnectionManagers map[string]map[string]*SSISExecutionParameter `json:"projectConnectionManagers"` - // PackageConnectionManagers - The package level connection managers to execute the SSIS package. - PackageConnectionManagers map[string]map[string]*SSISExecutionParameter `json:"packageConnectionManagers"` - // PropertyOverrides - The property overrides to execute the SSIS package. - PropertyOverrides map[string]*SSISPropertyOverride `json:"propertyOverrides"` +// AsConcurLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for ExecuteSSISPackageActivityTypeProperties. -func (espatp ExecuteSSISPackageActivityTypeProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if espatp.PackageLocation != nil { - objectMap["packageLocation"] = espatp.PackageLocation - } - if espatp.Runtime != nil { - objectMap["runtime"] = espatp.Runtime - } - if espatp.LoggingLevel != nil { - objectMap["loggingLevel"] = espatp.LoggingLevel - } - if espatp.EnvironmentPath != nil { - objectMap["environmentPath"] = espatp.EnvironmentPath - } - if espatp.ExecutionCredential != nil { - objectMap["executionCredential"] = espatp.ExecutionCredential - } - if espatp.ConnectVia != nil { - objectMap["connectVia"] = espatp.ConnectVia - } - if espatp.ProjectParameters != nil { - objectMap["projectParameters"] = espatp.ProjectParameters - } - if espatp.PackageParameters != nil { - objectMap["packageParameters"] = espatp.PackageParameters - } - if espatp.ProjectConnectionManagers != nil { - objectMap["projectConnectionManagers"] = espatp.ProjectConnectionManagers - } - if espatp.PackageConnectionManagers != nil { - objectMap["packageConnectionManagers"] = espatp.PackageConnectionManagers - } - if espatp.PropertyOverrides != nil { - objectMap["propertyOverrides"] = espatp.PropertyOverrides - } - return json.Marshal(objectMap) +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { + return nil, false } -// BasicExecutionActivity base class for all execution activities. -type BasicExecutionActivity interface { - AsAzureFunctionActivity() (*AzureFunctionActivity, bool) - AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) - AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) - AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) - AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) - AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) - AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) - AsGetMetadataActivity() (*GetMetadataActivity, bool) - AsWebActivity() (*WebActivity, bool) - AsLookupActivity() (*LookupActivity, bool) - AsDeleteActivity() (*DeleteActivity, bool) - AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) - AsCustomActivity() (*CustomActivity, bool) - AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) - AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) - AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) - AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) - AsHDInsightPigActivity() (*HDInsightPigActivity, bool) - AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) - AsCopyActivity() (*CopyActivity, bool) - AsExecutionActivity() (*ExecutionActivity, bool) +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { + return nil, false } -// ExecutionActivity base class for all execution activities. -type ExecutionActivity struct { - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Policy - Activity policy. - Policy *ActivityPolicy `json:"policy,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Name - Activity name. - Name *string `json:"name,omitempty"` - // Description - Activity description. - Description *string `json:"description,omitempty"` - // DependsOn - Activity depends on condition. - DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // UserProperties - Activity user properties. - UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' - Type TypeBasicActivity `json:"type,omitempty"` +// AsSapHanaLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { + return nil, false } -func unmarshalBasicExecutionActivity(body []byte) (BasicExecutionActivity, error) { - var m map[string]interface{} - err := json.Unmarshal(body, &m) - if err != nil { - return nil, err - } - - switch m["type"] { - case string(TypeAzureFunctionActivity): - var afa AzureFunctionActivity - err := json.Unmarshal(body, &afa) - return afa, err - case string(TypeDatabricksSparkPython): - var dspa DatabricksSparkPythonActivity - err := json.Unmarshal(body, &dspa) - return dspa, err - case string(TypeDatabricksSparkJar): - var dsja DatabricksSparkJarActivity - err := json.Unmarshal(body, &dsja) - return dsja, err - case string(TypeDatabricksNotebook): - var dna DatabricksNotebookActivity - err := json.Unmarshal(body, &dna) - return dna, err - case string(TypeDataLakeAnalyticsUSQL): - var dlaua DataLakeAnalyticsUSQLActivity - err := json.Unmarshal(body, &dlaua) - return dlaua, err - case string(TypeAzureMLUpdateResource): - var amura AzureMLUpdateResourceActivity - err := json.Unmarshal(body, &amura) - return amura, err - case string(TypeAzureMLBatchExecution): - var ambea AzureMLBatchExecutionActivity - err := json.Unmarshal(body, &ambea) - return ambea, err - case string(TypeGetMetadata): - var gma GetMetadataActivity - err := json.Unmarshal(body, &gma) - return gma, err - case string(TypeWebActivity): - var wa WebActivity - err := json.Unmarshal(body, &wa) - return wa, err - case string(TypeLookup): - var la LookupActivity - err := json.Unmarshal(body, &la) - return la, err - case string(TypeDelete): - var da DeleteActivity - err := json.Unmarshal(body, &da) - return da, err - case string(TypeSQLServerStoredProcedure): - var ssspa SQLServerStoredProcedureActivity - err := json.Unmarshal(body, &ssspa) - return ssspa, err - case string(TypeCustom): - var ca CustomActivity - err := json.Unmarshal(body, &ca) - return ca, err - case string(TypeExecuteSSISPackage): - var espa ExecuteSSISPackageActivity - err := json.Unmarshal(body, &espa) - return espa, err - case string(TypeHDInsightSpark): - var hisa HDInsightSparkActivity - err := json.Unmarshal(body, &hisa) - return hisa, err - case string(TypeHDInsightStreaming): - var hisa HDInsightStreamingActivity - err := json.Unmarshal(body, &hisa) - return hisa, err - case string(TypeHDInsightMapReduce): - var himra HDInsightMapReduceActivity - err := json.Unmarshal(body, &himra) - return himra, err - case string(TypeHDInsightPig): - var hipa HDInsightPigActivity - err := json.Unmarshal(body, &hipa) - return hipa, err - case string(TypeHDInsightHive): - var hiha HDInsightHiveActivity - err := json.Unmarshal(body, &hiha) - return hiha, err - case string(TypeCopy): - var ca CopyActivity - err := json.Unmarshal(body, &ca) - return ca, err - default: - var ea ExecutionActivity - err := json.Unmarshal(body, &ea) - return ea, err - } +// AsSapBWLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { + return nil, false } -func unmarshalBasicExecutionActivityArray(body []byte) ([]BasicExecutionActivity, error) { - var rawMessages []*json.RawMessage - err := json.Unmarshal(body, &rawMessages) - if err != nil { - return nil, err - } - eaArray := make([]BasicExecutionActivity, len(rawMessages)) +// AsSftpServerLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { + return nil, false +} - for index, rawMessage := range rawMessages { - ea, err := unmarshalBasicExecutionActivity(*rawMessage) - if err != nil { - return nil, err - } - eaArray[index] = ea - } - return eaArray, nil +// AsFtpServerLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for ExecutionActivity. -func (ea ExecutionActivity) MarshalJSON() ([]byte, error) { - ea.Type = TypeExecution - objectMap := make(map[string]interface{}) - if ea.LinkedServiceName != nil { - objectMap["linkedServiceName"] = ea.LinkedServiceName - } - if ea.Policy != nil { - objectMap["policy"] = ea.Policy - } - if ea.Name != nil { - objectMap["name"] = ea.Name - } - if ea.Description != nil { - objectMap["description"] = ea.Description - } - if ea.DependsOn != nil { - objectMap["dependsOn"] = ea.DependsOn - } - if ea.UserProperties != nil { - objectMap["userProperties"] = ea.UserProperties - } - if ea.Type != "" { - objectMap["type"] = ea.Type - } - for k, v := range ea.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsHTTPLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { + return nil, false } -// AsAzureFunctionActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsWebActivity() (*WebActivity, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsDeleteActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsCopyActivity() (*CopyActivity, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsExecutionActivity() (*ExecutionActivity, bool) { - return &ea, true +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { - return &ea, true +// AsInformixLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false } -// AsWebHookActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsWebHookActivity() (*WebHookActivity, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsFilterActivity() (*FilterActivity, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsValidationActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsValidationActivity() (*ValidationActivity, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsUntilActivity() (*UntilActivity, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsControlActivity() (*ControlActivity, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsBasicControlActivity() (BasicControlActivity, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsActivity() (*Activity, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsBasicActivity() (BasicActivity, bool) { - return &ea, true +// AsDynamicsLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for ExecutionActivity struct. -func (ea *ExecutionActivity) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "linkedServiceName": - if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) - if err != nil { - return err - } - ea.LinkedServiceName = &linkedServiceName - } - case "policy": - if v != nil { - var policy ActivityPolicy - err = json.Unmarshal(*v, &policy) - if err != nil { - return err - } - ea.Policy = &policy - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if ea.AdditionalProperties == nil { - ea.AdditionalProperties = make(map[string]interface{}) - } - ea.AdditionalProperties[k] = additionalProperties - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - ea.Name = &name - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - ea.Description = &description - } - case "dependsOn": - if v != nil { - var dependsOn []ActivityDependency - err = json.Unmarshal(*v, &dependsOn) - if err != nil { - return err - } - ea.DependsOn = &dependsOn - } - case "userProperties": - if v != nil { - var userProperties []UserProperty - err = json.Unmarshal(*v, &userProperties) - if err != nil { - return err - } - ea.UserProperties = &userProperties - } - case "type": - if v != nil { - var typeVar TypeBasicActivity - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - ea.Type = typeVar - } - } - } +// AsCosmosDbLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false +} - return nil +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false } -// ExposureControlRequest the exposure control request. -type ExposureControlRequest struct { - // FeatureName - The feature name. - FeatureName *string `json:"featureName,omitempty"` - // FeatureType - The feature type. - FeatureType *string `json:"featureType,omitempty"` +// AsAzureBatchLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false } -// ExposureControlResponse the exposure control response. -type ExposureControlResponse struct { - autorest.Response `json:"-"` - // FeatureName - READ-ONLY; The feature name. - FeatureName *string `json:"featureName,omitempty"` - // Value - READ-ONLY; The feature value. - Value *string `json:"value,omitempty"` +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false } -// Expression azure Data Factory expression definition. -type Expression struct { - // Type - Expression type. - Type *string `json:"type,omitempty"` - // Value - Expression value. - Value *string `json:"value,omitempty"` +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false } -// Factory factory resource type. -type Factory struct { - autorest.Response `json:"-"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Identity - Managed service identity of the factory. - Identity *FactoryIdentity `json:"identity,omitempty"` - // FactoryProperties - Properties of the factory. - *FactoryProperties `json:"properties,omitempty"` - // ID - READ-ONLY; The resource identifier. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; The resource name. - Name *string `json:"name,omitempty"` - // Type - READ-ONLY; The resource type. - Type *string `json:"type,omitempty"` - // Location - The resource location. - Location *string `json:"location,omitempty"` - // Tags - The resource tags. - Tags map[string]*string `json:"tags"` - // ETag - READ-ONLY; Etag identifies change in the resource. - ETag *string `json:"eTag,omitempty"` +// AsSQLServerLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for Factory. -func (f Factory) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if f.Identity != nil { - objectMap["identity"] = f.Identity - } - if f.FactoryProperties != nil { - objectMap["properties"] = f.FactoryProperties - } - if f.Location != nil { - objectMap["location"] = f.Location - } - if f.Tags != nil { - objectMap["tags"] = f.Tags - } - for k, v := range f.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for Factory struct. -func (f *Factory) UnmarshalJSON(body []byte) error { +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &dls, true +} + +// UnmarshalJSON is the custom unmarshaler for DrillLinkedService struct. +func (dls *DrillLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -57939,89 +60056,71 @@ func (f *Factory) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if f.AdditionalProperties == nil { - f.AdditionalProperties = make(map[string]interface{}) - } - f.AdditionalProperties[k] = additionalProperties - } - case "identity": + case "typeProperties": if v != nil { - var identity FactoryIdentity - err = json.Unmarshal(*v, &identity) + var drillLinkedServiceTypeProperties DrillLinkedServiceTypeProperties + err = json.Unmarshal(*v, &drillLinkedServiceTypeProperties) if err != nil { return err } - f.Identity = &identity + dls.DrillLinkedServiceTypeProperties = &drillLinkedServiceTypeProperties } - case "properties": + default: if v != nil { - var factoryProperties FactoryProperties - err = json.Unmarshal(*v, &factoryProperties) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - f.FactoryProperties = &factoryProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err + if dls.AdditionalProperties == nil { + dls.AdditionalProperties = make(map[string]interface{}) } - f.ID = &ID + dls.AdditionalProperties[k] = additionalProperties } - case "name": + case "connectVia": if v != nil { - var name string - err = json.Unmarshal(*v, &name) + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) if err != nil { return err } - f.Name = &name + dls.ConnectVia = &connectVia } - case "type": + case "description": if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - f.Type = &typeVar + dls.Description = &description } - case "location": + case "parameters": if v != nil { - var location string - err = json.Unmarshal(*v, &location) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - f.Location = &location + dls.Parameters = parameters } - case "tags": + case "annotations": if v != nil { - var tags map[string]*string - err = json.Unmarshal(*v, &tags) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - f.Tags = tags + dls.Annotations = &annotations } - case "eTag": + case "type": if v != nil { - var eTag string - err = json.Unmarshal(*v, &eTag) + var typeVar TypeBasicLinkedService + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - f.ETag = &eTag + dls.Type = typeVar } } } @@ -58029,1290 +60128,1002 @@ func (f *Factory) UnmarshalJSON(body []byte) error { return nil } -// FactoryGitHubConfiguration factory's GitHub repo information. -type FactoryGitHubConfiguration struct { - // HostName - GitHub Enterprise host name. For example: https://github.mydomain.com - HostName *string `json:"hostName,omitempty"` - // AccountName - Account name. - AccountName *string `json:"accountName,omitempty"` - // RepositoryName - Repository name. - RepositoryName *string `json:"repositoryName,omitempty"` - // CollaborationBranch - Collaboration branch. - CollaborationBranch *string `json:"collaborationBranch,omitempty"` - // RootFolder - Root folder. - RootFolder *string `json:"rootFolder,omitempty"` - // LastCommitID - Last commit id. - LastCommitID *string `json:"lastCommitId,omitempty"` - // Type - Possible values include: 'TypeFactoryRepoConfiguration', 'TypeFactoryVSTSConfiguration', 'TypeFactoryGitHubConfiguration' - Type TypeBasicFactoryRepoConfiguration `json:"type,omitempty"` +// DrillLinkedServiceTypeProperties drill server linked service properties. +type DrillLinkedServiceTypeProperties struct { + // ConnectionString - An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + ConnectionString interface{} `json:"connectionString,omitempty"` + // Pwd - The Azure key vault secret reference of password in connection string. + Pwd *AzureKeyVaultSecretReference `json:"pwd,omitempty"` + // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` } -// MarshalJSON is the custom marshaler for FactoryGitHubConfiguration. -func (fghc FactoryGitHubConfiguration) MarshalJSON() ([]byte, error) { - fghc.Type = TypeFactoryGitHubConfiguration +// DrillSource a copy activity Drill server source. +type DrillSource struct { + // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). + Query interface{} `json:"query,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + Type TypeBasicCopySource `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for DrillSource. +func (ds DrillSource) MarshalJSON() ([]byte, error) { + ds.Type = TypeDrillSource objectMap := make(map[string]interface{}) - if fghc.HostName != nil { - objectMap["hostName"] = fghc.HostName - } - if fghc.AccountName != nil { - objectMap["accountName"] = fghc.AccountName + if ds.Query != nil { + objectMap["query"] = ds.Query } - if fghc.RepositoryName != nil { - objectMap["repositoryName"] = fghc.RepositoryName + if ds.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = ds.SourceRetryCount } - if fghc.CollaborationBranch != nil { - objectMap["collaborationBranch"] = fghc.CollaborationBranch + if ds.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = ds.SourceRetryWait } - if fghc.RootFolder != nil { - objectMap["rootFolder"] = fghc.RootFolder + if ds.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = ds.MaxConcurrentConnections } - if fghc.LastCommitID != nil { - objectMap["lastCommitId"] = fghc.LastCommitID + if ds.Type != "" { + objectMap["type"] = ds.Type } - if fghc.Type != "" { - objectMap["type"] = fghc.Type + for k, v := range ds.AdditionalProperties { + objectMap[k] = v } return json.Marshal(objectMap) } -// AsFactoryVSTSConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryGitHubConfiguration. -func (fghc FactoryGitHubConfiguration) AsFactoryVSTSConfiguration() (*FactoryVSTSConfiguration, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsFactoryGitHubConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryGitHubConfiguration. -func (fghc FactoryGitHubConfiguration) AsFactoryGitHubConfiguration() (*FactoryGitHubConfiguration, bool) { - return &fghc, true +// AsGoogleAdWordsSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { + return nil, false } -// AsFactoryRepoConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryGitHubConfiguration. -func (fghc FactoryGitHubConfiguration) AsFactoryRepoConfiguration() (*FactoryRepoConfiguration, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsBasicFactoryRepoConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryGitHubConfiguration. -func (fghc FactoryGitHubConfiguration) AsBasicFactoryRepoConfiguration() (BasicFactoryRepoConfiguration, bool) { - return &fghc, true +// AsDynamicsAXSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { + return nil, false } -// FactoryIdentity identity properties of the factory resource. -type FactoryIdentity struct { - // Type - The identity type. Currently the only supported type is 'SystemAssigned'. - Type *string `json:"type,omitempty"` - // PrincipalID - READ-ONLY; The principal id of the identity. - PrincipalID *uuid.UUID `json:"principalId,omitempty"` - // TenantID - READ-ONLY; The client tenant id of the identity. - TenantID *uuid.UUID `json:"tenantId,omitempty"` +// AsResponsysSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsResponsysSource() (*ResponsysSource, bool) { + return nil, false } -// FactoryListResponse a list of factory resources. -type FactoryListResponse struct { - autorest.Response `json:"-"` - // Value - List of factories. - Value *[]Factory `json:"value,omitempty"` - // NextLink - The link to the next page of results, if any remaining results exist. - NextLink *string `json:"nextLink,omitempty"` +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { + return nil, false } -// FactoryListResponseIterator provides access to a complete listing of Factory values. -type FactoryListResponseIterator struct { - i int - page FactoryListResponsePage +// AsVerticaSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false } -// NextWithContext advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -func (iter *FactoryListResponseIterator) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/FactoryListResponseIterator.NextWithContext") - defer func() { - sc := -1 - if iter.Response().Response.Response != nil { - sc = iter.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - iter.i++ - if iter.i < len(iter.page.Values()) { - return nil - } - err = iter.page.NextWithContext(ctx) - if err != nil { - iter.i-- - return err - } - iter.i = 0 - return nil +// AsNetezzaSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false } -// Next advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (iter *FactoryListResponseIterator) Next() error { - return iter.NextWithContext(context.Background()) +// AsZohoSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsZohoSource() (*ZohoSource, bool) { + return nil, false } -// NotDone returns true if the enumeration should be started or is not yet complete. -func (iter FactoryListResponseIterator) NotDone() bool { - return iter.page.NotDone() && iter.i < len(iter.page.Values()) +// AsXeroSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsXeroSource() (*XeroSource, bool) { + return nil, false } -// Response returns the raw server response from the last page request. -func (iter FactoryListResponseIterator) Response() FactoryListResponse { - return iter.page.Response() +// AsSquareSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsSquareSource() (*SquareSource, bool) { + return nil, false } -// Value returns the current value or a zero-initialized value if the -// iterator has advanced beyond the end of the collection. -func (iter FactoryListResponseIterator) Value() Factory { - if !iter.page.NotDone() { - return Factory{} - } - return iter.page.Values()[iter.i] +// AsSparkSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsSparkSource() (*SparkSource, bool) { + return nil, false } -// Creates a new instance of the FactoryListResponseIterator type. -func NewFactoryListResponseIterator(page FactoryListResponsePage) FactoryListResponseIterator { - return FactoryListResponseIterator{page: page} +// AsShopifySource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsShopifySource() (*ShopifySource, bool) { + return nil, false } -// IsEmpty returns true if the ListResult contains no values. -func (flr FactoryListResponse) IsEmpty() bool { - return flr.Value == nil || len(*flr.Value) == 0 +// AsServiceNowSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsServiceNowSource() (*ServiceNowSource, bool) { + return nil, false } -// factoryListResponsePreparer prepares a request to retrieve the next set of results. -// It returns nil if no more results exist. -func (flr FactoryListResponse) factoryListResponsePreparer(ctx context.Context) (*http.Request, error) { - if flr.NextLink == nil || len(to.String(flr.NextLink)) < 1 { - return nil, nil - } - return autorest.Prepare((&http.Request{}).WithContext(ctx), - autorest.AsJSON(), - autorest.AsGet(), - autorest.WithBaseURL(to.String(flr.NextLink))) +// AsQuickBooksSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsQuickBooksSource() (*QuickBooksSource, bool) { + return nil, false } -// FactoryListResponsePage contains a page of Factory values. -type FactoryListResponsePage struct { - fn func(context.Context, FactoryListResponse) (FactoryListResponse, error) - flr FactoryListResponse +// AsPrestoSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsPrestoSource() (*PrestoSource, bool) { + return nil, false } -// NextWithContext advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -func (page *FactoryListResponsePage) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/FactoryListResponsePage.NextWithContext") - defer func() { - sc := -1 - if page.Response().Response.Response != nil { - sc = page.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - next, err := page.fn(ctx, page.flr) - if err != nil { - return err - } - page.flr = next - return nil +// AsPhoenixSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsPhoenixSource() (*PhoenixSource, bool) { + return nil, false } -// Next advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (page *FactoryListResponsePage) Next() error { - return page.NextWithContext(context.Background()) +// AsPaypalSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsPaypalSource() (*PaypalSource, bool) { + return nil, false } -// NotDone returns true if the page enumeration should be started or is not yet complete. -func (page FactoryListResponsePage) NotDone() bool { - return !page.flr.IsEmpty() +// AsMarketoSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsMarketoSource() (*MarketoSource, bool) { + return nil, false } -// Response returns the raw server response from the last page request. -func (page FactoryListResponsePage) Response() FactoryListResponse { - return page.flr +// AsMariaDBSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsMariaDBSource() (*MariaDBSource, bool) { + return nil, false } -// Values returns the slice of values for the current page or nil if there are no values. -func (page FactoryListResponsePage) Values() []Factory { - if page.flr.IsEmpty() { - return nil - } - return *page.flr.Value +// AsMagentoSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsMagentoSource() (*MagentoSource, bool) { + return nil, false } -// Creates a new instance of the FactoryListResponsePage type. -func NewFactoryListResponsePage(getNextPage func(context.Context, FactoryListResponse) (FactoryListResponse, error)) FactoryListResponsePage { - return FactoryListResponsePage{fn: getNextPage} +// AsJiraSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsJiraSource() (*JiraSource, bool) { + return nil, false } -// FactoryProperties factory resource properties. -type FactoryProperties struct { - // ProvisioningState - READ-ONLY; Factory provisioning state, example Succeeded. - ProvisioningState *string `json:"provisioningState,omitempty"` - // CreateTime - READ-ONLY; Time the factory was created in ISO8601 format. - CreateTime *date.Time `json:"createTime,omitempty"` - // Version - READ-ONLY; Version of the factory. - Version *string `json:"version,omitempty"` - // RepoConfiguration - Git repo information of the factory. - RepoConfiguration BasicFactoryRepoConfiguration `json:"repoConfiguration,omitempty"` +// AsImpalaSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsImpalaSource() (*ImpalaSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for FactoryProperties struct. -func (fp *FactoryProperties) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "provisioningState": - if v != nil { - var provisioningState string - err = json.Unmarshal(*v, &provisioningState) - if err != nil { - return err - } - fp.ProvisioningState = &provisioningState - } - case "createTime": - if v != nil { - var createTime date.Time - err = json.Unmarshal(*v, &createTime) - if err != nil { - return err - } - fp.CreateTime = &createTime - } - case "version": - if v != nil { - var version string - err = json.Unmarshal(*v, &version) - if err != nil { - return err - } - fp.Version = &version - } - case "repoConfiguration": - if v != nil { - repoConfiguration, err := unmarshalBasicFactoryRepoConfiguration(*v) - if err != nil { - return err - } - fp.RepoConfiguration = repoConfiguration - } - } - } - - return nil +// AsHubspotSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsHubspotSource() (*HubspotSource, bool) { + return nil, false } -// BasicFactoryRepoConfiguration factory's git repo information. -type BasicFactoryRepoConfiguration interface { - AsFactoryVSTSConfiguration() (*FactoryVSTSConfiguration, bool) - AsFactoryGitHubConfiguration() (*FactoryGitHubConfiguration, bool) - AsFactoryRepoConfiguration() (*FactoryRepoConfiguration, bool) +// AsHiveSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsHiveSource() (*HiveSource, bool) { + return nil, false } -// FactoryRepoConfiguration factory's git repo information. -type FactoryRepoConfiguration struct { - // AccountName - Account name. - AccountName *string `json:"accountName,omitempty"` - // RepositoryName - Repository name. - RepositoryName *string `json:"repositoryName,omitempty"` - // CollaborationBranch - Collaboration branch. - CollaborationBranch *string `json:"collaborationBranch,omitempty"` - // RootFolder - Root folder. - RootFolder *string `json:"rootFolder,omitempty"` - // LastCommitID - Last commit id. - LastCommitID *string `json:"lastCommitId,omitempty"` - // Type - Possible values include: 'TypeFactoryRepoConfiguration', 'TypeFactoryVSTSConfiguration', 'TypeFactoryGitHubConfiguration' - Type TypeBasicFactoryRepoConfiguration `json:"type,omitempty"` +// AsHBaseSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsHBaseSource() (*HBaseSource, bool) { + return nil, false } -func unmarshalBasicFactoryRepoConfiguration(body []byte) (BasicFactoryRepoConfiguration, error) { - var m map[string]interface{} - err := json.Unmarshal(body, &m) - if err != nil { - return nil, err - } - - switch m["type"] { - case string(TypeFactoryVSTSConfiguration): - var fvc FactoryVSTSConfiguration - err := json.Unmarshal(body, &fvc) - return fvc, err - case string(TypeFactoryGitHubConfiguration): - var fghc FactoryGitHubConfiguration - err := json.Unmarshal(body, &fghc) - return fghc, err - default: - var frc FactoryRepoConfiguration - err := json.Unmarshal(body, &frc) - return frc, err - } +// AsGreenplumSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsGreenplumSource() (*GreenplumSource, bool) { + return nil, false } -func unmarshalBasicFactoryRepoConfigurationArray(body []byte) ([]BasicFactoryRepoConfiguration, error) { - var rawMessages []*json.RawMessage - err := json.Unmarshal(body, &rawMessages) - if err != nil { - return nil, err - } - frcArray := make([]BasicFactoryRepoConfiguration, len(rawMessages)) +// AsGoogleBigQuerySource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { + return nil, false +} - for index, rawMessage := range rawMessages { - frc, err := unmarshalBasicFactoryRepoConfiguration(*rawMessage) - if err != nil { - return nil, err - } - frcArray[index] = frc - } - return frcArray, nil +// AsEloquaSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsEloquaSource() (*EloquaSource, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for FactoryRepoConfiguration. -func (frc FactoryRepoConfiguration) MarshalJSON() ([]byte, error) { - frc.Type = TypeFactoryRepoConfiguration - objectMap := make(map[string]interface{}) - if frc.AccountName != nil { - objectMap["accountName"] = frc.AccountName - } - if frc.RepositoryName != nil { - objectMap["repositoryName"] = frc.RepositoryName - } - if frc.CollaborationBranch != nil { - objectMap["collaborationBranch"] = frc.CollaborationBranch - } - if frc.RootFolder != nil { - objectMap["rootFolder"] = frc.RootFolder - } - if frc.LastCommitID != nil { - objectMap["lastCommitId"] = frc.LastCommitID - } - if frc.Type != "" { - objectMap["type"] = frc.Type - } - return json.Marshal(objectMap) +// AsDrillSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsDrillSource() (*DrillSource, bool) { + return &ds, true } -// AsFactoryVSTSConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryRepoConfiguration. -func (frc FactoryRepoConfiguration) AsFactoryVSTSConfiguration() (*FactoryVSTSConfiguration, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsFactoryGitHubConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryRepoConfiguration. -func (frc FactoryRepoConfiguration) AsFactoryGitHubConfiguration() (*FactoryGitHubConfiguration, bool) { +// AsConcurSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsFactoryRepoConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryRepoConfiguration. -func (frc FactoryRepoConfiguration) AsFactoryRepoConfiguration() (*FactoryRepoConfiguration, bool) { - return &frc, true +// AsAzurePostgreSQLSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { + return nil, false } -// AsBasicFactoryRepoConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryRepoConfiguration. -func (frc FactoryRepoConfiguration) AsBasicFactoryRepoConfiguration() (BasicFactoryRepoConfiguration, bool) { - return &frc, true +// AsAmazonMWSSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { + return nil, false } -// FactoryRepoUpdate factory's git repo information. -type FactoryRepoUpdate struct { - // FactoryResourceID - The factory resource id. - FactoryResourceID *string `json:"factoryResourceId,omitempty"` - // RepoConfiguration - Git repo information of the factory. - RepoConfiguration BasicFactoryRepoConfiguration `json:"repoConfiguration,omitempty"` +// AsHTTPSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for FactoryRepoUpdate struct. -func (fru *FactoryRepoUpdate) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "factoryResourceId": - if v != nil { - var factoryResourceID string - err = json.Unmarshal(*v, &factoryResourceID) - if err != nil { - return err - } - fru.FactoryResourceID = &factoryResourceID - } - case "repoConfiguration": - if v != nil { - repoConfiguration, err := unmarshalBasicFactoryRepoConfiguration(*v) - if err != nil { - return err - } - fru.RepoConfiguration = repoConfiguration - } - } - } - - return nil +// AsAzureBlobFSSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false } -// FactoryUpdateParameters parameters for updating a factory resource. -type FactoryUpdateParameters struct { - // Tags - The resource tags. - Tags map[string]*string `json:"tags"` - // Identity - Managed service identity of the factory. - Identity *FactoryIdentity `json:"identity,omitempty"` +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for FactoryUpdateParameters. -func (fup FactoryUpdateParameters) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if fup.Tags != nil { - objectMap["tags"] = fup.Tags - } - if fup.Identity != nil { - objectMap["identity"] = fup.Identity - } - return json.Marshal(objectMap) +// AsOffice365Source is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false } -// FactoryVSTSConfiguration factory's VSTS repo information. -type FactoryVSTSConfiguration struct { - // ProjectName - VSTS project name. - ProjectName *string `json:"projectName,omitempty"` - // TenantID - VSTS tenant id. - TenantID *string `json:"tenantId,omitempty"` - // AccountName - Account name. - AccountName *string `json:"accountName,omitempty"` - // RepositoryName - Repository name. - RepositoryName *string `json:"repositoryName,omitempty"` - // CollaborationBranch - Collaboration branch. - CollaborationBranch *string `json:"collaborationBranch,omitempty"` - // RootFolder - Root folder. - RootFolder *string `json:"rootFolder,omitempty"` - // LastCommitID - Last commit id. - LastCommitID *string `json:"lastCommitId,omitempty"` - // Type - Possible values include: 'TypeFactoryRepoConfiguration', 'TypeFactoryVSTSConfiguration', 'TypeFactoryGitHubConfiguration' - Type TypeBasicFactoryRepoConfiguration `json:"type,omitempty"` +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for FactoryVSTSConfiguration. -func (fvc FactoryVSTSConfiguration) MarshalJSON() ([]byte, error) { - fvc.Type = TypeFactoryVSTSConfiguration - objectMap := make(map[string]interface{}) - if fvc.ProjectName != nil { - objectMap["projectName"] = fvc.ProjectName - } - if fvc.TenantID != nil { - objectMap["tenantId"] = fvc.TenantID - } - if fvc.AccountName != nil { - objectMap["accountName"] = fvc.AccountName - } - if fvc.RepositoryName != nil { - objectMap["repositoryName"] = fvc.RepositoryName - } - if fvc.CollaborationBranch != nil { - objectMap["collaborationBranch"] = fvc.CollaborationBranch - } - if fvc.RootFolder != nil { - objectMap["rootFolder"] = fvc.RootFolder - } - if fvc.LastCommitID != nil { - objectMap["lastCommitId"] = fvc.LastCommitID - } - if fvc.Type != "" { - objectMap["type"] = fvc.Type - } - return json.Marshal(objectMap) +// AsMongoDbV2Source is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false } -// AsFactoryVSTSConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryVSTSConfiguration. -func (fvc FactoryVSTSConfiguration) AsFactoryVSTSConfiguration() (*FactoryVSTSConfiguration, bool) { - return &fvc, true +// AsMongoDbSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false } -// AsFactoryGitHubConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryVSTSConfiguration. -func (fvc FactoryVSTSConfiguration) AsFactoryGitHubConfiguration() (*FactoryGitHubConfiguration, bool) { +// AsCassandraSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsFactoryRepoConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryVSTSConfiguration. -func (fvc FactoryVSTSConfiguration) AsFactoryRepoConfiguration() (*FactoryRepoConfiguration, bool) { +// AsWebSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsBasicFactoryRepoConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryVSTSConfiguration. -func (fvc FactoryVSTSConfiguration) AsBasicFactoryRepoConfiguration() (BasicFactoryRepoConfiguration, bool) { - return &fvc, true +// AsTeradataSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false } -// FileServerLinkedService file system linked service. -type FileServerLinkedService struct { - // FileServerLinkedServiceTypeProperties - File system linked service properties. - *FileServerLinkedServiceTypeProperties `json:"typeProperties,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. - Description *string `json:"description,omitempty"` - // Parameters - Parameters for linked service. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the linked service. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` +// AsOracleSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsOracleSource() (*OracleSource, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for FileServerLinkedService. -func (fsls FileServerLinkedService) MarshalJSON() ([]byte, error) { - fsls.Type = TypeFileServer - objectMap := make(map[string]interface{}) - if fsls.FileServerLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = fsls.FileServerLinkedServiceTypeProperties - } - if fsls.ConnectVia != nil { - objectMap["connectVia"] = fsls.ConnectVia - } - if fsls.Description != nil { - objectMap["description"] = fsls.Description - } - if fsls.Parameters != nil { - objectMap["parameters"] = fsls.Parameters - } - if fsls.Annotations != nil { - objectMap["annotations"] = fsls.Annotations - } - if fsls.Type != "" { - objectMap["type"] = fsls.Type - } - for k, v := range fsls.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsAzureDataExplorerSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { +// AsHdfsSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsSapTableLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsFileSystemSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsSQLDWSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsSQLMISource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsSQLServerSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsSQLSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsRestSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsSapTableSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsSapHanaSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsSapEccSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsSalesforceSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsODataSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsSybaseSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsMySQLSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsOdbcSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsDb2Source is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsInformixSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsRelationalSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsDynamicsSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsBlobSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsAzureTableSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsBinarySource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsDelimitedTextSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsParquetSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsCopySource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsCopySource() (*CopySource, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsBasicCopySource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsBasicCopySource() (BasicCopySource, bool) { + return &ds, true +} + +// UnmarshalJSON is the custom unmarshaler for DrillSource struct. +func (ds *DrillSource) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "query": + if v != nil { + var query interface{} + err = json.Unmarshal(*v, &query) + if err != nil { + return err + } + ds.Query = query + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if ds.AdditionalProperties == nil { + ds.AdditionalProperties = make(map[string]interface{}) + } + ds.AdditionalProperties[k] = additionalProperties + } + case "sourceRetryCount": + if v != nil { + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) + if err != nil { + return err + } + ds.SourceRetryCount = sourceRetryCount + } + case "sourceRetryWait": + if v != nil { + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) + if err != nil { + return err + } + ds.SourceRetryWait = sourceRetryWait + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + ds.MaxConcurrentConnections = maxConcurrentConnections + } + case "type": + if v != nil { + var typeVar TypeBasicCopySource + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + ds.Type = typeVar + } + } + } + + return nil +} + +// DrillTableDataset drill server dataset. +type DrillTableDataset struct { + // GenericDatasetTypeProperties - Properties specific to this dataset type. + *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Description - Dataset description. + Description *string `json:"description,omitempty"` + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for DrillTableDataset. +func (dtd DrillTableDataset) MarshalJSON() ([]byte, error) { + dtd.Type = TypeDrillTable + objectMap := make(map[string]interface{}) + if dtd.GenericDatasetTypeProperties != nil { + objectMap["typeProperties"] = dtd.GenericDatasetTypeProperties + } + if dtd.Description != nil { + objectMap["description"] = dtd.Description + } + if dtd.Structure != nil { + objectMap["structure"] = dtd.Structure + } + if dtd.Schema != nil { + objectMap["schema"] = dtd.Schema + } + if dtd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = dtd.LinkedServiceName + } + if dtd.Parameters != nil { + objectMap["parameters"] = dtd.Parameters + } + if dtd.Annotations != nil { + objectMap["annotations"] = dtd.Annotations + } + if dtd.Folder != nil { + objectMap["folder"] = dtd.Folder + } + if dtd.Type != "" { + objectMap["type"] = dtd.Type + } + for k, v := range dtd.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsDrillTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { + return &dtd, true +} + +// AsCouchbaseTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsHTTPDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsWebTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { - return &fsls, true +// AsRestResourceDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { + return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsInformixTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &fsls, true +// AsRelationalTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for FileServerLinkedService struct. -func (fsls *FileServerLinkedService) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "typeProperties": - if v != nil { - var fileServerLinkedServiceTypeProperties FileServerLinkedServiceTypeProperties - err = json.Unmarshal(*v, &fileServerLinkedServiceTypeProperties) - if err != nil { - return err - } - fsls.FileServerLinkedServiceTypeProperties = &fileServerLinkedServiceTypeProperties - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if fsls.AdditionalProperties == nil { - fsls.AdditionalProperties = make(map[string]interface{}) - } - fsls.AdditionalProperties[k] = additionalProperties - } - case "connectVia": - if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) - if err != nil { - return err - } - fsls.ConnectVia = &connectVia - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - fsls.Description = &description - } - case "parameters": - if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) - if err != nil { - return err - } - fsls.Parameters = parameters - } - case "annotations": - if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) - if err != nil { - return err - } - fsls.Annotations = &annotations - } - case "type": - if v != nil { - var typeVar TypeBasicLinkedService - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - fsls.Type = typeVar - } - } - } +// AsAzureMySQLTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { + return nil, false +} - return nil +// AsTeradataTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { + return nil, false } -// FileServerLinkedServiceTypeProperties file system linked service properties. -type FileServerLinkedServiceTypeProperties struct { - // Host - Host name of the server. Type: string (or Expression with resultType string). - Host interface{} `json:"host,omitempty"` - // UserID - User ID to logon the server. Type: string (or Expression with resultType string). - UserID interface{} `json:"userId,omitempty"` - // Password - Password to logon the server. - Password BasicSecretBase `json:"password,omitempty"` - // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). - EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` +// AsOracleTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for FileServerLinkedServiceTypeProperties struct. -func (fslstp *FileServerLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "host": - if v != nil { - var host interface{} - err = json.Unmarshal(*v, &host) - if err != nil { - return err - } - fslstp.Host = host - } - case "userId": - if v != nil { - var userID interface{} - err = json.Unmarshal(*v, &userID) - if err != nil { - return err - } - fslstp.UserID = userID - } - case "password": - if v != nil { - password, err := unmarshalBasicSecretBase(*v) - if err != nil { - return err - } - fslstp.Password = password - } - case "encryptedCredential": - if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) - if err != nil { - return err - } - fslstp.EncryptedCredential = encryptedCredential - } - } - } +// AsODataResourceDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { + return nil, false +} - return nil +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { + return nil, false } -// FileServerLocation the location of file server dataset. -type FileServerLocation struct { - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Type - Type of dataset storage location. - Type *string `json:"type,omitempty"` - // FolderPath - Specify the folder path of dataset. Type: string (or Expression with resultType string) - FolderPath interface{} `json:"folderPath,omitempty"` - // FileName - Specify the file name of dataset. Type: string (or Expression with resultType string). - FileName interface{} `json:"fileName,omitempty"` +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for FileServerLocation. -func (fsl FileServerLocation) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if fsl.Type != nil { - objectMap["type"] = fsl.Type - } - if fsl.FolderPath != nil { - objectMap["folderPath"] = fsl.FolderPath - } - if fsl.FileName != nil { - objectMap["fileName"] = fsl.FileName - } - for k, v := range fsl.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsMongoDbCollectionDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for FileServerLocation struct. -func (fsl *FileServerLocation) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if fsl.AdditionalProperties == nil { - fsl.AdditionalProperties = make(map[string]interface{}) - } - fsl.AdditionalProperties[k] = additionalProperties - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - fsl.Type = &typeVar - } - case "folderPath": - if v != nil { - var folderPath interface{} - err = json.Unmarshal(*v, &folderPath) - if err != nil { - return err - } - fsl.FolderPath = folderPath - } - case "fileName": - if v != nil { - var fileName interface{} - err = json.Unmarshal(*v, &fileName) - if err != nil { - return err - } - fsl.FileName = fileName - } - } - } +// AsFileShareDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { + return nil, false +} - return nil +// AsOffice365Dataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { + return nil, false } -// FileServerReadSettings file server read settings. -type FileServerReadSettings struct { - // Recursive - If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). - Recursive interface{} `json:"recursive,omitempty"` - // WildcardFolderPath - FileServer wildcardFolderPath. Type: string (or Expression with resultType string). - WildcardFolderPath interface{} `json:"wildcardFolderPath,omitempty"` - // WildcardFileName - FileServer wildcardFileName. Type: string (or Expression with resultType string). - WildcardFileName interface{} `json:"wildcardFileName,omitempty"` - // EnablePartitionDiscovery - Indicates whether to enable partition discovery. - EnablePartitionDiscovery *bool `json:"enablePartitionDiscovery,omitempty"` - // ModifiedDatetimeStart - The start of file's modified datetime. Type: string (or Expression with resultType string). - ModifiedDatetimeStart interface{} `json:"modifiedDatetimeStart,omitempty"` - // ModifiedDatetimeEnd - The end of file's modified datetime. Type: string (or Expression with resultType string). - ModifiedDatetimeEnd interface{} `json:"modifiedDatetimeEnd,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Type - The read setting type. - Type *string `json:"type,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` +// AsAzureBlobFSDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for FileServerReadSettings. -func (fsrs FileServerReadSettings) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if fsrs.Recursive != nil { - objectMap["recursive"] = fsrs.Recursive - } - if fsrs.WildcardFolderPath != nil { - objectMap["wildcardFolderPath"] = fsrs.WildcardFolderPath - } - if fsrs.WildcardFileName != nil { - objectMap["wildcardFileName"] = fsrs.WildcardFileName - } - if fsrs.EnablePartitionDiscovery != nil { - objectMap["enablePartitionDiscovery"] = fsrs.EnablePartitionDiscovery - } - if fsrs.ModifiedDatetimeStart != nil { - objectMap["modifiedDatetimeStart"] = fsrs.ModifiedDatetimeStart - } - if fsrs.ModifiedDatetimeEnd != nil { - objectMap["modifiedDatetimeEnd"] = fsrs.ModifiedDatetimeEnd - } - if fsrs.Type != nil { - objectMap["type"] = fsrs.Type - } - if fsrs.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = fsrs.MaxConcurrentConnections - } - for k, v := range fsrs.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for FileServerReadSettings struct. -func (fsrs *FileServerReadSettings) UnmarshalJSON(body []byte) error { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { + return nil, false +} + +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { + return nil, false +} + +// AsDynamicsEntityDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { + return nil, false +} + +// AsDocumentDbCollectionDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { + return nil, false +} + +// AsCustomDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsCustomDataset() (*CustomDataset, bool) { + return nil, false +} + +// AsCassandraTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { + return nil, false +} + +// AsAzureSQLDWTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { + return nil, false +} + +// AsAzureSQLMITableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + +// AsAzureSQLTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { + return nil, false +} + +// AsAzureTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { + return nil, false +} + +// AsAzureBlobDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { + return nil, false +} + +// AsBinaryDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + +// AsDelimitedTextDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { + return nil, false +} + +// AsParquetDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsBasicDataset() (BasicDataset, bool) { + return &dtd, true +} + +// UnmarshalJSON is the custom unmarshaler for DrillTableDataset struct. +func (dtd *DrillTableDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -59320,173 +61131,98 @@ func (fsrs *FileServerReadSettings) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "recursive": + case "typeProperties": if v != nil { - var recursive interface{} - err = json.Unmarshal(*v, &recursive) + var genericDatasetTypeProperties GenericDatasetTypeProperties + err = json.Unmarshal(*v, &genericDatasetTypeProperties) if err != nil { return err } - fsrs.Recursive = recursive + dtd.GenericDatasetTypeProperties = &genericDatasetTypeProperties } - case "wildcardFolderPath": + default: if v != nil { - var wildcardFolderPath interface{} - err = json.Unmarshal(*v, &wildcardFolderPath) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - fsrs.WildcardFolderPath = wildcardFolderPath - } - case "wildcardFileName": - if v != nil { - var wildcardFileName interface{} - err = json.Unmarshal(*v, &wildcardFileName) - if err != nil { - return err + if dtd.AdditionalProperties == nil { + dtd.AdditionalProperties = make(map[string]interface{}) } - fsrs.WildcardFileName = wildcardFileName + dtd.AdditionalProperties[k] = additionalProperties } - case "enablePartitionDiscovery": + case "description": if v != nil { - var enablePartitionDiscovery bool - err = json.Unmarshal(*v, &enablePartitionDiscovery) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - fsrs.EnablePartitionDiscovery = &enablePartitionDiscovery + dtd.Description = &description } - case "modifiedDatetimeStart": + case "structure": if v != nil { - var modifiedDatetimeStart interface{} - err = json.Unmarshal(*v, &modifiedDatetimeStart) + var structure interface{} + err = json.Unmarshal(*v, &structure) if err != nil { return err } - fsrs.ModifiedDatetimeStart = modifiedDatetimeStart + dtd.Structure = structure } - case "modifiedDatetimeEnd": + case "schema": if v != nil { - var modifiedDatetimeEnd interface{} - err = json.Unmarshal(*v, &modifiedDatetimeEnd) + var schema interface{} + err = json.Unmarshal(*v, &schema) if err != nil { return err } - fsrs.ModifiedDatetimeEnd = modifiedDatetimeEnd + dtd.Schema = schema } - default: + case "linkedServiceName": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) if err != nil { return err } - if fsrs.AdditionalProperties == nil { - fsrs.AdditionalProperties = make(map[string]interface{}) - } - fsrs.AdditionalProperties[k] = additionalProperties + dtd.LinkedServiceName = &linkedServiceName } - case "type": + case "parameters": if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - fsrs.Type = &typeVar + dtd.Parameters = parameters } - case "maxConcurrentConnections": + case "annotations": if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - fsrs.MaxConcurrentConnections = maxConcurrentConnections + dtd.Annotations = &annotations } - } - } - - return nil -} - -// FileServerWriteSettings file server write settings. -type FileServerWriteSettings struct { - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Type - The write setting type. - Type *string `json:"type,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // CopyBehavior - The type of copy behavior for copy sink. - CopyBehavior interface{} `json:"copyBehavior,omitempty"` -} - -// MarshalJSON is the custom marshaler for FileServerWriteSettings. -func (fsws FileServerWriteSettings) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if fsws.Type != nil { - objectMap["type"] = fsws.Type - } - if fsws.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = fsws.MaxConcurrentConnections - } - if fsws.CopyBehavior != nil { - objectMap["copyBehavior"] = fsws.CopyBehavior - } - for k, v := range fsws.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for FileServerWriteSettings struct. -func (fsws *FileServerWriteSettings) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - default: + case "folder": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) if err != nil { return err } - if fsws.AdditionalProperties == nil { - fsws.AdditionalProperties = make(map[string]interface{}) - } - fsws.AdditionalProperties[k] = additionalProperties + dtd.Folder = &folder } case "type": if v != nil { - var typeVar string + var typeVar TypeBasicDataset err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - fsws.Type = &typeVar - } - case "maxConcurrentConnections": - if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) - if err != nil { - return err - } - fsws.MaxConcurrentConnections = maxConcurrentConnections - } - case "copyBehavior": - if v != nil { - var copyBehavior interface{} - err = json.Unmarshal(*v, ©Behavior) - if err != nil { - return err - } - fsws.CopyBehavior = copyBehavior + dtd.Type = typeVar } } } @@ -59494,414 +61230,514 @@ func (fsws *FileServerWriteSettings) UnmarshalJSON(body []byte) error { return nil } -// FileShareDataset an on-premises file system dataset. -type FileShareDataset struct { - // FileShareDatasetTypeProperties - On-premises file system dataset properties. - *FileShareDatasetTypeProperties `json:"typeProperties,omitempty"` +// DynamicsAXLinkedService dynamics AX linked service. +type DynamicsAXLinkedService struct { + // DynamicsAXLinkedServiceTypeProperties - Dynamics AX linked service properties. + *DynamicsAXLinkedServiceTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Description - Dataset description. + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. Description *string `json:"description,omitempty"` - // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. - Structure interface{} `json:"structure,omitempty"` - // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - Schema interface{} `json:"schema,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Parameters - Parameters for dataset. + // Parameters - Parameters for linked service. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the Dataset. + // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' - Type TypeBasicDataset `json:"type,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for FileShareDataset. -func (fsd FileShareDataset) MarshalJSON() ([]byte, error) { - fsd.Type = TypeFileShare +// MarshalJSON is the custom marshaler for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) MarshalJSON() ([]byte, error) { + dals.Type = TypeDynamicsAX objectMap := make(map[string]interface{}) - if fsd.FileShareDatasetTypeProperties != nil { - objectMap["typeProperties"] = fsd.FileShareDatasetTypeProperties - } - if fsd.Description != nil { - objectMap["description"] = fsd.Description - } - if fsd.Structure != nil { - objectMap["structure"] = fsd.Structure - } - if fsd.Schema != nil { - objectMap["schema"] = fsd.Schema + if dals.DynamicsAXLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = dals.DynamicsAXLinkedServiceTypeProperties } - if fsd.LinkedServiceName != nil { - objectMap["linkedServiceName"] = fsd.LinkedServiceName + if dals.ConnectVia != nil { + objectMap["connectVia"] = dals.ConnectVia } - if fsd.Parameters != nil { - objectMap["parameters"] = fsd.Parameters + if dals.Description != nil { + objectMap["description"] = dals.Description } - if fsd.Annotations != nil { - objectMap["annotations"] = fsd.Annotations + if dals.Parameters != nil { + objectMap["parameters"] = dals.Parameters } - if fsd.Folder != nil { - objectMap["folder"] = fsd.Folder + if dals.Annotations != nil { + objectMap["annotations"] = dals.Annotations } - if fsd.Type != "" { - objectMap["type"] = fsd.Type + if dals.Type != "" { + objectMap["type"] = dals.Type } - for k, v := range fsd.AdditionalProperties { + for k, v := range dals.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { - return nil, false +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { + return &dals, true } -// AsVerticaTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsFileShareDataset() (*FileShareDataset, bool) { - return &fsd, true +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsDataset() (*Dataset, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsBasicDataset() (BasicDataset, bool) { - return &fsd, true +// AsTeradataLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for FileShareDataset struct. -func (fsd *FileShareDataset) UnmarshalJSON(body []byte) error { +// AsDb2LinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return nil, false +} + +// AsSybaseLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { + return nil, false +} + +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { + return nil, false +} + +// AsMySQLLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { + return nil, false +} + +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { + return nil, false +} + +// AsOracleLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { + return nil, false +} + +// AsFileServerLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { + return nil, false +} + +// AsHDInsightLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + +// AsDynamicsLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false +} + +// AsCosmosDbLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false +} + +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false +} + +// AsAzureBatchLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} + +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &dals, true +} + +// UnmarshalJSON is the custom unmarshaler for DynamicsAXLinkedService struct. +func (dals *DynamicsAXLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -59911,12 +61747,12 @@ func (fsd *FileShareDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var fileShareDatasetTypeProperties FileShareDatasetTypeProperties - err = json.Unmarshal(*v, &fileShareDatasetTypeProperties) + var dynamicsAXLinkedServiceTypeProperties DynamicsAXLinkedServiceTypeProperties + err = json.Unmarshal(*v, &dynamicsAXLinkedServiceTypeProperties) if err != nil { return err } - fsd.FileShareDatasetTypeProperties = &fileShareDatasetTypeProperties + dals.DynamicsAXLinkedServiceTypeProperties = &dynamicsAXLinkedServiceTypeProperties } default: if v != nil { @@ -59925,46 +61761,28 @@ func (fsd *FileShareDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if fsd.AdditionalProperties == nil { - fsd.AdditionalProperties = make(map[string]interface{}) - } - fsd.AdditionalProperties[k] = additionalProperties - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - fsd.Description = &description - } - case "structure": - if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) - if err != nil { - return err + if dals.AdditionalProperties == nil { + dals.AdditionalProperties = make(map[string]interface{}) } - fsd.Structure = structure + dals.AdditionalProperties[k] = additionalProperties } - case "schema": + case "connectVia": if v != nil { - var schema interface{} - err = json.Unmarshal(*v, &schema) + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) if err != nil { return err } - fsd.Schema = schema + dals.ConnectVia = &connectVia } - case "linkedServiceName": + case "description": if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - fsd.LinkedServiceName = &linkedServiceName + dals.Description = &description } case "parameters": if v != nil { @@ -59973,7 +61791,7 @@ func (fsd *FileShareDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - fsd.Parameters = parameters + dals.Parameters = parameters } case "annotations": if v != nil { @@ -59982,25 +61800,16 @@ func (fsd *FileShareDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - fsd.Annotations = &annotations - } - case "folder": - if v != nil { - var folder DatasetFolder - err = json.Unmarshal(*v, &folder) - if err != nil { - return err - } - fsd.Folder = &folder + dals.Annotations = &annotations } case "type": if v != nil { - var typeVar TypeBasicDataset + var typeVar TypeBasicLinkedService err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - fsd.Type = typeVar + dals.Type = typeVar } } } @@ -60008,26 +61817,24 @@ func (fsd *FileShareDataset) UnmarshalJSON(body []byte) error { return nil } -// FileShareDatasetTypeProperties on-premises file system dataset properties. -type FileShareDatasetTypeProperties struct { - // FolderPath - The path of the on-premises file system. Type: string (or Expression with resultType string). - FolderPath interface{} `json:"folderPath,omitempty"` - // FileName - The name of the on-premises file system. Type: string (or Expression with resultType string). - FileName interface{} `json:"fileName,omitempty"` - // ModifiedDatetimeStart - The start of file's modified datetime. Type: string (or Expression with resultType string). - ModifiedDatetimeStart interface{} `json:"modifiedDatetimeStart,omitempty"` - // ModifiedDatetimeEnd - The end of file's modified datetime. Type: string (or Expression with resultType string). - ModifiedDatetimeEnd interface{} `json:"modifiedDatetimeEnd,omitempty"` - // Format - The format of the files. - Format BasicDatasetStorageFormat `json:"format,omitempty"` - // FileFilter - 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). - FileFilter interface{} `json:"fileFilter,omitempty"` - // Compression - The data compression method used for the file system. - Compression BasicDatasetCompression `json:"compression,omitempty"` +// DynamicsAXLinkedServiceTypeProperties dynamics AX linked service properties. +type DynamicsAXLinkedServiceTypeProperties struct { + // URL - The Dynamics AX (or Dynamics 365 Finance and Operations) instance OData endpoint. + URL interface{} `json:"url,omitempty"` + // ServicePrincipalID - Specify the application's client ID. Type: string (or Expression with resultType string). + ServicePrincipalID interface{} `json:"servicePrincipalId,omitempty"` + // ServicePrincipalKey - Specify the application's key. Mark this field as a SecureString to store it securely in Data Factory, or reference a secret stored in Azure Key Vault. Type: string (or Expression with resultType string). + ServicePrincipalKey BasicSecretBase `json:"servicePrincipalKey,omitempty"` + // Tenant - 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). + Tenant interface{} `json:"tenant,omitempty"` + // AadResourceID - Specify the resource you are requesting authorization. Type: string (or Expression with resultType string). + AadResourceID interface{} `json:"aadResourceId,omitempty"` + // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` } -// UnmarshalJSON is the custom unmarshaler for FileShareDatasetTypeProperties struct. -func (fsdtp *FileShareDatasetTypeProperties) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for DynamicsAXLinkedServiceTypeProperties struct. +func (dalstp *DynamicsAXLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -60035,66 +61842,58 @@ func (fsdtp *FileShareDatasetTypeProperties) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "folderPath": - if v != nil { - var folderPath interface{} - err = json.Unmarshal(*v, &folderPath) - if err != nil { - return err - } - fsdtp.FolderPath = folderPath - } - case "fileName": + case "url": if v != nil { - var fileName interface{} - err = json.Unmarshal(*v, &fileName) + var URL interface{} + err = json.Unmarshal(*v, &URL) if err != nil { return err } - fsdtp.FileName = fileName + dalstp.URL = URL } - case "modifiedDatetimeStart": + case "servicePrincipalId": if v != nil { - var modifiedDatetimeStart interface{} - err = json.Unmarshal(*v, &modifiedDatetimeStart) + var servicePrincipalID interface{} + err = json.Unmarshal(*v, &servicePrincipalID) if err != nil { return err } - fsdtp.ModifiedDatetimeStart = modifiedDatetimeStart + dalstp.ServicePrincipalID = servicePrincipalID } - case "modifiedDatetimeEnd": + case "servicePrincipalKey": if v != nil { - var modifiedDatetimeEnd interface{} - err = json.Unmarshal(*v, &modifiedDatetimeEnd) + servicePrincipalKey, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - fsdtp.ModifiedDatetimeEnd = modifiedDatetimeEnd + dalstp.ServicePrincipalKey = servicePrincipalKey } - case "format": + case "tenant": if v != nil { - formatVar, err := unmarshalBasicDatasetStorageFormat(*v) + var tenant interface{} + err = json.Unmarshal(*v, &tenant) if err != nil { return err } - fsdtp.Format = formatVar + dalstp.Tenant = tenant } - case "fileFilter": + case "aadResourceId": if v != nil { - var fileFilter interface{} - err = json.Unmarshal(*v, &fileFilter) + var aadResourceID interface{} + err = json.Unmarshal(*v, &aadResourceID) if err != nil { return err } - fsdtp.FileFilter = fileFilter + dalstp.AadResourceID = aadResourceID } - case "compression": + case "encryptedCredential": if v != nil { - compression, err := unmarshalBasicDatasetCompression(*v) + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) if err != nil { return err } - fsdtp.Compression = compression + dalstp.EncryptedCredential = encryptedCredential } } } @@ -60102,645 +61901,469 @@ func (fsdtp *FileShareDatasetTypeProperties) UnmarshalJSON(body []byte) error { return nil } -// FileSystemSink a copy activity file system sink. -type FileSystemSink struct { - // CopyBehavior - The type of copy behavior for copy sink. - CopyBehavior interface{} `json:"copyBehavior,omitempty"` +// DynamicsAXResourceDataset the path of the Dynamics AX OData entity. +type DynamicsAXResourceDataset struct { + // DynamicsAXResourceDatasetTypeProperties - Dynamics AX OData resource dataset properties. + *DynamicsAXResourceDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - WriteBatchSize interface{} `json:"writeBatchSize,omitempty"` - // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"` - // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer). - SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"` - // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeDelimitedTextSink' - Type TypeBasicCopySink `json:"type,omitempty"` + // Description - Dataset description. + Description *string `json:"description,omitempty"` + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for FileSystemSink. -func (fss FileSystemSink) MarshalJSON() ([]byte, error) { - fss.Type = TypeFileSystemSink +// MarshalJSON is the custom marshaler for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) MarshalJSON() ([]byte, error) { + dard.Type = TypeDynamicsAXResource objectMap := make(map[string]interface{}) - if fss.CopyBehavior != nil { - objectMap["copyBehavior"] = fss.CopyBehavior + if dard.DynamicsAXResourceDatasetTypeProperties != nil { + objectMap["typeProperties"] = dard.DynamicsAXResourceDatasetTypeProperties } - if fss.WriteBatchSize != nil { - objectMap["writeBatchSize"] = fss.WriteBatchSize + if dard.Description != nil { + objectMap["description"] = dard.Description } - if fss.WriteBatchTimeout != nil { - objectMap["writeBatchTimeout"] = fss.WriteBatchTimeout + if dard.Structure != nil { + objectMap["structure"] = dard.Structure } - if fss.SinkRetryCount != nil { - objectMap["sinkRetryCount"] = fss.SinkRetryCount + if dard.Schema != nil { + objectMap["schema"] = dard.Schema } - if fss.SinkRetryWait != nil { - objectMap["sinkRetryWait"] = fss.SinkRetryWait + if dard.LinkedServiceName != nil { + objectMap["linkedServiceName"] = dard.LinkedServiceName } - if fss.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = fss.MaxConcurrentConnections + if dard.Parameters != nil { + objectMap["parameters"] = dard.Parameters } - if fss.Type != "" { - objectMap["type"] = fss.Type + if dard.Annotations != nil { + objectMap["annotations"] = dard.Annotations } - for k, v := range fss.AdditionalProperties { + if dard.Folder != nil { + objectMap["folder"] = dard.Folder + } + if dard.Type != "" { + objectMap["type"] = dard.Type + } + for k, v := range dard.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { - return nil, false -} - -// AsSalesforceSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsSalesforceSink() (*SalesforceSink, bool) { - return nil, false -} - -// AsAzureDataExplorerSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { - return nil, false -} - -// AsDynamicsSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsDynamicsSink() (*DynamicsSink, bool) { - return nil, false -} - -// AsOdbcSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsOdbcSink() (*OdbcSink, bool) { - return nil, false -} - -// AsAzureSearchIndexSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { - return nil, false -} - -// AsAzureBlobFSSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { - return nil, false -} - -// AsAzureDataLakeStoreSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { - return nil, false -} - -// AsOracleSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsOracleSink() (*OracleSink, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsSQLDWSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsSQLDWSink() (*SQLDWSink, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsAzureSQLSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsAzureSQLSink() (*AzureSQLSink, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsSQLServerSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsSQLServerSink() (*SQLServerSink, bool) { - return nil, false +// AsDynamicsAXResourceDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { + return &dard, true } -// AsSQLSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsSQLSink() (*SQLSink, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsDocumentDbCollectionSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsFileSystemSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsFileSystemSink() (*FileSystemSink, bool) { - return &fss, true -} - -// AsBlobSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsBlobSink() (*BlobSink, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsParquetSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsParquetSink() (*ParquetSink, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsAzureTableSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsAzureTableSink() (*AzureTableSink, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsAzureQueueSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsAzureQueueSink() (*AzureQueueSink, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSapCloudForCustomerSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsDelimitedTextSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsCopySink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsCopySink() (*CopySink, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsBasicCopySink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsBasicCopySink() (BasicCopySink, bool) { - return &fss, true -} - -// UnmarshalJSON is the custom unmarshaler for FileSystemSink struct. -func (fss *FileSystemSink) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "copyBehavior": - if v != nil { - var copyBehavior interface{} - err = json.Unmarshal(*v, ©Behavior) - if err != nil { - return err - } - fss.CopyBehavior = copyBehavior - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if fss.AdditionalProperties == nil { - fss.AdditionalProperties = make(map[string]interface{}) - } - fss.AdditionalProperties[k] = additionalProperties - } - case "writeBatchSize": - if v != nil { - var writeBatchSize interface{} - err = json.Unmarshal(*v, &writeBatchSize) - if err != nil { - return err - } - fss.WriteBatchSize = writeBatchSize - } - case "writeBatchTimeout": - if v != nil { - var writeBatchTimeout interface{} - err = json.Unmarshal(*v, &writeBatchTimeout) - if err != nil { - return err - } - fss.WriteBatchTimeout = writeBatchTimeout - } - case "sinkRetryCount": - if v != nil { - var sinkRetryCount interface{} - err = json.Unmarshal(*v, &sinkRetryCount) - if err != nil { - return err - } - fss.SinkRetryCount = sinkRetryCount - } - case "sinkRetryWait": - if v != nil { - var sinkRetryWait interface{} - err = json.Unmarshal(*v, &sinkRetryWait) - if err != nil { - return err - } - fss.SinkRetryWait = sinkRetryWait - } - case "maxConcurrentConnections": - if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) - if err != nil { - return err - } - fss.MaxConcurrentConnections = maxConcurrentConnections - } - case "type": - if v != nil { - var typeVar TypeBasicCopySink - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - fss.Type = typeVar - } - } - } - - return nil -} - -// FileSystemSource a copy activity file system source. -type FileSystemSource struct { - // Recursive - If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). - Recursive interface{} `json:"recursive,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). - SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` - // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' - Type TypeBasicCopySource `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for FileSystemSource. -func (fss FileSystemSource) MarshalJSON() ([]byte, error) { - fss.Type = TypeFileSystemSource - objectMap := make(map[string]interface{}) - if fss.Recursive != nil { - objectMap["recursive"] = fss.Recursive - } - if fss.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = fss.SourceRetryCount - } - if fss.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = fss.SourceRetryWait - } - if fss.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = fss.MaxConcurrentConnections - } - if fss.Type != "" { - objectMap["type"] = fss.Type - } - for k, v := range fss.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) -} - -// AsAmazonRedshiftSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsVerticaSource() (*VerticaSource, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsZohoSource() (*ZohoSource, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsXeroSource() (*XeroSource, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsSquareSource() (*SquareSource, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsSparkSource() (*SparkSource, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsShopifySource() (*ShopifySource, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsPrestoSource() (*PrestoSource, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsDrillTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsPaypalSource() (*PaypalSource, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsMarketoSource() (*MarketoSource, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsMagentoSource() (*MagentoSource, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsJiraSource() (*JiraSource, bool) { +// AsHTTPDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsHubspotSource() (*HubspotSource, bool) { +// AsWebTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsHiveSource() (*HiveSource, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsHBaseSource() (*HBaseSource, bool) { +// AsRestResourceDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsEloquaSource() (*EloquaSource, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsDrillSource() (*DrillSource, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsConcurSource() (*ConcurSource, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsHTTPSource() (*HTTPSource, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsOffice365Source() (*Office365Source, bool) { +// AsInformixTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsCassandraSource() (*CassandraSource, bool) { +// AsOracleTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsWebSource() (*WebSource, bool) { +// AsODataResourceDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsOracleSource() (*OracleSource, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsHdfsSource() (*HdfsSource, bool) { +// AsFileShareDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsFileSystemSource() (*FileSystemSource, bool) { - return &fss, true -} - -// AsSQLDWSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsOffice365Dataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsSQLSource() (*SQLSource, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsRestSource() (*RestSource, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsSapTableSource() (*SapTableSource, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsCustomDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsSapEccSource() (*SapEccSource, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsRelationalSource() (*RelationalSource, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsAzureTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsBlobSource() (*BlobSource, bool) { +// AsBinaryDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsParquetDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsParquetSource() (*ParquetSource, bool) { +// AsAmazonS3Dataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsCopySource() (*CopySource, bool) { +// AsDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsDataset() (*Dataset, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsBasicCopySource() (BasicCopySource, bool) { - return &fss, true +// AsBasicDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsBasicDataset() (BasicDataset, bool) { + return &dard, true } -// UnmarshalJSON is the custom unmarshaler for FileSystemSource struct. -func (fss *FileSystemSource) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for DynamicsAXResourceDataset struct. +func (dard *DynamicsAXResourceDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -60748,14 +62371,14 @@ func (fss *FileSystemSource) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "recursive": + case "typeProperties": if v != nil { - var recursive interface{} - err = json.Unmarshal(*v, &recursive) - if err != nil { + var dynamicsAXResourceDatasetTypeProperties DynamicsAXResourceDatasetTypeProperties + err = json.Unmarshal(*v, &dynamicsAXResourceDatasetTypeProperties) + if err != nil { return err } - fss.Recursive = recursive + dard.DynamicsAXResourceDatasetTypeProperties = &dynamicsAXResourceDatasetTypeProperties } default: if v != nil { @@ -60764,46 +62387,82 @@ func (fss *FileSystemSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - if fss.AdditionalProperties == nil { - fss.AdditionalProperties = make(map[string]interface{}) + if dard.AdditionalProperties == nil { + dard.AdditionalProperties = make(map[string]interface{}) } - fss.AdditionalProperties[k] = additionalProperties + dard.AdditionalProperties[k] = additionalProperties } - case "sourceRetryCount": + case "description": if v != nil { - var sourceRetryCount interface{} - err = json.Unmarshal(*v, &sourceRetryCount) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - fss.SourceRetryCount = sourceRetryCount + dard.Description = &description } - case "sourceRetryWait": + case "structure": if v != nil { - var sourceRetryWait interface{} - err = json.Unmarshal(*v, &sourceRetryWait) + var structure interface{} + err = json.Unmarshal(*v, &structure) if err != nil { return err } - fss.SourceRetryWait = sourceRetryWait + dard.Structure = structure } - case "maxConcurrentConnections": + case "schema": if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) + var schema interface{} + err = json.Unmarshal(*v, &schema) if err != nil { return err } - fss.MaxConcurrentConnections = maxConcurrentConnections + dard.Schema = schema + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + dard.LinkedServiceName = &linkedServiceName + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + dard.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + dard.Annotations = &annotations + } + case "folder": + if v != nil { + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) + if err != nil { + return err + } + dard.Folder = &folder } case "type": if v != nil { - var typeVar TypeBasicCopySource + var typeVar TypeBasicDataset err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - fss.Type = typeVar + dard.Type = typeVar } } } @@ -60811,712 +62470,465 @@ func (fss *FileSystemSource) UnmarshalJSON(body []byte) error { return nil } -// FilterActivity filter and return results from input array based on the conditions. -type FilterActivity struct { - // FilterActivityTypeProperties - Filter activity properties. - *FilterActivityTypeProperties `json:"typeProperties,omitempty"` +// DynamicsAXResourceDatasetTypeProperties dynamics AX OData resource dataset properties. +type DynamicsAXResourceDatasetTypeProperties struct { + // Path - The path of the Dynamics AX OData entity. Type: string (or Expression with resultType string). + Path interface{} `json:"path,omitempty"` +} + +// DynamicsAXSource a copy activity Dynamics AX source. +type DynamicsAXSource struct { + // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). + Query interface{} `json:"query,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Name - Activity name. - Name *string `json:"name,omitempty"` - // Description - Activity description. - Description *string `json:"description,omitempty"` - // DependsOn - Activity depends on condition. - DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // UserProperties - Activity user properties. - UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' - Type TypeBasicActivity `json:"type,omitempty"` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for FilterActivity. -func (fa FilterActivity) MarshalJSON() ([]byte, error) { - fa.Type = TypeFilter +// MarshalJSON is the custom marshaler for DynamicsAXSource. +func (das DynamicsAXSource) MarshalJSON() ([]byte, error) { + das.Type = TypeDynamicsAXSource objectMap := make(map[string]interface{}) - if fa.FilterActivityTypeProperties != nil { - objectMap["typeProperties"] = fa.FilterActivityTypeProperties - } - if fa.Name != nil { - objectMap["name"] = fa.Name + if das.Query != nil { + objectMap["query"] = das.Query } - if fa.Description != nil { - objectMap["description"] = fa.Description + if das.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = das.SourceRetryCount } - if fa.DependsOn != nil { - objectMap["dependsOn"] = fa.DependsOn + if das.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = das.SourceRetryWait } - if fa.UserProperties != nil { - objectMap["userProperties"] = fa.UserProperties + if das.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = das.MaxConcurrentConnections } - if fa.Type != "" { - objectMap["type"] = fa.Type + if das.Type != "" { + objectMap["type"] = das.Type } - for k, v := range fa.AdditionalProperties { + for k, v := range das.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { - return nil, false +// AsDynamicsAXSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { + return &das, true } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsResponsysSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsVerticaSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsNetezzaSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsWebActivity() (*WebActivity, bool) { +// AsZohoSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsXeroSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsDeleteActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// AsSquareSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsSparkSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsShopifySource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsServiceNowSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsPrestoSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsPhoenixSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsPaypalSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsMarketoSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsCopyActivity() (*CopyActivity, bool) { +// AsMariaDBSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsMagentoSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { +// AsJiraSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsWebHookActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsWebHookActivity() (*WebHookActivity, bool) { +// AsImpalaSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsHubspotSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsHiveSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsFilterActivity() (*FilterActivity, bool) { - return &fa, true +// AsHBaseSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsHBaseSource() (*HBaseSource, bool) { + return nil, false } -// AsValidationActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsValidationActivity() (*ValidationActivity, bool) { +// AsGreenplumSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsUntilActivity() (*UntilActivity, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsEloquaSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsDrillSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsConcurSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsControlActivity() (*ControlActivity, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsBasicControlActivity() (BasicControlActivity, bool) { - return &fa, true +// AsAmazonMWSSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { + return nil, false } -// AsActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsActivity() (*Activity, bool) { +// AsHTTPSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsBasicActivity() (BasicActivity, bool) { - return &fa, true +// AsAzureBlobFSSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for FilterActivity struct. -func (fa *FilterActivity) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "typeProperties": - if v != nil { - var filterActivityTypeProperties FilterActivityTypeProperties - err = json.Unmarshal(*v, &filterActivityTypeProperties) - if err != nil { - return err - } - fa.FilterActivityTypeProperties = &filterActivityTypeProperties - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if fa.AdditionalProperties == nil { - fa.AdditionalProperties = make(map[string]interface{}) - } - fa.AdditionalProperties[k] = additionalProperties - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - fa.Name = &name - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - fa.Description = &description - } - case "dependsOn": - if v != nil { - var dependsOn []ActivityDependency - err = json.Unmarshal(*v, &dependsOn) - if err != nil { - return err - } - fa.DependsOn = &dependsOn - } - case "userProperties": - if v != nil { - var userProperties []UserProperty - err = json.Unmarshal(*v, &userProperties) - if err != nil { - return err - } - fa.UserProperties = &userProperties - } - case "type": - if v != nil { - var typeVar TypeBasicActivity - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - fa.Type = typeVar - } - } - } - - return nil +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false } -// FilterActivityTypeProperties filter activity properties. -type FilterActivityTypeProperties struct { - // Items - Input array on which filter should be applied. - Items *Expression `json:"items,omitempty"` - // Condition - Condition to be used for filtering the input. - Condition *Expression `json:"condition,omitempty"` +// AsOffice365Source is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false } -// ForEachActivity this activity is used for iterating over a collection and execute given activities. -type ForEachActivity struct { - // ForEachActivityTypeProperties - ForEach activity properties. - *ForEachActivityTypeProperties `json:"typeProperties,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Name - Activity name. - Name *string `json:"name,omitempty"` - // Description - Activity description. - Description *string `json:"description,omitempty"` - // DependsOn - Activity depends on condition. - DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // UserProperties - Activity user properties. - UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' - Type TypeBasicActivity `json:"type,omitempty"` +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for ForEachActivity. -func (fea ForEachActivity) MarshalJSON() ([]byte, error) { - fea.Type = TypeForEach - objectMap := make(map[string]interface{}) - if fea.ForEachActivityTypeProperties != nil { - objectMap["typeProperties"] = fea.ForEachActivityTypeProperties - } - if fea.Name != nil { - objectMap["name"] = fea.Name - } - if fea.Description != nil { - objectMap["description"] = fea.Description - } - if fea.DependsOn != nil { - objectMap["dependsOn"] = fea.DependsOn - } - if fea.UserProperties != nil { - objectMap["userProperties"] = fea.UserProperties - } - if fea.Type != "" { - objectMap["type"] = fea.Type - } - for k, v := range fea.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsMongoDbV2Source is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false } -// AsAzureFunctionActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsMongoDbSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsCassandraSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsWebSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { +// AsTeradataSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsOracleSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsHdfsSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsWebActivity() (*WebActivity, bool) { +// AsFileSystemSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsSQLDWSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsDeleteActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// AsSQLMISource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsSQLServerSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsSQLSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsRestSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsSapTableSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsSapHanaSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsSapEccSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsCopyActivity() (*CopyActivity, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { +// AsSalesforceSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsWebHookActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsWebHookActivity() (*WebHookActivity, bool) { +// AsODataSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsSybaseSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsFilterActivity() (*FilterActivity, bool) { +// AsMySQLSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsValidationActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsValidationActivity() (*ValidationActivity, bool) { +// AsOdbcSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsUntilActivity() (*UntilActivity, bool) { +// AsDb2Source is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsForEachActivity() (*ForEachActivity, bool) { - return &fea, true +// AsInformixSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsInformixSource() (*InformixSource, bool) { + return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsRelationalSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsControlActivity() (*ControlActivity, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsBasicControlActivity() (BasicControlActivity, bool) { - return &fea, true +// AsDynamicsSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false } -// AsActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsActivity() (*Activity, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsBasicActivity() (BasicActivity, bool) { - return &fea, true +// AsBlobSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsBlobSource() (*BlobSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for ForEachActivity struct. -func (fea *ForEachActivity) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "typeProperties": - if v != nil { - var forEachActivityTypeProperties ForEachActivityTypeProperties - err = json.Unmarshal(*v, &forEachActivityTypeProperties) - if err != nil { - return err - } - fea.ForEachActivityTypeProperties = &forEachActivityTypeProperties - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if fea.AdditionalProperties == nil { - fea.AdditionalProperties = make(map[string]interface{}) - } - fea.AdditionalProperties[k] = additionalProperties - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - fea.Name = &name - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - fea.Description = &description - } - case "dependsOn": - if v != nil { - var dependsOn []ActivityDependency - err = json.Unmarshal(*v, &dependsOn) - if err != nil { - return err - } - fea.DependsOn = &dependsOn - } - case "userProperties": - if v != nil { - var userProperties []UserProperty - err = json.Unmarshal(*v, &userProperties) - if err != nil { - return err - } - fea.UserProperties = &userProperties - } - case "type": - if v != nil { - var typeVar TypeBasicActivity - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - fea.Type = typeVar - } - } - } - - return nil +// AsAzureTableSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false } -// ForEachActivityTypeProperties forEach activity properties. -type ForEachActivityTypeProperties struct { - // IsSequential - Should the loop be executed in sequence or in parallel (max 50) - IsSequential *bool `json:"isSequential,omitempty"` - // BatchCount - Batch count to be used for controlling the number of parallel execution (when isSequential is set to false). - BatchCount *int32 `json:"batchCount,omitempty"` - // Items - Collection to iterate. - Items *Expression `json:"items,omitempty"` - // Activities - List of activities to execute . - Activities *[]BasicActivity `json:"activities,omitempty"` +// AsBinarySource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsBinarySource() (*BinarySource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for ForEachActivityTypeProperties struct. -func (featp *ForEachActivityTypeProperties) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "isSequential": - if v != nil { - var isSequential bool - err = json.Unmarshal(*v, &isSequential) - if err != nil { - return err - } - featp.IsSequential = &isSequential - } - case "batchCount": - if v != nil { - var batchCount int32 - err = json.Unmarshal(*v, &batchCount) - if err != nil { - return err - } - featp.BatchCount = &batchCount - } - case "items": - if v != nil { - var items Expression - err = json.Unmarshal(*v, &items) - if err != nil { - return err - } - featp.Items = &items - } - case "activities": - if v != nil { - activities, err := unmarshalBasicActivityArray(*v) - if err != nil { - return err - } - featp.Activities = &activities - } - } - } +// AsDelimitedTextSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false +} - return nil +// AsParquetSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false } -// FormatReadSettings format read settings. -type FormatReadSettings struct { - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Type - The read setting type. - Type *string `json:"type,omitempty"` +// AsCopySource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsCopySource() (*CopySource, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for FormatReadSettings. -func (frs FormatReadSettings) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if frs.Type != nil { - objectMap["type"] = frs.Type - } - for k, v := range frs.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsBasicCopySource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsBasicCopySource() (BasicCopySource, bool) { + return &das, true } -// UnmarshalJSON is the custom unmarshaler for FormatReadSettings struct. -func (frs *FormatReadSettings) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for DynamicsAXSource struct. +func (das *DynamicsAXSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -61524,62 +62936,15 @@ func (frs *FormatReadSettings) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if frs.AdditionalProperties == nil { - frs.AdditionalProperties = make(map[string]interface{}) - } - frs.AdditionalProperties[k] = additionalProperties - } - case "type": + case "query": if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) + var query interface{} + err = json.Unmarshal(*v, &query) if err != nil { return err } - frs.Type = &typeVar + das.Query = query } - } - } - - return nil -} - -// FormatWriteSettings format write settings. -type FormatWriteSettings struct { - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Type - The write setting type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for FormatWriteSettings. -func (fws FormatWriteSettings) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if fws.Type != nil { - objectMap["type"] = fws.Type - } - for k, v := range fws.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for FormatWriteSettings struct. -func (fws *FormatWriteSettings) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { default: if v != nil { var additionalProperties interface{} @@ -61587,145 +62952,46 @@ func (fws *FormatWriteSettings) UnmarshalJSON(body []byte) error { if err != nil { return err } - if fws.AdditionalProperties == nil { - fws.AdditionalProperties = make(map[string]interface{}) - } - fws.AdditionalProperties[k] = additionalProperties - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - fws.Type = &typeVar - } - } - } - - return nil -} - -// FtpReadSettings ftp read settings. -type FtpReadSettings struct { - // Recursive - If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). - Recursive interface{} `json:"recursive,omitempty"` - // WildcardFolderPath - Ftp wildcardFolderPath. Type: string (or Expression with resultType string). - WildcardFolderPath interface{} `json:"wildcardFolderPath,omitempty"` - // WildcardFileName - Ftp wildcardFileName. Type: string (or Expression with resultType string). - WildcardFileName interface{} `json:"wildcardFileName,omitempty"` - // UseBinaryTransfer - Specify whether to use binary transfer mode for FTP stores. - UseBinaryTransfer *bool `json:"useBinaryTransfer,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Type - The read setting type. - Type *string `json:"type,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` -} - -// MarshalJSON is the custom marshaler for FtpReadSettings. -func (frs FtpReadSettings) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if frs.Recursive != nil { - objectMap["recursive"] = frs.Recursive - } - if frs.WildcardFolderPath != nil { - objectMap["wildcardFolderPath"] = frs.WildcardFolderPath - } - if frs.WildcardFileName != nil { - objectMap["wildcardFileName"] = frs.WildcardFileName - } - if frs.UseBinaryTransfer != nil { - objectMap["useBinaryTransfer"] = frs.UseBinaryTransfer - } - if frs.Type != nil { - objectMap["type"] = frs.Type - } - if frs.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = frs.MaxConcurrentConnections - } - for k, v := range frs.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for FtpReadSettings struct. -func (frs *FtpReadSettings) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "recursive": - if v != nil { - var recursive interface{} - err = json.Unmarshal(*v, &recursive) - if err != nil { - return err - } - frs.Recursive = recursive - } - case "wildcardFolderPath": - if v != nil { - var wildcardFolderPath interface{} - err = json.Unmarshal(*v, &wildcardFolderPath) - if err != nil { - return err + if das.AdditionalProperties == nil { + das.AdditionalProperties = make(map[string]interface{}) } - frs.WildcardFolderPath = wildcardFolderPath + das.AdditionalProperties[k] = additionalProperties } - case "wildcardFileName": + case "sourceRetryCount": if v != nil { - var wildcardFileName interface{} - err = json.Unmarshal(*v, &wildcardFileName) + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) if err != nil { return err } - frs.WildcardFileName = wildcardFileName + das.SourceRetryCount = sourceRetryCount } - case "useBinaryTransfer": + case "sourceRetryWait": if v != nil { - var useBinaryTransfer bool - err = json.Unmarshal(*v, &useBinaryTransfer) + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) if err != nil { return err } - frs.UseBinaryTransfer = &useBinaryTransfer + das.SourceRetryWait = sourceRetryWait } - default: + case "maxConcurrentConnections": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) if err != nil { return err } - if frs.AdditionalProperties == nil { - frs.AdditionalProperties = make(map[string]interface{}) - } - frs.AdditionalProperties[k] = additionalProperties + das.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar string + var typeVar TypeBasicCopySource err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - frs.Type = &typeVar - } - case "maxConcurrentConnections": - if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) - if err != nil { - return err - } - frs.MaxConcurrentConnections = maxConcurrentConnections + das.Type = typeVar } } } @@ -61733,484 +62999,469 @@ func (frs *FtpReadSettings) UnmarshalJSON(body []byte) error { return nil } -// FtpServerLinkedService a FTP server Linked Service. -type FtpServerLinkedService struct { - // FtpServerLinkedServiceTypeProperties - Properties specific to this linked service type. - *FtpServerLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// DynamicsCrmEntityDataset the Dynamics CRM entity dataset. +type DynamicsCrmEntityDataset struct { + // DynamicsCrmEntityDatasetTypeProperties - Dynamics CRM entity dataset properties. + *DynamicsCrmEntityDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. + // Description - Dataset description. Description *string `json:"description,omitempty"` - // Parameters - Parameters for linked service. + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the linked service. + // Annotations - List of tags that can be used for describing the Dataset. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for FtpServerLinkedService. -func (fsls FtpServerLinkedService) MarshalJSON() ([]byte, error) { - fsls.Type = TypeFtpServer +// MarshalJSON is the custom marshaler for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) MarshalJSON() ([]byte, error) { + dced.Type = TypeDynamicsCrmEntity objectMap := make(map[string]interface{}) - if fsls.FtpServerLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = fsls.FtpServerLinkedServiceTypeProperties + if dced.DynamicsCrmEntityDatasetTypeProperties != nil { + objectMap["typeProperties"] = dced.DynamicsCrmEntityDatasetTypeProperties } - if fsls.ConnectVia != nil { - objectMap["connectVia"] = fsls.ConnectVia + if dced.Description != nil { + objectMap["description"] = dced.Description } - if fsls.Description != nil { - objectMap["description"] = fsls.Description + if dced.Structure != nil { + objectMap["structure"] = dced.Structure } - if fsls.Parameters != nil { - objectMap["parameters"] = fsls.Parameters + if dced.Schema != nil { + objectMap["schema"] = dced.Schema } - if fsls.Annotations != nil { - objectMap["annotations"] = fsls.Annotations + if dced.LinkedServiceName != nil { + objectMap["linkedServiceName"] = dced.LinkedServiceName } - if fsls.Type != "" { - objectMap["type"] = fsls.Type + if dced.Parameters != nil { + objectMap["parameters"] = dced.Parameters } - for k, v := range fsls.AdditionalProperties { + if dced.Annotations != nil { + objectMap["annotations"] = dced.Annotations + } + if dced.Folder != nil { + objectMap["folder"] = dced.Folder + } + if dced.Type != "" { + objectMap["type"] = dced.Type + } + for k, v := range dced.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsSapTableLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsDrillTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsHTTPDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { - return nil, false -} - -// AsConcurLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { - return nil, false -} - -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { - return nil, false -} - -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { - return nil, false -} - -// AsSapHanaLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { - return nil, false -} - -// AsSapBWLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsWebTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { - return &fsls, true -} - -// AsHTTPLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsRestResourceDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsInformixTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsOracleTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsODataResourceDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsFileShareDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsOffice365Dataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { - return nil, false +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { + return &dced, true } -// AsOracleLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsCustomDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsAzureTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsBinaryDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsParquetDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAmazonS3Dataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsDataset() (*Dataset, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &fsls, true +// AsBasicDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsBasicDataset() (BasicDataset, bool) { + return &dced, true } -// UnmarshalJSON is the custom unmarshaler for FtpServerLinkedService struct. -func (fsls *FtpServerLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for DynamicsCrmEntityDataset struct. +func (dced *DynamicsCrmEntityDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -62220,12 +63471,12 @@ func (fsls *FtpServerLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var ftpServerLinkedServiceTypeProperties FtpServerLinkedServiceTypeProperties - err = json.Unmarshal(*v, &ftpServerLinkedServiceTypeProperties) + var dynamicsCrmEntityDatasetTypeProperties DynamicsCrmEntityDatasetTypeProperties + err = json.Unmarshal(*v, &dynamicsCrmEntityDatasetTypeProperties) if err != nil { return err } - fsls.FtpServerLinkedServiceTypeProperties = &ftpServerLinkedServiceTypeProperties + dced.DynamicsCrmEntityDatasetTypeProperties = &dynamicsCrmEntityDatasetTypeProperties } default: if v != nil { @@ -62234,19 +63485,10 @@ func (fsls *FtpServerLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if fsls.AdditionalProperties == nil { - fsls.AdditionalProperties = make(map[string]interface{}) - } - fsls.AdditionalProperties[k] = additionalProperties - } - case "connectVia": - if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) - if err != nil { - return err + if dced.AdditionalProperties == nil { + dced.AdditionalProperties = make(map[string]interface{}) } - fsls.ConnectVia = &connectVia + dced.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -62255,224 +63497,70 @@ func (fsls *FtpServerLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - fsls.Description = &description - } - case "parameters": - if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) - if err != nil { - return err - } - fsls.Parameters = parameters - } - case "annotations": - if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) - if err != nil { - return err - } - fsls.Annotations = &annotations - } - case "type": - if v != nil { - var typeVar TypeBasicLinkedService - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - fsls.Type = typeVar - } - } - } - - return nil -} - -// FtpServerLinkedServiceTypeProperties properties specific to this linked service type. -type FtpServerLinkedServiceTypeProperties struct { - // Host - Host name of the FTP server. Type: string (or Expression with resultType string). - Host interface{} `json:"host,omitempty"` - // Port - The TCP port number that the FTP server uses to listen for client connections. Default value is 21. Type: integer (or Expression with resultType integer), minimum: 0. - Port interface{} `json:"port,omitempty"` - // AuthenticationType - The authentication type to be used to connect to the FTP server. Possible values include: 'FtpAuthenticationTypeBasic', 'FtpAuthenticationTypeAnonymous' - AuthenticationType FtpAuthenticationType `json:"authenticationType,omitempty"` - // UserName - Username to logon the FTP server. Type: string (or Expression with resultType string). - UserName interface{} `json:"userName,omitempty"` - // Password - Password to logon the FTP server. - Password BasicSecretBase `json:"password,omitempty"` - // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). - EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` - // EnableSsl - If true, connect to the FTP server over SSL/TLS channel. Default value is true. Type: boolean (or Expression with resultType boolean). - EnableSsl interface{} `json:"enableSsl,omitempty"` - // EnableServerCertificateValidation - 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). - EnableServerCertificateValidation interface{} `json:"enableServerCertificateValidation,omitempty"` -} - -// UnmarshalJSON is the custom unmarshaler for FtpServerLinkedServiceTypeProperties struct. -func (fslstp *FtpServerLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "host": - if v != nil { - var host interface{} - err = json.Unmarshal(*v, &host) - if err != nil { - return err - } - fslstp.Host = host - } - case "port": - if v != nil { - var port interface{} - err = json.Unmarshal(*v, &port) - if err != nil { - return err - } - fslstp.Port = port - } - case "authenticationType": - if v != nil { - var authenticationType FtpAuthenticationType - err = json.Unmarshal(*v, &authenticationType) - if err != nil { - return err - } - fslstp.AuthenticationType = authenticationType + dced.Description = &description } - case "userName": + case "structure": if v != nil { - var userName interface{} - err = json.Unmarshal(*v, &userName) + var structure interface{} + err = json.Unmarshal(*v, &structure) if err != nil { return err } - fslstp.UserName = userName + dced.Structure = structure } - case "password": + case "schema": if v != nil { - password, err := unmarshalBasicSecretBase(*v) + var schema interface{} + err = json.Unmarshal(*v, &schema) if err != nil { return err } - fslstp.Password = password + dced.Schema = schema } - case "encryptedCredential": + case "linkedServiceName": if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) if err != nil { return err } - fslstp.EncryptedCredential = encryptedCredential + dced.LinkedServiceName = &linkedServiceName } - case "enableSsl": + case "parameters": if v != nil { - var enableSsl interface{} - err = json.Unmarshal(*v, &enableSsl) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - fslstp.EnableSsl = enableSsl + dced.Parameters = parameters } - case "enableServerCertificateValidation": + case "annotations": if v != nil { - var enableServerCertificateValidation interface{} - err = json.Unmarshal(*v, &enableServerCertificateValidation) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - fslstp.EnableServerCertificateValidation = enableServerCertificateValidation + dced.Annotations = &annotations } - } - } - - return nil -} - -// FtpServerLocation the location of ftp server dataset. -type FtpServerLocation struct { - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Type - Type of dataset storage location. - Type *string `json:"type,omitempty"` - // FolderPath - Specify the folder path of dataset. Type: string (or Expression with resultType string) - FolderPath interface{} `json:"folderPath,omitempty"` - // FileName - Specify the file name of dataset. Type: string (or Expression with resultType string). - FileName interface{} `json:"fileName,omitempty"` -} - -// MarshalJSON is the custom marshaler for FtpServerLocation. -func (fsl FtpServerLocation) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if fsl.Type != nil { - objectMap["type"] = fsl.Type - } - if fsl.FolderPath != nil { - objectMap["folderPath"] = fsl.FolderPath - } - if fsl.FileName != nil { - objectMap["fileName"] = fsl.FileName - } - for k, v := range fsl.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for FtpServerLocation struct. -func (fsl *FtpServerLocation) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - default: + case "folder": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) if err != nil { return err } - if fsl.AdditionalProperties == nil { - fsl.AdditionalProperties = make(map[string]interface{}) - } - fsl.AdditionalProperties[k] = additionalProperties + dced.Folder = &folder } case "type": if v != nil { - var typeVar string + var typeVar TypeBasicDataset err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - fsl.Type = &typeVar - } - case "folderPath": - if v != nil { - var folderPath interface{} - err = json.Unmarshal(*v, &folderPath) - if err != nil { - return err - } - fsl.FolderPath = folderPath - } - case "fileName": - if v != nil { - var fileName interface{} - err = json.Unmarshal(*v, &fileName) - if err != nil { - return err - } - fsl.FileName = fileName + dced.Type = typeVar } } } @@ -62480,856 +63568,520 @@ func (fsl *FtpServerLocation) UnmarshalJSON(body []byte) error { return nil } -// GenericDatasetTypeProperties properties specific to this dataset type. -type GenericDatasetTypeProperties struct { - // TableName - The table name. Type: string (or Expression with resultType string). - TableName interface{} `json:"tableName,omitempty"` +// DynamicsCrmEntityDatasetTypeProperties dynamics CRM entity dataset properties. +type DynamicsCrmEntityDatasetTypeProperties struct { + // EntityName - The logical name of the entity. Type: string (or Expression with resultType string). + EntityName interface{} `json:"entityName,omitempty"` } -// GetMetadataActivity activity to get metadata of dataset -type GetMetadataActivity struct { - // GetMetadataActivityTypeProperties - GetMetadata activity properties. - *GetMetadataActivityTypeProperties `json:"typeProperties,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Policy - Activity policy. - Policy *ActivityPolicy `json:"policy,omitempty"` +// DynamicsCrmLinkedService dynamics CRM linked service. +type DynamicsCrmLinkedService struct { + // DynamicsCrmLinkedServiceTypeProperties - Dynamics CRM linked service properties. + *DynamicsCrmLinkedServiceTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Name - Activity name. - Name *string `json:"name,omitempty"` - // Description - Activity description. + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. Description *string `json:"description,omitempty"` - // DependsOn - Activity depends on condition. - DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // UserProperties - Activity user properties. - UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' - Type TypeBasicActivity `json:"type,omitempty"` + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the linked service. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for GetMetadataActivity. -func (gma GetMetadataActivity) MarshalJSON() ([]byte, error) { - gma.Type = TypeGetMetadata +// MarshalJSON is the custom marshaler for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) MarshalJSON() ([]byte, error) { + dcls.Type = TypeDynamicsCrm objectMap := make(map[string]interface{}) - if gma.GetMetadataActivityTypeProperties != nil { - objectMap["typeProperties"] = gma.GetMetadataActivityTypeProperties - } - if gma.LinkedServiceName != nil { - objectMap["linkedServiceName"] = gma.LinkedServiceName - } - if gma.Policy != nil { - objectMap["policy"] = gma.Policy + if dcls.DynamicsCrmLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = dcls.DynamicsCrmLinkedServiceTypeProperties } - if gma.Name != nil { - objectMap["name"] = gma.Name + if dcls.ConnectVia != nil { + objectMap["connectVia"] = dcls.ConnectVia } - if gma.Description != nil { - objectMap["description"] = gma.Description + if dcls.Description != nil { + objectMap["description"] = dcls.Description } - if gma.DependsOn != nil { - objectMap["dependsOn"] = gma.DependsOn + if dcls.Parameters != nil { + objectMap["parameters"] = dcls.Parameters } - if gma.UserProperties != nil { - objectMap["userProperties"] = gma.UserProperties + if dcls.Annotations != nil { + objectMap["annotations"] = dcls.Annotations } - if gma.Type != "" { - objectMap["type"] = gma.Type + if dcls.Type != "" { + objectMap["type"] = dcls.Type } - for k, v := range gma.AdditionalProperties { + for k, v := range dcls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { - return nil, false -} - -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { - return nil, false -} - -// AsDatabricksSparkJarActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { - return nil, false -} - -// AsDatabricksNotebookActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { - return nil, false -} - -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { - return nil, false -} - -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { - return nil, false -} - -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { - return nil, false -} - -// AsGetMetadataActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { - return &gma, true -} - -// AsWebActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsWebActivity() (*WebActivity, bool) { - return nil, false -} - -// AsLookupActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsLookupActivity() (*LookupActivity, bool) { - return nil, false -} - -// AsDeleteActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsDeleteActivity() (*DeleteActivity, bool) { - return nil, false -} - -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { - return nil, false -} - -// AsCustomActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsCustomActivity() (*CustomActivity, bool) { - return nil, false -} - -// AsExecuteSSISPackageActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { - return nil, false -} - -// AsHDInsightSparkActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { - return nil, false -} - -// AsHDInsightStreamingActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { - return nil, false -} - -// AsHDInsightMapReduceActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { - return nil, false -} - -// AsHDInsightPigActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { - return nil, false -} - -// AsHDInsightHiveActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { - return nil, false -} - -// AsCopyActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsCopyActivity() (*CopyActivity, bool) { - return nil, false -} - -// AsExecutionActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsExecutionActivity() (*ExecutionActivity, bool) { - return nil, false -} - -// AsBasicExecutionActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { - return &gma, true -} - -// AsWebHookActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsWebHookActivity() (*WebHookActivity, bool) { - return nil, false -} - -// AsAppendVariableActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { - return nil, false -} - -// AsSetVariableActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { - return nil, false -} - -// AsFilterActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsFilterActivity() (*FilterActivity, bool) { - return nil, false -} - -// AsValidationActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsValidationActivity() (*ValidationActivity, bool) { - return nil, false -} - -// AsUntilActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsUntilActivity() (*UntilActivity, bool) { - return nil, false -} - -// AsWaitActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsControlActivity() (*ControlActivity, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsBasicControlActivity() (BasicControlActivity, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsActivity() (*Activity, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsBasicActivity() (BasicActivity, bool) { - return &gma, true -} - -// UnmarshalJSON is the custom unmarshaler for GetMetadataActivity struct. -func (gma *GetMetadataActivity) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "typeProperties": - if v != nil { - var getMetadataActivityTypeProperties GetMetadataActivityTypeProperties - err = json.Unmarshal(*v, &getMetadataActivityTypeProperties) - if err != nil { - return err - } - gma.GetMetadataActivityTypeProperties = &getMetadataActivityTypeProperties - } - case "linkedServiceName": - if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) - if err != nil { - return err - } - gma.LinkedServiceName = &linkedServiceName - } - case "policy": - if v != nil { - var policy ActivityPolicy - err = json.Unmarshal(*v, &policy) - if err != nil { - return err - } - gma.Policy = &policy - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if gma.AdditionalProperties == nil { - gma.AdditionalProperties = make(map[string]interface{}) - } - gma.AdditionalProperties[k] = additionalProperties - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - gma.Name = &name - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - gma.Description = &description - } - case "dependsOn": - if v != nil { - var dependsOn []ActivityDependency - err = json.Unmarshal(*v, &dependsOn) - if err != nil { - return err - } - gma.DependsOn = &dependsOn - } - case "userProperties": - if v != nil { - var userProperties []UserProperty - err = json.Unmarshal(*v, &userProperties) - if err != nil { - return err - } - gma.UserProperties = &userProperties - } - case "type": - if v != nil { - var typeVar TypeBasicActivity - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - gma.Type = typeVar - } - } - } - - return nil -} - -// GetMetadataActivityTypeProperties getMetadata activity properties. -type GetMetadataActivityTypeProperties struct { - // Dataset - GetMetadata activity dataset reference. - Dataset *DatasetReference `json:"dataset,omitempty"` - // FieldList - Fields of metadata to get from dataset. - FieldList *[]interface{} `json:"fieldList,omitempty"` -} - -// GetSsisObjectMetadataRequest the request payload of get SSIS object metadata. -type GetSsisObjectMetadataRequest struct { - // MetadataPath - Metadata path. - MetadataPath *string `json:"metadataPath,omitempty"` -} - -// GitHubAccessTokenRequest get GitHub access token request definition. -type GitHubAccessTokenRequest struct { - // GitHubAccessCode - GitHub access code. - GitHubAccessCode *string `json:"gitHubAccessCode,omitempty"` - // GitHubClientID - GitHub application client ID. - GitHubClientID *string `json:"gitHubClientId,omitempty"` - // GitHubAccessTokenBaseURL - GitHub access token base URL. - GitHubAccessTokenBaseURL *string `json:"gitHubAccessTokenBaseUrl,omitempty"` -} - -// GitHubAccessTokenResponse get GitHub access token response definition. -type GitHubAccessTokenResponse struct { - autorest.Response `json:"-"` - // GitHubAccessToken - GitHub access token. - GitHubAccessToken *string `json:"gitHubAccessToken,omitempty"` -} - -// GoogleAdWordsLinkedService google AdWords service linked service. -type GoogleAdWordsLinkedService struct { - // GoogleAdWordsLinkedServiceTypeProperties - Google AdWords service linked service properties. - *GoogleAdWordsLinkedServiceTypeProperties `json:"typeProperties,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. - Description *string `json:"description,omitempty"` - // Parameters - Parameters for linked service. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the linked service. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) MarshalJSON() ([]byte, error) { - gawls.Type = TypeGoogleAdWords - objectMap := make(map[string]interface{}) - if gawls.GoogleAdWordsLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = gawls.GoogleAdWordsLinkedServiceTypeProperties - } - if gawls.ConnectVia != nil { - objectMap["connectVia"] = gawls.ConnectVia - } - if gawls.Description != nil { - objectMap["description"] = gawls.Description - } - if gawls.Parameters != nil { - objectMap["parameters"] = gawls.Parameters - } - if gawls.Annotations != nil { - objectMap["annotations"] = gawls.Annotations - } - if gawls.Type != "" { - objectMap["type"] = gawls.Type - } - for k, v := range gawls.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) -} - -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsSapTableLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { - return &gawls, true -} - -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { - return nil, false +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return &dcls, true } -// AsHDInsightLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAzureStorageLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsLinkedService() (*LinkedService, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &gawls, true +// AsBasicLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &dcls, true } -// UnmarshalJSON is the custom unmarshaler for GoogleAdWordsLinkedService struct. -func (gawls *GoogleAdWordsLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for DynamicsCrmLinkedService struct. +func (dcls *DynamicsCrmLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -63339,12 +64091,12 @@ func (gawls *GoogleAdWordsLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var googleAdWordsLinkedServiceTypeProperties GoogleAdWordsLinkedServiceTypeProperties - err = json.Unmarshal(*v, &googleAdWordsLinkedServiceTypeProperties) + var dynamicsCrmLinkedServiceTypeProperties DynamicsCrmLinkedServiceTypeProperties + err = json.Unmarshal(*v, &dynamicsCrmLinkedServiceTypeProperties) if err != nil { return err } - gawls.GoogleAdWordsLinkedServiceTypeProperties = &googleAdWordsLinkedServiceTypeProperties + dcls.DynamicsCrmLinkedServiceTypeProperties = &dynamicsCrmLinkedServiceTypeProperties } default: if v != nil { @@ -63353,10 +64105,10 @@ func (gawls *GoogleAdWordsLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if gawls.AdditionalProperties == nil { - gawls.AdditionalProperties = make(map[string]interface{}) + if dcls.AdditionalProperties == nil { + dcls.AdditionalProperties = make(map[string]interface{}) } - gawls.AdditionalProperties[k] = additionalProperties + dcls.AdditionalProperties[k] = additionalProperties } case "connectVia": if v != nil { @@ -63365,7 +64117,7 @@ func (gawls *GoogleAdWordsLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - gawls.ConnectVia = &connectVia + dcls.ConnectVia = &connectVia } case "description": if v != nil { @@ -63374,7 +64126,7 @@ func (gawls *GoogleAdWordsLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - gawls.Description = &description + dcls.Description = &description } case "parameters": if v != nil { @@ -63383,7 +64135,7 @@ func (gawls *GoogleAdWordsLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - gawls.Parameters = parameters + dcls.Parameters = parameters } case "annotations": if v != nil { @@ -63392,7 +64144,7 @@ func (gawls *GoogleAdWordsLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - gawls.Annotations = &annotations + dcls.Annotations = &annotations } case "type": if v != nil { @@ -63401,7 +64153,7 @@ func (gawls *GoogleAdWordsLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - gawls.Type = typeVar + dcls.Type = typeVar } } } @@ -63409,34 +64161,30 @@ func (gawls *GoogleAdWordsLinkedService) UnmarshalJSON(body []byte) error { return nil } -// GoogleAdWordsLinkedServiceTypeProperties google AdWords service linked service properties. -type GoogleAdWordsLinkedServiceTypeProperties struct { - // ClientCustomerID - The Client customer ID of the AdWords account that you want to fetch report data for. - ClientCustomerID interface{} `json:"clientCustomerID,omitempty"` - // DeveloperToken - The developer token associated with the manager account that you use to grant access to the AdWords API. - DeveloperToken BasicSecretBase `json:"developerToken,omitempty"` - // AuthenticationType - The OAuth 2.0 authentication mechanism used for authentication. ServiceAuthentication can only be used on self-hosted IR. Possible values include: 'ServiceAuthentication', 'UserAuthentication' - AuthenticationType GoogleAdWordsAuthenticationType `json:"authenticationType,omitempty"` - // RefreshToken - The refresh token obtained from Google for authorizing access to AdWords for UserAuthentication. - RefreshToken BasicSecretBase `json:"refreshToken,omitempty"` - // ClientID - The client id of the google application used to acquire the refresh token. - ClientID BasicSecretBase `json:"clientId,omitempty"` - // ClientSecret - The client secret of the google application used to acquire the refresh token. - ClientSecret BasicSecretBase `json:"clientSecret,omitempty"` - // Email - The service account email ID that is used for ServiceAuthentication and can only be used on self-hosted IR. - Email interface{} `json:"email,omitempty"` - // KeyFilePath - The full path to the .p12 key file that is used to authenticate the service account email address and can only be used on self-hosted IR. - KeyFilePath interface{} `json:"keyFilePath,omitempty"` - // TrustedCertPath - 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. - TrustedCertPath interface{} `json:"trustedCertPath,omitempty"` - // UseSystemTrustStore - Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. - UseSystemTrustStore interface{} `json:"useSystemTrustStore,omitempty"` +// DynamicsCrmLinkedServiceTypeProperties dynamics CRM linked service properties. +type DynamicsCrmLinkedServiceTypeProperties struct { + // DeploymentType - The deployment type of the Dynamics CRM instance. 'Online' for Dynamics CRM Online and 'OnPremisesWithIfd' for Dynamics CRM on-premises with Ifd. Type: string (or Expression with resultType string). Possible values include: 'Online', 'OnPremisesWithIfd' + DeploymentType DynamicsDeploymentType `json:"deploymentType,omitempty"` + // HostName - The host name of the on-premises Dynamics CRM server. The property is required for on-prem and not allowed for online. Type: string (or Expression with resultType string). + HostName interface{} `json:"hostName,omitempty"` + // Port - The port of on-premises Dynamics CRM server. The property is required for on-prem and not allowed for online. Default is 443. Type: integer (or Expression with resultType integer), minimum: 0. + Port interface{} `json:"port,omitempty"` + // ServiceURI - The URL to the Microsoft Dynamics CRM server. The property is required for on-line and not allowed for on-prem. Type: string (or Expression with resultType string). + ServiceURI interface{} `json:"serviceUri,omitempty"` + // OrganizationName - The organization name of the Dynamics CRM instance. The property is required for on-prem and required for online when there are more than one Dynamics CRM instances associated with the user. Type: string (or Expression with resultType string). + OrganizationName interface{} `json:"organizationName,omitempty"` + // AuthenticationType - The authentication type to connect to Dynamics CRM server. 'Office365' for online scenario, 'Ifd' for on-premises with Ifd scenario. Type: string (or Expression with resultType string). Possible values include: 'Office365', 'Ifd' + AuthenticationType DynamicsAuthenticationType `json:"authenticationType,omitempty"` + // Username - User name to access the Dynamics CRM instance. Type: string (or Expression with resultType string). + Username interface{} `json:"username,omitempty"` + // Password - Password to access the Dynamics CRM instance. + Password BasicSecretBase `json:"password,omitempty"` // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` } -// UnmarshalJSON is the custom unmarshaler for GoogleAdWordsLinkedServiceTypeProperties struct. -func (gawlstp *GoogleAdWordsLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for DynamicsCrmLinkedServiceTypeProperties struct. +func (dclstp *DynamicsCrmLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -63444,91 +64192,76 @@ func (gawlstp *GoogleAdWordsLinkedServiceTypeProperties) UnmarshalJSON(body []by } for k, v := range m { switch k { - case "clientCustomerID": - if v != nil { - var clientCustomerID interface{} - err = json.Unmarshal(*v, &clientCustomerID) - if err != nil { - return err - } - gawlstp.ClientCustomerID = clientCustomerID - } - case "developerToken": - if v != nil { - developerToken, err := unmarshalBasicSecretBase(*v) - if err != nil { - return err - } - gawlstp.DeveloperToken = developerToken - } - case "authenticationType": + case "deploymentType": if v != nil { - var authenticationType GoogleAdWordsAuthenticationType - err = json.Unmarshal(*v, &authenticationType) + var deploymentType DynamicsDeploymentType + err = json.Unmarshal(*v, &deploymentType) if err != nil { return err } - gawlstp.AuthenticationType = authenticationType + dclstp.DeploymentType = deploymentType } - case "refreshToken": + case "hostName": if v != nil { - refreshToken, err := unmarshalBasicSecretBase(*v) + var hostName interface{} + err = json.Unmarshal(*v, &hostName) if err != nil { return err } - gawlstp.RefreshToken = refreshToken + dclstp.HostName = hostName } - case "clientId": + case "port": if v != nil { - clientID, err := unmarshalBasicSecretBase(*v) + var port interface{} + err = json.Unmarshal(*v, &port) if err != nil { return err } - gawlstp.ClientID = clientID + dclstp.Port = port } - case "clientSecret": + case "serviceUri": if v != nil { - clientSecret, err := unmarshalBasicSecretBase(*v) + var serviceURI interface{} + err = json.Unmarshal(*v, &serviceURI) if err != nil { return err } - gawlstp.ClientSecret = clientSecret + dclstp.ServiceURI = serviceURI } - case "email": + case "organizationName": if v != nil { - var email interface{} - err = json.Unmarshal(*v, &email) + var organizationName interface{} + err = json.Unmarshal(*v, &organizationName) if err != nil { return err } - gawlstp.Email = email + dclstp.OrganizationName = organizationName } - case "keyFilePath": + case "authenticationType": if v != nil { - var keyFilePath interface{} - err = json.Unmarshal(*v, &keyFilePath) + var authenticationType DynamicsAuthenticationType + err = json.Unmarshal(*v, &authenticationType) if err != nil { return err } - gawlstp.KeyFilePath = keyFilePath + dclstp.AuthenticationType = authenticationType } - case "trustedCertPath": + case "username": if v != nil { - var trustedCertPath interface{} - err = json.Unmarshal(*v, &trustedCertPath) + var username interface{} + err = json.Unmarshal(*v, &username) if err != nil { return err } - gawlstp.TrustedCertPath = trustedCertPath + dclstp.Username = username } - case "useSystemTrustStore": + case "password": if v != nil { - var useSystemTrustStore interface{} - err = json.Unmarshal(*v, &useSystemTrustStore) + password, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - gawlstp.UseSystemTrustStore = useSystemTrustStore + dclstp.Password = password } case "encryptedCredential": if v != nil { @@ -63537,7 +64270,7 @@ func (gawlstp *GoogleAdWordsLinkedServiceTypeProperties) UnmarshalJSON(body []by if err != nil { return err } - gawlstp.EncryptedCredential = encryptedCredential + dclstp.EncryptedCredential = encryptedCredential } } } @@ -63545,414 +64278,219 @@ func (gawlstp *GoogleAdWordsLinkedServiceTypeProperties) UnmarshalJSON(body []by return nil } -// GoogleAdWordsObjectDataset google AdWords service dataset. -type GoogleAdWordsObjectDataset struct { - // GenericDatasetTypeProperties - Properties specific to this dataset type. - *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` +// DynamicsCrmSink a copy activity Dynamics CRM sink. +type DynamicsCrmSink struct { + // WriteBehavior - The write behavior for the operation. + WriteBehavior *string `json:"writeBehavior,omitempty"` + // IgnoreNullValues - 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). + IgnoreNullValues interface{} `json:"ignoreNullValues,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Description - Dataset description. - Description *string `json:"description,omitempty"` - // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. - Structure interface{} `json:"structure,omitempty"` - // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - Schema interface{} `json:"schema,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Parameters - Parameters for dataset. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the Dataset. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' - Type TypeBasicDataset `json:"type,omitempty"` + // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + WriteBatchSize interface{} `json:"writeBatchSize,omitempty"` + // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"` + // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer). + SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"` + // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink' + Type TypeBasicCopySink `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) MarshalJSON() ([]byte, error) { - gawod.Type = TypeGoogleAdWordsObject +// MarshalJSON is the custom marshaler for DynamicsCrmSink. +func (dcs DynamicsCrmSink) MarshalJSON() ([]byte, error) { + dcs.Type = TypeDynamicsCrmSink objectMap := make(map[string]interface{}) - if gawod.GenericDatasetTypeProperties != nil { - objectMap["typeProperties"] = gawod.GenericDatasetTypeProperties + if dcs.WriteBehavior != nil { + objectMap["writeBehavior"] = dcs.WriteBehavior } - if gawod.Description != nil { - objectMap["description"] = gawod.Description - } - if gawod.Structure != nil { - objectMap["structure"] = gawod.Structure + if dcs.IgnoreNullValues != nil { + objectMap["ignoreNullValues"] = dcs.IgnoreNullValues } - if gawod.Schema != nil { - objectMap["schema"] = gawod.Schema + if dcs.WriteBatchSize != nil { + objectMap["writeBatchSize"] = dcs.WriteBatchSize } - if gawod.LinkedServiceName != nil { - objectMap["linkedServiceName"] = gawod.LinkedServiceName + if dcs.WriteBatchTimeout != nil { + objectMap["writeBatchTimeout"] = dcs.WriteBatchTimeout } - if gawod.Parameters != nil { - objectMap["parameters"] = gawod.Parameters + if dcs.SinkRetryCount != nil { + objectMap["sinkRetryCount"] = dcs.SinkRetryCount } - if gawod.Annotations != nil { - objectMap["annotations"] = gawod.Annotations + if dcs.SinkRetryWait != nil { + objectMap["sinkRetryWait"] = dcs.SinkRetryWait } - if gawod.Folder != nil { - objectMap["folder"] = gawod.Folder + if dcs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = dcs.MaxConcurrentConnections } - if gawod.Type != "" { - objectMap["type"] = gawod.Type + if dcs.Type != "" { + objectMap["type"] = dcs.Type } - for k, v := range gawod.AdditionalProperties { + for k, v := range dcs.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { - return &gawod, true -} - -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { - return nil, false -} - -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { - return nil, false -} - -// AsDynamicsAXResourceDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { - return nil, false -} - -// AsResponsysObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { - return nil, false -} - -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { - return nil, false -} - -// AsVerticaTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { - return nil, false -} - -// AsNetezzaTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { - return nil, false -} - -// AsZohoObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { - return nil, false -} - -// AsXeroObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { - return nil, false -} - -// AsSquareObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { - return nil, false -} - -// AsSparkObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { - return nil, false -} - -// AsShopifyObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { - return nil, false -} - -// AsServiceNowObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { - return nil, false -} - -// AsQuickBooksObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { - return nil, false -} - -// AsPrestoObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { - return nil, false -} - -// AsPhoenixObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { - return nil, false -} - -// AsPaypalObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { - return nil, false -} - -// AsMarketoObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { - return nil, false -} - -// AsMariaDBTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { - return nil, false -} - -// AsMagentoObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { - return nil, false -} - -// AsJiraObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { - return nil, false -} - -// AsImpalaObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { - return nil, false -} - -// AsHubspotObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { - return nil, false -} - -// AsHiveObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { - return nil, false -} - -// AsHBaseObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { - return nil, false -} - -// AsGreenplumTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { - return nil, false -} - -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { - return nil, false -} - -// AsEloquaObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { - return nil, false -} - -// AsDrillTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { - return nil, false -} - -// AsCouchbaseTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { - return nil, false -} - -// AsConcurObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { - return nil, false -} - -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { - return nil, false -} - -// AsAmazonMWSObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { - return nil, false -} - -// AsHTTPDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { - return nil, false -} - -// AsAzureSearchIndexDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { - return nil, false -} - -// AsWebTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { - return nil, false -} - -// AsSapTableResourceDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { - return nil, false -} - -// AsRestResourceDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsSalesforceSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsSalesforceSink() (*SalesforceSink, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsAzureDataExplorerSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { - return nil, false +// AsDynamicsCrmSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { + return &dcs, true } -// AsSalesforceObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsDynamicsSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsDynamicsSink() (*DynamicsSink, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsMicrosoftAccessSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsInformixSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsInformixSink() (*InformixSink, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsOdbcSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsOdbcSink() (*OdbcSink, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsAzureSearchIndexSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsAzureBlobFSSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsOracleSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsOracleSink() (*OracleSink, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsSQLDWSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsSQLMISink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsSQLMISink() (*SQLMISink, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsAzureSQLSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsAzureSQLSink() (*AzureSQLSink, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsSQLServerSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsSQLServerSink() (*SQLServerSink, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsSQLSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsSQLSink() (*SQLSink, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsDocumentDbCollectionSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsFileSystemSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsFileSystemSink() (*FileSystemSink, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsBlobSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsBlobSink() (*BlobSink, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsBinarySink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsBinarySink() (*BinarySink, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsParquetSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsParquetSink() (*ParquetSink, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsAzureTableSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsAzureTableSink() (*AzureTableSink, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsAzureQueueSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsAzureQueueSink() (*AzureQueueSink, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsSapCloudForCustomerSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsAzurePostgreSQLSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsDelimitedTextSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsDataset() (*Dataset, bool) { +// AsCopySink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsCopySink() (*CopySink, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsBasicDataset() (BasicDataset, bool) { - return &gawod, true +// AsBasicCopySink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsBasicCopySink() (BasicCopySink, bool) { + return &dcs, true } -// UnmarshalJSON is the custom unmarshaler for GoogleAdWordsObjectDataset struct. -func (gawod *GoogleAdWordsObjectDataset) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for DynamicsCrmSink struct. +func (dcs *DynamicsCrmSink) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -63960,98 +64498,89 @@ func (gawod *GoogleAdWordsObjectDataset) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": + case "writeBehavior": if v != nil { - var genericDatasetTypeProperties GenericDatasetTypeProperties - err = json.Unmarshal(*v, &genericDatasetTypeProperties) + var writeBehavior string + err = json.Unmarshal(*v, &writeBehavior) if err != nil { return err } - gawod.GenericDatasetTypeProperties = &genericDatasetTypeProperties + dcs.WriteBehavior = &writeBehavior } - default: + case "ignoreNullValues": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var ignoreNullValues interface{} + err = json.Unmarshal(*v, &ignoreNullValues) if err != nil { return err } - if gawod.AdditionalProperties == nil { - gawod.AdditionalProperties = make(map[string]interface{}) - } - gawod.AdditionalProperties[k] = additionalProperties + dcs.IgnoreNullValues = ignoreNullValues } - case "description": + default: if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - gawod.Description = &description - } - case "structure": - if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) - if err != nil { - return err + if dcs.AdditionalProperties == nil { + dcs.AdditionalProperties = make(map[string]interface{}) } - gawod.Structure = structure + dcs.AdditionalProperties[k] = additionalProperties } - case "schema": + case "writeBatchSize": if v != nil { - var schema interface{} - err = json.Unmarshal(*v, &schema) + var writeBatchSize interface{} + err = json.Unmarshal(*v, &writeBatchSize) if err != nil { return err } - gawod.Schema = schema + dcs.WriteBatchSize = writeBatchSize } - case "linkedServiceName": + case "writeBatchTimeout": if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) + var writeBatchTimeout interface{} + err = json.Unmarshal(*v, &writeBatchTimeout) if err != nil { return err } - gawod.LinkedServiceName = &linkedServiceName + dcs.WriteBatchTimeout = writeBatchTimeout } - case "parameters": + case "sinkRetryCount": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var sinkRetryCount interface{} + err = json.Unmarshal(*v, &sinkRetryCount) if err != nil { return err } - gawod.Parameters = parameters + dcs.SinkRetryCount = sinkRetryCount } - case "annotations": + case "sinkRetryWait": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var sinkRetryWait interface{} + err = json.Unmarshal(*v, &sinkRetryWait) if err != nil { return err } - gawod.Annotations = &annotations + dcs.SinkRetryWait = sinkRetryWait } - case "folder": + case "maxConcurrentConnections": if v != nil { - var folder DatasetFolder - err = json.Unmarshal(*v, &folder) + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) if err != nil { return err } - gawod.Folder = &folder + dcs.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicDataset + var typeVar TypeBasicCopySink err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - gawod.Type = typeVar + dcs.Type = typeVar } } } @@ -64059,9 +64588,9 @@ func (gawod *GoogleAdWordsObjectDataset) UnmarshalJSON(body []byte) error { return nil } -// GoogleAdWordsSource a copy activity Google AdWords service source. -type GoogleAdWordsSource struct { - // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). +// DynamicsCrmSource a copy activity Dynamics CRM source. +type DynamicsCrmSource struct { + // Query - FetchXML is a proprietary query language that is used in Microsoft Dynamics CRM (online & on-premises). Type: string (or Expression with resultType string). Query interface{} `json:"query,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` @@ -64071,377 +64600,447 @@ type GoogleAdWordsSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) MarshalJSON() ([]byte, error) { - gaws.Type = TypeGoogleAdWordsSource +// MarshalJSON is the custom marshaler for DynamicsCrmSource. +func (dcs DynamicsCrmSource) MarshalJSON() ([]byte, error) { + dcs.Type = TypeDynamicsCrmSource objectMap := make(map[string]interface{}) - if gaws.Query != nil { - objectMap["query"] = gaws.Query + if dcs.Query != nil { + objectMap["query"] = dcs.Query } - if gaws.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = gaws.SourceRetryCount + if dcs.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = dcs.SourceRetryCount } - if gaws.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = gaws.SourceRetryWait + if dcs.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = dcs.SourceRetryWait } - if gaws.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = gaws.MaxConcurrentConnections + if dcs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = dcs.MaxConcurrentConnections } - if gaws.Type != "" { - objectMap["type"] = gaws.Type + if dcs.Type != "" { + objectMap["type"] = dcs.Type } - for k, v := range gaws.AdditionalProperties { + for k, v := range dcs.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { - return &gaws, true +// AsGoogleAdWordsSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { + return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsResponsysSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsVerticaSource() (*VerticaSource, bool) { +// AsVerticaSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsNetezzaSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsZohoSource() (*ZohoSource, bool) { +// AsZohoSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsXeroSource() (*XeroSource, bool) { +// AsXeroSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsSquareSource() (*SquareSource, bool) { +// AsSquareSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsSparkSource() (*SparkSource, bool) { +// AsSparkSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsShopifySource() (*ShopifySource, bool) { +// AsShopifySource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsServiceNowSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsPrestoSource() (*PrestoSource, bool) { +// AsPrestoSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsPhoenixSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsPaypalSource() (*PaypalSource, bool) { +// AsPaypalSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsMarketoSource() (*MarketoSource, bool) { +// AsMarketoSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsMariaDBSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsMagentoSource() (*MagentoSource, bool) { +// AsMagentoSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsJiraSource() (*JiraSource, bool) { +// AsJiraSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsImpalaSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsHubspotSource() (*HubspotSource, bool) { +// AsHubspotSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsHiveSource() (*HiveSource, bool) { +// AsHiveSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsHBaseSource() (*HBaseSource, bool) { +// AsHBaseSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsGreenplumSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsEloquaSource() (*EloquaSource, bool) { +// AsEloquaSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsDrillSource() (*DrillSource, bool) { +// AsDrillSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsConcurSource() (*ConcurSource, bool) { +// AsConcurSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsHTTPSource() (*HTTPSource, bool) { +// AsHTTPSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsOffice365Source() (*Office365Source, bool) { +// AsOffice365Source is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsMongoDbSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsCassandraSource() (*CassandraSource, bool) { +// AsCassandraSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsWebSource() (*WebSource, bool) { +// AsWebSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsOracleSource() (*OracleSource, bool) { +// AsTeradataSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsOracleSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsHdfsSource() (*HdfsSource, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsHdfsSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsFileSystemSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsSQLDWSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsSQLMISource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsSQLSource() (*SQLSource, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsRestSource() (*RestSource, bool) { +// AsSQLServerSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsSapTableSource() (*SapTableSource, bool) { +// AsSQLSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsRestSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsSapTableSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsSapEccSource() (*SapEccSource, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsSapHanaSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsSapEccSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsRelationalSource() (*RelationalSource, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsSalesforceSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsBlobSource() (*BlobSource, bool) { +// AsODataSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsSybaseSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsParquetSource() (*ParquetSource, bool) { +// AsMySQLSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsCopySource() (*CopySource, bool) { +// AsOdbcSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsBasicCopySource() (BasicCopySource, bool) { - return &gaws, true +// AsDb2Source is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsDb2Source() (*Db2Source, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for GoogleAdWordsSource struct. -func (gaws *GoogleAdWordsSource) UnmarshalJSON(body []byte) error { +// AsMicrosoftAccessSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + +// AsRelationalSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return &dcs, true +} + +// AsDynamicsSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + +// AsAzureTableSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsBinarySource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsDelimitedTextSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false +} + +// AsParquetSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsBasicCopySource() (BasicCopySource, bool) { + return &dcs, true +} + +// UnmarshalJSON is the custom unmarshaler for DynamicsCrmSource struct. +func (dcs *DynamicsCrmSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -64456,7 +65055,7 @@ func (gaws *GoogleAdWordsSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - gaws.Query = query + dcs.Query = query } default: if v != nil { @@ -64465,10 +65064,10 @@ func (gaws *GoogleAdWordsSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - if gaws.AdditionalProperties == nil { - gaws.AdditionalProperties = make(map[string]interface{}) + if dcs.AdditionalProperties == nil { + dcs.AdditionalProperties = make(map[string]interface{}) } - gaws.AdditionalProperties[k] = additionalProperties + dcs.AdditionalProperties[k] = additionalProperties } case "sourceRetryCount": if v != nil { @@ -64477,7 +65076,7 @@ func (gaws *GoogleAdWordsSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - gaws.SourceRetryCount = sourceRetryCount + dcs.SourceRetryCount = sourceRetryCount } case "sourceRetryWait": if v != nil { @@ -64486,7 +65085,7 @@ func (gaws *GoogleAdWordsSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - gaws.SourceRetryWait = sourceRetryWait + dcs.SourceRetryWait = sourceRetryWait } case "maxConcurrentConnections": if v != nil { @@ -64495,7 +65094,7 @@ func (gaws *GoogleAdWordsSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - gaws.MaxConcurrentConnections = maxConcurrentConnections + dcs.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { @@ -64504,7 +65103,7 @@ func (gaws *GoogleAdWordsSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - gaws.Type = typeVar + dcs.Type = typeVar } } } @@ -64512,484 +65111,469 @@ func (gaws *GoogleAdWordsSource) UnmarshalJSON(body []byte) error { return nil } -// GoogleBigQueryLinkedService google BigQuery service linked service. -type GoogleBigQueryLinkedService struct { - // GoogleBigQueryLinkedServiceTypeProperties - Google BigQuery service linked service properties. - *GoogleBigQueryLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// DynamicsEntityDataset the Dynamics entity dataset. +type DynamicsEntityDataset struct { + // DynamicsEntityDatasetTypeProperties - Dynamics entity dataset properties. + *DynamicsEntityDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. + // Description - Dataset description. Description *string `json:"description,omitempty"` - // Parameters - Parameters for linked service. + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the linked service. + // Annotations - List of tags that can be used for describing the Dataset. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) MarshalJSON() ([]byte, error) { - gbqls.Type = TypeGoogleBigQuery +// MarshalJSON is the custom marshaler for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) MarshalJSON() ([]byte, error) { + ded.Type = TypeDynamicsEntity objectMap := make(map[string]interface{}) - if gbqls.GoogleBigQueryLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = gbqls.GoogleBigQueryLinkedServiceTypeProperties + if ded.DynamicsEntityDatasetTypeProperties != nil { + objectMap["typeProperties"] = ded.DynamicsEntityDatasetTypeProperties } - if gbqls.ConnectVia != nil { - objectMap["connectVia"] = gbqls.ConnectVia + if ded.Description != nil { + objectMap["description"] = ded.Description } - if gbqls.Description != nil { - objectMap["description"] = gbqls.Description + if ded.Structure != nil { + objectMap["structure"] = ded.Structure } - if gbqls.Parameters != nil { - objectMap["parameters"] = gbqls.Parameters + if ded.Schema != nil { + objectMap["schema"] = ded.Schema } - if gbqls.Annotations != nil { - objectMap["annotations"] = gbqls.Annotations + if ded.LinkedServiceName != nil { + objectMap["linkedServiceName"] = ded.LinkedServiceName } - if gbqls.Type != "" { - objectMap["type"] = gbqls.Type + if ded.Parameters != nil { + objectMap["parameters"] = ded.Parameters } - for k, v := range gbqls.AdditionalProperties { + if ded.Annotations != nil { + objectMap["annotations"] = ded.Annotations + } + if ded.Folder != nil { + objectMap["folder"] = ded.Folder + } + if ded.Type != "" { + objectMap["type"] = ded.Type + } + for k, v := range ded.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { - return nil, false -} - -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { - return nil, false -} - -// AsSapTableLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { - return nil, false -} - -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { - return nil, false -} - -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { - return nil, false -} - -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { - return &gbqls, true -} - -// AsEloquaLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsDrillTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsHTTPDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsWebTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsRestResourceDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsInformixTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsOracleTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsODataResourceDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsFileShareDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsOffice365Dataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { - return nil, false +// AsDynamicsEntityDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { + return &ded, true } -// AsFileServerLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsCustomDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsAzureTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsBinaryDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsParquetDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAmazonS3Dataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsDataset() (*Dataset, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &gbqls, true +// AsBasicDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsBasicDataset() (BasicDataset, bool) { + return &ded, true } -// UnmarshalJSON is the custom unmarshaler for GoogleBigQueryLinkedService struct. -func (gbqls *GoogleBigQueryLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for DynamicsEntityDataset struct. +func (ded *DynamicsEntityDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -64999,12 +65583,12 @@ func (gbqls *GoogleBigQueryLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var googleBigQueryLinkedServiceTypeProperties GoogleBigQueryLinkedServiceTypeProperties - err = json.Unmarshal(*v, &googleBigQueryLinkedServiceTypeProperties) + var dynamicsEntityDatasetTypeProperties DynamicsEntityDatasetTypeProperties + err = json.Unmarshal(*v, &dynamicsEntityDatasetTypeProperties) if err != nil { return err } - gbqls.GoogleBigQueryLinkedServiceTypeProperties = &googleBigQueryLinkedServiceTypeProperties + ded.DynamicsEntityDatasetTypeProperties = &dynamicsEntityDatasetTypeProperties } default: if v != nil { @@ -65013,19 +65597,10 @@ func (gbqls *GoogleBigQueryLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if gbqls.AdditionalProperties == nil { - gbqls.AdditionalProperties = make(map[string]interface{}) - } - gbqls.AdditionalProperties[k] = additionalProperties - } - case "connectVia": - if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) - if err != nil { - return err + if ded.AdditionalProperties == nil { + ded.AdditionalProperties = make(map[string]interface{}) } - gbqls.ConnectVia = &connectVia + ded.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -65034,182 +65609,70 @@ func (gbqls *GoogleBigQueryLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - gbqls.Description = &description + ded.Description = &description } - case "parameters": + case "structure": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var structure interface{} + err = json.Unmarshal(*v, &structure) if err != nil { return err } - gbqls.Parameters = parameters + ded.Structure = structure } - case "annotations": + case "schema": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var schema interface{} + err = json.Unmarshal(*v, &schema) if err != nil { return err } - gbqls.Annotations = &annotations + ded.Schema = schema } - case "type": + case "linkedServiceName": if v != nil { - var typeVar TypeBasicLinkedService - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - gbqls.Type = typeVar - } - } - } - - return nil -} - -// GoogleBigQueryLinkedServiceTypeProperties google BigQuery service linked service properties. -type GoogleBigQueryLinkedServiceTypeProperties struct { - // Project - The default BigQuery project to query against. - Project interface{} `json:"project,omitempty"` - // AdditionalProjects - A comma-separated list of public BigQuery projects to access. - AdditionalProjects interface{} `json:"additionalProjects,omitempty"` - // RequestGoogleDriveScope - Whether to request access to Google Drive. Allowing Google Drive access enables support for federated tables that combine BigQuery data with data from Google Drive. The default value is false. - RequestGoogleDriveScope interface{} `json:"requestGoogleDriveScope,omitempty"` - // AuthenticationType - The OAuth 2.0 authentication mechanism used for authentication. ServiceAuthentication can only be used on self-hosted IR. Possible values include: 'GoogleBigQueryAuthenticationTypeServiceAuthentication', 'GoogleBigQueryAuthenticationTypeUserAuthentication' - AuthenticationType GoogleBigQueryAuthenticationType `json:"authenticationType,omitempty"` - // RefreshToken - The refresh token obtained from Google for authorizing access to BigQuery for UserAuthentication. - RefreshToken BasicSecretBase `json:"refreshToken,omitempty"` - // ClientID - The client id of the google application used to acquire the refresh token. - ClientID BasicSecretBase `json:"clientId,omitempty"` - // ClientSecret - The client secret of the google application used to acquire the refresh token. - ClientSecret BasicSecretBase `json:"clientSecret,omitempty"` - // Email - The service account email ID that is used for ServiceAuthentication and can only be used on self-hosted IR. - Email interface{} `json:"email,omitempty"` - // KeyFilePath - The full path to the .p12 key file that is used to authenticate the service account email address and can only be used on self-hosted IR. - KeyFilePath interface{} `json:"keyFilePath,omitempty"` - // TrustedCertPath - 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. - TrustedCertPath interface{} `json:"trustedCertPath,omitempty"` - // UseSystemTrustStore - Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. - UseSystemTrustStore interface{} `json:"useSystemTrustStore,omitempty"` - // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). - EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` -} - -// UnmarshalJSON is the custom unmarshaler for GoogleBigQueryLinkedServiceTypeProperties struct. -func (gbqlstp *GoogleBigQueryLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "project": - if v != nil { - var project interface{} - err = json.Unmarshal(*v, &project) - if err != nil { - return err - } - gbqlstp.Project = project - } - case "additionalProjects": - if v != nil { - var additionalProjects interface{} - err = json.Unmarshal(*v, &additionalProjects) - if err != nil { - return err - } - gbqlstp.AdditionalProjects = additionalProjects - } - case "requestGoogleDriveScope": - if v != nil { - var requestGoogleDriveScope interface{} - err = json.Unmarshal(*v, &requestGoogleDriveScope) - if err != nil { - return err - } - gbqlstp.RequestGoogleDriveScope = requestGoogleDriveScope - } - case "authenticationType": - if v != nil { - var authenticationType GoogleBigQueryAuthenticationType - err = json.Unmarshal(*v, &authenticationType) - if err != nil { - return err - } - gbqlstp.AuthenticationType = authenticationType - } - case "refreshToken": - if v != nil { - refreshToken, err := unmarshalBasicSecretBase(*v) - if err != nil { - return err - } - gbqlstp.RefreshToken = refreshToken - } - case "clientId": - if v != nil { - clientID, err := unmarshalBasicSecretBase(*v) - if err != nil { - return err - } - gbqlstp.ClientID = clientID - } - case "clientSecret": - if v != nil { - clientSecret, err := unmarshalBasicSecretBase(*v) - if err != nil { - return err - } - gbqlstp.ClientSecret = clientSecret - } - case "email": - if v != nil { - var email interface{} - err = json.Unmarshal(*v, &email) + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) if err != nil { return err } - gbqlstp.Email = email + ded.LinkedServiceName = &linkedServiceName } - case "keyFilePath": + case "parameters": if v != nil { - var keyFilePath interface{} - err = json.Unmarshal(*v, &keyFilePath) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - gbqlstp.KeyFilePath = keyFilePath + ded.Parameters = parameters } - case "trustedCertPath": + case "annotations": if v != nil { - var trustedCertPath interface{} - err = json.Unmarshal(*v, &trustedCertPath) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - gbqlstp.TrustedCertPath = trustedCertPath + ded.Annotations = &annotations } - case "useSystemTrustStore": + case "folder": if v != nil { - var useSystemTrustStore interface{} - err = json.Unmarshal(*v, &useSystemTrustStore) + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) if err != nil { return err } - gbqlstp.UseSystemTrustStore = useSystemTrustStore + ded.Folder = &folder } - case "encryptedCredential": + case "type": if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) + var typeVar TypeBasicDataset + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - gbqlstp.EncryptedCredential = encryptedCredential + ded.Type = typeVar } } } @@ -65217,414 +65680,520 @@ func (gbqlstp *GoogleBigQueryLinkedServiceTypeProperties) UnmarshalJSON(body []b return nil } -// GoogleBigQueryObjectDataset google BigQuery service dataset. -type GoogleBigQueryObjectDataset struct { - // GenericDatasetTypeProperties - Properties specific to this dataset type. - *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` +// DynamicsEntityDatasetTypeProperties dynamics entity dataset properties. +type DynamicsEntityDatasetTypeProperties struct { + // EntityName - The logical name of the entity. Type: string (or Expression with resultType string). + EntityName interface{} `json:"entityName,omitempty"` +} + +// DynamicsLinkedService dynamics linked service. +type DynamicsLinkedService struct { + // DynamicsLinkedServiceTypeProperties - Dynamics linked service properties. + *DynamicsLinkedServiceTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Description - Dataset description. + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. Description *string `json:"description,omitempty"` - // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. - Structure interface{} `json:"structure,omitempty"` - // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - Schema interface{} `json:"schema,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Parameters - Parameters for dataset. + // Parameters - Parameters for linked service. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the Dataset. + // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' - Type TypeBasicDataset `json:"type,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) MarshalJSON() ([]byte, error) { - gbqod.Type = TypeGoogleBigQueryObject +// MarshalJSON is the custom marshaler for DynamicsLinkedService. +func (dls DynamicsLinkedService) MarshalJSON() ([]byte, error) { + dls.Type = TypeDynamics objectMap := make(map[string]interface{}) - if gbqod.GenericDatasetTypeProperties != nil { - objectMap["typeProperties"] = gbqod.GenericDatasetTypeProperties - } - if gbqod.Description != nil { - objectMap["description"] = gbqod.Description - } - if gbqod.Structure != nil { - objectMap["structure"] = gbqod.Structure - } - if gbqod.Schema != nil { - objectMap["schema"] = gbqod.Schema + if dls.DynamicsLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = dls.DynamicsLinkedServiceTypeProperties } - if gbqod.LinkedServiceName != nil { - objectMap["linkedServiceName"] = gbqod.LinkedServiceName + if dls.ConnectVia != nil { + objectMap["connectVia"] = dls.ConnectVia } - if gbqod.Parameters != nil { - objectMap["parameters"] = gbqod.Parameters + if dls.Description != nil { + objectMap["description"] = dls.Description } - if gbqod.Annotations != nil { - objectMap["annotations"] = gbqod.Annotations + if dls.Parameters != nil { + objectMap["parameters"] = dls.Parameters } - if gbqod.Folder != nil { - objectMap["folder"] = gbqod.Folder + if dls.Annotations != nil { + objectMap["annotations"] = dls.Annotations } - if gbqod.Type != "" { - objectMap["type"] = gbqod.Type + if dls.Type != "" { + objectMap["type"] = dls.Type } - for k, v := range gbqod.AdditionalProperties { + for k, v := range dls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { - return &gbqod, true +// AsImpalaLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { + return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsDataset() (*Dataset, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsBasicDataset() (BasicDataset, bool) { - return &gbqod, true +// AsTeradataLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for GoogleBigQueryObjectDataset struct. -func (gbqod *GoogleBigQueryObjectDataset) UnmarshalJSON(body []byte) error { +// AsDb2LinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return nil, false +} + +// AsSybaseLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { + return nil, false +} + +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { + return nil, false +} + +// AsMySQLLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { + return nil, false +} + +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { + return nil, false +} + +// AsOracleLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { + return nil, false +} + +// AsFileServerLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { + return nil, false +} + +// AsHDInsightLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + +// AsDynamicsLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return &dls, true +} + +// AsCosmosDbLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false +} + +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false +} + +// AsAzureBatchLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} + +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &dls, true +} + +// UnmarshalJSON is the custom unmarshaler for DynamicsLinkedService struct. +func (dls *DynamicsLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -65634,12 +66203,12 @@ func (gbqod *GoogleBigQueryObjectDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var genericDatasetTypeProperties GenericDatasetTypeProperties - err = json.Unmarshal(*v, &genericDatasetTypeProperties) + var dynamicsLinkedServiceTypeProperties DynamicsLinkedServiceTypeProperties + err = json.Unmarshal(*v, &dynamicsLinkedServiceTypeProperties) if err != nil { return err } - gbqod.GenericDatasetTypeProperties = &genericDatasetTypeProperties + dls.DynamicsLinkedServiceTypeProperties = &dynamicsLinkedServiceTypeProperties } default: if v != nil { @@ -65648,10 +66217,19 @@ func (gbqod *GoogleBigQueryObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if gbqod.AdditionalProperties == nil { - gbqod.AdditionalProperties = make(map[string]interface{}) + if dls.AdditionalProperties == nil { + dls.AdditionalProperties = make(map[string]interface{}) } - gbqod.AdditionalProperties[k] = additionalProperties + dls.AdditionalProperties[k] = additionalProperties + } + case "connectVia": + if v != nil { + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) + if err != nil { + return err + } + dls.ConnectVia = &connectVia } case "description": if v != nil { @@ -65660,70 +66238,151 @@ func (gbqod *GoogleBigQueryObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - gbqod.Description = &description + dls.Description = &description } - case "structure": + case "parameters": if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - gbqod.Structure = structure + dls.Parameters = parameters } - case "schema": + case "annotations": if v != nil { - var schema interface{} - err = json.Unmarshal(*v, &schema) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - gbqod.Schema = schema + dls.Annotations = &annotations } - case "linkedServiceName": + case "type": if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) + var typeVar TypeBasicLinkedService + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - gbqod.LinkedServiceName = &linkedServiceName + dls.Type = typeVar } - case "parameters": + } + } + + return nil +} + +// DynamicsLinkedServiceTypeProperties dynamics linked service properties. +type DynamicsLinkedServiceTypeProperties struct { + // DeploymentType - The deployment type of the Dynamics instance. 'Online' for Dynamics Online and 'OnPremisesWithIfd' for Dynamics on-premises with Ifd. Type: string (or Expression with resultType string). + DeploymentType interface{} `json:"deploymentType,omitempty"` + // HostName - The host name of the on-premises Dynamics server. The property is required for on-prem and not allowed for online. Type: string (or Expression with resultType string). + HostName interface{} `json:"hostName,omitempty"` + // Port - The port of on-premises Dynamics server. The property is required for on-prem and not allowed for online. Default is 443. Type: integer (or Expression with resultType integer), minimum: 0. + Port interface{} `json:"port,omitempty"` + // ServiceURI - The URL to the Microsoft Dynamics server. The property is required for on-line and not allowed for on-prem. Type: string (or Expression with resultType string). + ServiceURI interface{} `json:"serviceUri,omitempty"` + // OrganizationName - The organization name of the Dynamics instance. The property is required for on-prem and required for online when there are more than one Dynamics instances associated with the user. Type: string (or Expression with resultType string). + OrganizationName interface{} `json:"organizationName,omitempty"` + // AuthenticationType - The authentication type to connect to Dynamics server. 'Office365' for online scenario, 'Ifd' for on-premises with Ifd scenario. Type: string (or Expression with resultType string). + AuthenticationType interface{} `json:"authenticationType,omitempty"` + // Username - User name to access the Dynamics instance. Type: string (or Expression with resultType string). + Username interface{} `json:"username,omitempty"` + // Password - Password to access the Dynamics instance. + Password BasicSecretBase `json:"password,omitempty"` + // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` +} + +// UnmarshalJSON is the custom unmarshaler for DynamicsLinkedServiceTypeProperties struct. +func (dlstp *DynamicsLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "deploymentType": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var deploymentType interface{} + err = json.Unmarshal(*v, &deploymentType) if err != nil { return err } - gbqod.Parameters = parameters + dlstp.DeploymentType = deploymentType } - case "annotations": + case "hostName": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var hostName interface{} + err = json.Unmarshal(*v, &hostName) if err != nil { return err } - gbqod.Annotations = &annotations + dlstp.HostName = hostName } - case "folder": + case "port": if v != nil { - var folder DatasetFolder - err = json.Unmarshal(*v, &folder) + var port interface{} + err = json.Unmarshal(*v, &port) if err != nil { return err } - gbqod.Folder = &folder + dlstp.Port = port } - case "type": + case "serviceUri": if v != nil { - var typeVar TypeBasicDataset - err = json.Unmarshal(*v, &typeVar) + var serviceURI interface{} + err = json.Unmarshal(*v, &serviceURI) if err != nil { return err } - gbqod.Type = typeVar + dlstp.ServiceURI = serviceURI + } + case "organizationName": + if v != nil { + var organizationName interface{} + err = json.Unmarshal(*v, &organizationName) + if err != nil { + return err + } + dlstp.OrganizationName = organizationName + } + case "authenticationType": + if v != nil { + var authenticationType interface{} + err = json.Unmarshal(*v, &authenticationType) + if err != nil { + return err + } + dlstp.AuthenticationType = authenticationType + } + case "username": + if v != nil { + var username interface{} + err = json.Unmarshal(*v, &username) + if err != nil { + return err + } + dlstp.Username = username + } + case "password": + if v != nil { + password, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + dlstp.Password = password + } + case "encryptedCredential": + if v != nil { + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) + if err != nil { + return err + } + dlstp.EncryptedCredential = encryptedCredential } } } @@ -65731,389 +66390,219 @@ func (gbqod *GoogleBigQueryObjectDataset) UnmarshalJSON(body []byte) error { return nil } -// GoogleBigQuerySource a copy activity Google BigQuery service source. -type GoogleBigQuerySource struct { - // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). - Query interface{} `json:"query,omitempty"` +// DynamicsSink a copy activity Dynamics sink. +type DynamicsSink struct { + // WriteBehavior - The write behavior for the operation. + WriteBehavior *string `json:"writeBehavior,omitempty"` + // IgnoreNullValues - 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). + IgnoreNullValues interface{} `json:"ignoreNullValues,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). - SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` - // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + WriteBatchSize interface{} `json:"writeBatchSize,omitempty"` + // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"` + // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer). + SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"` + // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' - Type TypeBasicCopySource `json:"type,omitempty"` + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink' + Type TypeBasicCopySink `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) MarshalJSON() ([]byte, error) { - gbqs.Type = TypeGoogleBigQuerySource +// MarshalJSON is the custom marshaler for DynamicsSink. +func (ds DynamicsSink) MarshalJSON() ([]byte, error) { + ds.Type = TypeDynamicsSink objectMap := make(map[string]interface{}) - if gbqs.Query != nil { - objectMap["query"] = gbqs.Query + if ds.WriteBehavior != nil { + objectMap["writeBehavior"] = ds.WriteBehavior } - if gbqs.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = gbqs.SourceRetryCount + if ds.IgnoreNullValues != nil { + objectMap["ignoreNullValues"] = ds.IgnoreNullValues } - if gbqs.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = gbqs.SourceRetryWait + if ds.WriteBatchSize != nil { + objectMap["writeBatchSize"] = ds.WriteBatchSize } - if gbqs.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = gbqs.MaxConcurrentConnections + if ds.WriteBatchTimeout != nil { + objectMap["writeBatchTimeout"] = ds.WriteBatchTimeout } - if gbqs.Type != "" { - objectMap["type"] = gbqs.Type + if ds.SinkRetryCount != nil { + objectMap["sinkRetryCount"] = ds.SinkRetryCount } - for k, v := range gbqs.AdditionalProperties { + if ds.SinkRetryWait != nil { + objectMap["sinkRetryWait"] = ds.SinkRetryWait + } + if ds.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = ds.MaxConcurrentConnections + } + if ds.Type != "" { + objectMap["type"] = ds.Type + } + for k, v := range ds.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { - return nil, false -} - -// AsGoogleAdWordsSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { - return nil, false -} - -// AsOracleServiceCloudSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { - return nil, false -} - -// AsDynamicsAXSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { - return nil, false -} - -// AsResponsysSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsResponsysSource() (*ResponsysSource, bool) { - return nil, false -} - -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { - return nil, false -} - -// AsVerticaSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsVerticaSource() (*VerticaSource, bool) { - return nil, false -} - -// AsNetezzaSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsNetezzaSource() (*NetezzaSource, bool) { - return nil, false -} - -// AsZohoSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsZohoSource() (*ZohoSource, bool) { - return nil, false -} - -// AsXeroSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsXeroSource() (*XeroSource, bool) { - return nil, false -} - -// AsSquareSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsSquareSource() (*SquareSource, bool) { - return nil, false -} - -// AsSparkSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsSparkSource() (*SparkSource, bool) { - return nil, false -} - -// AsShopifySource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsShopifySource() (*ShopifySource, bool) { - return nil, false -} - -// AsServiceNowSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsServiceNowSource() (*ServiceNowSource, bool) { - return nil, false -} - -// AsQuickBooksSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsQuickBooksSource() (*QuickBooksSource, bool) { - return nil, false -} - -// AsPrestoSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsPrestoSource() (*PrestoSource, bool) { +// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsPaypalSource() (*PaypalSource, bool) { +// AsSalesforceSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsSalesforceSink() (*SalesforceSink, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsMarketoSource() (*MarketoSource, bool) { +// AsAzureDataExplorerSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsMagentoSource() (*MagentoSource, bool) { +// AsDynamicsCrmSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsJiraSource() (*JiraSource, bool) { - return nil, false +// AsDynamicsSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsDynamicsSink() (*DynamicsSink, bool) { + return &ds, true } -// AsImpalaSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsImpalaSource() (*ImpalaSource, bool) { +// AsMicrosoftAccessSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsHubspotSource() (*HubspotSource, bool) { +// AsInformixSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsInformixSink() (*InformixSink, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsHiveSource() (*HiveSource, bool) { +// AsOdbcSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsOdbcSink() (*OdbcSink, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsHBaseSource() (*HBaseSource, bool) { +// AsAzureSearchIndexSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsAzureBlobFSSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { - return &gbqs, true -} - -// AsEloquaSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsEloquaSource() (*EloquaSource, bool) { +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsDrillSource() (*DrillSource, bool) { +// AsOracleSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsOracleSink() (*OracleSink, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsSQLDWSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsConcurSource() (*ConcurSource, bool) { +// AsSQLMISink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsSQLMISink() (*SQLMISink, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsAzureSQLSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsAzureSQLSink() (*AzureSQLSink, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsSQLServerSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsSQLServerSink() (*SQLServerSink, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsHTTPSource() (*HTTPSource, bool) { +// AsSQLSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsSQLSink() (*SQLSink, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsDocumentDbCollectionSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsFileSystemSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsFileSystemSink() (*FileSystemSink, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsOffice365Source() (*Office365Source, bool) { +// AsBlobSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsBlobSink() (*BlobSink, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsBinarySink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsBinarySink() (*BinarySink, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsParquetSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsParquetSink() (*ParquetSink, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsAzureTableSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsAzureTableSink() (*AzureTableSink, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsCassandraSource() (*CassandraSource, bool) { +// AsAzureQueueSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsAzureQueueSink() (*AzureQueueSink, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsWebSource() (*WebSource, bool) { +// AsSapCloudForCustomerSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsOracleSource() (*OracleSource, bool) { +// AsAzurePostgreSQLSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsDelimitedTextSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsCopySink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsCopySink() (*CopySink, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsHdfsSource() (*HdfsSource, bool) { - return nil, false +// AsBasicCopySink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsBasicCopySink() (BasicCopySink, bool) { + return &ds, true } -// AsFileSystemSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsFileSystemSource() (*FileSystemSource, bool) { - return nil, false -} - -// AsSQLDWSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsSQLDWSource() (*SQLDWSource, bool) { - return nil, false -} - -// AsAzureSQLSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsAzureSQLSource() (*AzureSQLSource, bool) { - return nil, false -} - -// AsSQLServerSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsSQLServerSource() (*SQLServerSource, bool) { - return nil, false -} - -// AsSQLSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsSQLSource() (*SQLSource, bool) { - return nil, false -} - -// AsRestSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsRestSource() (*RestSource, bool) { - return nil, false -} - -// AsSapTableSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsSapTableSource() (*SapTableSource, bool) { - return nil, false -} - -// AsSapOpenHubSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { - return nil, false -} - -// AsSapHanaSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsSapHanaSource() (*SapHanaSource, bool) { - return nil, false -} - -// AsSapEccSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsSapEccSource() (*SapEccSource, bool) { - return nil, false -} - -// AsSapCloudForCustomerSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { - return nil, false -} - -// AsSalesforceSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsSalesforceSource() (*SalesforceSource, bool) { - return nil, false -} - -// AsRelationalSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsRelationalSource() (*RelationalSource, bool) { - return nil, false -} - -// AsDynamicsSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsDynamicsSource() (*DynamicsSource, bool) { - return nil, false -} - -// AsDocumentDbCollectionSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { - return nil, false -} - -// AsBlobSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsBlobSource() (*BlobSource, bool) { - return nil, false -} - -// AsAzureTableSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsAzureTableSource() (*AzureTableSource, bool) { - return nil, false -} - -// AsDelimitedTextSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { - return nil, false -} - -// AsParquetSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsParquetSource() (*ParquetSource, bool) { - return nil, false -} - -// AsCopySource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsCopySource() (*CopySource, bool) { - return nil, false -} - -// AsBasicCopySource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsBasicCopySource() (BasicCopySource, bool) { - return &gbqs, true -} - -// UnmarshalJSON is the custom unmarshaler for GoogleBigQuerySource struct. -func (gbqs *GoogleBigQuerySource) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for DynamicsSink struct. +func (ds *DynamicsSink) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -66121,14 +66610,23 @@ func (gbqs *GoogleBigQuerySource) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "query": + case "writeBehavior": if v != nil { - var query interface{} - err = json.Unmarshal(*v, &query) + var writeBehavior string + err = json.Unmarshal(*v, &writeBehavior) if err != nil { return err } - gbqs.Query = query + ds.WriteBehavior = &writeBehavior + } + case "ignoreNullValues": + if v != nil { + var ignoreNullValues interface{} + err = json.Unmarshal(*v, &ignoreNullValues) + if err != nil { + return err + } + ds.IgnoreNullValues = ignoreNullValues } default: if v != nil { @@ -66137,28 +66635,46 @@ func (gbqs *GoogleBigQuerySource) UnmarshalJSON(body []byte) error { if err != nil { return err } - if gbqs.AdditionalProperties == nil { - gbqs.AdditionalProperties = make(map[string]interface{}) + if ds.AdditionalProperties == nil { + ds.AdditionalProperties = make(map[string]interface{}) } - gbqs.AdditionalProperties[k] = additionalProperties + ds.AdditionalProperties[k] = additionalProperties } - case "sourceRetryCount": + case "writeBatchSize": if v != nil { - var sourceRetryCount interface{} - err = json.Unmarshal(*v, &sourceRetryCount) + var writeBatchSize interface{} + err = json.Unmarshal(*v, &writeBatchSize) if err != nil { return err } - gbqs.SourceRetryCount = sourceRetryCount + ds.WriteBatchSize = writeBatchSize } - case "sourceRetryWait": + case "writeBatchTimeout": if v != nil { - var sourceRetryWait interface{} - err = json.Unmarshal(*v, &sourceRetryWait) + var writeBatchTimeout interface{} + err = json.Unmarshal(*v, &writeBatchTimeout) if err != nil { return err } - gbqs.SourceRetryWait = sourceRetryWait + ds.WriteBatchTimeout = writeBatchTimeout + } + case "sinkRetryCount": + if v != nil { + var sinkRetryCount interface{} + err = json.Unmarshal(*v, &sinkRetryCount) + if err != nil { + return err + } + ds.SinkRetryCount = sinkRetryCount + } + case "sinkRetryWait": + if v != nil { + var sinkRetryWait interface{} + err = json.Unmarshal(*v, &sinkRetryWait) + if err != nil { + return err + } + ds.SinkRetryWait = sinkRetryWait } case "maxConcurrentConnections": if v != nil { @@ -66167,16 +66683,16 @@ func (gbqs *GoogleBigQuerySource) UnmarshalJSON(body []byte) error { if err != nil { return err } - gbqs.MaxConcurrentConnections = maxConcurrentConnections + ds.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicCopySource + var typeVar TypeBasicCopySink err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - gbqs.Type = typeVar + ds.Type = typeVar } } } @@ -66184,484 +66700,459 @@ func (gbqs *GoogleBigQuerySource) UnmarshalJSON(body []byte) error { return nil } -// GreenplumLinkedService greenplum Database linked service. -type GreenplumLinkedService struct { - // GreenplumLinkedServiceTypeProperties - Greenplum Database linked service properties. - *GreenplumLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// DynamicsSource a copy activity Dynamics source. +type DynamicsSource struct { + // Query - FetchXML is a proprietary query language that is used in Microsoft Dynamics (online & on-premises). Type: string (or Expression with resultType string). + Query interface{} `json:"query,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. - Description *string `json:"description,omitempty"` - // Parameters - Parameters for linked service. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the linked service. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for GreenplumLinkedService. -func (gls GreenplumLinkedService) MarshalJSON() ([]byte, error) { - gls.Type = TypeGreenplum +// MarshalJSON is the custom marshaler for DynamicsSource. +func (ds DynamicsSource) MarshalJSON() ([]byte, error) { + ds.Type = TypeDynamicsSource objectMap := make(map[string]interface{}) - if gls.GreenplumLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = gls.GreenplumLinkedServiceTypeProperties - } - if gls.ConnectVia != nil { - objectMap["connectVia"] = gls.ConnectVia + if ds.Query != nil { + objectMap["query"] = ds.Query } - if gls.Description != nil { - objectMap["description"] = gls.Description + if ds.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = ds.SourceRetryCount } - if gls.Parameters != nil { - objectMap["parameters"] = gls.Parameters + if ds.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = ds.SourceRetryWait } - if gls.Annotations != nil { - objectMap["annotations"] = gls.Annotations + if ds.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = ds.MaxConcurrentConnections } - if gls.Type != "" { - objectMap["type"] = gls.Type + if ds.Type != "" { + objectMap["type"] = ds.Type } - for k, v := range gls.AdditionalProperties { + for k, v := range ds.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { - return nil, false -} - -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { - return nil, false -} - -// AsSapTableLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { - return nil, false -} - -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsResponsysSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsVerticaSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsNetezzaSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsZohoSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsXeroSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsSquareSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsSparkSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsShopifySource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsServiceNowSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsPrestoSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsPhoenixSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPaypalSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsMarketoSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsMariaDBSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsMagentoSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsJiraSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsImpalaSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsHubspotSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsHiveSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsHBaseSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsGreenplumSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { - return &gls, true -} - -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsEloquaSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsDrillSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsConcurSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsHTTPSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsOffice365Source is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsMongoDbSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsCassandraSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsWebSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsTeradataSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsOracleSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsHdfsSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsFileSystemSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsSQLDWSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsSQLMISource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsSQLServerSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsSQLSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsRestSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsSapTableSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsSapHanaSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsSapEccSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsSalesforceSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsODataSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsSybaseSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsMySQLSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsOdbcSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsDb2Source is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsInformixSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsRelationalSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { - return nil, false +// AsDynamicsSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsDynamicsSource() (*DynamicsSource, bool) { + return &ds, true } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsBlobSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsAzureTableSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsBinarySource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsDelimitedTextSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsParquetSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsCopySource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsCopySource() (*CopySource, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &gls, true +// AsBasicCopySource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsBasicCopySource() (BasicCopySource, bool) { + return &ds, true } -// UnmarshalJSON is the custom unmarshaler for GreenplumLinkedService struct. -func (gls *GreenplumLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for DynamicsSource struct. +func (ds *DynamicsSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -66669,14 +67160,14 @@ func (gls *GreenplumLinkedService) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": + case "query": if v != nil { - var greenplumLinkedServiceTypeProperties GreenplumLinkedServiceTypeProperties - err = json.Unmarshal(*v, &greenplumLinkedServiceTypeProperties) + var query interface{} + err = json.Unmarshal(*v, &query) if err != nil { return err } - gls.GreenplumLinkedServiceTypeProperties = &greenplumLinkedServiceTypeProperties + ds.Query = query } default: if v != nil { @@ -66685,55 +67176,46 @@ func (gls *GreenplumLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if gls.AdditionalProperties == nil { - gls.AdditionalProperties = make(map[string]interface{}) - } - gls.AdditionalProperties[k] = additionalProperties - } - case "connectVia": - if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) - if err != nil { - return err + if ds.AdditionalProperties == nil { + ds.AdditionalProperties = make(map[string]interface{}) } - gls.ConnectVia = &connectVia + ds.AdditionalProperties[k] = additionalProperties } - case "description": + case "sourceRetryCount": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) if err != nil { return err } - gls.Description = &description + ds.SourceRetryCount = sourceRetryCount } - case "parameters": + case "sourceRetryWait": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) if err != nil { return err } - gls.Parameters = parameters + ds.SourceRetryWait = sourceRetryWait } - case "annotations": + case "maxConcurrentConnections": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) if err != nil { return err } - gls.Annotations = &annotations + ds.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicLinkedService + var typeVar TypeBasicCopySource err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - gls.Type = typeVar + ds.Type = typeVar } } } @@ -66741,471 +67223,690 @@ func (gls *GreenplumLinkedService) UnmarshalJSON(body []byte) error { return nil } -// GreenplumLinkedServiceTypeProperties greenplum Database linked service properties. -type GreenplumLinkedServiceTypeProperties struct { - // ConnectionString - An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. - ConnectionString interface{} `json:"connectionString,omitempty"` - // Pwd - The Azure key vault secret reference of password in connection string. - Pwd *AzureKeyVaultSecretReference `json:"pwd,omitempty"` - // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). - EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` -} - -// GreenplumSource a copy activity Greenplum Database source. -type GreenplumSource struct { - // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). - Query interface{} `json:"query,omitempty"` +// EloquaLinkedService eloqua server linked service. +type EloquaLinkedService struct { + // EloquaLinkedServiceTypeProperties - Eloqua server linked service properties. + *EloquaLinkedServiceTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). - SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` - // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' - Type TypeBasicCopySource `json:"type,omitempty"` + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. + Description *string `json:"description,omitempty"` + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the linked service. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for GreenplumSource. -func (gs GreenplumSource) MarshalJSON() ([]byte, error) { - gs.Type = TypeGreenplumSource +// MarshalJSON is the custom marshaler for EloquaLinkedService. +func (els EloquaLinkedService) MarshalJSON() ([]byte, error) { + els.Type = TypeEloqua objectMap := make(map[string]interface{}) - if gs.Query != nil { - objectMap["query"] = gs.Query + if els.EloquaLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = els.EloquaLinkedServiceTypeProperties } - if gs.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = gs.SourceRetryCount + if els.ConnectVia != nil { + objectMap["connectVia"] = els.ConnectVia } - if gs.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = gs.SourceRetryWait + if els.Description != nil { + objectMap["description"] = els.Description } - if gs.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = gs.MaxConcurrentConnections + if els.Parameters != nil { + objectMap["parameters"] = els.Parameters } - if gs.Type != "" { - objectMap["type"] = gs.Type + if els.Annotations != nil { + objectMap["annotations"] = els.Annotations } - for k, v := range gs.AdditionalProperties { + if els.Type != "" { + objectMap["type"] = els.Type + } + for k, v := range els.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsVerticaSource() (*VerticaSource, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsZohoSource() (*ZohoSource, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsXeroSource() (*XeroSource, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsSquareSource() (*SquareSource, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsSparkSource() (*SparkSource, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsShopifySource() (*ShopifySource, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsPrestoSource() (*PrestoSource, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsPaypalSource() (*PaypalSource, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsMarketoSource() (*MarketoSource, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsMagentoSource() (*MagentoSource, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsJiraSource() (*JiraSource, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsHubspotSource() (*HubspotSource, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsHiveSource() (*HiveSource, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsHBaseSource() (*HBaseSource, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsGreenplumSource() (*GreenplumSource, bool) { - return &gs, true +// AsJiraLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { + return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsEloquaSource() (*EloquaSource, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsDrillSource() (*DrillSource, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsConcurSource() (*ConcurSource, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { + return &els, true +} + +// AsDrillLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsHTTPSource() (*HTTPSource, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsOffice365Source() (*Office365Source, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsCassandraSource() (*CassandraSource, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsWebSource() (*WebSource, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsOracleSource() (*OracleSource, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsHdfsSource() (*HdfsSource, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsSQLSource() (*SQLSource, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsRestSource() (*RestSource, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsSapTableSource() (*SapTableSource, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsSapEccSource() (*SapEccSource, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsRelationalSource() (*RelationalSource, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsBlobSource() (*BlobSource, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsParquetSource() (*ParquetSource, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsCopySource() (*CopySource, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsBasicCopySource() (BasicCopySource, bool) { - return &gs, true +// AsTeradataLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for GreenplumSource struct. -func (gs *GreenplumSource) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "query": - if v != nil { - var query interface{} - err = json.Unmarshal(*v, &query) - if err != nil { - return err - } - gs.Query = query - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if gs.AdditionalProperties == nil { - gs.AdditionalProperties = make(map[string]interface{}) - } - gs.AdditionalProperties[k] = additionalProperties - } - case "sourceRetryCount": - if v != nil { - var sourceRetryCount interface{} - err = json.Unmarshal(*v, &sourceRetryCount) - if err != nil { - return err - } - gs.SourceRetryCount = sourceRetryCount - } - case "sourceRetryWait": - if v != nil { - var sourceRetryWait interface{} - err = json.Unmarshal(*v, &sourceRetryWait) - if err != nil { - return err - } - gs.SourceRetryWait = sourceRetryWait - } - case "maxConcurrentConnections": - if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) - if err != nil { - return err - } - gs.MaxConcurrentConnections = maxConcurrentConnections - } - case "type": - if v != nil { - var typeVar TypeBasicCopySource - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - gs.Type = typeVar - } - } - } +// AsDb2LinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return nil, false +} - return nil +// AsSybaseLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { + return nil, false } -// GreenplumTableDataset greenplum Database dataset. -type GreenplumTableDataset struct { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { + return nil, false +} + +// AsMySQLLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { + return nil, false +} + +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { + return nil, false +} + +// AsOracleLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { + return nil, false +} + +// AsFileServerLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { + return nil, false +} + +// AsHDInsightLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + +// AsDynamicsLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false +} + +// AsCosmosDbLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false +} + +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false +} + +// AsAzureBatchLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} + +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &els, true +} + +// UnmarshalJSON is the custom unmarshaler for EloquaLinkedService struct. +func (els *EloquaLinkedService) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "typeProperties": + if v != nil { + var eloquaLinkedServiceTypeProperties EloquaLinkedServiceTypeProperties + err = json.Unmarshal(*v, &eloquaLinkedServiceTypeProperties) + if err != nil { + return err + } + els.EloquaLinkedServiceTypeProperties = &eloquaLinkedServiceTypeProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if els.AdditionalProperties == nil { + els.AdditionalProperties = make(map[string]interface{}) + } + els.AdditionalProperties[k] = additionalProperties + } + case "connectVia": + if v != nil { + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) + if err != nil { + return err + } + els.ConnectVia = &connectVia + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + els.Description = &description + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + els.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + els.Annotations = &annotations + } + case "type": + if v != nil { + var typeVar TypeBasicLinkedService + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + els.Type = typeVar + } + } + } + + return nil +} + +// EloquaLinkedServiceTypeProperties eloqua server linked service properties. +type EloquaLinkedServiceTypeProperties struct { + // Endpoint - The endpoint of the Eloqua server. (i.e. eloqua.example.com) + Endpoint interface{} `json:"endpoint,omitempty"` + // Username - The site name and user name of your Eloqua account in the form: sitename/username. (i.e. Eloqua/Alice) + Username interface{} `json:"username,omitempty"` + // Password - The password corresponding to the user name. + Password BasicSecretBase `json:"password,omitempty"` + // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. + UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"` + // UseHostVerification - 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. + UseHostVerification interface{} `json:"useHostVerification,omitempty"` + // UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. + UsePeerVerification interface{} `json:"usePeerVerification,omitempty"` + // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` +} + +// UnmarshalJSON is the custom unmarshaler for EloquaLinkedServiceTypeProperties struct. +func (elstp *EloquaLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "endpoint": + if v != nil { + var endpoint interface{} + err = json.Unmarshal(*v, &endpoint) + if err != nil { + return err + } + elstp.Endpoint = endpoint + } + case "username": + if v != nil { + var username interface{} + err = json.Unmarshal(*v, &username) + if err != nil { + return err + } + elstp.Username = username + } + case "password": + if v != nil { + password, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + elstp.Password = password + } + case "useEncryptedEndpoints": + if v != nil { + var useEncryptedEndpoints interface{} + err = json.Unmarshal(*v, &useEncryptedEndpoints) + if err != nil { + return err + } + elstp.UseEncryptedEndpoints = useEncryptedEndpoints + } + case "useHostVerification": + if v != nil { + var useHostVerification interface{} + err = json.Unmarshal(*v, &useHostVerification) + if err != nil { + return err + } + elstp.UseHostVerification = useHostVerification + } + case "usePeerVerification": + if v != nil { + var usePeerVerification interface{} + err = json.Unmarshal(*v, &usePeerVerification) + if err != nil { + return err + } + elstp.UsePeerVerification = usePeerVerification + } + case "encryptedCredential": + if v != nil { + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) + if err != nil { + return err + } + elstp.EncryptedCredential = encryptedCredential + } + } + } + + return nil +} + +// EloquaObjectDataset eloqua server dataset. +type EloquaObjectDataset struct { // GenericDatasetTypeProperties - Properties specific to this dataset type. *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection @@ -67224,394 +67925,449 @@ type GreenplumTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for GreenplumTableDataset. -func (gtd GreenplumTableDataset) MarshalJSON() ([]byte, error) { - gtd.Type = TypeGreenplumTable +// MarshalJSON is the custom marshaler for EloquaObjectDataset. +func (eod EloquaObjectDataset) MarshalJSON() ([]byte, error) { + eod.Type = TypeEloquaObject objectMap := make(map[string]interface{}) - if gtd.GenericDatasetTypeProperties != nil { - objectMap["typeProperties"] = gtd.GenericDatasetTypeProperties + if eod.GenericDatasetTypeProperties != nil { + objectMap["typeProperties"] = eod.GenericDatasetTypeProperties } - if gtd.Description != nil { - objectMap["description"] = gtd.Description + if eod.Description != nil { + objectMap["description"] = eod.Description } - if gtd.Structure != nil { - objectMap["structure"] = gtd.Structure + if eod.Structure != nil { + objectMap["structure"] = eod.Structure } - if gtd.Schema != nil { - objectMap["schema"] = gtd.Schema + if eod.Schema != nil { + objectMap["schema"] = eod.Schema } - if gtd.LinkedServiceName != nil { - objectMap["linkedServiceName"] = gtd.LinkedServiceName + if eod.LinkedServiceName != nil { + objectMap["linkedServiceName"] = eod.LinkedServiceName } - if gtd.Parameters != nil { - objectMap["parameters"] = gtd.Parameters + if eod.Parameters != nil { + objectMap["parameters"] = eod.Parameters } - if gtd.Annotations != nil { - objectMap["annotations"] = gtd.Annotations + if eod.Annotations != nil { + objectMap["annotations"] = eod.Annotations } - if gtd.Folder != nil { - objectMap["folder"] = gtd.Folder + if eod.Folder != nil { + objectMap["folder"] = eod.Folder } - if gtd.Type != "" { - objectMap["type"] = gtd.Type + if eod.Type != "" { + objectMap["type"] = eod.Type } - for k, v := range gtd.AdditionalProperties { + for k, v := range eod.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { - return >d, true +// AsGreenplumTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { + return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { + return &eod, true +} + +// AsDrillTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsHTTPDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsWebTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsRestResourceDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsInformixTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsOracleTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsODataResourceDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsFileShareDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsOffice365Dataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsCustomDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsDataset() (*Dataset, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsBasicDataset() (BasicDataset, bool) { - return >d, true +// AsAzureSQLDWTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for GreenplumTableDataset struct. -func (gtd *GreenplumTableDataset) UnmarshalJSON(body []byte) error { +// AsAzureSQLMITableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + +// AsAzureSQLTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { + return nil, false +} + +// AsAzureTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { + return nil, false +} + +// AsAzureBlobDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { + return nil, false +} + +// AsBinaryDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + +// AsDelimitedTextDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { + return nil, false +} + +// AsParquetDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsBasicDataset() (BasicDataset, bool) { + return &eod, true +} + +// UnmarshalJSON is the custom unmarshaler for EloquaObjectDataset struct. +func (eod *EloquaObjectDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -67626,7 +68382,7 @@ func (gtd *GreenplumTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - gtd.GenericDatasetTypeProperties = &genericDatasetTypeProperties + eod.GenericDatasetTypeProperties = &genericDatasetTypeProperties } default: if v != nil { @@ -67635,10 +68391,10 @@ func (gtd *GreenplumTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if gtd.AdditionalProperties == nil { - gtd.AdditionalProperties = make(map[string]interface{}) + if eod.AdditionalProperties == nil { + eod.AdditionalProperties = make(map[string]interface{}) } - gtd.AdditionalProperties[k] = additionalProperties + eod.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -67647,7 +68403,7 @@ func (gtd *GreenplumTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - gtd.Description = &description + eod.Description = &description } case "structure": if v != nil { @@ -67656,7 +68412,7 @@ func (gtd *GreenplumTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - gtd.Structure = structure + eod.Structure = structure } case "schema": if v != nil { @@ -67665,7 +68421,7 @@ func (gtd *GreenplumTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - gtd.Schema = schema + eod.Schema = schema } case "linkedServiceName": if v != nil { @@ -67674,7 +68430,7 @@ func (gtd *GreenplumTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - gtd.LinkedServiceName = &linkedServiceName + eod.LinkedServiceName = &linkedServiceName } case "parameters": if v != nil { @@ -67683,7 +68439,7 @@ func (gtd *GreenplumTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - gtd.Parameters = parameters + eod.Parameters = parameters } case "annotations": if v != nil { @@ -67692,7 +68448,7 @@ func (gtd *GreenplumTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - gtd.Annotations = &annotations + eod.Annotations = &annotations } case "folder": if v != nil { @@ -67701,7 +68457,7 @@ func (gtd *GreenplumTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - gtd.Folder = &folder + eod.Folder = &folder } case "type": if v != nil { @@ -67710,7 +68466,7 @@ func (gtd *GreenplumTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - gtd.Type = typeVar + eod.Type = typeVar } } } @@ -67718,484 +68474,459 @@ func (gtd *GreenplumTableDataset) UnmarshalJSON(body []byte) error { return nil } -// HBaseLinkedService hBase server linked service. -type HBaseLinkedService struct { - // HBaseLinkedServiceTypeProperties - HBase server linked service properties. - *HBaseLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// EloquaSource a copy activity Eloqua server source. +type EloquaSource struct { + // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). + Query interface{} `json:"query,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. - Description *string `json:"description,omitempty"` - // Parameters - Parameters for linked service. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the linked service. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for HBaseLinkedService. -func (hbls HBaseLinkedService) MarshalJSON() ([]byte, error) { - hbls.Type = TypeHBase +// MarshalJSON is the custom marshaler for EloquaSource. +func (es EloquaSource) MarshalJSON() ([]byte, error) { + es.Type = TypeEloquaSource objectMap := make(map[string]interface{}) - if hbls.HBaseLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = hbls.HBaseLinkedServiceTypeProperties - } - if hbls.ConnectVia != nil { - objectMap["connectVia"] = hbls.ConnectVia + if es.Query != nil { + objectMap["query"] = es.Query } - if hbls.Description != nil { - objectMap["description"] = hbls.Description + if es.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = es.SourceRetryCount } - if hbls.Parameters != nil { - objectMap["parameters"] = hbls.Parameters + if es.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = es.SourceRetryWait } - if hbls.Annotations != nil { - objectMap["annotations"] = hbls.Annotations + if es.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = es.MaxConcurrentConnections } - if hbls.Type != "" { - objectMap["type"] = hbls.Type + if es.Type != "" { + objectMap["type"] = es.Type } - for k, v := range hbls.AdditionalProperties { + for k, v := range es.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsSapTableLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsResponsysSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsVerticaSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsNetezzaSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsZohoSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsXeroSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsSquareSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsSparkSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsShopifySource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsServiceNowSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsPrestoSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsPhoenixSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsPaypalSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsMarketoSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsMariaDBSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsMagentoSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsJiraSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsImpalaSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsHubspotSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsHiveSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsHBaseSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsGreenplumSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { - return nil, false +// AsEloquaSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsEloquaSource() (*EloquaSource, bool) { + return &es, true } -// AsHiveLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsDrillSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { - return &hbls, true +// AsCouchbaseSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsCouchbaseSource() (*CouchbaseSource, bool) { + return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsConcurSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsHTTPSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsOffice365Source is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsMongoDbSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsCassandraSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsWebSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsTeradataSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsOracleSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsHdfsSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsFileSystemSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsSQLDWSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSQLMISource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsSQLServerSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsSQLSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsRestSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsSapTableSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsSapHanaSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsSapEccSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsSalesforceSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsODataSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsSybaseSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsMySQLSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsOdbcSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsDb2Source is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsInformixSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsRelationalSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsDynamicsSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsBlobSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsAzureTableSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsBinarySource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsDelimitedTextSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsParquetSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsCopySource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsCopySource() (*CopySource, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { - return nil, false +// AsBasicCopySource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsBasicCopySource() (BasicCopySource, bool) { + return &es, true } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { - return nil, false -} - -// AsAzureStorageLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { - return nil, false -} - -// AsLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsLinkedService() (*LinkedService, bool) { - return nil, false -} - -// AsBasicLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &hbls, true -} - -// UnmarshalJSON is the custom unmarshaler for HBaseLinkedService struct. -func (hbls *HBaseLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for EloquaSource struct. +func (es *EloquaSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -68203,14 +68934,14 @@ func (hbls *HBaseLinkedService) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": + case "query": if v != nil { - var hBaseLinkedServiceTypeProperties HBaseLinkedServiceTypeProperties - err = json.Unmarshal(*v, &hBaseLinkedServiceTypeProperties) + var query interface{} + err = json.Unmarshal(*v, &query) if err != nil { return err } - hbls.HBaseLinkedServiceTypeProperties = &hBaseLinkedServiceTypeProperties + es.Query = query } default: if v != nil { @@ -68219,55 +68950,46 @@ func (hbls *HBaseLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if hbls.AdditionalProperties == nil { - hbls.AdditionalProperties = make(map[string]interface{}) - } - hbls.AdditionalProperties[k] = additionalProperties - } - case "connectVia": - if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) - if err != nil { - return err + if es.AdditionalProperties == nil { + es.AdditionalProperties = make(map[string]interface{}) } - hbls.ConnectVia = &connectVia + es.AdditionalProperties[k] = additionalProperties } - case "description": + case "sourceRetryCount": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) if err != nil { return err } - hbls.Description = &description + es.SourceRetryCount = sourceRetryCount } - case "parameters": + case "sourceRetryWait": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) if err != nil { return err } - hbls.Parameters = parameters + es.SourceRetryWait = sourceRetryWait } - case "annotations": + case "maxConcurrentConnections": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) if err != nil { return err } - hbls.Annotations = &annotations + es.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicLinkedService + var typeVar TypeBasicCopySource err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - hbls.Type = typeVar + es.Type = typeVar } } } @@ -68275,553 +68997,584 @@ func (hbls *HBaseLinkedService) UnmarshalJSON(body []byte) error { return nil } -// HBaseLinkedServiceTypeProperties hBase server linked service properties. -type HBaseLinkedServiceTypeProperties struct { - // Host - The IP address or host name of the HBase server. (i.e. 192.168.222.160) - Host interface{} `json:"host,omitempty"` - // Port - The TCP port that the HBase instance uses to listen for client connections. The default value is 9090. - Port interface{} `json:"port,omitempty"` - // HTTPPath - The partial URL corresponding to the HBase server. (i.e. /gateway/sandbox/hbase/version) - HTTPPath interface{} `json:"httpPath,omitempty"` - // AuthenticationType - The authentication mechanism to use to connect to the HBase server. Possible values include: 'HBaseAuthenticationTypeAnonymous', 'HBaseAuthenticationTypeBasic' - AuthenticationType HBaseAuthenticationType `json:"authenticationType,omitempty"` - // Username - The user name used to connect to the HBase instance. - Username interface{} `json:"username,omitempty"` - // Password - The password corresponding to the user name. - Password BasicSecretBase `json:"password,omitempty"` - // EnableSsl - Specifies whether the connections to the server are encrypted using SSL. The default value is false. - EnableSsl interface{} `json:"enableSsl,omitempty"` - // TrustedCertPath - 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. - TrustedCertPath interface{} `json:"trustedCertPath,omitempty"` - // AllowHostNameCNMismatch - 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. - AllowHostNameCNMismatch interface{} `json:"allowHostNameCNMismatch,omitempty"` - // AllowSelfSignedServerCert - Specifies whether to allow self-signed certificates from the server. The default value is false. - AllowSelfSignedServerCert interface{} `json:"allowSelfSignedServerCert,omitempty"` - // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). - EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` -} - -// UnmarshalJSON is the custom unmarshaler for HBaseLinkedServiceTypeProperties struct. -func (hblstp *HBaseLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "host": - if v != nil { - var host interface{} - err = json.Unmarshal(*v, &host) - if err != nil { - return err - } - hblstp.Host = host - } - case "port": - if v != nil { - var port interface{} - err = json.Unmarshal(*v, &port) - if err != nil { - return err - } - hblstp.Port = port - } - case "httpPath": - if v != nil { - var HTTPPath interface{} - err = json.Unmarshal(*v, &HTTPPath) - if err != nil { - return err - } - hblstp.HTTPPath = HTTPPath - } - case "authenticationType": - if v != nil { - var authenticationType HBaseAuthenticationType - err = json.Unmarshal(*v, &authenticationType) - if err != nil { - return err - } - hblstp.AuthenticationType = authenticationType - } - case "username": - if v != nil { - var username interface{} - err = json.Unmarshal(*v, &username) - if err != nil { - return err - } - hblstp.Username = username - } - case "password": - if v != nil { - password, err := unmarshalBasicSecretBase(*v) - if err != nil { - return err - } - hblstp.Password = password - } - case "enableSsl": - if v != nil { - var enableSsl interface{} - err = json.Unmarshal(*v, &enableSsl) - if err != nil { - return err - } - hblstp.EnableSsl = enableSsl - } - case "trustedCertPath": - if v != nil { - var trustedCertPath interface{} - err = json.Unmarshal(*v, &trustedCertPath) - if err != nil { - return err - } - hblstp.TrustedCertPath = trustedCertPath - } - case "allowHostNameCNMismatch": - if v != nil { - var allowHostNameCNMismatch interface{} - err = json.Unmarshal(*v, &allowHostNameCNMismatch) - if err != nil { - return err - } - hblstp.AllowHostNameCNMismatch = allowHostNameCNMismatch - } - case "allowSelfSignedServerCert": - if v != nil { - var allowSelfSignedServerCert interface{} - err = json.Unmarshal(*v, &allowSelfSignedServerCert) - if err != nil { - return err - } - hblstp.AllowSelfSignedServerCert = allowSelfSignedServerCert - } - case "encryptedCredential": - if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) - if err != nil { - return err - } - hblstp.EncryptedCredential = encryptedCredential - } - } - } - - return nil +// EntityReference the entity reference. +type EntityReference struct { + // Type - The type of this referenced entity. Possible values include: 'IntegrationRuntimeEntityReferenceTypeIntegrationRuntimeReference', 'IntegrationRuntimeEntityReferenceTypeLinkedServiceReference' + Type IntegrationRuntimeEntityReferenceType `json:"type,omitempty"` + // ReferenceName - The name of this referenced entity. + ReferenceName *string `json:"referenceName,omitempty"` } -// HBaseObjectDataset hBase server dataset. -type HBaseObjectDataset struct { - // GenericDatasetTypeProperties - Properties specific to this dataset type. - *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` +// ExecutePipelineActivity execute pipeline activity. +type ExecutePipelineActivity struct { + // ExecutePipelineActivityTypeProperties - Execute pipeline activity properties. + *ExecutePipelineActivityTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Description - Dataset description. + // Name - Activity name. + Name *string `json:"name,omitempty"` + // Description - Activity description. Description *string `json:"description,omitempty"` - // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. - Structure interface{} `json:"structure,omitempty"` - // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - Schema interface{} `json:"schema,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Parameters - Parameters for dataset. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the Dataset. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' - Type TypeBasicDataset `json:"type,omitempty"` + // DependsOn - Activity depends on condition. + DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` + // UserProperties - Activity user properties. + UserProperties *[]UserProperty `json:"userProperties,omitempty"` + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + Type TypeBasicActivity `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for HBaseObjectDataset. -func (hbod HBaseObjectDataset) MarshalJSON() ([]byte, error) { - hbod.Type = TypeHBaseObject +// MarshalJSON is the custom marshaler for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) MarshalJSON() ([]byte, error) { + epa.Type = TypeExecutePipeline objectMap := make(map[string]interface{}) - if hbod.GenericDatasetTypeProperties != nil { - objectMap["typeProperties"] = hbod.GenericDatasetTypeProperties - } - if hbod.Description != nil { - objectMap["description"] = hbod.Description - } - if hbod.Structure != nil { - objectMap["structure"] = hbod.Structure - } - if hbod.Schema != nil { - objectMap["schema"] = hbod.Schema + if epa.ExecutePipelineActivityTypeProperties != nil { + objectMap["typeProperties"] = epa.ExecutePipelineActivityTypeProperties } - if hbod.LinkedServiceName != nil { - objectMap["linkedServiceName"] = hbod.LinkedServiceName + if epa.Name != nil { + objectMap["name"] = epa.Name } - if hbod.Parameters != nil { - objectMap["parameters"] = hbod.Parameters + if epa.Description != nil { + objectMap["description"] = epa.Description } - if hbod.Annotations != nil { - objectMap["annotations"] = hbod.Annotations + if epa.DependsOn != nil { + objectMap["dependsOn"] = epa.DependsOn } - if hbod.Folder != nil { - objectMap["folder"] = hbod.Folder + if epa.UserProperties != nil { + objectMap["userProperties"] = epa.UserProperties } - if hbod.Type != "" { - objectMap["type"] = hbod.Type + if epa.Type != "" { + objectMap["type"] = epa.Type } - for k, v := range hbod.AdditionalProperties { + for k, v := range epa.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsAzureFunctionActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsDatabricksSparkJarActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsDatabricksNotebookActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsGetMetadataActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsWebActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsWebActivity() (*WebActivity, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsLookupActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsDeleteActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsCustomActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsCustomActivity() (*CustomActivity, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsExecuteSSISPackageActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsHDInsightSparkActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsHDInsightStreamingActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsHDInsightMapReduceActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsHDInsightPigActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsHDInsightHiveActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsCopyActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsCopyActivity() (*CopyActivity, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsExecutionActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsExecutionActivity() (*ExecutionActivity, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsBasicExecutionActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsWebHookActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsWebHookActivity() (*WebHookActivity, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsAppendVariableActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsSetVariableActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { - return &hbod, true +// AsFilterActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsFilterActivity() (*FilterActivity, bool) { + return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsValidationActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsValidationActivity() (*ValidationActivity, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsUntilActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsWaitActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsWaitActivity() (*WaitActivity, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsForEachActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsForEachActivity() (*ForEachActivity, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsIfConditionActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { - return nil, false +// AsExecutePipelineActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { + return &epa, true } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsControlActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsControlActivity() (*ControlActivity, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { - return nil, false +// AsBasicControlActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsBasicControlActivity() (BasicControlActivity, bool) { + return &epa, true } -// AsHTTPDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsActivity() (*Activity, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsBasicActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsBasicActivity() (BasicActivity, bool) { + return &epa, true +} + +// UnmarshalJSON is the custom unmarshaler for ExecutePipelineActivity struct. +func (epa *ExecutePipelineActivity) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "typeProperties": + if v != nil { + var executePipelineActivityTypeProperties ExecutePipelineActivityTypeProperties + err = json.Unmarshal(*v, &executePipelineActivityTypeProperties) + if err != nil { + return err + } + epa.ExecutePipelineActivityTypeProperties = &executePipelineActivityTypeProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if epa.AdditionalProperties == nil { + epa.AdditionalProperties = make(map[string]interface{}) + } + epa.AdditionalProperties[k] = additionalProperties + } + case "name": + if v != nil { + var name string + err = json.Unmarshal(*v, &name) + if err != nil { + return err + } + epa.Name = &name + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + epa.Description = &description + } + case "dependsOn": + if v != nil { + var dependsOn []ActivityDependency + err = json.Unmarshal(*v, &dependsOn) + if err != nil { + return err + } + epa.DependsOn = &dependsOn + } + case "userProperties": + if v != nil { + var userProperties []UserProperty + err = json.Unmarshal(*v, &userProperties) + if err != nil { + return err + } + epa.UserProperties = &userProperties + } + case "type": + if v != nil { + var typeVar TypeBasicActivity + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + epa.Type = typeVar + } + } + } + + return nil +} + +// ExecutePipelineActivityTypeProperties execute pipeline activity properties. +type ExecutePipelineActivityTypeProperties struct { + // Pipeline - Pipeline reference. + Pipeline *PipelineReference `json:"pipeline,omitempty"` + // Parameters - Pipeline parameters. + Parameters map[string]interface{} `json:"parameters"` + // WaitOnCompletion - Defines whether activity execution will wait for the dependent pipeline execution to finish. Default is false. + WaitOnCompletion *bool `json:"waitOnCompletion,omitempty"` +} + +// MarshalJSON is the custom marshaler for ExecutePipelineActivityTypeProperties. +func (epatp ExecutePipelineActivityTypeProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if epatp.Pipeline != nil { + objectMap["pipeline"] = epatp.Pipeline + } + if epatp.Parameters != nil { + objectMap["parameters"] = epatp.Parameters + } + if epatp.WaitOnCompletion != nil { + objectMap["waitOnCompletion"] = epatp.WaitOnCompletion + } + return json.Marshal(objectMap) +} + +// ExecuteSSISPackageActivity execute SSIS package activity. +type ExecuteSSISPackageActivity struct { + // ExecuteSSISPackageActivityTypeProperties - Execute SSIS package activity properties. + *ExecuteSSISPackageActivityTypeProperties `json:"typeProperties,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Policy - Activity policy. + Policy *ActivityPolicy `json:"policy,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Name - Activity name. + Name *string `json:"name,omitempty"` + // Description - Activity description. + Description *string `json:"description,omitempty"` + // DependsOn - Activity depends on condition. + DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` + // UserProperties - Activity user properties. + UserProperties *[]UserProperty `json:"userProperties,omitempty"` + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + Type TypeBasicActivity `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) MarshalJSON() ([]byte, error) { + espa.Type = TypeExecuteSSISPackage + objectMap := make(map[string]interface{}) + if espa.ExecuteSSISPackageActivityTypeProperties != nil { + objectMap["typeProperties"] = espa.ExecuteSSISPackageActivityTypeProperties + } + if espa.LinkedServiceName != nil { + objectMap["linkedServiceName"] = espa.LinkedServiceName + } + if espa.Policy != nil { + objectMap["policy"] = espa.Policy + } + if espa.Name != nil { + objectMap["name"] = espa.Name + } + if espa.Description != nil { + objectMap["description"] = espa.Description + } + if espa.DependsOn != nil { + objectMap["dependsOn"] = espa.DependsOn + } + if espa.UserProperties != nil { + objectMap["userProperties"] = espa.UserProperties + } + if espa.Type != "" { + objectMap["type"] = espa.Type + } + for k, v := range espa.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAzureFunctionActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsDatabricksSparkJarActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsDatabricksNotebookActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsGetMetadataActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsWebActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsWebActivity() (*WebActivity, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsLookupActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsDeleteActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsCustomActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsCustomActivity() (*CustomActivity, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsExecuteSSISPackageActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { + return &espa, true +} + +// AsHDInsightSparkActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsHDInsightStreamingActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsHDInsightMapReduceActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsHDInsightPigActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsHDInsightHiveActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsCopyActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsCopyActivity() (*CopyActivity, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsExecutionActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsExecutionActivity() (*ExecutionActivity, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsBasicExecutionActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return &espa, true +} + +// AsWebHookActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsWebHookActivity() (*WebHookActivity, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsAppendVariableActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsSetVariableActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsFilterActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsFilterActivity() (*FilterActivity, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsValidationActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsValidationActivity() (*ValidationActivity, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsUntilActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsWaitActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsWaitActivity() (*WaitActivity, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsForEachActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsForEachActivity() (*ForEachActivity, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsIfConditionActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsExecutePipelineActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsControlActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsControlActivity() (*ControlActivity, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsBasicControlActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsBasicControlActivity() (BasicControlActivity, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsDataset() (*Dataset, bool) { +// AsActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsActivity() (*Activity, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsBasicDataset() (BasicDataset, bool) { - return &hbod, true +// AsBasicActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsBasicActivity() (BasicActivity, bool) { + return &espa, true } -// UnmarshalJSON is the custom unmarshaler for HBaseObjectDataset struct. -func (hbod *HBaseObjectDataset) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for ExecuteSSISPackageActivity struct. +func (espa *ExecuteSSISPackageActivity) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -68831,96 +69584,87 @@ func (hbod *HBaseObjectDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var genericDatasetTypeProperties GenericDatasetTypeProperties - err = json.Unmarshal(*v, &genericDatasetTypeProperties) + var executeSSISPackageActivityTypeProperties ExecuteSSISPackageActivityTypeProperties + err = json.Unmarshal(*v, &executeSSISPackageActivityTypeProperties) if err != nil { return err } - hbod.GenericDatasetTypeProperties = &genericDatasetTypeProperties + espa.ExecuteSSISPackageActivityTypeProperties = &executeSSISPackageActivityTypeProperties } - default: + case "linkedServiceName": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) if err != nil { return err } - if hbod.AdditionalProperties == nil { - hbod.AdditionalProperties = make(map[string]interface{}) - } - hbod.AdditionalProperties[k] = additionalProperties + espa.LinkedServiceName = &linkedServiceName } - case "description": + case "policy": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var policy ActivityPolicy + err = json.Unmarshal(*v, &policy) if err != nil { return err } - hbod.Description = &description + espa.Policy = &policy } - case "structure": + default: if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - hbod.Structure = structure - } - case "schema": - if v != nil { - var schema interface{} - err = json.Unmarshal(*v, &schema) - if err != nil { - return err + if espa.AdditionalProperties == nil { + espa.AdditionalProperties = make(map[string]interface{}) } - hbod.Schema = schema + espa.AdditionalProperties[k] = additionalProperties } - case "linkedServiceName": + case "name": if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) + var name string + err = json.Unmarshal(*v, &name) if err != nil { return err } - hbod.LinkedServiceName = &linkedServiceName + espa.Name = &name } - case "parameters": + case "description": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - hbod.Parameters = parameters + espa.Description = &description } - case "annotations": + case "dependsOn": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var dependsOn []ActivityDependency + err = json.Unmarshal(*v, &dependsOn) if err != nil { return err } - hbod.Annotations = &annotations + espa.DependsOn = &dependsOn } - case "folder": + case "userProperties": if v != nil { - var folder DatasetFolder - err = json.Unmarshal(*v, &folder) + var userProperties []UserProperty + err = json.Unmarshal(*v, &userProperties) if err != nil { return err } - hbod.Folder = &folder + espa.UserProperties = &userProperties } case "type": if v != nil { - var typeVar TypeBasicDataset + var typeVar TypeBasicActivity err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - hbod.Type = typeVar + espa.Type = typeVar } } } @@ -68928,389 +69672,606 @@ func (hbod *HBaseObjectDataset) UnmarshalJSON(body []byte) error { return nil } -// HBaseSource a copy activity HBase server source. -type HBaseSource struct { - // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). - Query interface{} `json:"query,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). - SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` - // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' - Type TypeBasicCopySource `json:"type,omitempty"` +// ExecuteSSISPackageActivityTypeProperties execute SSIS package activity properties. +type ExecuteSSISPackageActivityTypeProperties struct { + // PackageLocation - SSIS package location. + PackageLocation *SSISPackageLocation `json:"packageLocation,omitempty"` + // Runtime - Specifies the runtime to execute SSIS package. The value should be "x86" or "x64". Type: string (or Expression with resultType string). + Runtime interface{} `json:"runtime,omitempty"` + // LoggingLevel - The logging level of SSIS package execution. Type: string (or Expression with resultType string). + LoggingLevel interface{} `json:"loggingLevel,omitempty"` + // EnvironmentPath - The environment path to execute the SSIS package. Type: string (or Expression with resultType string). + EnvironmentPath interface{} `json:"environmentPath,omitempty"` + // ExecutionCredential - The package execution credential. + ExecutionCredential *SSISExecutionCredential `json:"executionCredential,omitempty"` + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // ProjectParameters - The project level parameters to execute the SSIS package. + ProjectParameters map[string]*SSISExecutionParameter `json:"projectParameters"` + // PackageParameters - The package level parameters to execute the SSIS package. + PackageParameters map[string]*SSISExecutionParameter `json:"packageParameters"` + // ProjectConnectionManagers - The project level connection managers to execute the SSIS package. + ProjectConnectionManagers map[string]map[string]*SSISExecutionParameter `json:"projectConnectionManagers"` + // PackageConnectionManagers - The package level connection managers to execute the SSIS package. + PackageConnectionManagers map[string]map[string]*SSISExecutionParameter `json:"packageConnectionManagers"` + // PropertyOverrides - The property overrides to execute the SSIS package. + PropertyOverrides map[string]*SSISPropertyOverride `json:"propertyOverrides"` + // LogLocation - SSIS package execution log location. + LogLocation *SSISLogLocation `json:"logLocation,omitempty"` } -// MarshalJSON is the custom marshaler for HBaseSource. -func (hbs HBaseSource) MarshalJSON() ([]byte, error) { - hbs.Type = TypeHBaseSource +// MarshalJSON is the custom marshaler for ExecuteSSISPackageActivityTypeProperties. +func (espatp ExecuteSSISPackageActivityTypeProperties) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if hbs.Query != nil { - objectMap["query"] = hbs.Query + if espatp.PackageLocation != nil { + objectMap["packageLocation"] = espatp.PackageLocation } - if hbs.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = hbs.SourceRetryCount + if espatp.Runtime != nil { + objectMap["runtime"] = espatp.Runtime } - if hbs.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = hbs.SourceRetryWait + if espatp.LoggingLevel != nil { + objectMap["loggingLevel"] = espatp.LoggingLevel } - if hbs.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = hbs.MaxConcurrentConnections + if espatp.EnvironmentPath != nil { + objectMap["environmentPath"] = espatp.EnvironmentPath } - if hbs.Type != "" { - objectMap["type"] = hbs.Type + if espatp.ExecutionCredential != nil { + objectMap["executionCredential"] = espatp.ExecutionCredential } - for k, v := range hbs.AdditionalProperties { - objectMap[k] = v + if espatp.ConnectVia != nil { + objectMap["connectVia"] = espatp.ConnectVia + } + if espatp.ProjectParameters != nil { + objectMap["projectParameters"] = espatp.ProjectParameters + } + if espatp.PackageParameters != nil { + objectMap["packageParameters"] = espatp.PackageParameters + } + if espatp.ProjectConnectionManagers != nil { + objectMap["projectConnectionManagers"] = espatp.ProjectConnectionManagers + } + if espatp.PackageConnectionManagers != nil { + objectMap["packageConnectionManagers"] = espatp.PackageConnectionManagers + } + if espatp.PropertyOverrides != nil { + objectMap["propertyOverrides"] = espatp.PropertyOverrides + } + if espatp.LogLocation != nil { + objectMap["logLocation"] = espatp.LogLocation } return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { - return nil, false -} - -// AsGoogleAdWordsSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { - return nil, false -} - -// AsOracleServiceCloudSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { - return nil, false -} - -// AsDynamicsAXSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { - return nil, false -} - -// AsResponsysSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsResponsysSource() (*ResponsysSource, bool) { - return nil, false -} - -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { - return nil, false -} - -// AsVerticaSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsVerticaSource() (*VerticaSource, bool) { - return nil, false -} - -// AsNetezzaSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsNetezzaSource() (*NetezzaSource, bool) { - return nil, false -} - -// AsZohoSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsZohoSource() (*ZohoSource, bool) { - return nil, false -} - -// AsXeroSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsXeroSource() (*XeroSource, bool) { - return nil, false -} - -// AsSquareSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsSquareSource() (*SquareSource, bool) { - return nil, false +// BasicExecutionActivity base class for all execution activities. +type BasicExecutionActivity interface { + AsAzureFunctionActivity() (*AzureFunctionActivity, bool) + AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) + AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) + AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) + AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) + AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) + AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) + AsGetMetadataActivity() (*GetMetadataActivity, bool) + AsWebActivity() (*WebActivity, bool) + AsLookupActivity() (*LookupActivity, bool) + AsDeleteActivity() (*DeleteActivity, bool) + AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) + AsCustomActivity() (*CustomActivity, bool) + AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) + AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) + AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) + AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) + AsHDInsightPigActivity() (*HDInsightPigActivity, bool) + AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) + AsCopyActivity() (*CopyActivity, bool) + AsExecutionActivity() (*ExecutionActivity, bool) } -// AsSparkSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsSparkSource() (*SparkSource, bool) { - return nil, false +// ExecutionActivity base class for all execution activities. +type ExecutionActivity struct { + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Policy - Activity policy. + Policy *ActivityPolicy `json:"policy,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Name - Activity name. + Name *string `json:"name,omitempty"` + // Description - Activity description. + Description *string `json:"description,omitempty"` + // DependsOn - Activity depends on condition. + DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` + // UserProperties - Activity user properties. + UserProperties *[]UserProperty `json:"userProperties,omitempty"` + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + Type TypeBasicActivity `json:"type,omitempty"` } -// AsShopifySource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsShopifySource() (*ShopifySource, bool) { - return nil, false -} +func unmarshalBasicExecutionActivity(body []byte) (BasicExecutionActivity, error) { + var m map[string]interface{} + err := json.Unmarshal(body, &m) + if err != nil { + return nil, err + } -// AsServiceNowSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsServiceNowSource() (*ServiceNowSource, bool) { - return nil, false -} - -// AsQuickBooksSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsQuickBooksSource() (*QuickBooksSource, bool) { - return nil, false -} - -// AsPrestoSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsPrestoSource() (*PrestoSource, bool) { - return nil, false -} - -// AsPhoenixSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsPhoenixSource() (*PhoenixSource, bool) { - return nil, false -} - -// AsPaypalSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsPaypalSource() (*PaypalSource, bool) { - return nil, false -} - -// AsMarketoSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsMarketoSource() (*MarketoSource, bool) { - return nil, false -} - -// AsMariaDBSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsMariaDBSource() (*MariaDBSource, bool) { - return nil, false -} - -// AsMagentoSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsMagentoSource() (*MagentoSource, bool) { - return nil, false + switch m["type"] { + case string(TypeAzureFunctionActivity): + var afa AzureFunctionActivity + err := json.Unmarshal(body, &afa) + return afa, err + case string(TypeDatabricksSparkPython): + var dspa DatabricksSparkPythonActivity + err := json.Unmarshal(body, &dspa) + return dspa, err + case string(TypeDatabricksSparkJar): + var dsja DatabricksSparkJarActivity + err := json.Unmarshal(body, &dsja) + return dsja, err + case string(TypeDatabricksNotebook): + var dna DatabricksNotebookActivity + err := json.Unmarshal(body, &dna) + return dna, err + case string(TypeDataLakeAnalyticsUSQL): + var dlaua DataLakeAnalyticsUSQLActivity + err := json.Unmarshal(body, &dlaua) + return dlaua, err + case string(TypeAzureMLUpdateResource): + var amura AzureMLUpdateResourceActivity + err := json.Unmarshal(body, &amura) + return amura, err + case string(TypeAzureMLBatchExecution): + var ambea AzureMLBatchExecutionActivity + err := json.Unmarshal(body, &ambea) + return ambea, err + case string(TypeGetMetadata): + var gma GetMetadataActivity + err := json.Unmarshal(body, &gma) + return gma, err + case string(TypeWebActivity): + var wa WebActivity + err := json.Unmarshal(body, &wa) + return wa, err + case string(TypeLookup): + var la LookupActivity + err := json.Unmarshal(body, &la) + return la, err + case string(TypeDelete): + var da DeleteActivity + err := json.Unmarshal(body, &da) + return da, err + case string(TypeSQLServerStoredProcedure): + var ssspa SQLServerStoredProcedureActivity + err := json.Unmarshal(body, &ssspa) + return ssspa, err + case string(TypeCustom): + var ca CustomActivity + err := json.Unmarshal(body, &ca) + return ca, err + case string(TypeExecuteSSISPackage): + var espa ExecuteSSISPackageActivity + err := json.Unmarshal(body, &espa) + return espa, err + case string(TypeHDInsightSpark): + var hisa HDInsightSparkActivity + err := json.Unmarshal(body, &hisa) + return hisa, err + case string(TypeHDInsightStreaming): + var hisa HDInsightStreamingActivity + err := json.Unmarshal(body, &hisa) + return hisa, err + case string(TypeHDInsightMapReduce): + var himra HDInsightMapReduceActivity + err := json.Unmarshal(body, &himra) + return himra, err + case string(TypeHDInsightPig): + var hipa HDInsightPigActivity + err := json.Unmarshal(body, &hipa) + return hipa, err + case string(TypeHDInsightHive): + var hiha HDInsightHiveActivity + err := json.Unmarshal(body, &hiha) + return hiha, err + case string(TypeCopy): + var ca CopyActivity + err := json.Unmarshal(body, &ca) + return ca, err + default: + var ea ExecutionActivity + err := json.Unmarshal(body, &ea) + return ea, err + } } +func unmarshalBasicExecutionActivityArray(body []byte) ([]BasicExecutionActivity, error) { + var rawMessages []*json.RawMessage + err := json.Unmarshal(body, &rawMessages) + if err != nil { + return nil, err + } -// AsJiraSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsJiraSource() (*JiraSource, bool) { - return nil, false -} + eaArray := make([]BasicExecutionActivity, len(rawMessages)) -// AsImpalaSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsImpalaSource() (*ImpalaSource, bool) { - return nil, false + for index, rawMessage := range rawMessages { + ea, err := unmarshalBasicExecutionActivity(*rawMessage) + if err != nil { + return nil, err + } + eaArray[index] = ea + } + return eaArray, nil } -// AsHubspotSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsHubspotSource() (*HubspotSource, bool) { - return nil, false +// MarshalJSON is the custom marshaler for ExecutionActivity. +func (ea ExecutionActivity) MarshalJSON() ([]byte, error) { + ea.Type = TypeExecution + objectMap := make(map[string]interface{}) + if ea.LinkedServiceName != nil { + objectMap["linkedServiceName"] = ea.LinkedServiceName + } + if ea.Policy != nil { + objectMap["policy"] = ea.Policy + } + if ea.Name != nil { + objectMap["name"] = ea.Name + } + if ea.Description != nil { + objectMap["description"] = ea.Description + } + if ea.DependsOn != nil { + objectMap["dependsOn"] = ea.DependsOn + } + if ea.UserProperties != nil { + objectMap["userProperties"] = ea.UserProperties + } + if ea.Type != "" { + objectMap["type"] = ea.Type + } + for k, v := range ea.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// AsHiveSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsHiveSource() (*HiveSource, bool) { +// AsAzureFunctionActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsHBaseSource() (*HBaseSource, bool) { - return &hbs, true -} - -// AsGreenplumSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsDatabricksSparkJarActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsEloquaSource() (*EloquaSource, bool) { +// AsDatabricksNotebookActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsDrillSource() (*DrillSource, bool) { +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsConcurSource() (*ConcurSource, bool) { +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsGetMetadataActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsWebActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsWebActivity() (*WebActivity, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsHTTPSource() (*HTTPSource, bool) { +// AsLookupActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsDeleteActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsOffice365Source() (*Office365Source, bool) { +// AsCustomActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsCustomActivity() (*CustomActivity, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsExecuteSSISPackageActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsHDInsightSparkActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsHDInsightStreamingActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsCassandraSource() (*CassandraSource, bool) { +// AsHDInsightMapReduceActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsWebSource() (*WebSource, bool) { +// AsHDInsightPigActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsOracleSource() (*OracleSource, bool) { +// AsHDInsightHiveActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsCopyActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsCopyActivity() (*CopyActivity, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { - return nil, false +// AsExecutionActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsExecutionActivity() (*ExecutionActivity, bool) { + return &ea, true } -// AsHdfsSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsHdfsSource() (*HdfsSource, bool) { - return nil, false +// AsBasicExecutionActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return &ea, true } -// AsFileSystemSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsWebHookActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsWebHookActivity() (*WebHookActivity, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsAppendVariableActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsSetVariableActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsFilterActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsFilterActivity() (*FilterActivity, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsSQLSource() (*SQLSource, bool) { +// AsValidationActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsValidationActivity() (*ValidationActivity, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsRestSource() (*RestSource, bool) { +// AsUntilActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsSapTableSource() (*SapTableSource, bool) { +// AsWaitActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsWaitActivity() (*WaitActivity, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsForEachActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsForEachActivity() (*ForEachActivity, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsIfConditionActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsSapEccSource() (*SapEccSource, bool) { +// AsExecutePipelineActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsControlActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsControlActivity() (*ControlActivity, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsBasicControlActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsBasicControlActivity() (BasicControlActivity, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsRelationalSource() (*RelationalSource, bool) { +// AsActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsActivity() (*Activity, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsDynamicsSource() (*DynamicsSource, bool) { - return nil, false +// AsBasicActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsBasicActivity() (BasicActivity, bool) { + return &ea, true } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { - return nil, false -} +// UnmarshalJSON is the custom unmarshaler for ExecutionActivity struct. +func (ea *ExecutionActivity) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + ea.LinkedServiceName = &linkedServiceName + } + case "policy": + if v != nil { + var policy ActivityPolicy + err = json.Unmarshal(*v, &policy) + if err != nil { + return err + } + ea.Policy = &policy + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if ea.AdditionalProperties == nil { + ea.AdditionalProperties = make(map[string]interface{}) + } + ea.AdditionalProperties[k] = additionalProperties + } + case "name": + if v != nil { + var name string + err = json.Unmarshal(*v, &name) + if err != nil { + return err + } + ea.Name = &name + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + ea.Description = &description + } + case "dependsOn": + if v != nil { + var dependsOn []ActivityDependency + err = json.Unmarshal(*v, &dependsOn) + if err != nil { + return err + } + ea.DependsOn = &dependsOn + } + case "userProperties": + if v != nil { + var userProperties []UserProperty + err = json.Unmarshal(*v, &userProperties) + if err != nil { + return err + } + ea.UserProperties = &userProperties + } + case "type": + if v != nil { + var typeVar TypeBasicActivity + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + ea.Type = typeVar + } + } + } -// AsBlobSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsBlobSource() (*BlobSource, bool) { - return nil, false + return nil } -// AsAzureTableSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsAzureTableSource() (*AzureTableSource, bool) { - return nil, false +// ExposureControlRequest the exposure control request. +type ExposureControlRequest struct { + // FeatureName - The feature name. + FeatureName *string `json:"featureName,omitempty"` + // FeatureType - The feature type. + FeatureType *string `json:"featureType,omitempty"` } -// AsDelimitedTextSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { - return nil, false +// ExposureControlResponse the exposure control response. +type ExposureControlResponse struct { + autorest.Response `json:"-"` + // FeatureName - READ-ONLY; The feature name. + FeatureName *string `json:"featureName,omitempty"` + // Value - READ-ONLY; The feature value. + Value *string `json:"value,omitempty"` } -// AsParquetSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsParquetSource() (*ParquetSource, bool) { - return nil, false +// Expression azure Data Factory expression definition. +type Expression struct { + // Type - Expression type. + Type *string `json:"type,omitempty"` + // Value - Expression value. + Value *string `json:"value,omitempty"` } -// AsCopySource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsCopySource() (*CopySource, bool) { - return nil, false +// Factory factory resource type. +type Factory struct { + autorest.Response `json:"-"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Identity - Managed service identity of the factory. + Identity *FactoryIdentity `json:"identity,omitempty"` + // FactoryProperties - Properties of the factory. + *FactoryProperties `json:"properties,omitempty"` + // ID - READ-ONLY; The resource identifier. + ID *string `json:"id,omitempty"` + // Name - READ-ONLY; The resource name. + Name *string `json:"name,omitempty"` + // Type - READ-ONLY; The resource type. + Type *string `json:"type,omitempty"` + // Location - The resource location. + Location *string `json:"location,omitempty"` + // Tags - The resource tags. + Tags map[string]*string `json:"tags"` + // ETag - READ-ONLY; Etag identifies change in the resource. + ETag *string `json:"eTag,omitempty"` } -// AsBasicCopySource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsBasicCopySource() (BasicCopySource, bool) { - return &hbs, true +// MarshalJSON is the custom marshaler for Factory. +func (f Factory) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if f.Identity != nil { + objectMap["identity"] = f.Identity + } + if f.FactoryProperties != nil { + objectMap["properties"] = f.FactoryProperties + } + if f.Location != nil { + objectMap["location"] = f.Location + } + if f.Tags != nil { + objectMap["tags"] = f.Tags + } + for k, v := range f.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for HBaseSource struct. -func (hbs *HBaseSource) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for Factory struct. +func (f *Factory) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -69318,62 +70279,89 @@ func (hbs *HBaseSource) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "query": + default: if v != nil { - var query interface{} - err = json.Unmarshal(*v, &query) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - hbs.Query = query + if f.AdditionalProperties == nil { + f.AdditionalProperties = make(map[string]interface{}) + } + f.AdditionalProperties[k] = additionalProperties } - default: + case "identity": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var identity FactoryIdentity + err = json.Unmarshal(*v, &identity) if err != nil { return err } - if hbs.AdditionalProperties == nil { - hbs.AdditionalProperties = make(map[string]interface{}) - } - hbs.AdditionalProperties[k] = additionalProperties + f.Identity = &identity } - case "sourceRetryCount": + case "properties": if v != nil { - var sourceRetryCount interface{} - err = json.Unmarshal(*v, &sourceRetryCount) + var factoryProperties FactoryProperties + err = json.Unmarshal(*v, &factoryProperties) if err != nil { return err } - hbs.SourceRetryCount = sourceRetryCount + f.FactoryProperties = &factoryProperties } - case "sourceRetryWait": + case "id": if v != nil { - var sourceRetryWait interface{} - err = json.Unmarshal(*v, &sourceRetryWait) + var ID string + err = json.Unmarshal(*v, &ID) if err != nil { return err } - hbs.SourceRetryWait = sourceRetryWait + f.ID = &ID } - case "maxConcurrentConnections": + case "name": if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) + var name string + err = json.Unmarshal(*v, &name) if err != nil { return err } - hbs.MaxConcurrentConnections = maxConcurrentConnections + f.Name = &name } case "type": if v != nil { - var typeVar TypeBasicCopySource + var typeVar string err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - hbs.Type = typeVar + f.Type = &typeVar + } + case "location": + if v != nil { + var location string + err = json.Unmarshal(*v, &location) + if err != nil { + return err + } + f.Location = &location + } + case "tags": + if v != nil { + var tags map[string]*string + err = json.Unmarshal(*v, &tags) + if err != nil { + return err + } + f.Tags = tags + } + case "eTag": + if v != nil { + var eTag string + err = json.Unmarshal(*v, &eTag) + if err != nil { + return err + } + f.ETag = &eTag } } } @@ -69381,484 +70369,1038 @@ func (hbs *HBaseSource) UnmarshalJSON(body []byte) error { return nil } -// HdfsLinkedService hadoop Distributed File System (HDFS) linked service. -type HdfsLinkedService struct { - // HdfsLinkedServiceTypeProperties - HDFS linked service properties. - *HdfsLinkedServiceTypeProperties `json:"typeProperties,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. - Description *string `json:"description,omitempty"` - // Parameters - Parameters for linked service. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the linked service. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` +// FactoryGitHubConfiguration factory's GitHub repo information. +type FactoryGitHubConfiguration struct { + // HostName - GitHub Enterprise host name. For example: https://github.mydomain.com + HostName *string `json:"hostName,omitempty"` + // AccountName - Account name. + AccountName *string `json:"accountName,omitempty"` + // RepositoryName - Repository name. + RepositoryName *string `json:"repositoryName,omitempty"` + // CollaborationBranch - Collaboration branch. + CollaborationBranch *string `json:"collaborationBranch,omitempty"` + // RootFolder - Root folder. + RootFolder *string `json:"rootFolder,omitempty"` + // LastCommitID - Last commit id. + LastCommitID *string `json:"lastCommitId,omitempty"` + // Type - Possible values include: 'TypeFactoryRepoConfiguration', 'TypeFactoryVSTSConfiguration', 'TypeFactoryGitHubConfiguration' + Type TypeBasicFactoryRepoConfiguration `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for HdfsLinkedService. -func (hls HdfsLinkedService) MarshalJSON() ([]byte, error) { - hls.Type = TypeHdfs +// MarshalJSON is the custom marshaler for FactoryGitHubConfiguration. +func (fghc FactoryGitHubConfiguration) MarshalJSON() ([]byte, error) { + fghc.Type = TypeFactoryGitHubConfiguration objectMap := make(map[string]interface{}) - if hls.HdfsLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = hls.HdfsLinkedServiceTypeProperties + if fghc.HostName != nil { + objectMap["hostName"] = fghc.HostName } - if hls.ConnectVia != nil { - objectMap["connectVia"] = hls.ConnectVia + if fghc.AccountName != nil { + objectMap["accountName"] = fghc.AccountName } - if hls.Description != nil { - objectMap["description"] = hls.Description + if fghc.RepositoryName != nil { + objectMap["repositoryName"] = fghc.RepositoryName } - if hls.Parameters != nil { - objectMap["parameters"] = hls.Parameters + if fghc.CollaborationBranch != nil { + objectMap["collaborationBranch"] = fghc.CollaborationBranch } - if hls.Annotations != nil { - objectMap["annotations"] = hls.Annotations + if fghc.RootFolder != nil { + objectMap["rootFolder"] = fghc.RootFolder } - if hls.Type != "" { - objectMap["type"] = hls.Type + if fghc.LastCommitID != nil { + objectMap["lastCommitId"] = fghc.LastCommitID } - for k, v := range hls.AdditionalProperties { - objectMap[k] = v + if fghc.Type != "" { + objectMap["type"] = fghc.Type } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { +// AsFactoryVSTSConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryGitHubConfiguration. +func (fghc FactoryGitHubConfiguration) AsFactoryVSTSConfiguration() (*FactoryVSTSConfiguration, bool) { return nil, false } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { - return nil, false +// AsFactoryGitHubConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryGitHubConfiguration. +func (fghc FactoryGitHubConfiguration) AsFactoryGitHubConfiguration() (*FactoryGitHubConfiguration, bool) { + return &fghc, true } -// AsSapTableLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsFactoryRepoConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryGitHubConfiguration. +func (fghc FactoryGitHubConfiguration) AsFactoryRepoConfiguration() (*FactoryRepoConfiguration, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { - return nil, false +// AsBasicFactoryRepoConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryGitHubConfiguration. +func (fghc FactoryGitHubConfiguration) AsBasicFactoryRepoConfiguration() (BasicFactoryRepoConfiguration, bool) { + return &fghc, true } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { - return nil, false +// FactoryIdentity identity properties of the factory resource. +type FactoryIdentity struct { + // Type - The identity type. Currently the only supported type is 'SystemAssigned'. + Type *string `json:"type,omitempty"` + // PrincipalID - READ-ONLY; The principal id of the identity. + PrincipalID *uuid.UUID `json:"principalId,omitempty"` + // TenantID - READ-ONLY; The client tenant id of the identity. + TenantID *uuid.UUID `json:"tenantId,omitempty"` } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { - return nil, false +// FactoryListResponse a list of factory resources. +type FactoryListResponse struct { + autorest.Response `json:"-"` + // Value - List of factories. + Value *[]Factory `json:"value,omitempty"` + // NextLink - The link to the next page of results, if any remaining results exist. + NextLink *string `json:"nextLink,omitempty"` } -// AsResponsysLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { - return nil, false +// FactoryListResponseIterator provides access to a complete listing of Factory values. +type FactoryListResponseIterator struct { + i int + page FactoryListResponsePage } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { - return nil, false +// NextWithContext advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +func (iter *FactoryListResponseIterator) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/FactoryListResponseIterator.NextWithContext") + defer func() { + sc := -1 + if iter.Response().Response.Response != nil { + sc = iter.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + iter.i++ + if iter.i < len(iter.page.Values()) { + return nil + } + err = iter.page.NextWithContext(ctx) + if err != nil { + iter.i-- + return err + } + iter.i = 0 + return nil } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { - return nil, false +// Next advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (iter *FactoryListResponseIterator) Next() error { + return iter.NextWithContext(context.Background()) } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { - return nil, false +// NotDone returns true if the enumeration should be started or is not yet complete. +func (iter FactoryListResponseIterator) NotDone() bool { + return iter.page.NotDone() && iter.i < len(iter.page.Values()) } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { - return nil, false +// Response returns the raw server response from the last page request. +func (iter FactoryListResponseIterator) Response() FactoryListResponse { + return iter.page.Response() } -// AsNetezzaLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { - return nil, false +// Value returns the current value or a zero-initialized value if the +// iterator has advanced beyond the end of the collection. +func (iter FactoryListResponseIterator) Value() Factory { + if !iter.page.NotDone() { + return Factory{} + } + return iter.page.Values()[iter.i] } -// AsVerticaLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { - return nil, false +// Creates a new instance of the FactoryListResponseIterator type. +func NewFactoryListResponseIterator(page FactoryListResponsePage) FactoryListResponseIterator { + return FactoryListResponseIterator{page: page} } -// AsZohoLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { - return nil, false +// IsEmpty returns true if the ListResult contains no values. +func (flr FactoryListResponse) IsEmpty() bool { + return flr.Value == nil || len(*flr.Value) == 0 } -// AsXeroLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { - return nil, false +// factoryListResponsePreparer prepares a request to retrieve the next set of results. +// It returns nil if no more results exist. +func (flr FactoryListResponse) factoryListResponsePreparer(ctx context.Context) (*http.Request, error) { + if flr.NextLink == nil || len(to.String(flr.NextLink)) < 1 { + return nil, nil + } + return autorest.Prepare((&http.Request{}).WithContext(ctx), + autorest.AsJSON(), + autorest.AsGet(), + autorest.WithBaseURL(to.String(flr.NextLink))) } -// AsSquareLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { - return nil, false +// FactoryListResponsePage contains a page of Factory values. +type FactoryListResponsePage struct { + fn func(context.Context, FactoryListResponse) (FactoryListResponse, error) + flr FactoryListResponse } -// AsSparkLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { - return nil, false +// NextWithContext advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +func (page *FactoryListResponsePage) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/FactoryListResponsePage.NextWithContext") + defer func() { + sc := -1 + if page.Response().Response.Response != nil { + sc = page.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + next, err := page.fn(ctx, page.flr) + if err != nil { + return err + } + page.flr = next + return nil } -// AsShopifyLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { - return nil, false +// Next advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (page *FactoryListResponsePage) Next() error { + return page.NextWithContext(context.Background()) } -// AsServiceNowLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { - return nil, false +// NotDone returns true if the page enumeration should be started or is not yet complete. +func (page FactoryListResponsePage) NotDone() bool { + return !page.flr.IsEmpty() } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { - return nil, false +// Response returns the raw server response from the last page request. +func (page FactoryListResponsePage) Response() FactoryListResponse { + return page.flr } -// AsPrestoLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { - return nil, false +// Values returns the slice of values for the current page or nil if there are no values. +func (page FactoryListResponsePage) Values() []Factory { + if page.flr.IsEmpty() { + return nil + } + return *page.flr.Value } -// AsPhoenixLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { - return nil, false +// Creates a new instance of the FactoryListResponsePage type. +func NewFactoryListResponsePage(getNextPage func(context.Context, FactoryListResponse) (FactoryListResponse, error)) FactoryListResponsePage { + return FactoryListResponsePage{fn: getNextPage} } -// AsPaypalLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { - return nil, false +// FactoryProperties factory resource properties. +type FactoryProperties struct { + // ProvisioningState - READ-ONLY; Factory provisioning state, example Succeeded. + ProvisioningState *string `json:"provisioningState,omitempty"` + // CreateTime - READ-ONLY; Time the factory was created in ISO8601 format. + CreateTime *date.Time `json:"createTime,omitempty"` + // Version - READ-ONLY; Version of the factory. + Version *string `json:"version,omitempty"` + // RepoConfiguration - Git repo information of the factory. + RepoConfiguration BasicFactoryRepoConfiguration `json:"repoConfiguration,omitempty"` } -// AsMarketoLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { - return nil, false -} +// UnmarshalJSON is the custom unmarshaler for FactoryProperties struct. +func (fp *FactoryProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "provisioningState": + if v != nil { + var provisioningState string + err = json.Unmarshal(*v, &provisioningState) + if err != nil { + return err + } + fp.ProvisioningState = &provisioningState + } + case "createTime": + if v != nil { + var createTime date.Time + err = json.Unmarshal(*v, &createTime) + if err != nil { + return err + } + fp.CreateTime = &createTime + } + case "version": + if v != nil { + var version string + err = json.Unmarshal(*v, &version) + if err != nil { + return err + } + fp.Version = &version + } + case "repoConfiguration": + if v != nil { + repoConfiguration, err := unmarshalBasicFactoryRepoConfiguration(*v) + if err != nil { + return err + } + fp.RepoConfiguration = repoConfiguration + } + } + } -// AsMariaDBLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { - return nil, false + return nil } -// AsMagentoLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { - return nil, false +// BasicFactoryRepoConfiguration factory's git repo information. +type BasicFactoryRepoConfiguration interface { + AsFactoryVSTSConfiguration() (*FactoryVSTSConfiguration, bool) + AsFactoryGitHubConfiguration() (*FactoryGitHubConfiguration, bool) + AsFactoryRepoConfiguration() (*FactoryRepoConfiguration, bool) } -// AsJiraLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { - return nil, false +// FactoryRepoConfiguration factory's git repo information. +type FactoryRepoConfiguration struct { + // AccountName - Account name. + AccountName *string `json:"accountName,omitempty"` + // RepositoryName - Repository name. + RepositoryName *string `json:"repositoryName,omitempty"` + // CollaborationBranch - Collaboration branch. + CollaborationBranch *string `json:"collaborationBranch,omitempty"` + // RootFolder - Root folder. + RootFolder *string `json:"rootFolder,omitempty"` + // LastCommitID - Last commit id. + LastCommitID *string `json:"lastCommitId,omitempty"` + // Type - Possible values include: 'TypeFactoryRepoConfiguration', 'TypeFactoryVSTSConfiguration', 'TypeFactoryGitHubConfiguration' + Type TypeBasicFactoryRepoConfiguration `json:"type,omitempty"` } -// AsImpalaLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { - return nil, false -} +func unmarshalBasicFactoryRepoConfiguration(body []byte) (BasicFactoryRepoConfiguration, error) { + var m map[string]interface{} + err := json.Unmarshal(body, &m) + if err != nil { + return nil, err + } -// AsHubspotLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { - return nil, false + switch m["type"] { + case string(TypeFactoryVSTSConfiguration): + var fvc FactoryVSTSConfiguration + err := json.Unmarshal(body, &fvc) + return fvc, err + case string(TypeFactoryGitHubConfiguration): + var fghc FactoryGitHubConfiguration + err := json.Unmarshal(body, &fghc) + return fghc, err + default: + var frc FactoryRepoConfiguration + err := json.Unmarshal(body, &frc) + return frc, err + } } +func unmarshalBasicFactoryRepoConfigurationArray(body []byte) ([]BasicFactoryRepoConfiguration, error) { + var rawMessages []*json.RawMessage + err := json.Unmarshal(body, &rawMessages) + if err != nil { + return nil, err + } -// AsHiveLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { - return nil, false + frcArray := make([]BasicFactoryRepoConfiguration, len(rawMessages)) + + for index, rawMessage := range rawMessages { + frc, err := unmarshalBasicFactoryRepoConfiguration(*rawMessage) + if err != nil { + return nil, err + } + frcArray[index] = frc + } + return frcArray, nil } -// AsHBaseLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { - return nil, false +// MarshalJSON is the custom marshaler for FactoryRepoConfiguration. +func (frc FactoryRepoConfiguration) MarshalJSON() ([]byte, error) { + frc.Type = TypeFactoryRepoConfiguration + objectMap := make(map[string]interface{}) + if frc.AccountName != nil { + objectMap["accountName"] = frc.AccountName + } + if frc.RepositoryName != nil { + objectMap["repositoryName"] = frc.RepositoryName + } + if frc.CollaborationBranch != nil { + objectMap["collaborationBranch"] = frc.CollaborationBranch + } + if frc.RootFolder != nil { + objectMap["rootFolder"] = frc.RootFolder + } + if frc.LastCommitID != nil { + objectMap["lastCommitId"] = frc.LastCommitID + } + if frc.Type != "" { + objectMap["type"] = frc.Type + } + return json.Marshal(objectMap) } -// AsGreenplumLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsFactoryVSTSConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryRepoConfiguration. +func (frc FactoryRepoConfiguration) AsFactoryVSTSConfiguration() (*FactoryVSTSConfiguration, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsFactoryGitHubConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryRepoConfiguration. +func (frc FactoryRepoConfiguration) AsFactoryGitHubConfiguration() (*FactoryGitHubConfiguration, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { - return nil, false +// AsFactoryRepoConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryRepoConfiguration. +func (frc FactoryRepoConfiguration) AsFactoryRepoConfiguration() (*FactoryRepoConfiguration, bool) { + return &frc, true } -// AsDrillLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { - return nil, false +// AsBasicFactoryRepoConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryRepoConfiguration. +func (frc FactoryRepoConfiguration) AsBasicFactoryRepoConfiguration() (BasicFactoryRepoConfiguration, bool) { + return &frc, true } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// FactoryRepoUpdate factory's git repo information. +type FactoryRepoUpdate struct { + // FactoryResourceID - The factory resource id. + FactoryResourceID *string `json:"factoryResourceId,omitempty"` + // RepoConfiguration - Git repo information of the factory. + RepoConfiguration BasicFactoryRepoConfiguration `json:"repoConfiguration,omitempty"` +} + +// UnmarshalJSON is the custom unmarshaler for FactoryRepoUpdate struct. +func (fru *FactoryRepoUpdate) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "factoryResourceId": + if v != nil { + var factoryResourceID string + err = json.Unmarshal(*v, &factoryResourceID) + if err != nil { + return err + } + fru.FactoryResourceID = &factoryResourceID + } + case "repoConfiguration": + if v != nil { + repoConfiguration, err := unmarshalBasicFactoryRepoConfiguration(*v) + if err != nil { + return err + } + fru.RepoConfiguration = repoConfiguration + } + } + } + + return nil +} + +// FactoryUpdateParameters parameters for updating a factory resource. +type FactoryUpdateParameters struct { + // Tags - The resource tags. + Tags map[string]*string `json:"tags"` + // Identity - Managed service identity of the factory. + Identity *FactoryIdentity `json:"identity,omitempty"` +} + +// MarshalJSON is the custom marshaler for FactoryUpdateParameters. +func (fup FactoryUpdateParameters) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if fup.Tags != nil { + objectMap["tags"] = fup.Tags + } + if fup.Identity != nil { + objectMap["identity"] = fup.Identity + } + return json.Marshal(objectMap) +} + +// FactoryVSTSConfiguration factory's VSTS repo information. +type FactoryVSTSConfiguration struct { + // ProjectName - VSTS project name. + ProjectName *string `json:"projectName,omitempty"` + // TenantID - VSTS tenant id. + TenantID *string `json:"tenantId,omitempty"` + // AccountName - Account name. + AccountName *string `json:"accountName,omitempty"` + // RepositoryName - Repository name. + RepositoryName *string `json:"repositoryName,omitempty"` + // CollaborationBranch - Collaboration branch. + CollaborationBranch *string `json:"collaborationBranch,omitempty"` + // RootFolder - Root folder. + RootFolder *string `json:"rootFolder,omitempty"` + // LastCommitID - Last commit id. + LastCommitID *string `json:"lastCommitId,omitempty"` + // Type - Possible values include: 'TypeFactoryRepoConfiguration', 'TypeFactoryVSTSConfiguration', 'TypeFactoryGitHubConfiguration' + Type TypeBasicFactoryRepoConfiguration `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for FactoryVSTSConfiguration. +func (fvc FactoryVSTSConfiguration) MarshalJSON() ([]byte, error) { + fvc.Type = TypeFactoryVSTSConfiguration + objectMap := make(map[string]interface{}) + if fvc.ProjectName != nil { + objectMap["projectName"] = fvc.ProjectName + } + if fvc.TenantID != nil { + objectMap["tenantId"] = fvc.TenantID + } + if fvc.AccountName != nil { + objectMap["accountName"] = fvc.AccountName + } + if fvc.RepositoryName != nil { + objectMap["repositoryName"] = fvc.RepositoryName + } + if fvc.CollaborationBranch != nil { + objectMap["collaborationBranch"] = fvc.CollaborationBranch + } + if fvc.RootFolder != nil { + objectMap["rootFolder"] = fvc.RootFolder + } + if fvc.LastCommitID != nil { + objectMap["lastCommitId"] = fvc.LastCommitID + } + if fvc.Type != "" { + objectMap["type"] = fvc.Type + } + return json.Marshal(objectMap) +} + +// AsFactoryVSTSConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryVSTSConfiguration. +func (fvc FactoryVSTSConfiguration) AsFactoryVSTSConfiguration() (*FactoryVSTSConfiguration, bool) { + return &fvc, true +} + +// AsFactoryGitHubConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryVSTSConfiguration. +func (fvc FactoryVSTSConfiguration) AsFactoryGitHubConfiguration() (*FactoryGitHubConfiguration, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsFactoryRepoConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryVSTSConfiguration. +func (fvc FactoryVSTSConfiguration) AsFactoryRepoConfiguration() (*FactoryRepoConfiguration, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsBasicFactoryRepoConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryVSTSConfiguration. +func (fvc FactoryVSTSConfiguration) AsBasicFactoryRepoConfiguration() (BasicFactoryRepoConfiguration, bool) { + return &fvc, true +} + +// FileServerLinkedService file system linked service. +type FileServerLinkedService struct { + // FileServerLinkedServiceTypeProperties - File system linked service properties. + *FileServerLinkedServiceTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. + Description *string `json:"description,omitempty"` + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the linked service. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for FileServerLinkedService. +func (fsls FileServerLinkedService) MarshalJSON() ([]byte, error) { + fsls.Type = TypeFileServer + objectMap := make(map[string]interface{}) + if fsls.FileServerLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = fsls.FileServerLinkedServiceTypeProperties + } + if fsls.ConnectVia != nil { + objectMap["connectVia"] = fsls.ConnectVia + } + if fsls.Description != nil { + objectMap["description"] = fsls.Description + } + if fsls.Parameters != nil { + objectMap["parameters"] = fsls.Parameters + } + if fsls.Annotations != nil { + objectMap["annotations"] = fsls.Annotations + } + if fsls.Type != "" { + objectMap["type"] = fsls.Type + } + for k, v := range fsls.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { - return &hls, true +// AsMagentoLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { + return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &hls, true +// AsRestServiceLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for HdfsLinkedService struct. -func (hls *HdfsLinkedService) UnmarshalJSON(body []byte) error { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { + return nil, false +} + +// AsSapEccLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { + return nil, false +} + +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { + return nil, false +} + +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + +// AsSalesforceLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { + return nil, false +} + +// AsOffice365LinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { + return nil, false +} + +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { + return nil, false +} + +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { + return nil, false +} + +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { + return nil, false +} + +// AsMongoDbLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { + return nil, false +} + +// AsCassandraLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { + return nil, false +} + +// AsWebLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { + return nil, false +} + +// AsODataLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { + return nil, false +} + +// AsHdfsLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { + return nil, false +} + +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + +// AsOdbcLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { + return nil, false +} + +// AsAzureMLLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { + return nil, false +} + +// AsTeradataLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { + return nil, false +} + +// AsDb2LinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return nil, false +} + +// AsSybaseLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { + return nil, false +} + +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { + return nil, false +} + +// AsMySQLLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { + return nil, false +} + +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { + return nil, false +} + +// AsOracleLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { + return nil, false +} + +// AsFileServerLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { + return &fsls, true +} + +// AsHDInsightLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + +// AsDynamicsLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false +} + +// AsCosmosDbLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false +} + +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false +} + +// AsAzureBatchLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} + +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &fsls, true +} + +// UnmarshalJSON is the custom unmarshaler for FileServerLinkedService struct. +func (fsls *FileServerLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -69868,12 +71410,12 @@ func (hls *HdfsLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var hdfsLinkedServiceTypeProperties HdfsLinkedServiceTypeProperties - err = json.Unmarshal(*v, &hdfsLinkedServiceTypeProperties) + var fileServerLinkedServiceTypeProperties FileServerLinkedServiceTypeProperties + err = json.Unmarshal(*v, &fileServerLinkedServiceTypeProperties) if err != nil { return err } - hls.HdfsLinkedServiceTypeProperties = &hdfsLinkedServiceTypeProperties + fsls.FileServerLinkedServiceTypeProperties = &fileServerLinkedServiceTypeProperties } default: if v != nil { @@ -69882,10 +71424,10 @@ func (hls *HdfsLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if hls.AdditionalProperties == nil { - hls.AdditionalProperties = make(map[string]interface{}) + if fsls.AdditionalProperties == nil { + fsls.AdditionalProperties = make(map[string]interface{}) } - hls.AdditionalProperties[k] = additionalProperties + fsls.AdditionalProperties[k] = additionalProperties } case "connectVia": if v != nil { @@ -69894,7 +71436,7 @@ func (hls *HdfsLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - hls.ConnectVia = &connectVia + fsls.ConnectVia = &connectVia } case "description": if v != nil { @@ -69903,7 +71445,7 @@ func (hls *HdfsLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - hls.Description = &description + fsls.Description = &description } case "parameters": if v != nil { @@ -69912,7 +71454,7 @@ func (hls *HdfsLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - hls.Parameters = parameters + fsls.Parameters = parameters } case "annotations": if v != nil { @@ -69921,7 +71463,7 @@ func (hls *HdfsLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - hls.Annotations = &annotations + fsls.Annotations = &annotations } case "type": if v != nil { @@ -69930,7 +71472,7 @@ func (hls *HdfsLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - hls.Type = typeVar + fsls.Type = typeVar } } } @@ -69938,22 +71480,20 @@ func (hls *HdfsLinkedService) UnmarshalJSON(body []byte) error { return nil } -// HdfsLinkedServiceTypeProperties HDFS linked service properties. -type HdfsLinkedServiceTypeProperties struct { - // URL - The URL of the HDFS service endpoint, e.g. http://myhostname:50070/webhdfs/v1 . Type: string (or Expression with resultType string). - URL interface{} `json:"url,omitempty"` - // AuthenticationType - Type of authentication used to connect to the HDFS. Possible values are: Anonymous and Windows. Type: string (or Expression with resultType string). - AuthenticationType interface{} `json:"authenticationType,omitempty"` +// FileServerLinkedServiceTypeProperties file system linked service properties. +type FileServerLinkedServiceTypeProperties struct { + // Host - Host name of the server. Type: string (or Expression with resultType string). + Host interface{} `json:"host,omitempty"` + // UserID - User ID to logon the server. Type: string (or Expression with resultType string). + UserID interface{} `json:"userId,omitempty"` + // Password - Password to logon the server. + Password BasicSecretBase `json:"password,omitempty"` // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` - // UserName - User name for Windows authentication. Type: string (or Expression with resultType string). - UserName interface{} `json:"userName,omitempty"` - // Password - Password for Windows authentication. - Password BasicSecretBase `json:"password,omitempty"` } -// UnmarshalJSON is the custom unmarshaler for HdfsLinkedServiceTypeProperties struct. -func (hlstp *HdfsLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for FileServerLinkedServiceTypeProperties struct. +func (fslstp *FileServerLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -69961,49 +71501,40 @@ func (hlstp *HdfsLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "url": - if v != nil { - var URL interface{} - err = json.Unmarshal(*v, &URL) - if err != nil { - return err - } - hlstp.URL = URL - } - case "authenticationType": + case "host": if v != nil { - var authenticationType interface{} - err = json.Unmarshal(*v, &authenticationType) + var host interface{} + err = json.Unmarshal(*v, &host) if err != nil { return err } - hlstp.AuthenticationType = authenticationType + fslstp.Host = host } - case "encryptedCredential": + case "userId": if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) + var userID interface{} + err = json.Unmarshal(*v, &userID) if err != nil { return err } - hlstp.EncryptedCredential = encryptedCredential + fslstp.UserID = userID } - case "userName": + case "password": if v != nil { - var userName interface{} - err = json.Unmarshal(*v, &userName) + password, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - hlstp.UserName = userName + fslstp.Password = password } - case "password": + case "encryptedCredential": if v != nil { - password, err := unmarshalBasicSecretBase(*v) + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) if err != nil { return err } - hlstp.Password = password + fslstp.EncryptedCredential = encryptedCredential } } } @@ -70011,8 +71542,8 @@ func (hlstp *HdfsLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { return nil } -// HdfsLocation the location of HDFS. -type HdfsLocation struct { +// FileServerLocation the location of file server dataset. +type FileServerLocation struct { // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // Type - Type of dataset storage location. @@ -70023,26 +71554,26 @@ type HdfsLocation struct { FileName interface{} `json:"fileName,omitempty"` } -// MarshalJSON is the custom marshaler for HdfsLocation. -func (hl HdfsLocation) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for FileServerLocation. +func (fsl FileServerLocation) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if hl.Type != nil { - objectMap["type"] = hl.Type + if fsl.Type != nil { + objectMap["type"] = fsl.Type } - if hl.FolderPath != nil { - objectMap["folderPath"] = hl.FolderPath + if fsl.FolderPath != nil { + objectMap["folderPath"] = fsl.FolderPath } - if hl.FileName != nil { - objectMap["fileName"] = hl.FileName + if fsl.FileName != nil { + objectMap["fileName"] = fsl.FileName } - for k, v := range hl.AdditionalProperties { + for k, v := range fsl.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for HdfsLocation struct. -func (hl *HdfsLocation) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for FileServerLocation struct. +func (fsl *FileServerLocation) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -70057,10 +71588,10 @@ func (hl *HdfsLocation) UnmarshalJSON(body []byte) error { if err != nil { return err } - if hl.AdditionalProperties == nil { - hl.AdditionalProperties = make(map[string]interface{}) + if fsl.AdditionalProperties == nil { + fsl.AdditionalProperties = make(map[string]interface{}) } - hl.AdditionalProperties[k] = additionalProperties + fsl.AdditionalProperties[k] = additionalProperties } case "type": if v != nil { @@ -70069,7 +71600,7 @@ func (hl *HdfsLocation) UnmarshalJSON(body []byte) error { if err != nil { return err } - hl.Type = &typeVar + fsl.Type = &typeVar } case "folderPath": if v != nil { @@ -70078,7 +71609,7 @@ func (hl *HdfsLocation) UnmarshalJSON(body []byte) error { if err != nil { return err } - hl.FolderPath = folderPath + fsl.FolderPath = folderPath } case "fileName": if v != nil { @@ -70087,7 +71618,7 @@ func (hl *HdfsLocation) UnmarshalJSON(body []byte) error { if err != nil { return err } - hl.FileName = fileName + fsl.FileName = fileName } } } @@ -70095,13 +71626,13 @@ func (hl *HdfsLocation) UnmarshalJSON(body []byte) error { return nil } -// HdfsReadSettings HDFS read settings. -type HdfsReadSettings struct { +// FileServerReadSettings file server read settings. +type FileServerReadSettings struct { // Recursive - If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). Recursive interface{} `json:"recursive,omitempty"` - // WildcardFolderPath - HDFS wildcardFolderPath. Type: string (or Expression with resultType string). + // WildcardFolderPath - FileServer wildcardFolderPath. Type: string (or Expression with resultType string). WildcardFolderPath interface{} `json:"wildcardFolderPath,omitempty"` - // WildcardFileName - HDFS wildcardFileName. Type: string (or Expression with resultType string). + // WildcardFileName - FileServer wildcardFileName. Type: string (or Expression with resultType string). WildcardFileName interface{} `json:"wildcardFileName,omitempty"` // EnablePartitionDiscovery - Indicates whether to enable partition discovery. EnablePartitionDiscovery *bool `json:"enablePartitionDiscovery,omitempty"` @@ -70109,8 +71640,6 @@ type HdfsReadSettings struct { ModifiedDatetimeStart interface{} `json:"modifiedDatetimeStart,omitempty"` // ModifiedDatetimeEnd - The end of file's modified datetime. Type: string (or Expression with resultType string). ModifiedDatetimeEnd interface{} `json:"modifiedDatetimeEnd,omitempty"` - // DistcpSettings - Specifies Distcp-related settings. - DistcpSettings *DistcpSettings `json:"distcpSettings,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // Type - The read setting type. @@ -70119,44 +71648,41 @@ type HdfsReadSettings struct { MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` } -// MarshalJSON is the custom marshaler for HdfsReadSettings. -func (hrs HdfsReadSettings) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for FileServerReadSettings. +func (fsrs FileServerReadSettings) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if hrs.Recursive != nil { - objectMap["recursive"] = hrs.Recursive - } - if hrs.WildcardFolderPath != nil { - objectMap["wildcardFolderPath"] = hrs.WildcardFolderPath + if fsrs.Recursive != nil { + objectMap["recursive"] = fsrs.Recursive } - if hrs.WildcardFileName != nil { - objectMap["wildcardFileName"] = hrs.WildcardFileName + if fsrs.WildcardFolderPath != nil { + objectMap["wildcardFolderPath"] = fsrs.WildcardFolderPath } - if hrs.EnablePartitionDiscovery != nil { - objectMap["enablePartitionDiscovery"] = hrs.EnablePartitionDiscovery + if fsrs.WildcardFileName != nil { + objectMap["wildcardFileName"] = fsrs.WildcardFileName } - if hrs.ModifiedDatetimeStart != nil { - objectMap["modifiedDatetimeStart"] = hrs.ModifiedDatetimeStart + if fsrs.EnablePartitionDiscovery != nil { + objectMap["enablePartitionDiscovery"] = fsrs.EnablePartitionDiscovery } - if hrs.ModifiedDatetimeEnd != nil { - objectMap["modifiedDatetimeEnd"] = hrs.ModifiedDatetimeEnd + if fsrs.ModifiedDatetimeStart != nil { + objectMap["modifiedDatetimeStart"] = fsrs.ModifiedDatetimeStart } - if hrs.DistcpSettings != nil { - objectMap["distcpSettings"] = hrs.DistcpSettings + if fsrs.ModifiedDatetimeEnd != nil { + objectMap["modifiedDatetimeEnd"] = fsrs.ModifiedDatetimeEnd } - if hrs.Type != nil { - objectMap["type"] = hrs.Type + if fsrs.Type != nil { + objectMap["type"] = fsrs.Type } - if hrs.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = hrs.MaxConcurrentConnections + if fsrs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = fsrs.MaxConcurrentConnections } - for k, v := range hrs.AdditionalProperties { + for k, v := range fsrs.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for HdfsReadSettings struct. -func (hrs *HdfsReadSettings) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for FileServerReadSettings struct. +func (fsrs *FileServerReadSettings) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -70171,7 +71697,7 @@ func (hrs *HdfsReadSettings) UnmarshalJSON(body []byte) error { if err != nil { return err } - hrs.Recursive = recursive + fsrs.Recursive = recursive } case "wildcardFolderPath": if v != nil { @@ -70180,7 +71706,7 @@ func (hrs *HdfsReadSettings) UnmarshalJSON(body []byte) error { if err != nil { return err } - hrs.WildcardFolderPath = wildcardFolderPath + fsrs.WildcardFolderPath = wildcardFolderPath } case "wildcardFileName": if v != nil { @@ -70189,7 +71715,7 @@ func (hrs *HdfsReadSettings) UnmarshalJSON(body []byte) error { if err != nil { return err } - hrs.WildcardFileName = wildcardFileName + fsrs.WildcardFileName = wildcardFileName } case "enablePartitionDiscovery": if v != nil { @@ -70198,7 +71724,7 @@ func (hrs *HdfsReadSettings) UnmarshalJSON(body []byte) error { if err != nil { return err } - hrs.EnablePartitionDiscovery = &enablePartitionDiscovery + fsrs.EnablePartitionDiscovery = &enablePartitionDiscovery } case "modifiedDatetimeStart": if v != nil { @@ -70207,7 +71733,7 @@ func (hrs *HdfsReadSettings) UnmarshalJSON(body []byte) error { if err != nil { return err } - hrs.ModifiedDatetimeStart = modifiedDatetimeStart + fsrs.ModifiedDatetimeStart = modifiedDatetimeStart } case "modifiedDatetimeEnd": if v != nil { @@ -70216,17 +71742,83 @@ func (hrs *HdfsReadSettings) UnmarshalJSON(body []byte) error { if err != nil { return err } - hrs.ModifiedDatetimeEnd = modifiedDatetimeEnd + fsrs.ModifiedDatetimeEnd = modifiedDatetimeEnd } - case "distcpSettings": + default: if v != nil { - var distcpSettings DistcpSettings - err = json.Unmarshal(*v, &distcpSettings) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - hrs.DistcpSettings = &distcpSettings + if fsrs.AdditionalProperties == nil { + fsrs.AdditionalProperties = make(map[string]interface{}) + } + fsrs.AdditionalProperties[k] = additionalProperties + } + case "type": + if v != nil { + var typeVar string + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + fsrs.Type = &typeVar + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + fsrs.MaxConcurrentConnections = maxConcurrentConnections } + } + } + + return nil +} + +// FileServerWriteSettings file server write settings. +type FileServerWriteSettings struct { + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Type - The write setting type. + Type *string `json:"type,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // CopyBehavior - The type of copy behavior for copy sink. + CopyBehavior interface{} `json:"copyBehavior,omitempty"` +} + +// MarshalJSON is the custom marshaler for FileServerWriteSettings. +func (fsws FileServerWriteSettings) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if fsws.Type != nil { + objectMap["type"] = fsws.Type + } + if fsws.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = fsws.MaxConcurrentConnections + } + if fsws.CopyBehavior != nil { + objectMap["copyBehavior"] = fsws.CopyBehavior + } + for k, v := range fsws.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for FileServerWriteSettings struct. +func (fsws *FileServerWriteSettings) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { default: if v != nil { var additionalProperties interface{} @@ -70234,10 +71826,10 @@ func (hrs *HdfsReadSettings) UnmarshalJSON(body []byte) error { if err != nil { return err } - if hrs.AdditionalProperties == nil { - hrs.AdditionalProperties = make(map[string]interface{}) + if fsws.AdditionalProperties == nil { + fsws.AdditionalProperties = make(map[string]interface{}) } - hrs.AdditionalProperties[k] = additionalProperties + fsws.AdditionalProperties[k] = additionalProperties } case "type": if v != nil { @@ -70246,7 +71838,7 @@ func (hrs *HdfsReadSettings) UnmarshalJSON(body []byte) error { if err != nil { return err } - hrs.Type = &typeVar + fsws.Type = &typeVar } case "maxConcurrentConnections": if v != nil { @@ -70255,7 +71847,16 @@ func (hrs *HdfsReadSettings) UnmarshalJSON(body []byte) error { if err != nil { return err } - hrs.MaxConcurrentConnections = maxConcurrentConnections + fsws.MaxConcurrentConnections = maxConcurrentConnections + } + case "copyBehavior": + if v != nil { + var copyBehavior interface{} + err = json.Unmarshal(*v, ©Behavior) + if err != nil { + return err + } + fsws.CopyBehavior = copyBehavior } } } @@ -70263,394 +71864,469 @@ func (hrs *HdfsReadSettings) UnmarshalJSON(body []byte) error { return nil } -// HdfsSource a copy activity HDFS source. -type HdfsSource struct { - // Recursive - If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). - Recursive interface{} `json:"recursive,omitempty"` - // DistcpSettings - Specifies Distcp-related settings. - DistcpSettings *DistcpSettings `json:"distcpSettings,omitempty"` +// FileShareDataset an on-premises file system dataset. +type FileShareDataset struct { + // FileShareDatasetTypeProperties - On-premises file system dataset properties. + *FileShareDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). - SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` - // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' - Type TypeBasicCopySource `json:"type,omitempty"` + // Description - Dataset description. + Description *string `json:"description,omitempty"` + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for HdfsSource. -func (hs HdfsSource) MarshalJSON() ([]byte, error) { - hs.Type = TypeHdfsSource +// MarshalJSON is the custom marshaler for FileShareDataset. +func (fsd FileShareDataset) MarshalJSON() ([]byte, error) { + fsd.Type = TypeFileShare objectMap := make(map[string]interface{}) - if hs.Recursive != nil { - objectMap["recursive"] = hs.Recursive + if fsd.FileShareDatasetTypeProperties != nil { + objectMap["typeProperties"] = fsd.FileShareDatasetTypeProperties } - if hs.DistcpSettings != nil { - objectMap["distcpSettings"] = hs.DistcpSettings + if fsd.Description != nil { + objectMap["description"] = fsd.Description } - if hs.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = hs.SourceRetryCount + if fsd.Structure != nil { + objectMap["structure"] = fsd.Structure } - if hs.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = hs.SourceRetryWait + if fsd.Schema != nil { + objectMap["schema"] = fsd.Schema } - if hs.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = hs.MaxConcurrentConnections + if fsd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = fsd.LinkedServiceName } - if hs.Type != "" { - objectMap["type"] = hs.Type + if fsd.Parameters != nil { + objectMap["parameters"] = fsd.Parameters } - for k, v := range hs.AdditionalProperties { + if fsd.Annotations != nil { + objectMap["annotations"] = fsd.Annotations + } + if fsd.Folder != nil { + objectMap["folder"] = fsd.Folder + } + if fsd.Type != "" { + objectMap["type"] = fsd.Type + } + for k, v := range fsd.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsVerticaSource() (*VerticaSource, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsZohoSource() (*ZohoSource, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsXeroSource() (*XeroSource, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsSquareSource() (*SquareSource, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsSparkSource() (*SparkSource, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsShopifySource() (*ShopifySource, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsPrestoSource() (*PrestoSource, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsPaypalSource() (*PaypalSource, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsMarketoSource() (*MarketoSource, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsMagentoSource() (*MagentoSource, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsJiraSource() (*JiraSource, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsHubspotSource() (*HubspotSource, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsHiveSource() (*HiveSource, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsHBaseSource() (*HBaseSource, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsEloquaSource() (*EloquaSource, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsDrillSource() (*DrillSource, bool) { +// AsDrillTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsConcurSource() (*ConcurSource, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsHTTPSource() (*HTTPSource, bool) { +// AsHTTPDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsWebTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsOffice365Source() (*Office365Source, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsRestResourceDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsCassandraSource() (*CassandraSource, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsWebSource() (*WebSource, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsOracleSource() (*OracleSource, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsHdfsSource() (*HdfsSource, bool) { - return &hs, true +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { + return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsInformixTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsSQLSource() (*SQLSource, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsRestSource() (*RestSource, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsSapTableSource() (*SapTableSource, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsOracleTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsODataResourceDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsSapEccSource() (*SapEccSource, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsRelationalSource() (*RelationalSource, bool) { +// AsFileShareDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsFileShareDataset() (*FileShareDataset, bool) { + return &fsd, true +} + +// AsOffice365Dataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsBlobSource() (*BlobSource, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsParquetSource() (*ParquetSource, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsCopySource() (*CopySource, bool) { +// AsCustomDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsBasicCopySource() (BasicCopySource, bool) { - return &hs, true +// AsCassandraTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for HdfsSource struct. -func (hs *HdfsSource) UnmarshalJSON(body []byte) error { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { + return nil, false +} + +// AsAzureSQLMITableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + +// AsAzureSQLTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { + return nil, false +} + +// AsAzureTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { + return nil, false +} + +// AsAzureBlobDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { + return nil, false +} + +// AsBinaryDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + +// AsDelimitedTextDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { + return nil, false +} + +// AsParquetDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsBasicDataset() (BasicDataset, bool) { + return &fsd, true +} + +// UnmarshalJSON is the custom unmarshaler for FileShareDataset struct. +func (fsd *FileShareDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -70658,71 +72334,98 @@ func (hs *HdfsSource) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "recursive": + case "typeProperties": if v != nil { - var recursive interface{} - err = json.Unmarshal(*v, &recursive) + var fileShareDatasetTypeProperties FileShareDatasetTypeProperties + err = json.Unmarshal(*v, &fileShareDatasetTypeProperties) if err != nil { return err } - hs.Recursive = recursive + fsd.FileShareDatasetTypeProperties = &fileShareDatasetTypeProperties } - case "distcpSettings": + default: if v != nil { - var distcpSettings DistcpSettings - err = json.Unmarshal(*v, &distcpSettings) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - hs.DistcpSettings = &distcpSettings + if fsd.AdditionalProperties == nil { + fsd.AdditionalProperties = make(map[string]interface{}) + } + fsd.AdditionalProperties[k] = additionalProperties } - default: + case "description": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - if hs.AdditionalProperties == nil { - hs.AdditionalProperties = make(map[string]interface{}) + fsd.Description = &description + } + case "structure": + if v != nil { + var structure interface{} + err = json.Unmarshal(*v, &structure) + if err != nil { + return err } - hs.AdditionalProperties[k] = additionalProperties + fsd.Structure = structure } - case "sourceRetryCount": + case "schema": if v != nil { - var sourceRetryCount interface{} - err = json.Unmarshal(*v, &sourceRetryCount) + var schema interface{} + err = json.Unmarshal(*v, &schema) if err != nil { return err } - hs.SourceRetryCount = sourceRetryCount + fsd.Schema = schema } - case "sourceRetryWait": + case "linkedServiceName": if v != nil { - var sourceRetryWait interface{} - err = json.Unmarshal(*v, &sourceRetryWait) + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) if err != nil { return err } - hs.SourceRetryWait = sourceRetryWait + fsd.LinkedServiceName = &linkedServiceName } - case "maxConcurrentConnections": + case "parameters": if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - hs.MaxConcurrentConnections = maxConcurrentConnections + fsd.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + fsd.Annotations = &annotations + } + case "folder": + if v != nil { + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) + if err != nil { + return err + } + fsd.Folder = &folder } case "type": if v != nil { - var typeVar TypeBasicCopySource + var typeVar TypeBasicDataset err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - hs.Type = typeVar + fsd.Type = typeVar } } } @@ -70730,244 +72433,308 @@ func (hs *HdfsSource) UnmarshalJSON(body []byte) error { return nil } -// HDInsightHiveActivity hDInsight Hive activity type. -type HDInsightHiveActivity struct { - // HDInsightHiveActivityTypeProperties - HDInsight Hive activity properties. - *HDInsightHiveActivityTypeProperties `json:"typeProperties,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Policy - Activity policy. - Policy *ActivityPolicy `json:"policy,omitempty"` +// FileShareDatasetTypeProperties on-premises file system dataset properties. +type FileShareDatasetTypeProperties struct { + // FolderPath - The path of the on-premises file system. Type: string (or Expression with resultType string). + FolderPath interface{} `json:"folderPath,omitempty"` + // FileName - The name of the on-premises file system. Type: string (or Expression with resultType string). + FileName interface{} `json:"fileName,omitempty"` + // ModifiedDatetimeStart - The start of file's modified datetime. Type: string (or Expression with resultType string). + ModifiedDatetimeStart interface{} `json:"modifiedDatetimeStart,omitempty"` + // ModifiedDatetimeEnd - The end of file's modified datetime. Type: string (or Expression with resultType string). + ModifiedDatetimeEnd interface{} `json:"modifiedDatetimeEnd,omitempty"` + // Format - The format of the files. + Format BasicDatasetStorageFormat `json:"format,omitempty"` + // FileFilter - 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). + FileFilter interface{} `json:"fileFilter,omitempty"` + // Compression - The data compression method used for the file system. + Compression BasicDatasetCompression `json:"compression,omitempty"` +} + +// UnmarshalJSON is the custom unmarshaler for FileShareDatasetTypeProperties struct. +func (fsdtp *FileShareDatasetTypeProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "folderPath": + if v != nil { + var folderPath interface{} + err = json.Unmarshal(*v, &folderPath) + if err != nil { + return err + } + fsdtp.FolderPath = folderPath + } + case "fileName": + if v != nil { + var fileName interface{} + err = json.Unmarshal(*v, &fileName) + if err != nil { + return err + } + fsdtp.FileName = fileName + } + case "modifiedDatetimeStart": + if v != nil { + var modifiedDatetimeStart interface{} + err = json.Unmarshal(*v, &modifiedDatetimeStart) + if err != nil { + return err + } + fsdtp.ModifiedDatetimeStart = modifiedDatetimeStart + } + case "modifiedDatetimeEnd": + if v != nil { + var modifiedDatetimeEnd interface{} + err = json.Unmarshal(*v, &modifiedDatetimeEnd) + if err != nil { + return err + } + fsdtp.ModifiedDatetimeEnd = modifiedDatetimeEnd + } + case "format": + if v != nil { + formatVar, err := unmarshalBasicDatasetStorageFormat(*v) + if err != nil { + return err + } + fsdtp.Format = formatVar + } + case "fileFilter": + if v != nil { + var fileFilter interface{} + err = json.Unmarshal(*v, &fileFilter) + if err != nil { + return err + } + fsdtp.FileFilter = fileFilter + } + case "compression": + if v != nil { + compression, err := unmarshalBasicDatasetCompression(*v) + if err != nil { + return err + } + fsdtp.Compression = compression + } + } + } + + return nil +} + +// FileSystemSink a copy activity file system sink. +type FileSystemSink struct { + // CopyBehavior - The type of copy behavior for copy sink. + CopyBehavior interface{} `json:"copyBehavior,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Name - Activity name. - Name *string `json:"name,omitempty"` - // Description - Activity description. - Description *string `json:"description,omitempty"` - // DependsOn - Activity depends on condition. - DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // UserProperties - Activity user properties. - UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' - Type TypeBasicActivity `json:"type,omitempty"` + // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + WriteBatchSize interface{} `json:"writeBatchSize,omitempty"` + // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"` + // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer). + SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"` + // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink' + Type TypeBasicCopySink `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) MarshalJSON() ([]byte, error) { - hiha.Type = TypeHDInsightHive +// MarshalJSON is the custom marshaler for FileSystemSink. +func (fss FileSystemSink) MarshalJSON() ([]byte, error) { + fss.Type = TypeFileSystemSink objectMap := make(map[string]interface{}) - if hiha.HDInsightHiveActivityTypeProperties != nil { - objectMap["typeProperties"] = hiha.HDInsightHiveActivityTypeProperties - } - if hiha.LinkedServiceName != nil { - objectMap["linkedServiceName"] = hiha.LinkedServiceName + if fss.CopyBehavior != nil { + objectMap["copyBehavior"] = fss.CopyBehavior } - if hiha.Policy != nil { - objectMap["policy"] = hiha.Policy + if fss.WriteBatchSize != nil { + objectMap["writeBatchSize"] = fss.WriteBatchSize } - if hiha.Name != nil { - objectMap["name"] = hiha.Name + if fss.WriteBatchTimeout != nil { + objectMap["writeBatchTimeout"] = fss.WriteBatchTimeout } - if hiha.Description != nil { - objectMap["description"] = hiha.Description + if fss.SinkRetryCount != nil { + objectMap["sinkRetryCount"] = fss.SinkRetryCount } - if hiha.DependsOn != nil { - objectMap["dependsOn"] = hiha.DependsOn + if fss.SinkRetryWait != nil { + objectMap["sinkRetryWait"] = fss.SinkRetryWait } - if hiha.UserProperties != nil { - objectMap["userProperties"] = hiha.UserProperties + if fss.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = fss.MaxConcurrentConnections } - if hiha.Type != "" { - objectMap["type"] = hiha.Type + if fss.Type != "" { + objectMap["type"] = fss.Type } - for k, v := range hiha.AdditionalProperties { + for k, v := range fss.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { - return nil, false -} - -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { - return nil, false -} - -// AsDatabricksSparkJarActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { - return nil, false -} - -// AsDatabricksNotebookActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { +// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsSalesforceSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsSalesforceSink() (*SalesforceSink, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsAzureDataExplorerSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsWebActivity() (*WebActivity, bool) { +// AsDynamicsCrmSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsDynamicsSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsDynamicsSink() (*DynamicsSink, bool) { return nil, false } -// AsDeleteActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// AsMicrosoftAccessSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsInformixSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsInformixSink() (*InformixSink, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsOdbcSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsOdbcSink() (*OdbcSink, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsAzureSearchIndexSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsAzureBlobFSSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsOracleSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsOracleSink() (*OracleSink, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsSQLDWSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { - return &hiha, true -} - -// AsCopyActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsCopyActivity() (*CopyActivity, bool) { +// AsSQLMISink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsSQLMISink() (*SQLMISink, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsAzureSQLSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsAzureSQLSink() (*AzureSQLSink, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { - return &hiha, true -} - -// AsWebHookActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsWebHookActivity() (*WebHookActivity, bool) { +// AsSQLServerSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsSQLServerSink() (*SQLServerSink, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsSQLSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsSQLSink() (*SQLSink, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsDocumentDbCollectionSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsFilterActivity() (*FilterActivity, bool) { - return nil, false +// AsFileSystemSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsFileSystemSink() (*FileSystemSink, bool) { + return &fss, true } -// AsValidationActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsValidationActivity() (*ValidationActivity, bool) { +// AsBlobSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsBlobSink() (*BlobSink, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsUntilActivity() (*UntilActivity, bool) { +// AsBinarySink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsBinarySink() (*BinarySink, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsParquetSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsParquetSink() (*ParquetSink, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsAzureTableSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsAzureTableSink() (*AzureTableSink, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsAzureQueueSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsAzureQueueSink() (*AzureQueueSink, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsSapCloudForCustomerSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsControlActivity() (*ControlActivity, bool) { +// AsAzurePostgreSQLSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsBasicControlActivity() (BasicControlActivity, bool) { +// AsDelimitedTextSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { return nil, false } -// AsActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsActivity() (*Activity, bool) { +// AsCopySink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsCopySink() (*CopySink, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsBasicActivity() (BasicActivity, bool) { - return &hiha, true +// AsBasicCopySink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsBasicCopySink() (BasicCopySink, bool) { + return &fss, true } -// UnmarshalJSON is the custom unmarshaler for HDInsightHiveActivity struct. -func (hiha *HDInsightHiveActivity) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for FileSystemSink struct. +func (fss *FileSystemSink) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -70975,89 +72742,80 @@ func (hiha *HDInsightHiveActivity) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": + case "copyBehavior": if v != nil { - var hDInsightHiveActivityTypeProperties HDInsightHiveActivityTypeProperties - err = json.Unmarshal(*v, &hDInsightHiveActivityTypeProperties) + var copyBehavior interface{} + err = json.Unmarshal(*v, ©Behavior) if err != nil { return err } - hiha.HDInsightHiveActivityTypeProperties = &hDInsightHiveActivityTypeProperties + fss.CopyBehavior = copyBehavior } - case "linkedServiceName": + default: if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - hiha.LinkedServiceName = &linkedServiceName - } - case "policy": - if v != nil { - var policy ActivityPolicy - err = json.Unmarshal(*v, &policy) - if err != nil { - return err + if fss.AdditionalProperties == nil { + fss.AdditionalProperties = make(map[string]interface{}) } - hiha.Policy = &policy + fss.AdditionalProperties[k] = additionalProperties } - default: + case "writeBatchSize": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var writeBatchSize interface{} + err = json.Unmarshal(*v, &writeBatchSize) if err != nil { return err } - if hiha.AdditionalProperties == nil { - hiha.AdditionalProperties = make(map[string]interface{}) - } - hiha.AdditionalProperties[k] = additionalProperties + fss.WriteBatchSize = writeBatchSize } - case "name": + case "writeBatchTimeout": if v != nil { - var name string - err = json.Unmarshal(*v, &name) + var writeBatchTimeout interface{} + err = json.Unmarshal(*v, &writeBatchTimeout) if err != nil { return err } - hiha.Name = &name + fss.WriteBatchTimeout = writeBatchTimeout } - case "description": + case "sinkRetryCount": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var sinkRetryCount interface{} + err = json.Unmarshal(*v, &sinkRetryCount) if err != nil { return err } - hiha.Description = &description + fss.SinkRetryCount = sinkRetryCount } - case "dependsOn": + case "sinkRetryWait": if v != nil { - var dependsOn []ActivityDependency - err = json.Unmarshal(*v, &dependsOn) + var sinkRetryWait interface{} + err = json.Unmarshal(*v, &sinkRetryWait) if err != nil { return err } - hiha.DependsOn = &dependsOn + fss.SinkRetryWait = sinkRetryWait } - case "userProperties": + case "maxConcurrentConnections": if v != nil { - var userProperties []UserProperty - err = json.Unmarshal(*v, &userProperties) + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) if err != nil { return err } - hiha.UserProperties = &userProperties + fss.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicActivity + var typeVar TypeBasicCopySink err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - hiha.Type = typeVar + fss.Type = typeVar } } } @@ -71065,534 +72823,459 @@ func (hiha *HDInsightHiveActivity) UnmarshalJSON(body []byte) error { return nil } -// HDInsightHiveActivityTypeProperties hDInsight Hive activity properties. -type HDInsightHiveActivityTypeProperties struct { - // StorageLinkedServices - Storage linked service references. - StorageLinkedServices *[]LinkedServiceReference `json:"storageLinkedServices,omitempty"` - // Arguments - User specified arguments to HDInsightActivity. - Arguments *[]interface{} `json:"arguments,omitempty"` - // GetDebugInfo - Debug info option. Possible values include: 'None', 'Always', 'Failure' - GetDebugInfo HDInsightActivityDebugInfoOption `json:"getDebugInfo,omitempty"` - // ScriptPath - Script path. Type: string (or Expression with resultType string). - ScriptPath interface{} `json:"scriptPath,omitempty"` - // ScriptLinkedService - Script linked service reference. - ScriptLinkedService *LinkedServiceReference `json:"scriptLinkedService,omitempty"` - // Defines - Allows user to specify defines for Hive job request. - Defines map[string]interface{} `json:"defines"` - // Variables - User specified arguments under hivevar namespace. - Variables *[]interface{} `json:"variables,omitempty"` - // QueryTimeout - Query timeout value (in minutes). Effective when the HDInsight cluster is with ESP (Enterprise Security Package) - QueryTimeout *int32 `json:"queryTimeout,omitempty"` -} - -// MarshalJSON is the custom marshaler for HDInsightHiveActivityTypeProperties. -func (hihatp HDInsightHiveActivityTypeProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if hihatp.StorageLinkedServices != nil { - objectMap["storageLinkedServices"] = hihatp.StorageLinkedServices - } - if hihatp.Arguments != nil { - objectMap["arguments"] = hihatp.Arguments - } - if hihatp.GetDebugInfo != "" { - objectMap["getDebugInfo"] = hihatp.GetDebugInfo - } - if hihatp.ScriptPath != nil { - objectMap["scriptPath"] = hihatp.ScriptPath - } - if hihatp.ScriptLinkedService != nil { - objectMap["scriptLinkedService"] = hihatp.ScriptLinkedService - } - if hihatp.Defines != nil { - objectMap["defines"] = hihatp.Defines - } - if hihatp.Variables != nil { - objectMap["variables"] = hihatp.Variables - } - if hihatp.QueryTimeout != nil { - objectMap["queryTimeout"] = hihatp.QueryTimeout - } - return json.Marshal(objectMap) -} - -// HDInsightLinkedService hDInsight linked service. -type HDInsightLinkedService struct { - // HDInsightLinkedServiceTypeProperties - HDInsight linked service properties. - *HDInsightLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// FileSystemSource a copy activity file system source. +type FileSystemSource struct { + // Recursive - If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). + Recursive interface{} `json:"recursive,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. - Description *string `json:"description,omitempty"` - // Parameters - Parameters for linked service. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the linked service. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for HDInsightLinkedService. -func (hils HDInsightLinkedService) MarshalJSON() ([]byte, error) { - hils.Type = TypeHDInsight +// MarshalJSON is the custom marshaler for FileSystemSource. +func (fss FileSystemSource) MarshalJSON() ([]byte, error) { + fss.Type = TypeFileSystemSource objectMap := make(map[string]interface{}) - if hils.HDInsightLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = hils.HDInsightLinkedServiceTypeProperties - } - if hils.ConnectVia != nil { - objectMap["connectVia"] = hils.ConnectVia + if fss.Recursive != nil { + objectMap["recursive"] = fss.Recursive } - if hils.Description != nil { - objectMap["description"] = hils.Description + if fss.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = fss.SourceRetryCount } - if hils.Parameters != nil { - objectMap["parameters"] = hils.Parameters + if fss.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = fss.SourceRetryWait } - if hils.Annotations != nil { - objectMap["annotations"] = hils.Annotations + if fss.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = fss.MaxConcurrentConnections } - if hils.Type != "" { - objectMap["type"] = hils.Type + if fss.Type != "" { + objectMap["type"] = fss.Type } - for k, v := range hils.AdditionalProperties { + for k, v := range fss.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsSapTableLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsResponsysSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsVerticaSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsNetezzaSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsZohoSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsXeroSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsSquareSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsSparkSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsShopifySource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsServiceNowSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsPrestoSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsPhoenixSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsPaypalSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsMarketoSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsMariaDBSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsMagentoSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsJiraSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsImpalaSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsHubspotSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsHiveSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsHBaseSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsGreenplumSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsEloquaSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsDrillSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsConcurSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsHTTPSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsOffice365Source is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsMongoDbSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsCassandraSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsWebSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsTeradataSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsOracleSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsHdfsSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { - return nil, false +// AsFileSystemSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsFileSystemSource() (*FileSystemSource, bool) { + return &fss, true } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsSQLDWSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSQLMISource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsSQLServerSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsSQLSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsRestSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsSapTableSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { - return nil, false -} - -// AsMongoDbLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { - return nil, false -} - -// AsCassandraLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { - return nil, false -} - -// AsWebLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsSapHanaSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsSapEccSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsSalesforceSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsODataSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsSybaseSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsMySQLSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsOdbcSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsDb2Source is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsInformixSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { - return &hils, true -} - -// AsDynamicsLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsRelationalSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsDynamicsSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsBlobSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsAzureTableSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsBinarySource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsDelimitedTextSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsParquetSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsCopySource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsCopySource() (*CopySource, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &hils, true +// AsBasicCopySource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsBasicCopySource() (BasicCopySource, bool) { + return &fss, true } -// UnmarshalJSON is the custom unmarshaler for HDInsightLinkedService struct. -func (hils *HDInsightLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for FileSystemSource struct. +func (fss *FileSystemSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -71600,14 +73283,14 @@ func (hils *HDInsightLinkedService) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": + case "recursive": if v != nil { - var hDInsightLinkedServiceTypeProperties HDInsightLinkedServiceTypeProperties - err = json.Unmarshal(*v, &hDInsightLinkedServiceTypeProperties) + var recursive interface{} + err = json.Unmarshal(*v, &recursive) if err != nil { return err } - hils.HDInsightLinkedServiceTypeProperties = &hDInsightLinkedServiceTypeProperties + fss.Recursive = recursive } default: if v != nil { @@ -71616,161 +73299,46 @@ func (hils *HDInsightLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if hils.AdditionalProperties == nil { - hils.AdditionalProperties = make(map[string]interface{}) - } - hils.AdditionalProperties[k] = additionalProperties - } - case "connectVia": - if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) - if err != nil { - return err + if fss.AdditionalProperties == nil { + fss.AdditionalProperties = make(map[string]interface{}) } - hils.ConnectVia = &connectVia + fss.AdditionalProperties[k] = additionalProperties } - case "description": + case "sourceRetryCount": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) if err != nil { return err } - hils.Description = &description + fss.SourceRetryCount = sourceRetryCount } - case "parameters": + case "sourceRetryWait": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) if err != nil { return err } - hils.Parameters = parameters + fss.SourceRetryWait = sourceRetryWait } - case "annotations": + case "maxConcurrentConnections": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) if err != nil { return err } - hils.Annotations = &annotations + fss.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicLinkedService + var typeVar TypeBasicCopySource err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - hils.Type = typeVar - } - } - } - - return nil -} - -// HDInsightLinkedServiceTypeProperties hDInsight linked service properties. -type HDInsightLinkedServiceTypeProperties struct { - // ClusterURI - HDInsight cluster URI. Type: string (or Expression with resultType string). - ClusterURI interface{} `json:"clusterUri,omitempty"` - // UserName - HDInsight cluster user name. Type: string (or Expression with resultType string). - UserName interface{} `json:"userName,omitempty"` - // Password - HDInsight cluster password. - Password BasicSecretBase `json:"password,omitempty"` - // LinkedServiceName - The Azure Storage linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // HcatalogLinkedServiceName - A reference to the Azure SQL linked service that points to the HCatalog database. - HcatalogLinkedServiceName *LinkedServiceReference `json:"hcatalogLinkedServiceName,omitempty"` - // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). - EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` - // IsEspEnabled - Specify if the HDInsight is created with ESP (Enterprise Security Package). Type: Boolean. - IsEspEnabled interface{} `json:"isEspEnabled,omitempty"` - // FileSystem - Specify the FileSystem if the main storage for the HDInsight is ADLS Gen2. Type: string (or Expression with resultType string). - FileSystem interface{} `json:"fileSystem,omitempty"` -} - -// UnmarshalJSON is the custom unmarshaler for HDInsightLinkedServiceTypeProperties struct. -func (hilstp *HDInsightLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "clusterUri": - if v != nil { - var clusterURI interface{} - err = json.Unmarshal(*v, &clusterURI) - if err != nil { - return err - } - hilstp.ClusterURI = clusterURI - } - case "userName": - if v != nil { - var userName interface{} - err = json.Unmarshal(*v, &userName) - if err != nil { - return err - } - hilstp.UserName = userName - } - case "password": - if v != nil { - password, err := unmarshalBasicSecretBase(*v) - if err != nil { - return err - } - hilstp.Password = password - } - case "linkedServiceName": - if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) - if err != nil { - return err - } - hilstp.LinkedServiceName = &linkedServiceName - } - case "hcatalogLinkedServiceName": - if v != nil { - var hcatalogLinkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &hcatalogLinkedServiceName) - if err != nil { - return err - } - hilstp.HcatalogLinkedServiceName = &hcatalogLinkedServiceName - } - case "encryptedCredential": - if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) - if err != nil { - return err - } - hilstp.EncryptedCredential = encryptedCredential - } - case "isEspEnabled": - if v != nil { - var isEspEnabled interface{} - err = json.Unmarshal(*v, &isEspEnabled) - if err != nil { - return err - } - hilstp.IsEspEnabled = isEspEnabled - } - case "fileSystem": - if v != nil { - var fileSystem interface{} - err = json.Unmarshal(*v, &fileSystem) - if err != nil { - return err - } - hilstp.FileSystem = fileSystem + fss.Type = typeVar } } } @@ -71778,14 +73346,10 @@ func (hilstp *HDInsightLinkedServiceTypeProperties) UnmarshalJSON(body []byte) e return nil } -// HDInsightMapReduceActivity hDInsight MapReduce activity type. -type HDInsightMapReduceActivity struct { - // HDInsightMapReduceActivityTypeProperties - HDInsight MapReduce activity properties. - *HDInsightMapReduceActivityTypeProperties `json:"typeProperties,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Policy - Activity policy. - Policy *ActivityPolicy `json:"policy,omitempty"` +// FilterActivity filter and return results from input array based on the conditions. +type FilterActivity struct { + // FilterActivityTypeProperties - Filter activity properties. + *FilterActivityTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // Name - Activity name. @@ -71800,222 +73364,216 @@ type HDInsightMapReduceActivity struct { Type TypeBasicActivity `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for HDInsightMapReduceActivity. -func (himra HDInsightMapReduceActivity) MarshalJSON() ([]byte, error) { - himra.Type = TypeHDInsightMapReduce +// MarshalJSON is the custom marshaler for FilterActivity. +func (fa FilterActivity) MarshalJSON() ([]byte, error) { + fa.Type = TypeFilter objectMap := make(map[string]interface{}) - if himra.HDInsightMapReduceActivityTypeProperties != nil { - objectMap["typeProperties"] = himra.HDInsightMapReduceActivityTypeProperties - } - if himra.LinkedServiceName != nil { - objectMap["linkedServiceName"] = himra.LinkedServiceName - } - if himra.Policy != nil { - objectMap["policy"] = himra.Policy + if fa.FilterActivityTypeProperties != nil { + objectMap["typeProperties"] = fa.FilterActivityTypeProperties } - if himra.Name != nil { - objectMap["name"] = himra.Name + if fa.Name != nil { + objectMap["name"] = fa.Name } - if himra.Description != nil { - objectMap["description"] = himra.Description + if fa.Description != nil { + objectMap["description"] = fa.Description } - if himra.DependsOn != nil { - objectMap["dependsOn"] = himra.DependsOn + if fa.DependsOn != nil { + objectMap["dependsOn"] = fa.DependsOn } - if himra.UserProperties != nil { - objectMap["userProperties"] = himra.UserProperties + if fa.UserProperties != nil { + objectMap["userProperties"] = fa.UserProperties } - if himra.Type != "" { - objectMap["type"] = himra.Type + if fa.Type != "" { + objectMap["type"] = fa.Type } - for k, v := range himra.AdditionalProperties { + for k, v := range fa.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionActivity is the BasicActivity implementation for HDInsightMapReduceActivity. -func (himra HDInsightMapReduceActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsAzureFunctionActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for HDInsightMapReduceActivity. -func (himra HDInsightMapReduceActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for HDInsightMapReduceActivity. -func (himra HDInsightMapReduceActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsDatabricksSparkJarActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for HDInsightMapReduceActivity. -func (himra HDInsightMapReduceActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { +// AsDatabricksNotebookActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for HDInsightMapReduceActivity. -func (himra HDInsightMapReduceActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for HDInsightMapReduceActivity. -func (himra HDInsightMapReduceActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for HDInsightMapReduceActivity. -func (himra HDInsightMapReduceActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for HDInsightMapReduceActivity. -func (himra HDInsightMapReduceActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsGetMetadataActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for HDInsightMapReduceActivity. -func (himra HDInsightMapReduceActivity) AsWebActivity() (*WebActivity, bool) { +// AsWebActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsWebActivity() (*WebActivity, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for HDInsightMapReduceActivity. -func (himra HDInsightMapReduceActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsLookupActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsDeleteActivity is the BasicActivity implementation for HDInsightMapReduceActivity. -func (himra HDInsightMapReduceActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// AsDeleteActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for HDInsightMapReduceActivity. -func (himra HDInsightMapReduceActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for HDInsightMapReduceActivity. -func (himra HDInsightMapReduceActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsCustomActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsCustomActivity() (*CustomActivity, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for HDInsightMapReduceActivity. -func (himra HDInsightMapReduceActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsExecuteSSISPackageActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for HDInsightMapReduceActivity. -func (himra HDInsightMapReduceActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsHDInsightSparkActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for HDInsightMapReduceActivity. -func (himra HDInsightMapReduceActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsHDInsightStreamingActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for HDInsightMapReduceActivity. -func (himra HDInsightMapReduceActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { - return &himra, true +// AsHDInsightMapReduceActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { + return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for HDInsightMapReduceActivity. -func (himra HDInsightMapReduceActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsHDInsightPigActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for HDInsightMapReduceActivity. -func (himra HDInsightMapReduceActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsHDInsightHiveActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for HDInsightMapReduceActivity. -func (himra HDInsightMapReduceActivity) AsCopyActivity() (*CopyActivity, bool) { +// AsCopyActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsCopyActivity() (*CopyActivity, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for HDInsightMapReduceActivity. -func (himra HDInsightMapReduceActivity) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsExecutionActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsExecutionActivity() (*ExecutionActivity, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for HDInsightMapReduceActivity. -func (himra HDInsightMapReduceActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { - return &himra, true +// AsBasicExecutionActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return nil, false } -// AsWebHookActivity is the BasicActivity implementation for HDInsightMapReduceActivity. -func (himra HDInsightMapReduceActivity) AsWebHookActivity() (*WebHookActivity, bool) { +// AsWebHookActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsWebHookActivity() (*WebHookActivity, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for HDInsightMapReduceActivity. -func (himra HDInsightMapReduceActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsAppendVariableActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for HDInsightMapReduceActivity. -func (himra HDInsightMapReduceActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsSetVariableActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for HDInsightMapReduceActivity. -func (himra HDInsightMapReduceActivity) AsFilterActivity() (*FilterActivity, bool) { - return nil, false +// AsFilterActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsFilterActivity() (*FilterActivity, bool) { + return &fa, true } -// AsValidationActivity is the BasicActivity implementation for HDInsightMapReduceActivity. -func (himra HDInsightMapReduceActivity) AsValidationActivity() (*ValidationActivity, bool) { +// AsValidationActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsValidationActivity() (*ValidationActivity, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for HDInsightMapReduceActivity. -func (himra HDInsightMapReduceActivity) AsUntilActivity() (*UntilActivity, bool) { +// AsUntilActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for HDInsightMapReduceActivity. -func (himra HDInsightMapReduceActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsWaitActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsWaitActivity() (*WaitActivity, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for HDInsightMapReduceActivity. -func (himra HDInsightMapReduceActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsForEachActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsForEachActivity() (*ForEachActivity, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for HDInsightMapReduceActivity. -func (himra HDInsightMapReduceActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsIfConditionActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for HDInsightMapReduceActivity. -func (himra HDInsightMapReduceActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsExecutePipelineActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for HDInsightMapReduceActivity. -func (himra HDInsightMapReduceActivity) AsControlActivity() (*ControlActivity, bool) { +// AsControlActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsControlActivity() (*ControlActivity, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for HDInsightMapReduceActivity. -func (himra HDInsightMapReduceActivity) AsBasicControlActivity() (BasicControlActivity, bool) { - return nil, false +// AsBasicControlActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsBasicControlActivity() (BasicControlActivity, bool) { + return &fa, true } -// AsActivity is the BasicActivity implementation for HDInsightMapReduceActivity. -func (himra HDInsightMapReduceActivity) AsActivity() (*Activity, bool) { +// AsActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsActivity() (*Activity, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for HDInsightMapReduceActivity. -func (himra HDInsightMapReduceActivity) AsBasicActivity() (BasicActivity, bool) { - return &himra, true +// AsBasicActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsBasicActivity() (BasicActivity, bool) { + return &fa, true } -// UnmarshalJSON is the custom unmarshaler for HDInsightMapReduceActivity struct. -func (himra *HDInsightMapReduceActivity) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for FilterActivity struct. +func (fa *FilterActivity) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -72025,30 +73583,12 @@ func (himra *HDInsightMapReduceActivity) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var hDInsightMapReduceActivityTypeProperties HDInsightMapReduceActivityTypeProperties - err = json.Unmarshal(*v, &hDInsightMapReduceActivityTypeProperties) - if err != nil { - return err - } - himra.HDInsightMapReduceActivityTypeProperties = &hDInsightMapReduceActivityTypeProperties - } - case "linkedServiceName": - if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) - if err != nil { - return err - } - himra.LinkedServiceName = &linkedServiceName - } - case "policy": - if v != nil { - var policy ActivityPolicy - err = json.Unmarshal(*v, &policy) + var filterActivityTypeProperties FilterActivityTypeProperties + err = json.Unmarshal(*v, &filterActivityTypeProperties) if err != nil { return err } - himra.Policy = &policy + fa.FilterActivityTypeProperties = &filterActivityTypeProperties } default: if v != nil { @@ -72057,10 +73597,10 @@ func (himra *HDInsightMapReduceActivity) UnmarshalJSON(body []byte) error { if err != nil { return err } - if himra.AdditionalProperties == nil { - himra.AdditionalProperties = make(map[string]interface{}) + if fa.AdditionalProperties == nil { + fa.AdditionalProperties = make(map[string]interface{}) } - himra.AdditionalProperties[k] = additionalProperties + fa.AdditionalProperties[k] = additionalProperties } case "name": if v != nil { @@ -72069,7 +73609,7 @@ func (himra *HDInsightMapReduceActivity) UnmarshalJSON(body []byte) error { if err != nil { return err } - himra.Name = &name + fa.Name = &name } case "description": if v != nil { @@ -72078,7 +73618,7 @@ func (himra *HDInsightMapReduceActivity) UnmarshalJSON(body []byte) error { if err != nil { return err } - himra.Description = &description + fa.Description = &description } case "dependsOn": if v != nil { @@ -72087,7 +73627,7 @@ func (himra *HDInsightMapReduceActivity) UnmarshalJSON(body []byte) error { if err != nil { return err } - himra.DependsOn = &dependsOn + fa.DependsOn = &dependsOn } case "userProperties": if v != nil { @@ -72096,7 +73636,7 @@ func (himra *HDInsightMapReduceActivity) UnmarshalJSON(body []byte) error { if err != nil { return err } - himra.UserProperties = &userProperties + fa.UserProperties = &userProperties } case "type": if v != nil { @@ -72105,7 +73645,7 @@ func (himra *HDInsightMapReduceActivity) UnmarshalJSON(body []byte) error { if err != nil { return err } - himra.Type = typeVar + fa.Type = typeVar } } } @@ -72113,534 +73653,1129 @@ func (himra *HDInsightMapReduceActivity) UnmarshalJSON(body []byte) error { return nil } -// HDInsightMapReduceActivityTypeProperties hDInsight MapReduce activity properties. -type HDInsightMapReduceActivityTypeProperties struct { - // StorageLinkedServices - Storage linked service references. - StorageLinkedServices *[]LinkedServiceReference `json:"storageLinkedServices,omitempty"` - // Arguments - User specified arguments to HDInsightActivity. - Arguments *[]interface{} `json:"arguments,omitempty"` - // GetDebugInfo - Debug info option. Possible values include: 'None', 'Always', 'Failure' - GetDebugInfo HDInsightActivityDebugInfoOption `json:"getDebugInfo,omitempty"` - // ClassName - Class name. Type: string (or Expression with resultType string). - ClassName interface{} `json:"className,omitempty"` - // JarFilePath - Jar path. Type: string (or Expression with resultType string). - JarFilePath interface{} `json:"jarFilePath,omitempty"` - // JarLinkedService - Jar linked service reference. - JarLinkedService *LinkedServiceReference `json:"jarLinkedService,omitempty"` - // JarLibs - Jar libs. - JarLibs *[]interface{} `json:"jarLibs,omitempty"` - // Defines - Allows user to specify defines for the MapReduce job request. - Defines map[string]interface{} `json:"defines"` -} - -// MarshalJSON is the custom marshaler for HDInsightMapReduceActivityTypeProperties. -func (himratp HDInsightMapReduceActivityTypeProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if himratp.StorageLinkedServices != nil { - objectMap["storageLinkedServices"] = himratp.StorageLinkedServices - } - if himratp.Arguments != nil { - objectMap["arguments"] = himratp.Arguments - } - if himratp.GetDebugInfo != "" { - objectMap["getDebugInfo"] = himratp.GetDebugInfo - } - if himratp.ClassName != nil { - objectMap["className"] = himratp.ClassName - } - if himratp.JarFilePath != nil { - objectMap["jarFilePath"] = himratp.JarFilePath - } - if himratp.JarLinkedService != nil { - objectMap["jarLinkedService"] = himratp.JarLinkedService - } - if himratp.JarLibs != nil { - objectMap["jarLibs"] = himratp.JarLibs - } - if himratp.Defines != nil { - objectMap["defines"] = himratp.Defines - } - return json.Marshal(objectMap) +// FilterActivityTypeProperties filter activity properties. +type FilterActivityTypeProperties struct { + // Items - Input array on which filter should be applied. + Items *Expression `json:"items,omitempty"` + // Condition - Condition to be used for filtering the input. + Condition *Expression `json:"condition,omitempty"` } -// HDInsightOnDemandLinkedService hDInsight ondemand linked service. -type HDInsightOnDemandLinkedService struct { - // HDInsightOnDemandLinkedServiceTypeProperties - HDInsight ondemand linked service properties. - *HDInsightOnDemandLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// ForEachActivity this activity is used for iterating over a collection and execute given activities. +type ForEachActivity struct { + // ForEachActivityTypeProperties - ForEach activity properties. + *ForEachActivityTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. + // Name - Activity name. + Name *string `json:"name,omitempty"` + // Description - Activity description. Description *string `json:"description,omitempty"` - // Parameters - Parameters for linked service. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the linked service. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` + // DependsOn - Activity depends on condition. + DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` + // UserProperties - Activity user properties. + UserProperties *[]UserProperty `json:"userProperties,omitempty"` + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + Type TypeBasicActivity `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) MarshalJSON() ([]byte, error) { - hiodls.Type = TypeHDInsightOnDemand +// MarshalJSON is the custom marshaler for ForEachActivity. +func (fea ForEachActivity) MarshalJSON() ([]byte, error) { + fea.Type = TypeForEach objectMap := make(map[string]interface{}) - if hiodls.HDInsightOnDemandLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = hiodls.HDInsightOnDemandLinkedServiceTypeProperties + if fea.ForEachActivityTypeProperties != nil { + objectMap["typeProperties"] = fea.ForEachActivityTypeProperties } - if hiodls.ConnectVia != nil { - objectMap["connectVia"] = hiodls.ConnectVia + if fea.Name != nil { + objectMap["name"] = fea.Name } - if hiodls.Description != nil { - objectMap["description"] = hiodls.Description + if fea.Description != nil { + objectMap["description"] = fea.Description } - if hiodls.Parameters != nil { - objectMap["parameters"] = hiodls.Parameters + if fea.DependsOn != nil { + objectMap["dependsOn"] = fea.DependsOn } - if hiodls.Annotations != nil { - objectMap["annotations"] = hiodls.Annotations + if fea.UserProperties != nil { + objectMap["userProperties"] = fea.UserProperties } - if hiodls.Type != "" { - objectMap["type"] = hiodls.Type + if fea.Type != "" { + objectMap["type"] = fea.Type } - for k, v := range hiodls.AdditionalProperties { + for k, v := range fea.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { - return nil, false -} - -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { - return nil, false -} - -// AsSapTableLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { - return nil, false -} - -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsAzureFunctionActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsDatabricksSparkJarActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsDatabricksNotebookActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { - return &hiodls, true -} - -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsGetMetadataActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsWebActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsWebActivity() (*WebActivity, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsLookupActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsDeleteActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsCustomActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsCustomActivity() (*CustomActivity, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsExecuteSSISPackageActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsHDInsightSparkActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsHDInsightStreamingActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsHDInsightMapReduceActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsHDInsightPigActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsHDInsightHiveActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsCopyActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsCopyActivity() (*CopyActivity, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsExecutionActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsExecutionActivity() (*ExecutionActivity, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsBasicExecutionActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsWebHookActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsWebHookActivity() (*WebHookActivity, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsAppendVariableActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsSetVariableActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsFilterActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsFilterActivity() (*FilterActivity, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsValidationActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsValidationActivity() (*ValidationActivity, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsUntilActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsWaitActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsWaitActivity() (*WaitActivity, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { - return nil, false +// AsForEachActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsForEachActivity() (*ForEachActivity, bool) { + return &fea, true } -// AsDrillLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsIfConditionActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsExecutePipelineActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsControlActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsControlActivity() (*ControlActivity, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { - return nil, false +// AsBasicControlActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsBasicControlActivity() (BasicControlActivity, bool) { + return &fea, true } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsActivity() (*Activity, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { - return nil, false +// AsBasicActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsBasicActivity() (BasicActivity, bool) { + return &fea, true } -// AsSapBWLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { - return nil, false -} +// UnmarshalJSON is the custom unmarshaler for ForEachActivity struct. +func (fea *ForEachActivity) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "typeProperties": + if v != nil { + var forEachActivityTypeProperties ForEachActivityTypeProperties + err = json.Unmarshal(*v, &forEachActivityTypeProperties) + if err != nil { + return err + } + fea.ForEachActivityTypeProperties = &forEachActivityTypeProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if fea.AdditionalProperties == nil { + fea.AdditionalProperties = make(map[string]interface{}) + } + fea.AdditionalProperties[k] = additionalProperties + } + case "name": + if v != nil { + var name string + err = json.Unmarshal(*v, &name) + if err != nil { + return err + } + fea.Name = &name + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + fea.Description = &description + } + case "dependsOn": + if v != nil { + var dependsOn []ActivityDependency + err = json.Unmarshal(*v, &dependsOn) + if err != nil { + return err + } + fea.DependsOn = &dependsOn + } + case "userProperties": + if v != nil { + var userProperties []UserProperty + err = json.Unmarshal(*v, &userProperties) + if err != nil { + return err + } + fea.UserProperties = &userProperties + } + case "type": + if v != nil { + var typeVar TypeBasicActivity + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + fea.Type = typeVar + } + } + } -// AsSftpServerLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { - return nil, false + return nil } -// AsFtpServerLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { - return nil, false +// ForEachActivityTypeProperties forEach activity properties. +type ForEachActivityTypeProperties struct { + // IsSequential - Should the loop be executed in sequence or in parallel (max 50) + IsSequential *bool `json:"isSequential,omitempty"` + // BatchCount - Batch count to be used for controlling the number of parallel execution (when isSequential is set to false). + BatchCount *int32 `json:"batchCount,omitempty"` + // Items - Collection to iterate. + Items *Expression `json:"items,omitempty"` + // Activities - List of activities to execute . + Activities *[]BasicActivity `json:"activities,omitempty"` } -// AsHTTPLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { - return nil, false -} +// UnmarshalJSON is the custom unmarshaler for ForEachActivityTypeProperties struct. +func (featp *ForEachActivityTypeProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "isSequential": + if v != nil { + var isSequential bool + err = json.Unmarshal(*v, &isSequential) + if err != nil { + return err + } + featp.IsSequential = &isSequential + } + case "batchCount": + if v != nil { + var batchCount int32 + err = json.Unmarshal(*v, &batchCount) + if err != nil { + return err + } + featp.BatchCount = &batchCount + } + case "items": + if v != nil { + var items Expression + err = json.Unmarshal(*v, &items) + if err != nil { + return err + } + featp.Items = &items + } + case "activities": + if v != nil { + activities, err := unmarshalBasicActivityArray(*v) + if err != nil { + return err + } + featp.Activities = &activities + } + } + } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { - return nil, false + return nil } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { - return nil, false +// FormatReadSettings format read settings. +type FormatReadSettings struct { + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Type - The read setting type. + Type *string `json:"type,omitempty"` } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { - return nil, false +// MarshalJSON is the custom marshaler for FormatReadSettings. +func (frs FormatReadSettings) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if frs.Type != nil { + objectMap["type"] = frs.Type + } + for k, v := range frs.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { - return nil, false -} +// UnmarshalJSON is the custom unmarshaler for FormatReadSettings struct. +func (frs *FormatReadSettings) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if frs.AdditionalProperties == nil { + frs.AdditionalProperties = make(map[string]interface{}) + } + frs.AdditionalProperties[k] = additionalProperties + } + case "type": + if v != nil { + var typeVar string + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + frs.Type = &typeVar + } + } + } -// AsRestServiceLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { - return nil, false + return nil } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { - return nil, false +// FormatWriteSettings format write settings. +type FormatWriteSettings struct { + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Type - The write setting type. + Type *string `json:"type,omitempty"` } -// AsSapEccLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { - return nil, false +// MarshalJSON is the custom marshaler for FormatWriteSettings. +func (fws FormatWriteSettings) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if fws.Type != nil { + objectMap["type"] = fws.Type + } + for k, v := range fws.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// UnmarshalJSON is the custom unmarshaler for FormatWriteSettings struct. +func (fws *FormatWriteSettings) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if fws.AdditionalProperties == nil { + fws.AdditionalProperties = make(map[string]interface{}) + } + fws.AdditionalProperties[k] = additionalProperties + } + case "type": + if v != nil { + var typeVar string + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + fws.Type = &typeVar + } + } + } + + return nil +} + +// FtpReadSettings ftp read settings. +type FtpReadSettings struct { + // Recursive - If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). + Recursive interface{} `json:"recursive,omitempty"` + // WildcardFolderPath - Ftp wildcardFolderPath. Type: string (or Expression with resultType string). + WildcardFolderPath interface{} `json:"wildcardFolderPath,omitempty"` + // WildcardFileName - Ftp wildcardFileName. Type: string (or Expression with resultType string). + WildcardFileName interface{} `json:"wildcardFileName,omitempty"` + // UseBinaryTransfer - Specify whether to use binary transfer mode for FTP stores. + UseBinaryTransfer *bool `json:"useBinaryTransfer,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Type - The read setting type. + Type *string `json:"type,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` +} + +// MarshalJSON is the custom marshaler for FtpReadSettings. +func (frs FtpReadSettings) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if frs.Recursive != nil { + objectMap["recursive"] = frs.Recursive + } + if frs.WildcardFolderPath != nil { + objectMap["wildcardFolderPath"] = frs.WildcardFolderPath + } + if frs.WildcardFileName != nil { + objectMap["wildcardFileName"] = frs.WildcardFileName + } + if frs.UseBinaryTransfer != nil { + objectMap["useBinaryTransfer"] = frs.UseBinaryTransfer + } + if frs.Type != nil { + objectMap["type"] = frs.Type + } + if frs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = frs.MaxConcurrentConnections + } + for k, v := range frs.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for FtpReadSettings struct. +func (frs *FtpReadSettings) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "recursive": + if v != nil { + var recursive interface{} + err = json.Unmarshal(*v, &recursive) + if err != nil { + return err + } + frs.Recursive = recursive + } + case "wildcardFolderPath": + if v != nil { + var wildcardFolderPath interface{} + err = json.Unmarshal(*v, &wildcardFolderPath) + if err != nil { + return err + } + frs.WildcardFolderPath = wildcardFolderPath + } + case "wildcardFileName": + if v != nil { + var wildcardFileName interface{} + err = json.Unmarshal(*v, &wildcardFileName) + if err != nil { + return err + } + frs.WildcardFileName = wildcardFileName + } + case "useBinaryTransfer": + if v != nil { + var useBinaryTransfer bool + err = json.Unmarshal(*v, &useBinaryTransfer) + if err != nil { + return err + } + frs.UseBinaryTransfer = &useBinaryTransfer + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if frs.AdditionalProperties == nil { + frs.AdditionalProperties = make(map[string]interface{}) + } + frs.AdditionalProperties[k] = additionalProperties + } + case "type": + if v != nil { + var typeVar string + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + frs.Type = &typeVar + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + frs.MaxConcurrentConnections = maxConcurrentConnections + } + } + } + + return nil +} + +// FtpServerLinkedService a FTP server Linked Service. +type FtpServerLinkedService struct { + // FtpServerLinkedServiceTypeProperties - Properties specific to this linked service type. + *FtpServerLinkedServiceTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. + Description *string `json:"description,omitempty"` + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the linked service. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for FtpServerLinkedService. +func (fsls FtpServerLinkedService) MarshalJSON() ([]byte, error) { + fsls.Type = TypeFtpServer + objectMap := make(map[string]interface{}) + if fsls.FtpServerLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = fsls.FtpServerLinkedServiceTypeProperties + } + if fsls.ConnectVia != nil { + objectMap["connectVia"] = fsls.ConnectVia + } + if fsls.Description != nil { + objectMap["description"] = fsls.Description + } + if fsls.Parameters != nil { + objectMap["parameters"] = fsls.Parameters + } + if fsls.Annotations != nil { + objectMap["annotations"] = fsls.Annotations + } + if fsls.Type != "" { + objectMap["type"] = fsls.Type + } + for k, v := range fsls.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &hiodls, true +// AsDrillLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for HDInsightOnDemandLinkedService struct. -func (hiodls *HDInsightOnDemandLinkedService) UnmarshalJSON(body []byte) error { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { + return nil, false +} + +// AsConcurLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { + return nil, false +} + +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { + return nil, false +} + +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { + return nil, false +} + +// AsSapHanaLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { + return nil, false +} + +// AsSapBWLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { + return nil, false +} + +// AsSftpServerLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { + return nil, false +} + +// AsFtpServerLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { + return &fsls, true +} + +// AsHTTPLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { + return nil, false +} + +// AsAzureSearchLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { + return nil, false +} + +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { + return nil, false +} + +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { + return nil, false +} + +// AsAmazonS3LinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { + return nil, false +} + +// AsRestServiceLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { + return nil, false +} + +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { + return nil, false +} + +// AsSapEccLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { + return nil, false +} + +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { + return nil, false +} + +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + +// AsSalesforceLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { + return nil, false +} + +// AsOffice365LinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { + return nil, false +} + +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { + return nil, false +} + +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { + return nil, false +} + +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { + return nil, false +} + +// AsMongoDbLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { + return nil, false +} + +// AsCassandraLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { + return nil, false +} + +// AsWebLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { + return nil, false +} + +// AsODataLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { + return nil, false +} + +// AsHdfsLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { + return nil, false +} + +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + +// AsOdbcLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { + return nil, false +} + +// AsAzureMLLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { + return nil, false +} + +// AsTeradataLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { + return nil, false +} + +// AsDb2LinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return nil, false +} + +// AsSybaseLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { + return nil, false +} + +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { + return nil, false +} + +// AsMySQLLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { + return nil, false +} + +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { + return nil, false +} + +// AsOracleLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { + return nil, false +} + +// AsFileServerLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { + return nil, false +} + +// AsHDInsightLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + +// AsDynamicsLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false +} + +// AsCosmosDbLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false +} + +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false +} + +// AsAzureBatchLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} + +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &fsls, true +} + +// UnmarshalJSON is the custom unmarshaler for FtpServerLinkedService struct. +func (fsls *FtpServerLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -72650,12 +74785,12 @@ func (hiodls *HDInsightOnDemandLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var hDInsightOnDemandLinkedServiceTypeProperties HDInsightOnDemandLinkedServiceTypeProperties - err = json.Unmarshal(*v, &hDInsightOnDemandLinkedServiceTypeProperties) + var ftpServerLinkedServiceTypeProperties FtpServerLinkedServiceTypeProperties + err = json.Unmarshal(*v, &ftpServerLinkedServiceTypeProperties) if err != nil { return err } - hiodls.HDInsightOnDemandLinkedServiceTypeProperties = &hDInsightOnDemandLinkedServiceTypeProperties + fsls.FtpServerLinkedServiceTypeProperties = &ftpServerLinkedServiceTypeProperties } default: if v != nil { @@ -72664,10 +74799,10 @@ func (hiodls *HDInsightOnDemandLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if hiodls.AdditionalProperties == nil { - hiodls.AdditionalProperties = make(map[string]interface{}) + if fsls.AdditionalProperties == nil { + fsls.AdditionalProperties = make(map[string]interface{}) } - hiodls.AdditionalProperties[k] = additionalProperties + fsls.AdditionalProperties[k] = additionalProperties } case "connectVia": if v != nil { @@ -72676,7 +74811,7 @@ func (hiodls *HDInsightOnDemandLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - hiodls.ConnectVia = &connectVia + fsls.ConnectVia = &connectVia } case "description": if v != nil { @@ -72685,7 +74820,7 @@ func (hiodls *HDInsightOnDemandLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - hiodls.Description = &description + fsls.Description = &description } case "parameters": if v != nil { @@ -72694,7 +74829,7 @@ func (hiodls *HDInsightOnDemandLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - hiodls.Parameters = parameters + fsls.Parameters = parameters } case "annotations": if v != nil { @@ -72703,7 +74838,7 @@ func (hiodls *HDInsightOnDemandLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - hiodls.Annotations = &annotations + fsls.Annotations = &annotations } case "type": if v != nil { @@ -72712,7 +74847,7 @@ func (hiodls *HDInsightOnDemandLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - hiodls.Type = typeVar + fsls.Type = typeVar } } } @@ -72720,78 +74855,28 @@ func (hiodls *HDInsightOnDemandLinkedService) UnmarshalJSON(body []byte) error { return nil } -// HDInsightOnDemandLinkedServiceTypeProperties hDInsight ondemand linked service properties. -type HDInsightOnDemandLinkedServiceTypeProperties struct { - // ClusterSize - Number of worker/data nodes in the cluster. Suggestion value: 4. Type: string (or Expression with resultType string). - ClusterSize interface{} `json:"clusterSize,omitempty"` - // TimeToLive - The allowed idle time for the on-demand HDInsight cluster. Specifies how long the on-demand HDInsight cluster stays alive after completion of an activity run if there are no other active jobs in the cluster. The minimum value is 5 mins. Type: string (or Expression with resultType string). - TimeToLive interface{} `json:"timeToLive,omitempty"` - // Version - Version of the HDInsight cluster.  Type: string (or Expression with resultType string). - Version interface{} `json:"version,omitempty"` - // LinkedServiceName - Azure Storage linked service to be used by the on-demand cluster for storing and processing data. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // HostSubscriptionID - The customer’s subscription to host the cluster. Type: string (or Expression with resultType string). - HostSubscriptionID interface{} `json:"hostSubscriptionId,omitempty"` - // ServicePrincipalID - The service principal id for the hostSubscriptionId. Type: string (or Expression with resultType string). - ServicePrincipalID interface{} `json:"servicePrincipalId,omitempty"` - // ServicePrincipalKey - The key for the service principal id. - ServicePrincipalKey BasicSecretBase `json:"servicePrincipalKey,omitempty"` - // Tenant - The Tenant id/name to which the service principal belongs. Type: string (or Expression with resultType string). - Tenant interface{} `json:"tenant,omitempty"` - // ClusterResourceGroup - The resource group where the cluster belongs. Type: string (or Expression with resultType string). - ClusterResourceGroup interface{} `json:"clusterResourceGroup,omitempty"` - // ClusterNamePrefix - The prefix of cluster name, postfix will be distinct with timestamp. Type: string (or Expression with resultType string). - ClusterNamePrefix interface{} `json:"clusterNamePrefix,omitempty"` - // ClusterUserName - The username to access the cluster. Type: string (or Expression with resultType string). - ClusterUserName interface{} `json:"clusterUserName,omitempty"` - // ClusterPassword - The password to access the cluster. - ClusterPassword BasicSecretBase `json:"clusterPassword,omitempty"` - // ClusterSSHUserName - The username to SSH remotely connect to cluster’s node (for Linux). Type: string (or Expression with resultType string). - ClusterSSHUserName interface{} `json:"clusterSshUserName,omitempty"` - // ClusterSSHPassword - The password to SSH remotely connect cluster’s node (for Linux). - ClusterSSHPassword BasicSecretBase `json:"clusterSshPassword,omitempty"` - // AdditionalLinkedServiceNames - Specifies additional storage accounts for the HDInsight linked service so that the Data Factory service can register them on your behalf. - AdditionalLinkedServiceNames *[]LinkedServiceReference `json:"additionalLinkedServiceNames,omitempty"` - // HcatalogLinkedServiceName - The name of Azure SQL linked service that point to the HCatalog database. The on-demand HDInsight cluster is created by using the Azure SQL database as the metastore. - HcatalogLinkedServiceName *LinkedServiceReference `json:"hcatalogLinkedServiceName,omitempty"` - // ClusterType - The cluster type. Type: string (or Expression with resultType string). - ClusterType interface{} `json:"clusterType,omitempty"` - // SparkVersion - The version of spark if the cluster type is 'spark'. Type: string (or Expression with resultType string). - SparkVersion interface{} `json:"sparkVersion,omitempty"` - // CoreConfiguration - Specifies the core configuration parameters (as in core-site.xml) for the HDInsight cluster to be created. - CoreConfiguration interface{} `json:"coreConfiguration,omitempty"` - // HBaseConfiguration - Specifies the HBase configuration parameters (hbase-site.xml) for the HDInsight cluster. - HBaseConfiguration interface{} `json:"hBaseConfiguration,omitempty"` - // HdfsConfiguration - Specifies the HDFS configuration parameters (hdfs-site.xml) for the HDInsight cluster. - HdfsConfiguration interface{} `json:"hdfsConfiguration,omitempty"` - // HiveConfiguration - Specifies the hive configuration parameters (hive-site.xml) for the HDInsight cluster. - HiveConfiguration interface{} `json:"hiveConfiguration,omitempty"` - // MapReduceConfiguration - Specifies the MapReduce configuration parameters (mapred-site.xml) for the HDInsight cluster. - MapReduceConfiguration interface{} `json:"mapReduceConfiguration,omitempty"` - // OozieConfiguration - Specifies the Oozie configuration parameters (oozie-site.xml) for the HDInsight cluster. - OozieConfiguration interface{} `json:"oozieConfiguration,omitempty"` - // StormConfiguration - Specifies the Storm configuration parameters (storm-site.xml) for the HDInsight cluster. - StormConfiguration interface{} `json:"stormConfiguration,omitempty"` - // YarnConfiguration - Specifies the Yarn configuration parameters (yarn-site.xml) for the HDInsight cluster. - YarnConfiguration interface{} `json:"yarnConfiguration,omitempty"` +// FtpServerLinkedServiceTypeProperties properties specific to this linked service type. +type FtpServerLinkedServiceTypeProperties struct { + // Host - Host name of the FTP server. Type: string (or Expression with resultType string). + Host interface{} `json:"host,omitempty"` + // Port - The TCP port number that the FTP server uses to listen for client connections. Default value is 21. Type: integer (or Expression with resultType integer), minimum: 0. + Port interface{} `json:"port,omitempty"` + // AuthenticationType - The authentication type to be used to connect to the FTP server. Possible values include: 'FtpAuthenticationTypeBasic', 'FtpAuthenticationTypeAnonymous' + AuthenticationType FtpAuthenticationType `json:"authenticationType,omitempty"` + // UserName - Username to logon the FTP server. Type: string (or Expression with resultType string). + UserName interface{} `json:"userName,omitempty"` + // Password - Password to logon the FTP server. + Password BasicSecretBase `json:"password,omitempty"` // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` - // HeadNodeSize - Specifies the size of the head node for the HDInsight cluster. - HeadNodeSize interface{} `json:"headNodeSize,omitempty"` - // DataNodeSize - Specifies the size of the data node for the HDInsight cluster. - DataNodeSize interface{} `json:"dataNodeSize,omitempty"` - // ZookeeperNodeSize - Specifies the size of the Zoo Keeper node for the HDInsight cluster. - ZookeeperNodeSize interface{} `json:"zookeeperNodeSize,omitempty"` - // ScriptActions - Custom script actions to run on HDI ondemand cluster once it's up. Please refer to https://docs.microsoft.com/en-us/azure/hdinsight/hdinsight-hadoop-customize-cluster-linux?toc=%2Fen-us%2Fazure%2Fhdinsight%2Fr-server%2FTOC.json&bc=%2Fen-us%2Fazure%2Fbread%2Ftoc.json#understanding-script-actions. - ScriptActions *[]ScriptAction `json:"scriptActions,omitempty"` - // VirtualNetworkID - The ARM resource ID for the vNet to which the cluster should be joined after creation. Type: string (or Expression with resultType string). - VirtualNetworkID interface{} `json:"virtualNetworkId,omitempty"` - // SubnetName - 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). - SubnetName interface{} `json:"subnetName,omitempty"` + // EnableSsl - If true, connect to the FTP server over SSL/TLS channel. Default value is true. Type: boolean (or Expression with resultType boolean). + EnableSsl interface{} `json:"enableSsl,omitempty"` + // EnableServerCertificateValidation - 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). + EnableServerCertificateValidation interface{} `json:"enableServerCertificateValidation,omitempty"` } -// UnmarshalJSON is the custom unmarshaler for HDInsightOnDemandLinkedServiceTypeProperties struct. -func (hiodlstp *HDInsightOnDemandLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for FtpServerLinkedServiceTypeProperties struct. +func (fslstp *FtpServerLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -72799,299 +74884,160 @@ func (hiodlstp *HDInsightOnDemandLinkedServiceTypeProperties) UnmarshalJSON(body } for k, v := range m { switch k { - case "clusterSize": - if v != nil { - var clusterSize interface{} - err = json.Unmarshal(*v, &clusterSize) - if err != nil { - return err - } - hiodlstp.ClusterSize = clusterSize - } - case "timeToLive": - if v != nil { - var timeToLive interface{} - err = json.Unmarshal(*v, &timeToLive) - if err != nil { - return err - } - hiodlstp.TimeToLive = timeToLive - } - case "version": - if v != nil { - var version interface{} - err = json.Unmarshal(*v, &version) - if err != nil { - return err - } - hiodlstp.Version = version - } - case "linkedServiceName": - if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) - if err != nil { - return err - } - hiodlstp.LinkedServiceName = &linkedServiceName - } - case "hostSubscriptionId": - if v != nil { - var hostSubscriptionID interface{} - err = json.Unmarshal(*v, &hostSubscriptionID) - if err != nil { - return err - } - hiodlstp.HostSubscriptionID = hostSubscriptionID - } - case "servicePrincipalId": - if v != nil { - var servicePrincipalID interface{} - err = json.Unmarshal(*v, &servicePrincipalID) - if err != nil { - return err - } - hiodlstp.ServicePrincipalID = servicePrincipalID - } - case "servicePrincipalKey": - if v != nil { - servicePrincipalKey, err := unmarshalBasicSecretBase(*v) - if err != nil { - return err - } - hiodlstp.ServicePrincipalKey = servicePrincipalKey - } - case "tenant": - if v != nil { - var tenant interface{} - err = json.Unmarshal(*v, &tenant) - if err != nil { - return err - } - hiodlstp.Tenant = tenant - } - case "clusterResourceGroup": - if v != nil { - var clusterResourceGroup interface{} - err = json.Unmarshal(*v, &clusterResourceGroup) - if err != nil { - return err - } - hiodlstp.ClusterResourceGroup = clusterResourceGroup - } - case "clusterNamePrefix": - if v != nil { - var clusterNamePrefix interface{} - err = json.Unmarshal(*v, &clusterNamePrefix) - if err != nil { - return err - } - hiodlstp.ClusterNamePrefix = clusterNamePrefix - } - case "clusterUserName": - if v != nil { - var clusterUserName interface{} - err = json.Unmarshal(*v, &clusterUserName) - if err != nil { - return err - } - hiodlstp.ClusterUserName = clusterUserName - } - case "clusterPassword": - if v != nil { - clusterPassword, err := unmarshalBasicSecretBase(*v) - if err != nil { - return err - } - hiodlstp.ClusterPassword = clusterPassword - } - case "clusterSshUserName": - if v != nil { - var clusterSSHUserName interface{} - err = json.Unmarshal(*v, &clusterSSHUserName) - if err != nil { - return err - } - hiodlstp.ClusterSSHUserName = clusterSSHUserName - } - case "clusterSshPassword": - if v != nil { - clusterSSHPassword, err := unmarshalBasicSecretBase(*v) - if err != nil { - return err - } - hiodlstp.ClusterSSHPassword = clusterSSHPassword - } - case "additionalLinkedServiceNames": - if v != nil { - var additionalLinkedServiceNames []LinkedServiceReference - err = json.Unmarshal(*v, &additionalLinkedServiceNames) - if err != nil { - return err - } - hiodlstp.AdditionalLinkedServiceNames = &additionalLinkedServiceNames - } - case "hcatalogLinkedServiceName": - if v != nil { - var hcatalogLinkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &hcatalogLinkedServiceName) - if err != nil { - return err - } - hiodlstp.HcatalogLinkedServiceName = &hcatalogLinkedServiceName - } - case "clusterType": + case "host": if v != nil { - var clusterType interface{} - err = json.Unmarshal(*v, &clusterType) + var host interface{} + err = json.Unmarshal(*v, &host) if err != nil { return err } - hiodlstp.ClusterType = clusterType + fslstp.Host = host } - case "sparkVersion": + case "port": if v != nil { - var sparkVersion interface{} - err = json.Unmarshal(*v, &sparkVersion) + var port interface{} + err = json.Unmarshal(*v, &port) if err != nil { return err } - hiodlstp.SparkVersion = sparkVersion + fslstp.Port = port } - case "coreConfiguration": + case "authenticationType": if v != nil { - var coreConfiguration interface{} - err = json.Unmarshal(*v, &coreConfiguration) + var authenticationType FtpAuthenticationType + err = json.Unmarshal(*v, &authenticationType) if err != nil { return err } - hiodlstp.CoreConfiguration = coreConfiguration + fslstp.AuthenticationType = authenticationType } - case "hBaseConfiguration": + case "userName": if v != nil { - var hBaseConfiguration interface{} - err = json.Unmarshal(*v, &hBaseConfiguration) + var userName interface{} + err = json.Unmarshal(*v, &userName) if err != nil { return err } - hiodlstp.HBaseConfiguration = hBaseConfiguration + fslstp.UserName = userName } - case "hdfsConfiguration": + case "password": if v != nil { - var hdfsConfiguration interface{} - err = json.Unmarshal(*v, &hdfsConfiguration) + password, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - hiodlstp.HdfsConfiguration = hdfsConfiguration + fslstp.Password = password } - case "hiveConfiguration": + case "encryptedCredential": if v != nil { - var hiveConfiguration interface{} - err = json.Unmarshal(*v, &hiveConfiguration) + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) if err != nil { return err } - hiodlstp.HiveConfiguration = hiveConfiguration + fslstp.EncryptedCredential = encryptedCredential } - case "mapReduceConfiguration": + case "enableSsl": if v != nil { - var mapReduceConfiguration interface{} - err = json.Unmarshal(*v, &mapReduceConfiguration) + var enableSsl interface{} + err = json.Unmarshal(*v, &enableSsl) if err != nil { return err } - hiodlstp.MapReduceConfiguration = mapReduceConfiguration + fslstp.EnableSsl = enableSsl } - case "oozieConfiguration": + case "enableServerCertificateValidation": if v != nil { - var oozieConfiguration interface{} - err = json.Unmarshal(*v, &oozieConfiguration) + var enableServerCertificateValidation interface{} + err = json.Unmarshal(*v, &enableServerCertificateValidation) if err != nil { return err } - hiodlstp.OozieConfiguration = oozieConfiguration + fslstp.EnableServerCertificateValidation = enableServerCertificateValidation } - case "stormConfiguration": + } + } + + return nil +} + +// FtpServerLocation the location of ftp server dataset. +type FtpServerLocation struct { + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Type - Type of dataset storage location. + Type *string `json:"type,omitempty"` + // FolderPath - Specify the folder path of dataset. Type: string (or Expression with resultType string) + FolderPath interface{} `json:"folderPath,omitempty"` + // FileName - Specify the file name of dataset. Type: string (or Expression with resultType string). + FileName interface{} `json:"fileName,omitempty"` +} + +// MarshalJSON is the custom marshaler for FtpServerLocation. +func (fsl FtpServerLocation) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if fsl.Type != nil { + objectMap["type"] = fsl.Type + } + if fsl.FolderPath != nil { + objectMap["folderPath"] = fsl.FolderPath + } + if fsl.FileName != nil { + objectMap["fileName"] = fsl.FileName + } + for k, v := range fsl.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for FtpServerLocation struct. +func (fsl *FtpServerLocation) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + default: if v != nil { - var stormConfiguration interface{} - err = json.Unmarshal(*v, &stormConfiguration) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - hiodlstp.StormConfiguration = stormConfiguration - } - case "yarnConfiguration": - if v != nil { - var yarnConfiguration interface{} - err = json.Unmarshal(*v, &yarnConfiguration) - if err != nil { - return err + if fsl.AdditionalProperties == nil { + fsl.AdditionalProperties = make(map[string]interface{}) } - hiodlstp.YarnConfiguration = yarnConfiguration + fsl.AdditionalProperties[k] = additionalProperties } - case "encryptedCredential": + case "type": if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) + var typeVar string + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - hiodlstp.EncryptedCredential = encryptedCredential + fsl.Type = &typeVar } - case "headNodeSize": + case "folderPath": if v != nil { - var headNodeSize interface{} - err = json.Unmarshal(*v, &headNodeSize) + var folderPath interface{} + err = json.Unmarshal(*v, &folderPath) if err != nil { return err } - hiodlstp.HeadNodeSize = headNodeSize + fsl.FolderPath = folderPath } - case "dataNodeSize": + case "fileName": if v != nil { - var dataNodeSize interface{} - err = json.Unmarshal(*v, &dataNodeSize) + var fileName interface{} + err = json.Unmarshal(*v, &fileName) if err != nil { return err } - hiodlstp.DataNodeSize = dataNodeSize - } - case "zookeeperNodeSize": - if v != nil { - var zookeeperNodeSize interface{} - err = json.Unmarshal(*v, &zookeeperNodeSize) - if err != nil { - return err - } - hiodlstp.ZookeeperNodeSize = zookeeperNodeSize - } - case "scriptActions": - if v != nil { - var scriptActions []ScriptAction - err = json.Unmarshal(*v, &scriptActions) - if err != nil { - return err - } - hiodlstp.ScriptActions = &scriptActions - } - case "virtualNetworkId": - if v != nil { - var virtualNetworkID interface{} - err = json.Unmarshal(*v, &virtualNetworkID) - if err != nil { - return err - } - hiodlstp.VirtualNetworkID = virtualNetworkID - } - case "subnetName": - if v != nil { - var subnetName interface{} - err = json.Unmarshal(*v, &subnetName) - if err != nil { - return err - } - hiodlstp.SubnetName = subnetName + fsl.FileName = fileName } } } @@ -73099,10 +75045,16 @@ func (hiodlstp *HDInsightOnDemandLinkedServiceTypeProperties) UnmarshalJSON(body return nil } -// HDInsightPigActivity hDInsight Pig activity type. -type HDInsightPigActivity struct { - // HDInsightPigActivityTypeProperties - HDInsight Pig activity properties. - *HDInsightPigActivityTypeProperties `json:"typeProperties,omitempty"` +// GenericDatasetTypeProperties properties specific to this dataset type. +type GenericDatasetTypeProperties struct { + // TableName - The table name. Type: string (or Expression with resultType string). + TableName interface{} `json:"tableName,omitempty"` +} + +// GetMetadataActivity activity to get metadata of dataset +type GetMetadataActivity struct { + // GetMetadataActivityTypeProperties - GetMetadata activity properties. + *GetMetadataActivityTypeProperties `json:"typeProperties,omitempty"` // LinkedServiceName - Linked service reference. LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` // Policy - Activity policy. @@ -73121,222 +75073,222 @@ type HDInsightPigActivity struct { Type TypeBasicActivity `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for HDInsightPigActivity. -func (hipa HDInsightPigActivity) MarshalJSON() ([]byte, error) { - hipa.Type = TypeHDInsightPig +// MarshalJSON is the custom marshaler for GetMetadataActivity. +func (gma GetMetadataActivity) MarshalJSON() ([]byte, error) { + gma.Type = TypeGetMetadata objectMap := make(map[string]interface{}) - if hipa.HDInsightPigActivityTypeProperties != nil { - objectMap["typeProperties"] = hipa.HDInsightPigActivityTypeProperties + if gma.GetMetadataActivityTypeProperties != nil { + objectMap["typeProperties"] = gma.GetMetadataActivityTypeProperties } - if hipa.LinkedServiceName != nil { - objectMap["linkedServiceName"] = hipa.LinkedServiceName + if gma.LinkedServiceName != nil { + objectMap["linkedServiceName"] = gma.LinkedServiceName } - if hipa.Policy != nil { - objectMap["policy"] = hipa.Policy + if gma.Policy != nil { + objectMap["policy"] = gma.Policy } - if hipa.Name != nil { - objectMap["name"] = hipa.Name + if gma.Name != nil { + objectMap["name"] = gma.Name } - if hipa.Description != nil { - objectMap["description"] = hipa.Description + if gma.Description != nil { + objectMap["description"] = gma.Description } - if hipa.DependsOn != nil { - objectMap["dependsOn"] = hipa.DependsOn + if gma.DependsOn != nil { + objectMap["dependsOn"] = gma.DependsOn } - if hipa.UserProperties != nil { - objectMap["userProperties"] = hipa.UserProperties + if gma.UserProperties != nil { + objectMap["userProperties"] = gma.UserProperties } - if hipa.Type != "" { - objectMap["type"] = hipa.Type + if gma.Type != "" { + objectMap["type"] = gma.Type } - for k, v := range hipa.AdditionalProperties { + for k, v := range gma.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsAzureFunctionActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsDatabricksSparkJarActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { +// AsDatabricksNotebookActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { - return nil, false +// AsGetMetadataActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { + return &gma, true } -// AsWebActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsWebActivity() (*WebActivity, bool) { +// AsWebActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsWebActivity() (*WebActivity, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsLookupActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsDeleteActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// AsDeleteActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsCustomActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsCustomActivity() (*CustomActivity, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsExecuteSSISPackageActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsHDInsightSparkActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsHDInsightStreamingActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsHDInsightMapReduceActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { - return &hipa, true +// AsHDInsightPigActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { + return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsHDInsightHiveActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsCopyActivity() (*CopyActivity, bool) { +// AsCopyActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsCopyActivity() (*CopyActivity, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsExecutionActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsExecutionActivity() (*ExecutionActivity, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { - return &hipa, true +// AsBasicExecutionActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return &gma, true } -// AsWebHookActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsWebHookActivity() (*WebHookActivity, bool) { +// AsWebHookActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsWebHookActivity() (*WebHookActivity, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsAppendVariableActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsSetVariableActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsFilterActivity() (*FilterActivity, bool) { +// AsFilterActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsFilterActivity() (*FilterActivity, bool) { return nil, false } -// AsValidationActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsValidationActivity() (*ValidationActivity, bool) { +// AsValidationActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsValidationActivity() (*ValidationActivity, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsUntilActivity() (*UntilActivity, bool) { +// AsUntilActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsWaitActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsWaitActivity() (*WaitActivity, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsForEachActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsForEachActivity() (*ForEachActivity, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsIfConditionActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsExecutePipelineActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsControlActivity() (*ControlActivity, bool) { +// AsControlActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsControlActivity() (*ControlActivity, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsBasicControlActivity() (BasicControlActivity, bool) { +// AsBasicControlActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsBasicControlActivity() (BasicControlActivity, bool) { return nil, false } -// AsActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsActivity() (*Activity, bool) { +// AsActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsActivity() (*Activity, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsBasicActivity() (BasicActivity, bool) { - return &hipa, true +// AsBasicActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsBasicActivity() (BasicActivity, bool) { + return &gma, true } -// UnmarshalJSON is the custom unmarshaler for HDInsightPigActivity struct. -func (hipa *HDInsightPigActivity) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for GetMetadataActivity struct. +func (gma *GetMetadataActivity) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -73346,12 +75298,12 @@ func (hipa *HDInsightPigActivity) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var hDInsightPigActivityTypeProperties HDInsightPigActivityTypeProperties - err = json.Unmarshal(*v, &hDInsightPigActivityTypeProperties) + var getMetadataActivityTypeProperties GetMetadataActivityTypeProperties + err = json.Unmarshal(*v, &getMetadataActivityTypeProperties) if err != nil { return err } - hipa.HDInsightPigActivityTypeProperties = &hDInsightPigActivityTypeProperties + gma.GetMetadataActivityTypeProperties = &getMetadataActivityTypeProperties } case "linkedServiceName": if v != nil { @@ -73360,7 +75312,7 @@ func (hipa *HDInsightPigActivity) UnmarshalJSON(body []byte) error { if err != nil { return err } - hipa.LinkedServiceName = &linkedServiceName + gma.LinkedServiceName = &linkedServiceName } case "policy": if v != nil { @@ -73369,7 +75321,7 @@ func (hipa *HDInsightPigActivity) UnmarshalJSON(body []byte) error { if err != nil { return err } - hipa.Policy = &policy + gma.Policy = &policy } default: if v != nil { @@ -73378,10 +75330,10 @@ func (hipa *HDInsightPigActivity) UnmarshalJSON(body []byte) error { if err != nil { return err } - if hipa.AdditionalProperties == nil { - hipa.AdditionalProperties = make(map[string]interface{}) + if gma.AdditionalProperties == nil { + gma.AdditionalProperties = make(map[string]interface{}) } - hipa.AdditionalProperties[k] = additionalProperties + gma.AdditionalProperties[k] = additionalProperties } case "name": if v != nil { @@ -73390,7 +75342,7 @@ func (hipa *HDInsightPigActivity) UnmarshalJSON(body []byte) error { if err != nil { return err } - hipa.Name = &name + gma.Name = &name } case "description": if v != nil { @@ -73399,7 +75351,7 @@ func (hipa *HDInsightPigActivity) UnmarshalJSON(body []byte) error { if err != nil { return err } - hipa.Description = &description + gma.Description = &description } case "dependsOn": if v != nil { @@ -73408,7 +75360,7 @@ func (hipa *HDInsightPigActivity) UnmarshalJSON(body []byte) error { if err != nil { return err } - hipa.DependsOn = &dependsOn + gma.DependsOn = &dependsOn } case "userProperties": if v != nil { @@ -73417,7 +75369,7 @@ func (hipa *HDInsightPigActivity) UnmarshalJSON(body []byte) error { if err != nil { return err } - hipa.UserProperties = &userProperties + gma.UserProperties = &userProperties } case "type": if v != nil { @@ -73426,7 +75378,7 @@ func (hipa *HDInsightPigActivity) UnmarshalJSON(body []byte) error { if err != nil { return err } - hipa.Type = typeVar + gma.Type = typeVar } } } @@ -73434,669 +75386,545 @@ func (hipa *HDInsightPigActivity) UnmarshalJSON(body []byte) error { return nil } -// HDInsightPigActivityTypeProperties hDInsight Pig activity properties. -type HDInsightPigActivityTypeProperties struct { - // StorageLinkedServices - Storage linked service references. - StorageLinkedServices *[]LinkedServiceReference `json:"storageLinkedServices,omitempty"` - // Arguments - User specified arguments to HDInsightActivity. - Arguments *[]interface{} `json:"arguments,omitempty"` - // GetDebugInfo - Debug info option. Possible values include: 'None', 'Always', 'Failure' - GetDebugInfo HDInsightActivityDebugInfoOption `json:"getDebugInfo,omitempty"` - // ScriptPath - Script path. Type: string (or Expression with resultType string). - ScriptPath interface{} `json:"scriptPath,omitempty"` - // ScriptLinkedService - Script linked service reference. - ScriptLinkedService *LinkedServiceReference `json:"scriptLinkedService,omitempty"` - // Defines - Allows user to specify defines for Pig job request. - Defines map[string]interface{} `json:"defines"` +// GetMetadataActivityTypeProperties getMetadata activity properties. +type GetMetadataActivityTypeProperties struct { + // Dataset - GetMetadata activity dataset reference. + Dataset *DatasetReference `json:"dataset,omitempty"` + // FieldList - Fields of metadata to get from dataset. + FieldList *[]interface{} `json:"fieldList,omitempty"` } -// MarshalJSON is the custom marshaler for HDInsightPigActivityTypeProperties. -func (hipatp HDInsightPigActivityTypeProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if hipatp.StorageLinkedServices != nil { - objectMap["storageLinkedServices"] = hipatp.StorageLinkedServices - } - if hipatp.Arguments != nil { - objectMap["arguments"] = hipatp.Arguments - } - if hipatp.GetDebugInfo != "" { - objectMap["getDebugInfo"] = hipatp.GetDebugInfo - } - if hipatp.ScriptPath != nil { - objectMap["scriptPath"] = hipatp.ScriptPath - } - if hipatp.ScriptLinkedService != nil { - objectMap["scriptLinkedService"] = hipatp.ScriptLinkedService - } - if hipatp.Defines != nil { - objectMap["defines"] = hipatp.Defines - } - return json.Marshal(objectMap) +// GetSsisObjectMetadataRequest the request payload of get SSIS object metadata. +type GetSsisObjectMetadataRequest struct { + // MetadataPath - Metadata path. + MetadataPath *string `json:"metadataPath,omitempty"` } -// HDInsightSparkActivity hDInsight Spark activity. -type HDInsightSparkActivity struct { - // HDInsightSparkActivityTypeProperties - HDInsight spark activity properties. - *HDInsightSparkActivityTypeProperties `json:"typeProperties,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Policy - Activity policy. - Policy *ActivityPolicy `json:"policy,omitempty"` +// GitHubAccessTokenRequest get GitHub access token request definition. +type GitHubAccessTokenRequest struct { + // GitHubAccessCode - GitHub access code. + GitHubAccessCode *string `json:"gitHubAccessCode,omitempty"` + // GitHubClientID - GitHub application client ID. + GitHubClientID *string `json:"gitHubClientId,omitempty"` + // GitHubAccessTokenBaseURL - GitHub access token base URL. + GitHubAccessTokenBaseURL *string `json:"gitHubAccessTokenBaseUrl,omitempty"` +} + +// GitHubAccessTokenResponse get GitHub access token response definition. +type GitHubAccessTokenResponse struct { + autorest.Response `json:"-"` + // GitHubAccessToken - GitHub access token. + GitHubAccessToken *string `json:"gitHubAccessToken,omitempty"` +} + +// GoogleAdWordsLinkedService google AdWords service linked service. +type GoogleAdWordsLinkedService struct { + // GoogleAdWordsLinkedServiceTypeProperties - Google AdWords service linked service properties. + *GoogleAdWordsLinkedServiceTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Name - Activity name. - Name *string `json:"name,omitempty"` - // Description - Activity description. + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. Description *string `json:"description,omitempty"` - // DependsOn - Activity depends on condition. - DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // UserProperties - Activity user properties. - UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' - Type TypeBasicActivity `json:"type,omitempty"` + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the linked service. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) MarshalJSON() ([]byte, error) { - hisa.Type = TypeHDInsightSpark +// MarshalJSON is the custom marshaler for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) MarshalJSON() ([]byte, error) { + gawls.Type = TypeGoogleAdWords objectMap := make(map[string]interface{}) - if hisa.HDInsightSparkActivityTypeProperties != nil { - objectMap["typeProperties"] = hisa.HDInsightSparkActivityTypeProperties - } - if hisa.LinkedServiceName != nil { - objectMap["linkedServiceName"] = hisa.LinkedServiceName - } - if hisa.Policy != nil { - objectMap["policy"] = hisa.Policy + if gawls.GoogleAdWordsLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = gawls.GoogleAdWordsLinkedServiceTypeProperties } - if hisa.Name != nil { - objectMap["name"] = hisa.Name + if gawls.ConnectVia != nil { + objectMap["connectVia"] = gawls.ConnectVia } - if hisa.Description != nil { - objectMap["description"] = hisa.Description + if gawls.Description != nil { + objectMap["description"] = gawls.Description } - if hisa.DependsOn != nil { - objectMap["dependsOn"] = hisa.DependsOn + if gawls.Parameters != nil { + objectMap["parameters"] = gawls.Parameters } - if hisa.UserProperties != nil { - objectMap["userProperties"] = hisa.UserProperties + if gawls.Annotations != nil { + objectMap["annotations"] = gawls.Annotations } - if hisa.Type != "" { - objectMap["type"] = hisa.Type + if gawls.Type != "" { + objectMap["type"] = gawls.Type } - for k, v := range hisa.AdditionalProperties { + for k, v := range gawls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { + return &gawls, true +} + +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsWebActivity() (*WebActivity, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsDeleteActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { - return &hisa, true +// AsSquareLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { + return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsCopyActivity() (*CopyActivity, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { - return &hisa, true +// AsPaypalLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { + return nil, false } -// AsWebHookActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsWebHookActivity() (*WebHookActivity, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsFilterActivity() (*FilterActivity, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsValidationActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsValidationActivity() (*ValidationActivity, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsUntilActivity() (*UntilActivity, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsControlActivity() (*ControlActivity, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsBasicControlActivity() (BasicControlActivity, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsActivity() (*Activity, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsBasicActivity() (BasicActivity, bool) { - return &hisa, true +// AsConcurLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for HDInsightSparkActivity struct. -func (hisa *HDInsightSparkActivity) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "typeProperties": - if v != nil { - var hDInsightSparkActivityTypeProperties HDInsightSparkActivityTypeProperties - err = json.Unmarshal(*v, &hDInsightSparkActivityTypeProperties) - if err != nil { - return err - } - hisa.HDInsightSparkActivityTypeProperties = &hDInsightSparkActivityTypeProperties - } - case "linkedServiceName": - if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) - if err != nil { - return err - } - hisa.LinkedServiceName = &linkedServiceName - } - case "policy": - if v != nil { - var policy ActivityPolicy - err = json.Unmarshal(*v, &policy) - if err != nil { - return err - } - hisa.Policy = &policy - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if hisa.AdditionalProperties == nil { - hisa.AdditionalProperties = make(map[string]interface{}) - } - hisa.AdditionalProperties[k] = additionalProperties - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - hisa.Name = &name - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - hisa.Description = &description - } - case "dependsOn": - if v != nil { - var dependsOn []ActivityDependency - err = json.Unmarshal(*v, &dependsOn) - if err != nil { - return err - } - hisa.DependsOn = &dependsOn - } - case "userProperties": - if v != nil { - var userProperties []UserProperty - err = json.Unmarshal(*v, &userProperties) - if err != nil { - return err - } - hisa.UserProperties = &userProperties - } - case "type": - if v != nil { - var typeVar TypeBasicActivity - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - hisa.Type = typeVar - } - } - } +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { + return nil, false +} - return nil +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { + return nil, false } -// HDInsightSparkActivityTypeProperties hDInsight spark activity properties. -type HDInsightSparkActivityTypeProperties struct { - // RootPath - The root path in 'sparkJobLinkedService' for all the job’s files. Type: string (or Expression with resultType string). - RootPath interface{} `json:"rootPath,omitempty"` - // EntryFilePath - The relative path to the root folder of the code/package to be executed. Type: string (or Expression with resultType string). - EntryFilePath interface{} `json:"entryFilePath,omitempty"` - // Arguments - The user-specified arguments to HDInsightSparkActivity. - Arguments *[]interface{} `json:"arguments,omitempty"` - // GetDebugInfo - Debug info option. Possible values include: 'None', 'Always', 'Failure' - GetDebugInfo HDInsightActivityDebugInfoOption `json:"getDebugInfo,omitempty"` - // SparkJobLinkedService - The storage linked service for uploading the entry file and dependencies, and for receiving logs. - SparkJobLinkedService *LinkedServiceReference `json:"sparkJobLinkedService,omitempty"` - // ClassName - The application's Java/Spark main class. - ClassName *string `json:"className,omitempty"` - // ProxyUser - The user to impersonate that will execute the job. Type: string (or Expression with resultType string). - ProxyUser interface{} `json:"proxyUser,omitempty"` - // SparkConfig - Spark configuration property. - SparkConfig map[string]interface{} `json:"sparkConfig"` +// AsSapHanaLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for HDInsightSparkActivityTypeProperties. -func (hisatp HDInsightSparkActivityTypeProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if hisatp.RootPath != nil { - objectMap["rootPath"] = hisatp.RootPath - } - if hisatp.EntryFilePath != nil { - objectMap["entryFilePath"] = hisatp.EntryFilePath - } - if hisatp.Arguments != nil { - objectMap["arguments"] = hisatp.Arguments - } - if hisatp.GetDebugInfo != "" { - objectMap["getDebugInfo"] = hisatp.GetDebugInfo - } - if hisatp.SparkJobLinkedService != nil { - objectMap["sparkJobLinkedService"] = hisatp.SparkJobLinkedService - } - if hisatp.ClassName != nil { - objectMap["className"] = hisatp.ClassName - } - if hisatp.ProxyUser != nil { - objectMap["proxyUser"] = hisatp.ProxyUser - } - if hisatp.SparkConfig != nil { - objectMap["sparkConfig"] = hisatp.SparkConfig - } - return json.Marshal(objectMap) +// AsSapBWLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { + return nil, false } -// HDInsightStreamingActivity hDInsight streaming activity type. -type HDInsightStreamingActivity struct { - // HDInsightStreamingActivityTypeProperties - HDInsight streaming activity properties. - *HDInsightStreamingActivityTypeProperties `json:"typeProperties,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Policy - Activity policy. - Policy *ActivityPolicy `json:"policy,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Name - Activity name. - Name *string `json:"name,omitempty"` - // Description - Activity description. - Description *string `json:"description,omitempty"` - // DependsOn - Activity depends on condition. - DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // UserProperties - Activity user properties. - UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' - Type TypeBasicActivity `json:"type,omitempty"` +// AsSftpServerLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) MarshalJSON() ([]byte, error) { - hisa.Type = TypeHDInsightStreaming - objectMap := make(map[string]interface{}) - if hisa.HDInsightStreamingActivityTypeProperties != nil { - objectMap["typeProperties"] = hisa.HDInsightStreamingActivityTypeProperties - } - if hisa.LinkedServiceName != nil { - objectMap["linkedServiceName"] = hisa.LinkedServiceName - } - if hisa.Policy != nil { - objectMap["policy"] = hisa.Policy - } - if hisa.Name != nil { - objectMap["name"] = hisa.Name - } - if hisa.Description != nil { - objectMap["description"] = hisa.Description - } - if hisa.DependsOn != nil { - objectMap["dependsOn"] = hisa.DependsOn - } - if hisa.UserProperties != nil { - objectMap["userProperties"] = hisa.UserProperties - } - if hisa.Type != "" { - objectMap["type"] = hisa.Type - } - for k, v := range hisa.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsFtpServerLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { + return nil, false } -// AsAzureFunctionActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsWebActivity() (*WebActivity, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsDeleteActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { - return &hisa, true +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { + return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsCopyActivity() (*CopyActivity, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { - return &hisa, true +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false } -// AsWebHookActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsWebHookActivity() (*WebHookActivity, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsFilterActivity() (*FilterActivity, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsValidationActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsValidationActivity() (*ValidationActivity, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsUntilActivity() (*UntilActivity, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsControlActivity() (*ControlActivity, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsBasicControlActivity() (BasicControlActivity, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsActivity() (*Activity, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsBasicActivity() (BasicActivity, bool) { - return &hisa, true +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for HDInsightStreamingActivity struct. -func (hisa *HDInsightStreamingActivity) UnmarshalJSON(body []byte) error { +// AsDynamicsLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false +} + +// AsCosmosDbLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false +} + +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false +} + +// AsAzureBatchLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} + +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &gawls, true +} + +// UnmarshalJSON is the custom unmarshaler for GoogleAdWordsLinkedService struct. +func (gawls *GoogleAdWordsLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -74106,30 +75934,12 @@ func (hisa *HDInsightStreamingActivity) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var hDInsightStreamingActivityTypeProperties HDInsightStreamingActivityTypeProperties - err = json.Unmarshal(*v, &hDInsightStreamingActivityTypeProperties) - if err != nil { - return err - } - hisa.HDInsightStreamingActivityTypeProperties = &hDInsightStreamingActivityTypeProperties - } - case "linkedServiceName": - if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) - if err != nil { - return err - } - hisa.LinkedServiceName = &linkedServiceName - } - case "policy": - if v != nil { - var policy ActivityPolicy - err = json.Unmarshal(*v, &policy) + var googleAdWordsLinkedServiceTypeProperties GoogleAdWordsLinkedServiceTypeProperties + err = json.Unmarshal(*v, &googleAdWordsLinkedServiceTypeProperties) if err != nil { return err } - hisa.Policy = &policy + gawls.GoogleAdWordsLinkedServiceTypeProperties = &googleAdWordsLinkedServiceTypeProperties } default: if v != nil { @@ -74138,19 +75948,19 @@ func (hisa *HDInsightStreamingActivity) UnmarshalJSON(body []byte) error { if err != nil { return err } - if hisa.AdditionalProperties == nil { - hisa.AdditionalProperties = make(map[string]interface{}) + if gawls.AdditionalProperties == nil { + gawls.AdditionalProperties = make(map[string]interface{}) } - hisa.AdditionalProperties[k] = additionalProperties + gawls.AdditionalProperties[k] = additionalProperties } - case "name": + case "connectVia": if v != nil { - var name string - err = json.Unmarshal(*v, &name) + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) if err != nil { return err } - hisa.Name = &name + gawls.ConnectVia = &connectVia } case "description": if v != nil { @@ -74159,34 +75969,34 @@ func (hisa *HDInsightStreamingActivity) UnmarshalJSON(body []byte) error { if err != nil { return err } - hisa.Description = &description + gawls.Description = &description } - case "dependsOn": + case "parameters": if v != nil { - var dependsOn []ActivityDependency - err = json.Unmarshal(*v, &dependsOn) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - hisa.DependsOn = &dependsOn + gawls.Parameters = parameters } - case "userProperties": + case "annotations": if v != nil { - var userProperties []UserProperty - err = json.Unmarshal(*v, &userProperties) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - hisa.UserProperties = &userProperties + gawls.Annotations = &annotations } case "type": if v != nil { - var typeVar TypeBasicActivity + var typeVar TypeBasicLinkedService err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - hisa.Type = typeVar + gawls.Type = typeVar } } } @@ -74194,554 +76004,605 @@ func (hisa *HDInsightStreamingActivity) UnmarshalJSON(body []byte) error { return nil } -// HDInsightStreamingActivityTypeProperties hDInsight streaming activity properties. -type HDInsightStreamingActivityTypeProperties struct { - // StorageLinkedServices - Storage linked service references. - StorageLinkedServices *[]LinkedServiceReference `json:"storageLinkedServices,omitempty"` - // Arguments - User specified arguments to HDInsightActivity. - Arguments *[]interface{} `json:"arguments,omitempty"` - // GetDebugInfo - Debug info option. Possible values include: 'None', 'Always', 'Failure' - GetDebugInfo HDInsightActivityDebugInfoOption `json:"getDebugInfo,omitempty"` - // Mapper - Mapper executable name. Type: string (or Expression with resultType string). - Mapper interface{} `json:"mapper,omitempty"` - // Reducer - Reducer executable name. Type: string (or Expression with resultType string). - Reducer interface{} `json:"reducer,omitempty"` - // Input - Input blob path. Type: string (or Expression with resultType string). - Input interface{} `json:"input,omitempty"` - // Output - Output blob path. Type: string (or Expression with resultType string). - Output interface{} `json:"output,omitempty"` - // FilePaths - Paths to streaming job files. Can be directories. - FilePaths *[]interface{} `json:"filePaths,omitempty"` - // FileLinkedService - Linked service reference where the files are located. - FileLinkedService *LinkedServiceReference `json:"fileLinkedService,omitempty"` - // Combiner - Combiner executable name. Type: string (or Expression with resultType string). - Combiner interface{} `json:"combiner,omitempty"` - // CommandEnvironment - Command line environment values. - CommandEnvironment *[]interface{} `json:"commandEnvironment,omitempty"` - // Defines - Allows user to specify defines for streaming job request. - Defines map[string]interface{} `json:"defines"` +// GoogleAdWordsLinkedServiceTypeProperties google AdWords service linked service properties. +type GoogleAdWordsLinkedServiceTypeProperties struct { + // ClientCustomerID - The Client customer ID of the AdWords account that you want to fetch report data for. + ClientCustomerID interface{} `json:"clientCustomerID,omitempty"` + // DeveloperToken - The developer token associated with the manager account that you use to grant access to the AdWords API. + DeveloperToken BasicSecretBase `json:"developerToken,omitempty"` + // AuthenticationType - The OAuth 2.0 authentication mechanism used for authentication. ServiceAuthentication can only be used on self-hosted IR. Possible values include: 'ServiceAuthentication', 'UserAuthentication' + AuthenticationType GoogleAdWordsAuthenticationType `json:"authenticationType,omitempty"` + // RefreshToken - The refresh token obtained from Google for authorizing access to AdWords for UserAuthentication. + RefreshToken BasicSecretBase `json:"refreshToken,omitempty"` + // ClientID - The client id of the google application used to acquire the refresh token. + ClientID BasicSecretBase `json:"clientId,omitempty"` + // ClientSecret - The client secret of the google application used to acquire the refresh token. + ClientSecret BasicSecretBase `json:"clientSecret,omitempty"` + // Email - The service account email ID that is used for ServiceAuthentication and can only be used on self-hosted IR. + Email interface{} `json:"email,omitempty"` + // KeyFilePath - The full path to the .p12 key file that is used to authenticate the service account email address and can only be used on self-hosted IR. + KeyFilePath interface{} `json:"keyFilePath,omitempty"` + // TrustedCertPath - 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. + TrustedCertPath interface{} `json:"trustedCertPath,omitempty"` + // UseSystemTrustStore - Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. + UseSystemTrustStore interface{} `json:"useSystemTrustStore,omitempty"` + // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` } -// MarshalJSON is the custom marshaler for HDInsightStreamingActivityTypeProperties. -func (hisatp HDInsightStreamingActivityTypeProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if hisatp.StorageLinkedServices != nil { - objectMap["storageLinkedServices"] = hisatp.StorageLinkedServices - } - if hisatp.Arguments != nil { - objectMap["arguments"] = hisatp.Arguments - } - if hisatp.GetDebugInfo != "" { - objectMap["getDebugInfo"] = hisatp.GetDebugInfo - } - if hisatp.Mapper != nil { - objectMap["mapper"] = hisatp.Mapper - } - if hisatp.Reducer != nil { - objectMap["reducer"] = hisatp.Reducer - } - if hisatp.Input != nil { - objectMap["input"] = hisatp.Input - } - if hisatp.Output != nil { - objectMap["output"] = hisatp.Output - } - if hisatp.FilePaths != nil { - objectMap["filePaths"] = hisatp.FilePaths - } - if hisatp.FileLinkedService != nil { - objectMap["fileLinkedService"] = hisatp.FileLinkedService - } - if hisatp.Combiner != nil { - objectMap["combiner"] = hisatp.Combiner - } - if hisatp.CommandEnvironment != nil { - objectMap["commandEnvironment"] = hisatp.CommandEnvironment +// UnmarshalJSON is the custom unmarshaler for GoogleAdWordsLinkedServiceTypeProperties struct. +func (gawlstp *GoogleAdWordsLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err } - if hisatp.Defines != nil { - objectMap["defines"] = hisatp.Defines + for k, v := range m { + switch k { + case "clientCustomerID": + if v != nil { + var clientCustomerID interface{} + err = json.Unmarshal(*v, &clientCustomerID) + if err != nil { + return err + } + gawlstp.ClientCustomerID = clientCustomerID + } + case "developerToken": + if v != nil { + developerToken, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + gawlstp.DeveloperToken = developerToken + } + case "authenticationType": + if v != nil { + var authenticationType GoogleAdWordsAuthenticationType + err = json.Unmarshal(*v, &authenticationType) + if err != nil { + return err + } + gawlstp.AuthenticationType = authenticationType + } + case "refreshToken": + if v != nil { + refreshToken, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + gawlstp.RefreshToken = refreshToken + } + case "clientId": + if v != nil { + clientID, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + gawlstp.ClientID = clientID + } + case "clientSecret": + if v != nil { + clientSecret, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + gawlstp.ClientSecret = clientSecret + } + case "email": + if v != nil { + var email interface{} + err = json.Unmarshal(*v, &email) + if err != nil { + return err + } + gawlstp.Email = email + } + case "keyFilePath": + if v != nil { + var keyFilePath interface{} + err = json.Unmarshal(*v, &keyFilePath) + if err != nil { + return err + } + gawlstp.KeyFilePath = keyFilePath + } + case "trustedCertPath": + if v != nil { + var trustedCertPath interface{} + err = json.Unmarshal(*v, &trustedCertPath) + if err != nil { + return err + } + gawlstp.TrustedCertPath = trustedCertPath + } + case "useSystemTrustStore": + if v != nil { + var useSystemTrustStore interface{} + err = json.Unmarshal(*v, &useSystemTrustStore) + if err != nil { + return err + } + gawlstp.UseSystemTrustStore = useSystemTrustStore + } + case "encryptedCredential": + if v != nil { + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) + if err != nil { + return err + } + gawlstp.EncryptedCredential = encryptedCredential + } + } } - return json.Marshal(objectMap) + + return nil } -// HiveLinkedService hive Server linked service. -type HiveLinkedService struct { - // HiveLinkedServiceTypeProperties - Hive Server linked service properties. - *HiveLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// GoogleAdWordsObjectDataset google AdWords service dataset. +type GoogleAdWordsObjectDataset struct { + // GenericDatasetTypeProperties - Properties specific to this dataset type. + *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. + // Description - Dataset description. Description *string `json:"description,omitempty"` - // Parameters - Parameters for linked service. + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the linked service. + // Annotations - List of tags that can be used for describing the Dataset. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for HiveLinkedService. -func (hls HiveLinkedService) MarshalJSON() ([]byte, error) { - hls.Type = TypeHive +// MarshalJSON is the custom marshaler for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) MarshalJSON() ([]byte, error) { + gawod.Type = TypeGoogleAdWordsObject objectMap := make(map[string]interface{}) - if hls.HiveLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = hls.HiveLinkedServiceTypeProperties + if gawod.GenericDatasetTypeProperties != nil { + objectMap["typeProperties"] = gawod.GenericDatasetTypeProperties } - if hls.ConnectVia != nil { - objectMap["connectVia"] = hls.ConnectVia + if gawod.Description != nil { + objectMap["description"] = gawod.Description } - if hls.Description != nil { - objectMap["description"] = hls.Description + if gawod.Structure != nil { + objectMap["structure"] = gawod.Structure } - if hls.Parameters != nil { - objectMap["parameters"] = hls.Parameters + if gawod.Schema != nil { + objectMap["schema"] = gawod.Schema } - if hls.Annotations != nil { - objectMap["annotations"] = hls.Annotations + if gawod.LinkedServiceName != nil { + objectMap["linkedServiceName"] = gawod.LinkedServiceName } - if hls.Type != "" { - objectMap["type"] = hls.Type + if gawod.Parameters != nil { + objectMap["parameters"] = gawod.Parameters } - for k, v := range hls.AdditionalProperties { + if gawod.Annotations != nil { + objectMap["annotations"] = gawod.Annotations + } + if gawod.Folder != nil { + objectMap["folder"] = gawod.Folder + } + if gawod.Type != "" { + objectMap["type"] = gawod.Type + } + for k, v := range gawod.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { - return nil, false -} - -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { - return nil, false -} - -// AsSapTableLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { - return nil, false -} - -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { - return nil, false -} - -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { - return nil, false -} - -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { - return nil, false +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { + return &gawod, true } -// AsResponsysLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { - return &hls, true -} - -// AsHBaseLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsDrillTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsHTTPDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsWebTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsRestResourceDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsInformixTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsOracleTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsODataResourceDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsFileShareDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsOffice365Dataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsCustomDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsAzureTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsBinaryDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsParquetDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAmazonS3Dataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsDataset() (*Dataset, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &hls, true +// AsBasicDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsBasicDataset() (BasicDataset, bool) { + return &gawod, true } -// UnmarshalJSON is the custom unmarshaler for HiveLinkedService struct. -func (hls *HiveLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for GoogleAdWordsObjectDataset struct. +func (gawod *GoogleAdWordsObjectDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -74751,12 +76612,12 @@ func (hls *HiveLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var hiveLinkedServiceTypeProperties HiveLinkedServiceTypeProperties - err = json.Unmarshal(*v, &hiveLinkedServiceTypeProperties) + var genericDatasetTypeProperties GenericDatasetTypeProperties + err = json.Unmarshal(*v, &genericDatasetTypeProperties) if err != nil { return err } - hls.HiveLinkedServiceTypeProperties = &hiveLinkedServiceTypeProperties + gawod.GenericDatasetTypeProperties = &genericDatasetTypeProperties } default: if v != nil { @@ -74765,19 +76626,10 @@ func (hls *HiveLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if hls.AdditionalProperties == nil { - hls.AdditionalProperties = make(map[string]interface{}) - } - hls.AdditionalProperties[k] = additionalProperties - } - case "connectVia": - if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) - if err != nil { - return err + if gawod.AdditionalProperties == nil { + gawod.AdditionalProperties = make(map[string]interface{}) } - hls.ConnectVia = &connectVia + gawod.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -74786,239 +76638,70 @@ func (hls *HiveLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - hls.Description = &description - } - case "parameters": - if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) - if err != nil { - return err - } - hls.Parameters = parameters - } - case "annotations": - if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) - if err != nil { - return err - } - hls.Annotations = &annotations - } - case "type": - if v != nil { - var typeVar TypeBasicLinkedService - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - hls.Type = typeVar - } - } - } - - return nil -} - -// HiveLinkedServiceTypeProperties hive Server linked service properties. -type HiveLinkedServiceTypeProperties struct { - // Host - IP address or host name of the Hive server, separated by ';' for multiple hosts (only when serviceDiscoveryMode is enable). - Host interface{} `json:"host,omitempty"` - // Port - The TCP port that the Hive server uses to listen for client connections. - Port interface{} `json:"port,omitempty"` - // ServerType - The type of Hive server. Possible values include: 'HiveServer1', 'HiveServer2', 'HiveThriftServer' - ServerType HiveServerType `json:"serverType,omitempty"` - // ThriftTransportProtocol - The transport protocol to use in the Thrift layer. Possible values include: 'Binary', 'SASL', 'HTTP' - ThriftTransportProtocol HiveThriftTransportProtocol `json:"thriftTransportProtocol,omitempty"` - // AuthenticationType - The authentication method used to access the Hive server. Possible values include: 'Anonymous', 'Username', 'UsernameAndPassword', 'WindowsAzureHDInsightService' - AuthenticationType HiveAuthenticationType `json:"authenticationType,omitempty"` - // ServiceDiscoveryMode - true to indicate using the ZooKeeper service, false not. - ServiceDiscoveryMode interface{} `json:"serviceDiscoveryMode,omitempty"` - // ZooKeeperNameSpace - The namespace on ZooKeeper under which Hive Server 2 nodes are added. - ZooKeeperNameSpace interface{} `json:"zooKeeperNameSpace,omitempty"` - // UseNativeQuery - Specifies whether the driver uses native HiveQL queries,or converts them into an equivalent form in HiveQL. - UseNativeQuery interface{} `json:"useNativeQuery,omitempty"` - // Username - The user name that you use to access Hive Server. - Username interface{} `json:"username,omitempty"` - // Password - The password corresponding to the user name that you provided in the Username field - Password BasicSecretBase `json:"password,omitempty"` - // HTTPPath - The partial URL corresponding to the Hive server. - HTTPPath interface{} `json:"httpPath,omitempty"` - // EnableSsl - Specifies whether the connections to the server are encrypted using SSL. The default value is false. - EnableSsl interface{} `json:"enableSsl,omitempty"` - // TrustedCertPath - 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. - TrustedCertPath interface{} `json:"trustedCertPath,omitempty"` - // UseSystemTrustStore - Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. - UseSystemTrustStore interface{} `json:"useSystemTrustStore,omitempty"` - // AllowHostNameCNMismatch - 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. - AllowHostNameCNMismatch interface{} `json:"allowHostNameCNMismatch,omitempty"` - // AllowSelfSignedServerCert - Specifies whether to allow self-signed certificates from the server. The default value is false. - AllowSelfSignedServerCert interface{} `json:"allowSelfSignedServerCert,omitempty"` - // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). - EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` -} - -// UnmarshalJSON is the custom unmarshaler for HiveLinkedServiceTypeProperties struct. -func (hlstp *HiveLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "host": - if v != nil { - var host interface{} - err = json.Unmarshal(*v, &host) - if err != nil { - return err - } - hlstp.Host = host - } - case "port": - if v != nil { - var port interface{} - err = json.Unmarshal(*v, &port) - if err != nil { - return err - } - hlstp.Port = port - } - case "serverType": - if v != nil { - var serverType HiveServerType - err = json.Unmarshal(*v, &serverType) - if err != nil { - return err - } - hlstp.ServerType = serverType - } - case "thriftTransportProtocol": - if v != nil { - var thriftTransportProtocol HiveThriftTransportProtocol - err = json.Unmarshal(*v, &thriftTransportProtocol) - if err != nil { - return err - } - hlstp.ThriftTransportProtocol = thriftTransportProtocol - } - case "authenticationType": - if v != nil { - var authenticationType HiveAuthenticationType - err = json.Unmarshal(*v, &authenticationType) - if err != nil { - return err - } - hlstp.AuthenticationType = authenticationType - } - case "serviceDiscoveryMode": - if v != nil { - var serviceDiscoveryMode interface{} - err = json.Unmarshal(*v, &serviceDiscoveryMode) - if err != nil { - return err - } - hlstp.ServiceDiscoveryMode = serviceDiscoveryMode - } - case "zooKeeperNameSpace": - if v != nil { - var zooKeeperNameSpace interface{} - err = json.Unmarshal(*v, &zooKeeperNameSpace) - if err != nil { - return err - } - hlstp.ZooKeeperNameSpace = zooKeeperNameSpace - } - case "useNativeQuery": - if v != nil { - var useNativeQuery interface{} - err = json.Unmarshal(*v, &useNativeQuery) - if err != nil { - return err - } - hlstp.UseNativeQuery = useNativeQuery - } - case "username": - if v != nil { - var username interface{} - err = json.Unmarshal(*v, &username) - if err != nil { - return err - } - hlstp.Username = username - } - case "password": - if v != nil { - password, err := unmarshalBasicSecretBase(*v) - if err != nil { - return err - } - hlstp.Password = password + gawod.Description = &description } - case "httpPath": + case "structure": if v != nil { - var HTTPPath interface{} - err = json.Unmarshal(*v, &HTTPPath) + var structure interface{} + err = json.Unmarshal(*v, &structure) if err != nil { return err } - hlstp.HTTPPath = HTTPPath + gawod.Structure = structure } - case "enableSsl": + case "schema": if v != nil { - var enableSsl interface{} - err = json.Unmarshal(*v, &enableSsl) + var schema interface{} + err = json.Unmarshal(*v, &schema) if err != nil { return err } - hlstp.EnableSsl = enableSsl + gawod.Schema = schema } - case "trustedCertPath": + case "linkedServiceName": if v != nil { - var trustedCertPath interface{} - err = json.Unmarshal(*v, &trustedCertPath) + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) if err != nil { return err } - hlstp.TrustedCertPath = trustedCertPath + gawod.LinkedServiceName = &linkedServiceName } - case "useSystemTrustStore": + case "parameters": if v != nil { - var useSystemTrustStore interface{} - err = json.Unmarshal(*v, &useSystemTrustStore) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - hlstp.UseSystemTrustStore = useSystemTrustStore + gawod.Parameters = parameters } - case "allowHostNameCNMismatch": + case "annotations": if v != nil { - var allowHostNameCNMismatch interface{} - err = json.Unmarshal(*v, &allowHostNameCNMismatch) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - hlstp.AllowHostNameCNMismatch = allowHostNameCNMismatch + gawod.Annotations = &annotations } - case "allowSelfSignedServerCert": + case "folder": if v != nil { - var allowSelfSignedServerCert interface{} - err = json.Unmarshal(*v, &allowSelfSignedServerCert) + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) if err != nil { return err } - hlstp.AllowSelfSignedServerCert = allowSelfSignedServerCert + gawod.Folder = &folder } - case "encryptedCredential": + case "type": if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) + var typeVar TypeBasicDataset + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - hlstp.EncryptedCredential = encryptedCredential + gawod.Type = typeVar } } } @@ -75026,414 +76709,459 @@ func (hlstp *HiveLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { return nil } -// HiveObjectDataset hive Server dataset. -type HiveObjectDataset struct { - // GenericDatasetTypeProperties - Properties specific to this dataset type. - *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` +// GoogleAdWordsSource a copy activity Google AdWords service source. +type GoogleAdWordsSource struct { + // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). + Query interface{} `json:"query,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Description - Dataset description. - Description *string `json:"description,omitempty"` - // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. - Structure interface{} `json:"structure,omitempty"` - // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - Schema interface{} `json:"schema,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Parameters - Parameters for dataset. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the Dataset. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' - Type TypeBasicDataset `json:"type,omitempty"` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for HiveObjectDataset. -func (hod HiveObjectDataset) MarshalJSON() ([]byte, error) { - hod.Type = TypeHiveObject +// MarshalJSON is the custom marshaler for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) MarshalJSON() ([]byte, error) { + gaws.Type = TypeGoogleAdWordsSource objectMap := make(map[string]interface{}) - if hod.GenericDatasetTypeProperties != nil { - objectMap["typeProperties"] = hod.GenericDatasetTypeProperties - } - if hod.Description != nil { - objectMap["description"] = hod.Description - } - if hod.Structure != nil { - objectMap["structure"] = hod.Structure - } - if hod.Schema != nil { - objectMap["schema"] = hod.Schema - } - if hod.LinkedServiceName != nil { - objectMap["linkedServiceName"] = hod.LinkedServiceName + if gaws.Query != nil { + objectMap["query"] = gaws.Query } - if hod.Parameters != nil { - objectMap["parameters"] = hod.Parameters + if gaws.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = gaws.SourceRetryCount } - if hod.Annotations != nil { - objectMap["annotations"] = hod.Annotations + if gaws.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = gaws.SourceRetryWait } - if hod.Folder != nil { - objectMap["folder"] = hod.Folder + if gaws.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = gaws.MaxConcurrentConnections } - if hod.Type != "" { - objectMap["type"] = hod.Type + if gaws.Type != "" { + objectMap["type"] = gaws.Type } - for k, v := range hod.AdditionalProperties { + for k, v := range gaws.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { + return &gaws, true +} + +// AsOracleServiceCloudSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsResponsysSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsVerticaSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsNetezzaSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsZohoSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsXeroSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsSquareSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsSparkSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsShopifySource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsServiceNowSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsPrestoSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsPhoenixSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsPaypalSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsMarketoSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsMariaDBSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsMagentoSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsJiraSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsImpalaSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsHubspotSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsHiveSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { - return &hod, true +// AsHBaseSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsHBaseSource() (*HBaseSource, bool) { + return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsGreenplumSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsEloquaSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsDrillSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsConcurSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsHTTPSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsOffice365Source is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsMongoDbSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsCassandraSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsWebSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsTeradataSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsOracleSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsHdfsSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsFileSystemSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsSQLDWSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsSQLMISource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsSQLServerSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsSQLSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsRestSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsSapTableSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsSapHanaSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsSapEccSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsSalesforceSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsODataSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsSybaseSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsMySQLSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsOdbcSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsDb2Source is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsDataset() (*Dataset, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsBasicDataset() (BasicDataset, bool) { - return &hod, true +// AsInformixSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsInformixSource() (*InformixSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for HiveObjectDataset struct. -func (hod *HiveObjectDataset) UnmarshalJSON(body []byte) error { +// AsRelationalSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + +// AsDynamicsSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + +// AsAzureTableSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsBinarySource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsDelimitedTextSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false +} + +// AsParquetSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsBasicCopySource() (BasicCopySource, bool) { + return &gaws, true +} + +// UnmarshalJSON is the custom unmarshaler for GoogleAdWordsSource struct. +func (gaws *GoogleAdWordsSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -75441,14 +77169,14 @@ func (hod *HiveObjectDataset) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": + case "query": if v != nil { - var genericDatasetTypeProperties GenericDatasetTypeProperties - err = json.Unmarshal(*v, &genericDatasetTypeProperties) + var query interface{} + err = json.Unmarshal(*v, &query) if err != nil { return err } - hod.GenericDatasetTypeProperties = &genericDatasetTypeProperties + gaws.Query = query } default: if v != nil { @@ -75457,82 +77185,46 @@ func (hod *HiveObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if hod.AdditionalProperties == nil { - hod.AdditionalProperties = make(map[string]interface{}) - } - hod.AdditionalProperties[k] = additionalProperties - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - hod.Description = &description - } - case "structure": - if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) - if err != nil { - return err - } - hod.Structure = structure - } - case "schema": - if v != nil { - var schema interface{} - err = json.Unmarshal(*v, &schema) - if err != nil { - return err - } - hod.Schema = schema - } - case "linkedServiceName": - if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) - if err != nil { - return err + if gaws.AdditionalProperties == nil { + gaws.AdditionalProperties = make(map[string]interface{}) } - hod.LinkedServiceName = &linkedServiceName + gaws.AdditionalProperties[k] = additionalProperties } - case "parameters": + case "sourceRetryCount": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) if err != nil { return err } - hod.Parameters = parameters + gaws.SourceRetryCount = sourceRetryCount } - case "annotations": + case "sourceRetryWait": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) if err != nil { return err } - hod.Annotations = &annotations + gaws.SourceRetryWait = sourceRetryWait } - case "folder": + case "maxConcurrentConnections": if v != nil { - var folder DatasetFolder - err = json.Unmarshal(*v, &folder) + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) if err != nil { return err } - hod.Folder = &folder + gaws.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicDataset + var typeVar TypeBasicCopySource err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - hod.Type = typeVar + gaws.Type = typeVar } } } @@ -75540,389 +77232,514 @@ func (hod *HiveObjectDataset) UnmarshalJSON(body []byte) error { return nil } -// HiveSource a copy activity Hive Server source. -type HiveSource struct { - // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). - Query interface{} `json:"query,omitempty"` +// GoogleBigQueryLinkedService google BigQuery service linked service. +type GoogleBigQueryLinkedService struct { + // GoogleBigQueryLinkedServiceTypeProperties - Google BigQuery service linked service properties. + *GoogleBigQueryLinkedServiceTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). - SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` - // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' - Type TypeBasicCopySource `json:"type,omitempty"` + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. + Description *string `json:"description,omitempty"` + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the linked service. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for HiveSource. -func (hs HiveSource) MarshalJSON() ([]byte, error) { - hs.Type = TypeHiveSource +// MarshalJSON is the custom marshaler for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) MarshalJSON() ([]byte, error) { + gbqls.Type = TypeGoogleBigQuery objectMap := make(map[string]interface{}) - if hs.Query != nil { - objectMap["query"] = hs.Query + if gbqls.GoogleBigQueryLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = gbqls.GoogleBigQueryLinkedServiceTypeProperties } - if hs.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = hs.SourceRetryCount + if gbqls.ConnectVia != nil { + objectMap["connectVia"] = gbqls.ConnectVia } - if hs.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = hs.SourceRetryWait + if gbqls.Description != nil { + objectMap["description"] = gbqls.Description } - if hs.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = hs.MaxConcurrentConnections + if gbqls.Parameters != nil { + objectMap["parameters"] = gbqls.Parameters } - if hs.Type != "" { - objectMap["type"] = hs.Type + if gbqls.Annotations != nil { + objectMap["annotations"] = gbqls.Annotations } - for k, v := range hs.AdditionalProperties { + if gbqls.Type != "" { + objectMap["type"] = gbqls.Type + } + for k, v := range gbqls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsVerticaSource() (*VerticaSource, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsZohoSource() (*ZohoSource, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsXeroSource() (*XeroSource, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsSquareSource() (*SquareSource, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsSparkSource() (*SparkSource, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsShopifySource() (*ShopifySource, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsPrestoSource() (*PrestoSource, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsPaypalSource() (*PaypalSource, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsMarketoSource() (*MarketoSource, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsMagentoSource() (*MagentoSource, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsJiraSource() (*JiraSource, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsHubspotSource() (*HubspotSource, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsHiveSource() (*HiveSource, bool) { - return &hs, true +// AsMariaDBLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { + return nil, false } -// AsHBaseSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsHBaseSource() (*HBaseSource, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsEloquaSource() (*EloquaSource, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsDrillSource() (*DrillSource, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsConcurSource() (*ConcurSource, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { + return &gbqls, true +} + +// AsEloquaLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsHTTPSource() (*HTTPSource, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsOffice365Source() (*Office365Source, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsCassandraSource() (*CassandraSource, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsWebSource() (*WebSource, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsOracleSource() (*OracleSource, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsHdfsSource() (*HdfsSource, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsSQLSource() (*SQLSource, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsRestSource() (*RestSource, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsSapTableSource() (*SapTableSource, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsSapEccSource() (*SapEccSource, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsRelationalSource() (*RelationalSource, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsBlobSource() (*BlobSource, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsParquetSource() (*ParquetSource, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsCopySource() (*CopySource, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsBasicCopySource() (BasicCopySource, bool) { - return &hs, true +// AsTeradataLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for HiveSource struct. -func (hs *HiveSource) UnmarshalJSON(body []byte) error { +// AsDb2LinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return nil, false +} + +// AsSybaseLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { + return nil, false +} + +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { + return nil, false +} + +// AsMySQLLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { + return nil, false +} + +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { + return nil, false +} + +// AsOracleLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { + return nil, false +} + +// AsFileServerLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { + return nil, false +} + +// AsHDInsightLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + +// AsDynamicsLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false +} + +// AsCosmosDbLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false +} + +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false +} + +// AsAzureBatchLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} + +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &gbqls, true +} + +// UnmarshalJSON is the custom unmarshaler for GoogleBigQueryLinkedService struct. +func (gbqls *GoogleBigQueryLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -75930,14 +77747,14 @@ func (hs *HiveSource) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "query": + case "typeProperties": if v != nil { - var query interface{} - err = json.Unmarshal(*v, &query) + var googleBigQueryLinkedServiceTypeProperties GoogleBigQueryLinkedServiceTypeProperties + err = json.Unmarshal(*v, &googleBigQueryLinkedServiceTypeProperties) if err != nil { return err } - hs.Query = query + gbqls.GoogleBigQueryLinkedServiceTypeProperties = &googleBigQueryLinkedServiceTypeProperties } default: if v != nil { @@ -75946,46 +77763,55 @@ func (hs *HiveSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - if hs.AdditionalProperties == nil { - hs.AdditionalProperties = make(map[string]interface{}) + if gbqls.AdditionalProperties == nil { + gbqls.AdditionalProperties = make(map[string]interface{}) } - hs.AdditionalProperties[k] = additionalProperties + gbqls.AdditionalProperties[k] = additionalProperties } - case "sourceRetryCount": + case "connectVia": if v != nil { - var sourceRetryCount interface{} - err = json.Unmarshal(*v, &sourceRetryCount) + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) if err != nil { return err } - hs.SourceRetryCount = sourceRetryCount + gbqls.ConnectVia = &connectVia } - case "sourceRetryWait": + case "description": if v != nil { - var sourceRetryWait interface{} - err = json.Unmarshal(*v, &sourceRetryWait) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - hs.SourceRetryWait = sourceRetryWait + gbqls.Description = &description } - case "maxConcurrentConnections": + case "parameters": if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - hs.MaxConcurrentConnections = maxConcurrentConnections + gbqls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + gbqls.Annotations = &annotations } case "type": if v != nil { - var typeVar TypeBasicCopySource + var typeVar TypeBasicLinkedService err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - hs.Type = typeVar + gbqls.Type = typeVar } } } @@ -75993,10 +77819,158 @@ func (hs *HiveSource) UnmarshalJSON(body []byte) error { return nil } -// HTTPDataset a file in an HTTP web server. -type HTTPDataset struct { - // HTTPDatasetTypeProperties - Properties specific to this dataset type. - *HTTPDatasetTypeProperties `json:"typeProperties,omitempty"` +// GoogleBigQueryLinkedServiceTypeProperties google BigQuery service linked service properties. +type GoogleBigQueryLinkedServiceTypeProperties struct { + // Project - The default BigQuery project to query against. + Project interface{} `json:"project,omitempty"` + // AdditionalProjects - A comma-separated list of public BigQuery projects to access. + AdditionalProjects interface{} `json:"additionalProjects,omitempty"` + // RequestGoogleDriveScope - Whether to request access to Google Drive. Allowing Google Drive access enables support for federated tables that combine BigQuery data with data from Google Drive. The default value is false. + RequestGoogleDriveScope interface{} `json:"requestGoogleDriveScope,omitempty"` + // AuthenticationType - The OAuth 2.0 authentication mechanism used for authentication. ServiceAuthentication can only be used on self-hosted IR. Possible values include: 'GoogleBigQueryAuthenticationTypeServiceAuthentication', 'GoogleBigQueryAuthenticationTypeUserAuthentication' + AuthenticationType GoogleBigQueryAuthenticationType `json:"authenticationType,omitempty"` + // RefreshToken - The refresh token obtained from Google for authorizing access to BigQuery for UserAuthentication. + RefreshToken BasicSecretBase `json:"refreshToken,omitempty"` + // ClientID - The client id of the google application used to acquire the refresh token. + ClientID BasicSecretBase `json:"clientId,omitempty"` + // ClientSecret - The client secret of the google application used to acquire the refresh token. + ClientSecret BasicSecretBase `json:"clientSecret,omitempty"` + // Email - The service account email ID that is used for ServiceAuthentication and can only be used on self-hosted IR. + Email interface{} `json:"email,omitempty"` + // KeyFilePath - The full path to the .p12 key file that is used to authenticate the service account email address and can only be used on self-hosted IR. + KeyFilePath interface{} `json:"keyFilePath,omitempty"` + // TrustedCertPath - 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. + TrustedCertPath interface{} `json:"trustedCertPath,omitempty"` + // UseSystemTrustStore - Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. + UseSystemTrustStore interface{} `json:"useSystemTrustStore,omitempty"` + // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` +} + +// UnmarshalJSON is the custom unmarshaler for GoogleBigQueryLinkedServiceTypeProperties struct. +func (gbqlstp *GoogleBigQueryLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "project": + if v != nil { + var project interface{} + err = json.Unmarshal(*v, &project) + if err != nil { + return err + } + gbqlstp.Project = project + } + case "additionalProjects": + if v != nil { + var additionalProjects interface{} + err = json.Unmarshal(*v, &additionalProjects) + if err != nil { + return err + } + gbqlstp.AdditionalProjects = additionalProjects + } + case "requestGoogleDriveScope": + if v != nil { + var requestGoogleDriveScope interface{} + err = json.Unmarshal(*v, &requestGoogleDriveScope) + if err != nil { + return err + } + gbqlstp.RequestGoogleDriveScope = requestGoogleDriveScope + } + case "authenticationType": + if v != nil { + var authenticationType GoogleBigQueryAuthenticationType + err = json.Unmarshal(*v, &authenticationType) + if err != nil { + return err + } + gbqlstp.AuthenticationType = authenticationType + } + case "refreshToken": + if v != nil { + refreshToken, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + gbqlstp.RefreshToken = refreshToken + } + case "clientId": + if v != nil { + clientID, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + gbqlstp.ClientID = clientID + } + case "clientSecret": + if v != nil { + clientSecret, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + gbqlstp.ClientSecret = clientSecret + } + case "email": + if v != nil { + var email interface{} + err = json.Unmarshal(*v, &email) + if err != nil { + return err + } + gbqlstp.Email = email + } + case "keyFilePath": + if v != nil { + var keyFilePath interface{} + err = json.Unmarshal(*v, &keyFilePath) + if err != nil { + return err + } + gbqlstp.KeyFilePath = keyFilePath + } + case "trustedCertPath": + if v != nil { + var trustedCertPath interface{} + err = json.Unmarshal(*v, &trustedCertPath) + if err != nil { + return err + } + gbqlstp.TrustedCertPath = trustedCertPath + } + case "useSystemTrustStore": + if v != nil { + var useSystemTrustStore interface{} + err = json.Unmarshal(*v, &useSystemTrustStore) + if err != nil { + return err + } + gbqlstp.UseSystemTrustStore = useSystemTrustStore + } + case "encryptedCredential": + if v != nil { + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) + if err != nil { + return err + } + gbqlstp.EncryptedCredential = encryptedCredential + } + } + } + + return nil +} + +// GoogleBigQueryObjectDataset google BigQuery service dataset. +type GoogleBigQueryObjectDataset struct { + // GenericDatasetTypeProperties - Properties specific to this dataset type. + *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // Description - Dataset description. @@ -76013,394 +77987,449 @@ type HTTPDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for HTTPDataset. -func (hd HTTPDataset) MarshalJSON() ([]byte, error) { - hd.Type = TypeHTTPFile +// MarshalJSON is the custom marshaler for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) MarshalJSON() ([]byte, error) { + gbqod.Type = TypeGoogleBigQueryObject objectMap := make(map[string]interface{}) - if hd.HTTPDatasetTypeProperties != nil { - objectMap["typeProperties"] = hd.HTTPDatasetTypeProperties + if gbqod.GenericDatasetTypeProperties != nil { + objectMap["typeProperties"] = gbqod.GenericDatasetTypeProperties } - if hd.Description != nil { - objectMap["description"] = hd.Description + if gbqod.Description != nil { + objectMap["description"] = gbqod.Description } - if hd.Structure != nil { - objectMap["structure"] = hd.Structure + if gbqod.Structure != nil { + objectMap["structure"] = gbqod.Structure } - if hd.Schema != nil { - objectMap["schema"] = hd.Schema + if gbqod.Schema != nil { + objectMap["schema"] = gbqod.Schema } - if hd.LinkedServiceName != nil { - objectMap["linkedServiceName"] = hd.LinkedServiceName + if gbqod.LinkedServiceName != nil { + objectMap["linkedServiceName"] = gbqod.LinkedServiceName } - if hd.Parameters != nil { - objectMap["parameters"] = hd.Parameters + if gbqod.Parameters != nil { + objectMap["parameters"] = gbqod.Parameters } - if hd.Annotations != nil { - objectMap["annotations"] = hd.Annotations + if gbqod.Annotations != nil { + objectMap["annotations"] = gbqod.Annotations } - if hd.Folder != nil { - objectMap["folder"] = hd.Folder + if gbqod.Folder != nil { + objectMap["folder"] = gbqod.Folder } - if hd.Type != "" { - objectMap["type"] = hd.Type + if gbqod.Type != "" { + objectMap["type"] = gbqod.Type } - for k, v := range hd.AdditionalProperties { + for k, v := range gbqod.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { + return &gbqod, true +} + +// AsEloquaObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsDrillTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsHTTPDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsHTTPDataset() (*HTTPDataset, bool) { - return &hd, true +// AsAzureSearchIndexDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { + return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsWebTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsRestResourceDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsInformixTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsOracleTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsODataResourceDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsFileShareDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsOffice365Dataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsCustomDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsDataset() (*Dataset, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsBasicDataset() (BasicDataset, bool) { - return &hd, true +// AsAzureSQLDWTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for HTTPDataset struct. -func (hd *HTTPDataset) UnmarshalJSON(body []byte) error { +// AsAzureSQLMITableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + +// AsAzureSQLTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { + return nil, false +} + +// AsAzureTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { + return nil, false +} + +// AsAzureBlobDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { + return nil, false +} + +// AsBinaryDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + +// AsDelimitedTextDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { + return nil, false +} + +// AsParquetDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsBasicDataset() (BasicDataset, bool) { + return &gbqod, true +} + +// UnmarshalJSON is the custom unmarshaler for GoogleBigQueryObjectDataset struct. +func (gbqod *GoogleBigQueryObjectDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -76410,12 +78439,12 @@ func (hd *HTTPDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var HTTPDatasetTypeProperties HTTPDatasetTypeProperties - err = json.Unmarshal(*v, &HTTPDatasetTypeProperties) + var genericDatasetTypeProperties GenericDatasetTypeProperties + err = json.Unmarshal(*v, &genericDatasetTypeProperties) if err != nil { return err } - hd.HTTPDatasetTypeProperties = &HTTPDatasetTypeProperties + gbqod.GenericDatasetTypeProperties = &genericDatasetTypeProperties } default: if v != nil { @@ -76424,10 +78453,10 @@ func (hd *HTTPDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if hd.AdditionalProperties == nil { - hd.AdditionalProperties = make(map[string]interface{}) + if gbqod.AdditionalProperties == nil { + gbqod.AdditionalProperties = make(map[string]interface{}) } - hd.AdditionalProperties[k] = additionalProperties + gbqod.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -76436,7 +78465,7 @@ func (hd *HTTPDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - hd.Description = &description + gbqod.Description = &description } case "structure": if v != nil { @@ -76445,7 +78474,7 @@ func (hd *HTTPDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - hd.Structure = structure + gbqod.Structure = structure } case "schema": if v != nil { @@ -76454,7 +78483,7 @@ func (hd *HTTPDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - hd.Schema = schema + gbqod.Schema = schema } case "linkedServiceName": if v != nil { @@ -76463,7 +78492,7 @@ func (hd *HTTPDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - hd.LinkedServiceName = &linkedServiceName + gbqod.LinkedServiceName = &linkedServiceName } case "parameters": if v != nil { @@ -76472,7 +78501,7 @@ func (hd *HTTPDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - hd.Parameters = parameters + gbqod.Parameters = parameters } case "annotations": if v != nil { @@ -76481,7 +78510,7 @@ func (hd *HTTPDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - hd.Annotations = &annotations + gbqod.Annotations = &annotations } case "folder": if v != nil { @@ -76490,7 +78519,7 @@ func (hd *HTTPDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - hd.Folder = &folder + gbqod.Folder = &folder } case "type": if v != nil { @@ -76499,92 +78528,7 @@ func (hd *HTTPDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - hd.Type = typeVar - } - } - } - - return nil -} - -// HTTPDatasetTypeProperties properties specific to this dataset type. -type HTTPDatasetTypeProperties struct { - // RelativeURL - The relative URL based on the URL in the HttpLinkedService refers to an HTTP file Type: string (or Expression with resultType string). - RelativeURL interface{} `json:"relativeUrl,omitempty"` - // RequestMethod - The HTTP method for the HTTP request. Type: string (or Expression with resultType string). - RequestMethod interface{} `json:"requestMethod,omitempty"` - // RequestBody - The body for the HTTP request. Type: string (or Expression with resultType string). - RequestBody interface{} `json:"requestBody,omitempty"` - // AdditionalHeaders - The headers for the HTTP Request. e.g. request-header-name-1:request-header-value-1 - // ... - // request-header-name-n:request-header-value-n Type: string (or Expression with resultType string). - AdditionalHeaders interface{} `json:"additionalHeaders,omitempty"` - // Format - The format of files. - Format BasicDatasetStorageFormat `json:"format,omitempty"` - // Compression - The data compression method used on files. - Compression BasicDatasetCompression `json:"compression,omitempty"` -} - -// UnmarshalJSON is the custom unmarshaler for HTTPDatasetTypeProperties struct. -func (hdtp *HTTPDatasetTypeProperties) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "relativeUrl": - if v != nil { - var relativeURL interface{} - err = json.Unmarshal(*v, &relativeURL) - if err != nil { - return err - } - hdtp.RelativeURL = relativeURL - } - case "requestMethod": - if v != nil { - var requestMethod interface{} - err = json.Unmarshal(*v, &requestMethod) - if err != nil { - return err - } - hdtp.RequestMethod = requestMethod - } - case "requestBody": - if v != nil { - var requestBody interface{} - err = json.Unmarshal(*v, &requestBody) - if err != nil { - return err - } - hdtp.RequestBody = requestBody - } - case "additionalHeaders": - if v != nil { - var additionalHeaders interface{} - err = json.Unmarshal(*v, &additionalHeaders) - if err != nil { - return err - } - hdtp.AdditionalHeaders = additionalHeaders - } - case "format": - if v != nil { - formatVar, err := unmarshalBasicDatasetStorageFormat(*v) - if err != nil { - return err - } - hdtp.Format = formatVar - } - case "compression": - if v != nil { - compression, err := unmarshalBasicDatasetCompression(*v) - if err != nil { - return err - } - hdtp.Compression = compression + gbqod.Type = typeVar } } } @@ -76592,484 +78536,459 @@ func (hdtp *HTTPDatasetTypeProperties) UnmarshalJSON(body []byte) error { return nil } -// HTTPLinkedService linked service for an HTTP source. -type HTTPLinkedService struct { - // HTTPLinkedServiceTypeProperties - Properties specific to this linked service type. - *HTTPLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// GoogleBigQuerySource a copy activity Google BigQuery service source. +type GoogleBigQuerySource struct { + // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). + Query interface{} `json:"query,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. - Description *string `json:"description,omitempty"` - // Parameters - Parameters for linked service. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the linked service. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for HTTPLinkedService. -func (hls HTTPLinkedService) MarshalJSON() ([]byte, error) { - hls.Type = TypeHTTPServer +// MarshalJSON is the custom marshaler for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) MarshalJSON() ([]byte, error) { + gbqs.Type = TypeGoogleBigQuerySource objectMap := make(map[string]interface{}) - if hls.HTTPLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = hls.HTTPLinkedServiceTypeProperties - } - if hls.ConnectVia != nil { - objectMap["connectVia"] = hls.ConnectVia + if gbqs.Query != nil { + objectMap["query"] = gbqs.Query } - if hls.Description != nil { - objectMap["description"] = hls.Description + if gbqs.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = gbqs.SourceRetryCount } - if hls.Parameters != nil { - objectMap["parameters"] = hls.Parameters + if gbqs.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = gbqs.SourceRetryWait } - if hls.Annotations != nil { - objectMap["annotations"] = hls.Annotations + if gbqs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = gbqs.MaxConcurrentConnections } - if hls.Type != "" { - objectMap["type"] = hls.Type + if gbqs.Type != "" { + objectMap["type"] = gbqs.Type } - for k, v := range hls.AdditionalProperties { + for k, v := range gbqs.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { - return nil, false -} - -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { - return nil, false -} - -// AsSapTableLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { - return nil, false -} - -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsResponsysSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsVerticaSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsNetezzaSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsZohoSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsXeroSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsSquareSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsSparkSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsShopifySource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsServiceNowSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsPrestoSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsPhoenixSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPaypalSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsMarketoSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsMariaDBSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsMagentoSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsJiraSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsImpalaSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsHubspotSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsHiveSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsHBaseSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsGreenplumSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { - return nil, false +// AsGoogleBigQuerySource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { + return &gbqs, true } -// AsGreenplumLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsEloquaSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsDrillSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsConcurSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsHTTPSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsOffice365Source is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { - return &hls, true -} - -// AsAzureSearchLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsMongoDbSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsCassandraSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsWebSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsTeradataSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsOracleSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsHdfsSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsFileSystemSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsSQLDWSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsSQLMISource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsSQLServerSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsSQLSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsRestSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsSapTableSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsSapHanaSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsSapEccSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsSalesforceSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsODataSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsSybaseSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsMySQLSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsOdbcSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsDb2Source is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsInformixSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsRelationalSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsDynamicsSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsBlobSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsAzureTableSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsBinarySource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsDelimitedTextSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsParquetSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsParquetSource() (*ParquetSource, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsCopySource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsCopySource() (*CopySource, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &hls, true +// AsBasicCopySource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsBasicCopySource() (BasicCopySource, bool) { + return &gbqs, true } -// UnmarshalJSON is the custom unmarshaler for HTTPLinkedService struct. -func (hls *HTTPLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for GoogleBigQuerySource struct. +func (gbqs *GoogleBigQuerySource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -77077,14 +78996,14 @@ func (hls *HTTPLinkedService) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": + case "query": if v != nil { - var HTTPLinkedServiceTypeProperties HTTPLinkedServiceTypeProperties - err = json.Unmarshal(*v, &HTTPLinkedServiceTypeProperties) + var query interface{} + err = json.Unmarshal(*v, &query) if err != nil { return err } - hls.HTTPLinkedServiceTypeProperties = &HTTPLinkedServiceTypeProperties + gbqs.Query = query } default: if v != nil { @@ -77093,161 +79012,46 @@ func (hls *HTTPLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if hls.AdditionalProperties == nil { - hls.AdditionalProperties = make(map[string]interface{}) - } - hls.AdditionalProperties[k] = additionalProperties - } - case "connectVia": - if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) - if err != nil { - return err + if gbqs.AdditionalProperties == nil { + gbqs.AdditionalProperties = make(map[string]interface{}) } - hls.ConnectVia = &connectVia + gbqs.AdditionalProperties[k] = additionalProperties } - case "description": + case "sourceRetryCount": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) if err != nil { return err } - hls.Description = &description + gbqs.SourceRetryCount = sourceRetryCount } - case "parameters": + case "sourceRetryWait": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) if err != nil { return err } - hls.Parameters = parameters + gbqs.SourceRetryWait = sourceRetryWait } - case "annotations": + case "maxConcurrentConnections": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) if err != nil { return err } - hls.Annotations = &annotations + gbqs.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicLinkedService + var typeVar TypeBasicCopySource err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - hls.Type = typeVar - } - } - } - - return nil -} - -// HTTPLinkedServiceTypeProperties properties specific to this linked service type. -type HTTPLinkedServiceTypeProperties struct { - // URL - The base URL of the HTTP endpoint, e.g. http://www.microsoft.com. Type: string (or Expression with resultType string). - URL interface{} `json:"url,omitempty"` - // AuthenticationType - The authentication type to be used to connect to the HTTP server. Possible values include: 'HTTPAuthenticationTypeBasic', 'HTTPAuthenticationTypeAnonymous', 'HTTPAuthenticationTypeDigest', 'HTTPAuthenticationTypeWindows', 'HTTPAuthenticationTypeClientCertificate' - AuthenticationType HTTPAuthenticationType `json:"authenticationType,omitempty"` - // UserName - User name for Basic, Digest, or Windows authentication. Type: string (or Expression with resultType string). - UserName interface{} `json:"userName,omitempty"` - // Password - Password for Basic, Digest, Windows, or ClientCertificate with EmbeddedCertData authentication. - Password BasicSecretBase `json:"password,omitempty"` - // EmbeddedCertData - Base64 encoded certificate data for ClientCertificate authentication. For on-premises copy with ClientCertificate authentication, either CertThumbprint or EmbeddedCertData/Password should be specified. Type: string (or Expression with resultType string). - EmbeddedCertData interface{} `json:"embeddedCertData,omitempty"` - // CertThumbprint - 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). - CertThumbprint interface{} `json:"certThumbprint,omitempty"` - // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). - EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` - // EnableServerCertificateValidation - If true, validate the HTTPS server SSL certificate. Default value is true. Type: boolean (or Expression with resultType boolean). - EnableServerCertificateValidation interface{} `json:"enableServerCertificateValidation,omitempty"` -} - -// UnmarshalJSON is the custom unmarshaler for HTTPLinkedServiceTypeProperties struct. -func (hlstp *HTTPLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "url": - if v != nil { - var URL interface{} - err = json.Unmarshal(*v, &URL) - if err != nil { - return err - } - hlstp.URL = URL - } - case "authenticationType": - if v != nil { - var authenticationType HTTPAuthenticationType - err = json.Unmarshal(*v, &authenticationType) - if err != nil { - return err - } - hlstp.AuthenticationType = authenticationType - } - case "userName": - if v != nil { - var userName interface{} - err = json.Unmarshal(*v, &userName) - if err != nil { - return err - } - hlstp.UserName = userName - } - case "password": - if v != nil { - password, err := unmarshalBasicSecretBase(*v) - if err != nil { - return err - } - hlstp.Password = password - } - case "embeddedCertData": - if v != nil { - var embeddedCertData interface{} - err = json.Unmarshal(*v, &embeddedCertData) - if err != nil { - return err - } - hlstp.EmbeddedCertData = embeddedCertData - } - case "certThumbprint": - if v != nil { - var certThumbprint interface{} - err = json.Unmarshal(*v, &certThumbprint) - if err != nil { - return err - } - hlstp.CertThumbprint = certThumbprint - } - case "encryptedCredential": - if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) - if err != nil { - return err - } - hlstp.EncryptedCredential = encryptedCredential - } - case "enableServerCertificateValidation": - if v != nil { - var enableServerCertificateValidation interface{} - err = json.Unmarshal(*v, &enableServerCertificateValidation) - if err != nil { - return err - } - hlstp.EnableServerCertificateValidation = enableServerCertificateValidation + gbqs.Type = typeVar } } } @@ -77255,613 +79059,514 @@ func (hlstp *HTTPLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { return nil } -// HTTPReadSettings sftp read settings. -type HTTPReadSettings struct { - // RequestMethod - The HTTP method used to call the RESTful API. The default is GET. Type: string (or Expression with resultType string). - RequestMethod interface{} `json:"requestMethod,omitempty"` - // RequestBody - The HTTP request body to the RESTful API if requestMethod is POST. Type: string (or Expression with resultType string). - RequestBody interface{} `json:"requestBody,omitempty"` - // AdditionalHeaders - The additional HTTP headers in the request to the RESTful API. Type: string (or Expression with resultType string). - AdditionalHeaders interface{} `json:"additionalHeaders,omitempty"` - // RequestTimeout - Specifies the timeout for a HTTP client to get HTTP response from HTTP server. - RequestTimeout interface{} `json:"requestTimeout,omitempty"` +// GreenplumLinkedService greenplum Database linked service. +type GreenplumLinkedService struct { + // GreenplumLinkedServiceTypeProperties - Greenplum Database linked service properties. + *GreenplumLinkedServiceTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Type - The read setting type. - Type *string `json:"type,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. + Description *string `json:"description,omitempty"` + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the linked service. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for HTTPReadSettings. -func (hrs HTTPReadSettings) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for GreenplumLinkedService. +func (gls GreenplumLinkedService) MarshalJSON() ([]byte, error) { + gls.Type = TypeGreenplum objectMap := make(map[string]interface{}) - if hrs.RequestMethod != nil { - objectMap["requestMethod"] = hrs.RequestMethod + if gls.GreenplumLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = gls.GreenplumLinkedServiceTypeProperties } - if hrs.RequestBody != nil { - objectMap["requestBody"] = hrs.RequestBody + if gls.ConnectVia != nil { + objectMap["connectVia"] = gls.ConnectVia } - if hrs.AdditionalHeaders != nil { - objectMap["additionalHeaders"] = hrs.AdditionalHeaders + if gls.Description != nil { + objectMap["description"] = gls.Description } - if hrs.RequestTimeout != nil { - objectMap["requestTimeout"] = hrs.RequestTimeout + if gls.Parameters != nil { + objectMap["parameters"] = gls.Parameters } - if hrs.Type != nil { - objectMap["type"] = hrs.Type + if gls.Annotations != nil { + objectMap["annotations"] = gls.Annotations } - if hrs.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = hrs.MaxConcurrentConnections + if gls.Type != "" { + objectMap["type"] = gls.Type } - for k, v := range hrs.AdditionalProperties { + for k, v := range gls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for HTTPReadSettings struct. -func (hrs *HTTPReadSettings) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "requestMethod": - if v != nil { - var requestMethod interface{} - err = json.Unmarshal(*v, &requestMethod) - if err != nil { - return err - } - hrs.RequestMethod = requestMethod - } - case "requestBody": - if v != nil { - var requestBody interface{} - err = json.Unmarshal(*v, &requestBody) - if err != nil { - return err - } - hrs.RequestBody = requestBody - } - case "additionalHeaders": - if v != nil { - var additionalHeaders interface{} - err = json.Unmarshal(*v, &additionalHeaders) - if err != nil { - return err - } - hrs.AdditionalHeaders = additionalHeaders - } - case "requestTimeout": - if v != nil { - var requestTimeout interface{} - err = json.Unmarshal(*v, &requestTimeout) - if err != nil { - return err - } - hrs.RequestTimeout = requestTimeout - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if hrs.AdditionalProperties == nil { - hrs.AdditionalProperties = make(map[string]interface{}) - } - hrs.AdditionalProperties[k] = additionalProperties - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - hrs.Type = &typeVar - } - case "maxConcurrentConnections": - if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) - if err != nil { - return err - } - hrs.MaxConcurrentConnections = maxConcurrentConnections - } - } - } +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { + return nil, false +} - return nil +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { + return nil, false } -// HTTPServerLocation the location of http server. -type HTTPServerLocation struct { - // RelativeURL - Specify the relativeUrl of http server. Type: string (or Expression with resultType string) - RelativeURL interface{} `json:"relativeUrl,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Type - Type of dataset storage location. - Type *string `json:"type,omitempty"` - // FolderPath - Specify the folder path of dataset. Type: string (or Expression with resultType string) - FolderPath interface{} `json:"folderPath,omitempty"` - // FileName - Specify the file name of dataset. Type: string (or Expression with resultType string). - FileName interface{} `json:"fileName,omitempty"` +// AsSapTableLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for HTTPServerLocation. -func (hsl HTTPServerLocation) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if hsl.RelativeURL != nil { - objectMap["relativeUrl"] = hsl.RelativeURL - } - if hsl.Type != nil { - objectMap["type"] = hsl.Type - } - if hsl.FolderPath != nil { - objectMap["folderPath"] = hsl.FolderPath - } - if hsl.FileName != nil { - objectMap["fileName"] = hsl.FileName - } - for k, v := range hsl.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for HTTPServerLocation struct. -func (hsl *HTTPServerLocation) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "relativeUrl": - if v != nil { - var relativeURL interface{} - err = json.Unmarshal(*v, &relativeURL) - if err != nil { - return err - } - hsl.RelativeURL = relativeURL - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if hsl.AdditionalProperties == nil { - hsl.AdditionalProperties = make(map[string]interface{}) - } - hsl.AdditionalProperties[k] = additionalProperties - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - hsl.Type = &typeVar - } - case "folderPath": - if v != nil { - var folderPath interface{} - err = json.Unmarshal(*v, &folderPath) - if err != nil { - return err - } - hsl.FolderPath = folderPath - } - case "fileName": - if v != nil { - var fileName interface{} - err = json.Unmarshal(*v, &fileName) - if err != nil { - return err - } - hsl.FileName = fileName - } - } - } +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { + return nil, false +} - return nil +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { + return nil, false } -// HTTPSource a copy activity source for an HTTP file. -type HTTPSource struct { - // HTTPRequestTimeout - 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])). - HTTPRequestTimeout interface{} `json:"httpRequestTimeout,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). - SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` - // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' - Type TypeBasicCopySource `json:"type,omitempty"` +// AsResponsysLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for HTTPSource. -func (hs HTTPSource) MarshalJSON() ([]byte, error) { - hs.Type = TypeHTTPSource - objectMap := make(map[string]interface{}) - if hs.HTTPRequestTimeout != nil { - objectMap["httpRequestTimeout"] = hs.HTTPRequestTimeout - } - if hs.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = hs.SourceRetryCount - } - if hs.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = hs.SourceRetryWait - } - if hs.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = hs.MaxConcurrentConnections - } - if hs.Type != "" { - objectMap["type"] = hs.Type - } - for k, v := range hs.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false } -// AsAmazonRedshiftSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsVerticaSource() (*VerticaSource, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsZohoSource() (*ZohoSource, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsXeroSource() (*XeroSource, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsSquareSource() (*SquareSource, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsSparkSource() (*SparkSource, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsShopifySource() (*ShopifySource, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsPrestoSource() (*PrestoSource, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsPaypalSource() (*PaypalSource, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsMarketoSource() (*MarketoSource, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsMagentoSource() (*MagentoSource, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsJiraSource() (*JiraSource, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsHubspotSource() (*HubspotSource, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { + return &gls, true +} + +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsHiveSource() (*HiveSource, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsHBaseSource() (*HBaseSource, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsEloquaSource() (*EloquaSource, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsDrillSource() (*DrillSource, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsConcurSource() (*ConcurSource, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsHTTPSource() (*HTTPSource, bool) { - return &hs, true +// AsHTTPLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { + return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsOffice365Source() (*Office365Source, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsCassandraSource() (*CassandraSource, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsWebSource() (*WebSource, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsOracleSource() (*OracleSource, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsHdfsSource() (*HdfsSource, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsSQLSource() (*SQLSource, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsRestSource() (*RestSource, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsSapTableSource() (*SapTableSource, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsSapEccSource() (*SapEccSource, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsRelationalSource() (*RelationalSource, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsBlobSource() (*BlobSource, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsParquetSource() (*ParquetSource, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsCopySource() (*CopySource, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsBasicCopySource() (BasicCopySource, bool) { - return &hs, true +// AsHDInsightLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for HTTPSource struct. -func (hs *HTTPSource) UnmarshalJSON(body []byte) error { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + +// AsDynamicsLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false +} + +// AsCosmosDbLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false +} + +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false +} + +// AsAzureBatchLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} + +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &gls, true +} + +// UnmarshalJSON is the custom unmarshaler for GreenplumLinkedService struct. +func (gls *GreenplumLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -77869,14 +79574,14 @@ func (hs *HTTPSource) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "httpRequestTimeout": + case "typeProperties": if v != nil { - var HTTPRequestTimeout interface{} - err = json.Unmarshal(*v, &HTTPRequestTimeout) + var greenplumLinkedServiceTypeProperties GreenplumLinkedServiceTypeProperties + err = json.Unmarshal(*v, &greenplumLinkedServiceTypeProperties) if err != nil { return err } - hs.HTTPRequestTimeout = HTTPRequestTimeout + gls.GreenplumLinkedServiceTypeProperties = &greenplumLinkedServiceTypeProperties } default: if v != nil { @@ -77885,46 +79590,55 @@ func (hs *HTTPSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - if hs.AdditionalProperties == nil { - hs.AdditionalProperties = make(map[string]interface{}) + if gls.AdditionalProperties == nil { + gls.AdditionalProperties = make(map[string]interface{}) } - hs.AdditionalProperties[k] = additionalProperties + gls.AdditionalProperties[k] = additionalProperties } - case "sourceRetryCount": + case "connectVia": if v != nil { - var sourceRetryCount interface{} - err = json.Unmarshal(*v, &sourceRetryCount) + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) if err != nil { return err } - hs.SourceRetryCount = sourceRetryCount + gls.ConnectVia = &connectVia } - case "sourceRetryWait": + case "description": if v != nil { - var sourceRetryWait interface{} - err = json.Unmarshal(*v, &sourceRetryWait) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - hs.SourceRetryWait = sourceRetryWait + gls.Description = &description } - case "maxConcurrentConnections": + case "parameters": if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - hs.MaxConcurrentConnections = maxConcurrentConnections + gls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + gls.Annotations = &annotations } case "type": if v != nil { - var typeVar TypeBasicCopySource + var typeVar TypeBasicLinkedService err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - hs.Type = typeVar + gls.Type = typeVar } } } @@ -77932,484 +79646,469 @@ func (hs *HTTPSource) UnmarshalJSON(body []byte) error { return nil } -// HubspotLinkedService hubspot Service linked service. -type HubspotLinkedService struct { - // HubspotLinkedServiceTypeProperties - Hubspot Service linked service properties. - *HubspotLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// GreenplumLinkedServiceTypeProperties greenplum Database linked service properties. +type GreenplumLinkedServiceTypeProperties struct { + // ConnectionString - An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + ConnectionString interface{} `json:"connectionString,omitempty"` + // Pwd - The Azure key vault secret reference of password in connection string. + Pwd *AzureKeyVaultSecretReference `json:"pwd,omitempty"` + // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` +} + +// GreenplumSource a copy activity Greenplum Database source. +type GreenplumSource struct { + // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). + Query interface{} `json:"query,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. - Description *string `json:"description,omitempty"` - // Parameters - Parameters for linked service. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the linked service. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for HubspotLinkedService. -func (hls HubspotLinkedService) MarshalJSON() ([]byte, error) { - hls.Type = TypeHubspot +// MarshalJSON is the custom marshaler for GreenplumSource. +func (gs GreenplumSource) MarshalJSON() ([]byte, error) { + gs.Type = TypeGreenplumSource objectMap := make(map[string]interface{}) - if hls.HubspotLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = hls.HubspotLinkedServiceTypeProperties - } - if hls.ConnectVia != nil { - objectMap["connectVia"] = hls.ConnectVia + if gs.Query != nil { + objectMap["query"] = gs.Query } - if hls.Description != nil { - objectMap["description"] = hls.Description + if gs.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = gs.SourceRetryCount } - if hls.Parameters != nil { - objectMap["parameters"] = hls.Parameters + if gs.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = gs.SourceRetryWait } - if hls.Annotations != nil { - objectMap["annotations"] = hls.Annotations + if gs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = gs.MaxConcurrentConnections } - if hls.Type != "" { - objectMap["type"] = hls.Type + if gs.Type != "" { + objectMap["type"] = gs.Type } - for k, v := range hls.AdditionalProperties { + for k, v := range gs.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { - return nil, false -} - -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { - return nil, false -} - -// AsSapTableLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { - return nil, false -} - -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsResponsysSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsVerticaSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsNetezzaSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsZohoSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsXeroSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsSquareSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsSparkSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsShopifySource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsServiceNowSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsPrestoSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsPhoenixSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPaypalSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsMarketoSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsMariaDBSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsMagentoSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsJiraSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsImpalaSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsHubspotSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsHiveSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { - return &hls, true -} - -// AsHiveLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHBaseSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { - return nil, false +// AsGreenplumSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsGreenplumSource() (*GreenplumSource, bool) { + return &gs, true } -// AsGreenplumLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsEloquaSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsDrillSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsConcurSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsHTTPSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsOffice365Source is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsMongoDbSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsCassandraSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsWebSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsTeradataSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsOracleSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsHdfsSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsFileSystemSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsSQLDWSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsSQLMISource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsSQLServerSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsSQLSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsRestSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsSapTableSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsSapHanaSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsSapEccSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsSalesforceSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsODataSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsSybaseSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsMySQLSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsOdbcSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsDb2Source is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsInformixSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsRelationalSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsDynamicsSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsBlobSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsAzureTableSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsBinarySource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsDelimitedTextSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsParquetSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsCopySource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsCopySource() (*CopySource, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &hls, true +// AsBasicCopySource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsBasicCopySource() (BasicCopySource, bool) { + return &gs, true } -// UnmarshalJSON is the custom unmarshaler for HubspotLinkedService struct. -func (hls *HubspotLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for GreenplumSource struct. +func (gs *GreenplumSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -78417,14 +80116,14 @@ func (hls *HubspotLinkedService) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": + case "query": if v != nil { - var hubspotLinkedServiceTypeProperties HubspotLinkedServiceTypeProperties - err = json.Unmarshal(*v, &hubspotLinkedServiceTypeProperties) + var query interface{} + err = json.Unmarshal(*v, &query) if err != nil { return err } - hls.HubspotLinkedServiceTypeProperties = &hubspotLinkedServiceTypeProperties + gs.Query = query } default: if v != nil { @@ -78433,159 +80132,46 @@ func (hls *HubspotLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if hls.AdditionalProperties == nil { - hls.AdditionalProperties = make(map[string]interface{}) + if gs.AdditionalProperties == nil { + gs.AdditionalProperties = make(map[string]interface{}) } - hls.AdditionalProperties[k] = additionalProperties + gs.AdditionalProperties[k] = additionalProperties } - case "connectVia": + case "sourceRetryCount": if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) if err != nil { return err } - hls.ConnectVia = &connectVia + gs.SourceRetryCount = sourceRetryCount } - case "description": + case "sourceRetryWait": if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - hls.Description = &description - } - case "parameters": - if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) if err != nil { return err } - hls.Parameters = parameters + gs.SourceRetryWait = sourceRetryWait } - case "annotations": + case "maxConcurrentConnections": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) if err != nil { return err } - hls.Annotations = &annotations + gs.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicLinkedService + var typeVar TypeBasicCopySource err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - hls.Type = typeVar - } - } - } - - return nil -} - -// HubspotLinkedServiceTypeProperties hubspot Service linked service properties. -type HubspotLinkedServiceTypeProperties struct { - // ClientID - The client ID associated with your Hubspot application. - ClientID interface{} `json:"clientId,omitempty"` - // ClientSecret - The client secret associated with your Hubspot application. - ClientSecret BasicSecretBase `json:"clientSecret,omitempty"` - // AccessToken - The access token obtained when initially authenticating your OAuth integration. - AccessToken BasicSecretBase `json:"accessToken,omitempty"` - // RefreshToken - The refresh token obtained when initially authenticating your OAuth integration. - RefreshToken BasicSecretBase `json:"refreshToken,omitempty"` - // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. - UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"` - // UseHostVerification - 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. - UseHostVerification interface{} `json:"useHostVerification,omitempty"` - // UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. - UsePeerVerification interface{} `json:"usePeerVerification,omitempty"` - // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). - EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` -} - -// UnmarshalJSON is the custom unmarshaler for HubspotLinkedServiceTypeProperties struct. -func (hlstp *HubspotLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "clientId": - if v != nil { - var clientID interface{} - err = json.Unmarshal(*v, &clientID) - if err != nil { - return err - } - hlstp.ClientID = clientID - } - case "clientSecret": - if v != nil { - clientSecret, err := unmarshalBasicSecretBase(*v) - if err != nil { - return err - } - hlstp.ClientSecret = clientSecret - } - case "accessToken": - if v != nil { - accessToken, err := unmarshalBasicSecretBase(*v) - if err != nil { - return err - } - hlstp.AccessToken = accessToken - } - case "refreshToken": - if v != nil { - refreshToken, err := unmarshalBasicSecretBase(*v) - if err != nil { - return err - } - hlstp.RefreshToken = refreshToken - } - case "useEncryptedEndpoints": - if v != nil { - var useEncryptedEndpoints interface{} - err = json.Unmarshal(*v, &useEncryptedEndpoints) - if err != nil { - return err - } - hlstp.UseEncryptedEndpoints = useEncryptedEndpoints - } - case "useHostVerification": - if v != nil { - var useHostVerification interface{} - err = json.Unmarshal(*v, &useHostVerification) - if err != nil { - return err - } - hlstp.UseHostVerification = useHostVerification - } - case "usePeerVerification": - if v != nil { - var usePeerVerification interface{} - err = json.Unmarshal(*v, &usePeerVerification) - if err != nil { - return err - } - hlstp.UsePeerVerification = usePeerVerification - } - case "encryptedCredential": - if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) - if err != nil { - return err - } - hlstp.EncryptedCredential = encryptedCredential + gs.Type = typeVar } } } @@ -78593,8 +80179,8 @@ func (hlstp *HubspotLinkedServiceTypeProperties) UnmarshalJSON(body []byte) erro return nil } -// HubspotObjectDataset hubspot Service dataset. -type HubspotObjectDataset struct { +// GreenplumTableDataset greenplum Database dataset. +type GreenplumTableDataset struct { // GenericDatasetTypeProperties - Properties specific to this dataset type. *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection @@ -78613,394 +80199,449 @@ type HubspotObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for HubspotObjectDataset. -func (hod HubspotObjectDataset) MarshalJSON() ([]byte, error) { - hod.Type = TypeHubspotObject +// MarshalJSON is the custom marshaler for GreenplumTableDataset. +func (gtd GreenplumTableDataset) MarshalJSON() ([]byte, error) { + gtd.Type = TypeGreenplumTable objectMap := make(map[string]interface{}) - if hod.GenericDatasetTypeProperties != nil { - objectMap["typeProperties"] = hod.GenericDatasetTypeProperties + if gtd.GenericDatasetTypeProperties != nil { + objectMap["typeProperties"] = gtd.GenericDatasetTypeProperties } - if hod.Description != nil { - objectMap["description"] = hod.Description + if gtd.Description != nil { + objectMap["description"] = gtd.Description } - if hod.Structure != nil { - objectMap["structure"] = hod.Structure + if gtd.Structure != nil { + objectMap["structure"] = gtd.Structure } - if hod.Schema != nil { - objectMap["schema"] = hod.Schema + if gtd.Schema != nil { + objectMap["schema"] = gtd.Schema } - if hod.LinkedServiceName != nil { - objectMap["linkedServiceName"] = hod.LinkedServiceName + if gtd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = gtd.LinkedServiceName } - if hod.Parameters != nil { - objectMap["parameters"] = hod.Parameters + if gtd.Parameters != nil { + objectMap["parameters"] = gtd.Parameters } - if hod.Annotations != nil { - objectMap["annotations"] = hod.Annotations + if gtd.Annotations != nil { + objectMap["annotations"] = gtd.Annotations } - if hod.Folder != nil { - objectMap["folder"] = hod.Folder + if gtd.Folder != nil { + objectMap["folder"] = gtd.Folder } - if hod.Type != "" { - objectMap["type"] = hod.Type + if gtd.Type != "" { + objectMap["type"] = gtd.Type } - for k, v := range hod.AdditionalProperties { + for k, v := range gtd.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { - return &hod, true +// AsHubspotObjectDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { + return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { + return >d, true +} + +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsDrillTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsHTTPDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsWebTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsRestResourceDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsInformixTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsOracleTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsODataResourceDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsFileShareDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsOffice365Dataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsCustomDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsDataset() (*Dataset, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsBasicDataset() (BasicDataset, bool) { - return &hod, true +// AsAzureSQLDWTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for HubspotObjectDataset struct. -func (hod *HubspotObjectDataset) UnmarshalJSON(body []byte) error { +// AsAzureSQLMITableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + +// AsAzureSQLTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { + return nil, false +} + +// AsAzureTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { + return nil, false +} + +// AsAzureBlobDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { + return nil, false +} + +// AsBinaryDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + +// AsDelimitedTextDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { + return nil, false +} + +// AsParquetDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsBasicDataset() (BasicDataset, bool) { + return >d, true +} + +// UnmarshalJSON is the custom unmarshaler for GreenplumTableDataset struct. +func (gtd *GreenplumTableDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -79015,7 +80656,7 @@ func (hod *HubspotObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - hod.GenericDatasetTypeProperties = &genericDatasetTypeProperties + gtd.GenericDatasetTypeProperties = &genericDatasetTypeProperties } default: if v != nil { @@ -79024,10 +80665,10 @@ func (hod *HubspotObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if hod.AdditionalProperties == nil { - hod.AdditionalProperties = make(map[string]interface{}) + if gtd.AdditionalProperties == nil { + gtd.AdditionalProperties = make(map[string]interface{}) } - hod.AdditionalProperties[k] = additionalProperties + gtd.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -79036,7 +80677,7 @@ func (hod *HubspotObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - hod.Description = &description + gtd.Description = &description } case "structure": if v != nil { @@ -79045,7 +80686,7 @@ func (hod *HubspotObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - hod.Structure = structure + gtd.Structure = structure } case "schema": if v != nil { @@ -79054,7 +80695,7 @@ func (hod *HubspotObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - hod.Schema = schema + gtd.Schema = schema } case "linkedServiceName": if v != nil { @@ -79063,7 +80704,7 @@ func (hod *HubspotObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - hod.LinkedServiceName = &linkedServiceName + gtd.LinkedServiceName = &linkedServiceName } case "parameters": if v != nil { @@ -79072,7 +80713,7 @@ func (hod *HubspotObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - hod.Parameters = parameters + gtd.Parameters = parameters } case "annotations": if v != nil { @@ -79081,7 +80722,7 @@ func (hod *HubspotObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - hod.Annotations = &annotations + gtd.Annotations = &annotations } case "folder": if v != nil { @@ -79090,7 +80731,7 @@ func (hod *HubspotObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - hod.Folder = &folder + gtd.Folder = &folder } case "type": if v != nil { @@ -79099,7 +80740,7 @@ func (hod *HubspotObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - hod.Type = typeVar + gtd.Type = typeVar } } } @@ -79107,689 +80748,514 @@ func (hod *HubspotObjectDataset) UnmarshalJSON(body []byte) error { return nil } -// HubspotSource a copy activity Hubspot Service source. -type HubspotSource struct { - // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). - Query interface{} `json:"query,omitempty"` +// HBaseLinkedService hBase server linked service. +type HBaseLinkedService struct { + // HBaseLinkedServiceTypeProperties - HBase server linked service properties. + *HBaseLinkedServiceTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). - SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` - // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' - Type TypeBasicCopySource `json:"type,omitempty"` + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. + Description *string `json:"description,omitempty"` + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the linked service. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for HubspotSource. -func (hs HubspotSource) MarshalJSON() ([]byte, error) { - hs.Type = TypeHubspotSource +// MarshalJSON is the custom marshaler for HBaseLinkedService. +func (hbls HBaseLinkedService) MarshalJSON() ([]byte, error) { + hbls.Type = TypeHBase objectMap := make(map[string]interface{}) - if hs.Query != nil { - objectMap["query"] = hs.Query + if hbls.HBaseLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = hbls.HBaseLinkedServiceTypeProperties } - if hs.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = hs.SourceRetryCount + if hbls.ConnectVia != nil { + objectMap["connectVia"] = hbls.ConnectVia } - if hs.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = hs.SourceRetryWait + if hbls.Description != nil { + objectMap["description"] = hbls.Description } - if hs.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = hs.MaxConcurrentConnections + if hbls.Parameters != nil { + objectMap["parameters"] = hbls.Parameters } - if hs.Type != "" { - objectMap["type"] = hs.Type + if hbls.Annotations != nil { + objectMap["annotations"] = hbls.Annotations } - for k, v := range hs.AdditionalProperties { + if hbls.Type != "" { + objectMap["type"] = hbls.Type + } + for k, v := range hbls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsVerticaSource() (*VerticaSource, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsZohoSource() (*ZohoSource, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsXeroSource() (*XeroSource, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsSquareSource() (*SquareSource, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsSparkSource() (*SparkSource, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsShopifySource() (*ShopifySource, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsPrestoSource() (*PrestoSource, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsPaypalSource() (*PaypalSource, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsMarketoSource() (*MarketoSource, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsMagentoSource() (*MagentoSource, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsJiraSource() (*JiraSource, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsHubspotSource() (*HubspotSource, bool) { - return &hs, true +// AsMarketoLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { + return nil, false } -// AsHiveSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsHiveSource() (*HiveSource, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsHBaseSource() (*HBaseSource, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsEloquaSource() (*EloquaSource, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsDrillSource() (*DrillSource, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsCouchbaseSource() (*CouchbaseSource, bool) { - return nil, false +// AsHBaseLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { + return &hbls, true } -// AsConcurSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsConcurSource() (*ConcurSource, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsHTTPSource() (*HTTPSource, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsOffice365Source() (*Office365Source, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsCassandraSource() (*CassandraSource, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsWebSource() (*WebSource, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsOracleSource() (*OracleSource, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsHdfsSource() (*HdfsSource, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsSQLSource() (*SQLSource, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsRestSource() (*RestSource, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsSapTableSource() (*SapTableSource, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsSapEccSource() (*SapEccSource, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsRelationalSource() (*RelationalSource, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsBlobSource() (*BlobSource, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsParquetSource() (*ParquetSource, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsCopySource() (*CopySource, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsBasicCopySource() (BasicCopySource, bool) { - return &hs, true +// AsAzureMLLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for HubspotSource struct. -func (hs *HubspotSource) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "query": - if v != nil { - var query interface{} - err = json.Unmarshal(*v, &query) - if err != nil { - return err - } - hs.Query = query - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if hs.AdditionalProperties == nil { - hs.AdditionalProperties = make(map[string]interface{}) - } - hs.AdditionalProperties[k] = additionalProperties - } - case "sourceRetryCount": - if v != nil { - var sourceRetryCount interface{} - err = json.Unmarshal(*v, &sourceRetryCount) - if err != nil { - return err - } - hs.SourceRetryCount = sourceRetryCount - } - case "sourceRetryWait": - if v != nil { - var sourceRetryWait interface{} - err = json.Unmarshal(*v, &sourceRetryWait) - if err != nil { - return err - } - hs.SourceRetryWait = sourceRetryWait - } - case "maxConcurrentConnections": - if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) - if err != nil { - return err - } - hs.MaxConcurrentConnections = maxConcurrentConnections - } - case "type": - if v != nil { - var typeVar TypeBasicCopySource - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - hs.Type = typeVar - } - } - } - - return nil +// AsTeradataLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { + return nil, false } -// IfConditionActivity this activity evaluates a boolean expression and executes either the activities -// under the ifTrueActivities property or the ifFalseActivities property depending on the result of the -// expression. -type IfConditionActivity struct { - // IfConditionActivityTypeProperties - IfCondition activity properties. - *IfConditionActivityTypeProperties `json:"typeProperties,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Name - Activity name. - Name *string `json:"name,omitempty"` - // Description - Activity description. - Description *string `json:"description,omitempty"` - // DependsOn - Activity depends on condition. - DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // UserProperties - Activity user properties. - UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' - Type TypeBasicActivity `json:"type,omitempty"` +// AsDb2LinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for IfConditionActivity. -func (ica IfConditionActivity) MarshalJSON() ([]byte, error) { - ica.Type = TypeIfCondition - objectMap := make(map[string]interface{}) - if ica.IfConditionActivityTypeProperties != nil { - objectMap["typeProperties"] = ica.IfConditionActivityTypeProperties - } - if ica.Name != nil { - objectMap["name"] = ica.Name - } - if ica.Description != nil { - objectMap["description"] = ica.Description - } - if ica.DependsOn != nil { - objectMap["dependsOn"] = ica.DependsOn - } - if ica.UserProperties != nil { - objectMap["userProperties"] = ica.UserProperties - } - if ica.Type != "" { - objectMap["type"] = ica.Type - } - for k, v := range ica.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsSybaseLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { + return nil, false } -// AsAzureFunctionActivity is the BasicActivity implementation for IfConditionActivity. -func (ica IfConditionActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for IfConditionActivity. -func (ica IfConditionActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for IfConditionActivity. -func (ica IfConditionActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for IfConditionActivity. -func (ica IfConditionActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for IfConditionActivity. -func (ica IfConditionActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for IfConditionActivity. -func (ica IfConditionActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for IfConditionActivity. -func (ica IfConditionActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for IfConditionActivity. -func (ica IfConditionActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for IfConditionActivity. -func (ica IfConditionActivity) AsWebActivity() (*WebActivity, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for IfConditionActivity. -func (ica IfConditionActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsDeleteActivity is the BasicActivity implementation for IfConditionActivity. -func (ica IfConditionActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for IfConditionActivity. -func (ica IfConditionActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for IfConditionActivity. -func (ica IfConditionActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for IfConditionActivity. -func (ica IfConditionActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for IfConditionActivity. -func (ica IfConditionActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for IfConditionActivity. -func (ica IfConditionActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { - return nil, false -} - -// AsHDInsightMapReduceActivity is the BasicActivity implementation for IfConditionActivity. -func (ica IfConditionActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { - return nil, false -} - -// AsHDInsightPigActivity is the BasicActivity implementation for IfConditionActivity. -func (ica IfConditionActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { - return nil, false -} - -// AsHDInsightHiveActivity is the BasicActivity implementation for IfConditionActivity. -func (ica IfConditionActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { - return nil, false -} - -// AsCopyActivity is the BasicActivity implementation for IfConditionActivity. -func (ica IfConditionActivity) AsCopyActivity() (*CopyActivity, bool) { - return nil, false -} - -// AsExecutionActivity is the BasicActivity implementation for IfConditionActivity. -func (ica IfConditionActivity) AsExecutionActivity() (*ExecutionActivity, bool) { - return nil, false -} - -// AsBasicExecutionActivity is the BasicActivity implementation for IfConditionActivity. -func (ica IfConditionActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { - return nil, false -} - -// AsWebHookActivity is the BasicActivity implementation for IfConditionActivity. -func (ica IfConditionActivity) AsWebHookActivity() (*WebHookActivity, bool) { - return nil, false -} - -// AsAppendVariableActivity is the BasicActivity implementation for IfConditionActivity. -func (ica IfConditionActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { - return nil, false -} - -// AsSetVariableActivity is the BasicActivity implementation for IfConditionActivity. -func (ica IfConditionActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { - return nil, false -} - -// AsFilterActivity is the BasicActivity implementation for IfConditionActivity. -func (ica IfConditionActivity) AsFilterActivity() (*FilterActivity, bool) { - return nil, false -} - -// AsValidationActivity is the BasicActivity implementation for IfConditionActivity. -func (ica IfConditionActivity) AsValidationActivity() (*ValidationActivity, bool) { - return nil, false -} - -// AsUntilActivity is the BasicActivity implementation for IfConditionActivity. -func (ica IfConditionActivity) AsUntilActivity() (*UntilActivity, bool) { - return nil, false -} - -// AsWaitActivity is the BasicActivity implementation for IfConditionActivity. -func (ica IfConditionActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for IfConditionActivity. -func (ica IfConditionActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for IfConditionActivity. -func (ica IfConditionActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { - return &ica, true -} - -// AsExecutePipelineActivity is the BasicActivity implementation for IfConditionActivity. -func (ica IfConditionActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for IfConditionActivity. -func (ica IfConditionActivity) AsControlActivity() (*ControlActivity, bool) { +// AsAzureStorageLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for IfConditionActivity. -func (ica IfConditionActivity) AsBasicControlActivity() (BasicControlActivity, bool) { - return &ica, true -} - -// AsActivity is the BasicActivity implementation for IfConditionActivity. -func (ica IfConditionActivity) AsActivity() (*Activity, bool) { +// AsLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsLinkedService() (*LinkedService, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for IfConditionActivity. -func (ica IfConditionActivity) AsBasicActivity() (BasicActivity, bool) { - return &ica, true +// AsBasicLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &hbls, true } -// UnmarshalJSON is the custom unmarshaler for IfConditionActivity struct. -func (ica *IfConditionActivity) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for HBaseLinkedService struct. +func (hbls *HBaseLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -79799,12 +81265,12 @@ func (ica *IfConditionActivity) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var ifConditionActivityTypeProperties IfConditionActivityTypeProperties - err = json.Unmarshal(*v, &ifConditionActivityTypeProperties) + var hBaseLinkedServiceTypeProperties HBaseLinkedServiceTypeProperties + err = json.Unmarshal(*v, &hBaseLinkedServiceTypeProperties) if err != nil { return err } - ica.IfConditionActivityTypeProperties = &ifConditionActivityTypeProperties + hbls.HBaseLinkedServiceTypeProperties = &hBaseLinkedServiceTypeProperties } default: if v != nil { @@ -79813,19 +81279,19 @@ func (ica *IfConditionActivity) UnmarshalJSON(body []byte) error { if err != nil { return err } - if ica.AdditionalProperties == nil { - ica.AdditionalProperties = make(map[string]interface{}) + if hbls.AdditionalProperties == nil { + hbls.AdditionalProperties = make(map[string]interface{}) } - ica.AdditionalProperties[k] = additionalProperties + hbls.AdditionalProperties[k] = additionalProperties } - case "name": + case "connectVia": if v != nil { - var name string - err = json.Unmarshal(*v, &name) + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) if err != nil { return err } - ica.Name = &name + hbls.ConnectVia = &connectVia } case "description": if v != nil { @@ -79834,34 +81300,34 @@ func (ica *IfConditionActivity) UnmarshalJSON(body []byte) error { if err != nil { return err } - ica.Description = &description + hbls.Description = &description } - case "dependsOn": + case "parameters": if v != nil { - var dependsOn []ActivityDependency - err = json.Unmarshal(*v, &dependsOn) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - ica.DependsOn = &dependsOn + hbls.Parameters = parameters } - case "userProperties": + case "annotations": if v != nil { - var userProperties []UserProperty - err = json.Unmarshal(*v, &userProperties) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - ica.UserProperties = &userProperties + hbls.Annotations = &annotations } case "type": if v != nil { - var typeVar TypeBasicActivity + var typeVar TypeBasicLinkedService err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - ica.Type = typeVar + hbls.Type = typeVar } } } @@ -79869,18 +81335,34 @@ func (ica *IfConditionActivity) UnmarshalJSON(body []byte) error { return nil } -// IfConditionActivityTypeProperties ifCondition activity properties. -type IfConditionActivityTypeProperties struct { - // Expression - An expression that would evaluate to Boolean. This is used to determine the block of activities (ifTrueActivities or ifFalseActivities) that will be executed. - Expression *Expression `json:"expression,omitempty"` - // IfTrueActivities - List of activities to execute if expression is evaluated to true. This is an optional property and if not provided, the activity will exit without any action. - IfTrueActivities *[]BasicActivity `json:"ifTrueActivities,omitempty"` - // IfFalseActivities - List of activities to execute if expression is evaluated to false. This is an optional property and if not provided, the activity will exit without any action. - IfFalseActivities *[]BasicActivity `json:"ifFalseActivities,omitempty"` +// HBaseLinkedServiceTypeProperties hBase server linked service properties. +type HBaseLinkedServiceTypeProperties struct { + // Host - The IP address or host name of the HBase server. (i.e. 192.168.222.160) + Host interface{} `json:"host,omitempty"` + // Port - The TCP port that the HBase instance uses to listen for client connections. The default value is 9090. + Port interface{} `json:"port,omitempty"` + // HTTPPath - The partial URL corresponding to the HBase server. (i.e. /gateway/sandbox/hbase/version) + HTTPPath interface{} `json:"httpPath,omitempty"` + // AuthenticationType - The authentication mechanism to use to connect to the HBase server. Possible values include: 'HBaseAuthenticationTypeAnonymous', 'HBaseAuthenticationTypeBasic' + AuthenticationType HBaseAuthenticationType `json:"authenticationType,omitempty"` + // Username - The user name used to connect to the HBase instance. + Username interface{} `json:"username,omitempty"` + // Password - The password corresponding to the user name. + Password BasicSecretBase `json:"password,omitempty"` + // EnableSsl - Specifies whether the connections to the server are encrypted using SSL. The default value is false. + EnableSsl interface{} `json:"enableSsl,omitempty"` + // TrustedCertPath - 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. + TrustedCertPath interface{} `json:"trustedCertPath,omitempty"` + // AllowHostNameCNMismatch - 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. + AllowHostNameCNMismatch interface{} `json:"allowHostNameCNMismatch,omitempty"` + // AllowSelfSignedServerCert - Specifies whether to allow self-signed certificates from the server. The default value is false. + AllowSelfSignedServerCert interface{} `json:"allowSelfSignedServerCert,omitempty"` + // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` } -// UnmarshalJSON is the custom unmarshaler for IfConditionActivityTypeProperties struct. -func (icatp *IfConditionActivityTypeProperties) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for HBaseLinkedServiceTypeProperties struct. +func (hblstp *HBaseLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -79888,30 +81370,103 @@ func (icatp *IfConditionActivityTypeProperties) UnmarshalJSON(body []byte) error } for k, v := range m { switch k { - case "expression": + case "host": if v != nil { - var expression Expression - err = json.Unmarshal(*v, &expression) + var host interface{} + err = json.Unmarshal(*v, &host) if err != nil { return err } - icatp.Expression = &expression + hblstp.Host = host } - case "ifTrueActivities": + case "port": if v != nil { - ifTrueActivities, err := unmarshalBasicActivityArray(*v) + var port interface{} + err = json.Unmarshal(*v, &port) if err != nil { return err } - icatp.IfTrueActivities = &ifTrueActivities + hblstp.Port = port } - case "ifFalseActivities": + case "httpPath": if v != nil { - ifFalseActivities, err := unmarshalBasicActivityArray(*v) + var HTTPPath interface{} + err = json.Unmarshal(*v, &HTTPPath) if err != nil { return err } - icatp.IfFalseActivities = &ifFalseActivities + hblstp.HTTPPath = HTTPPath + } + case "authenticationType": + if v != nil { + var authenticationType HBaseAuthenticationType + err = json.Unmarshal(*v, &authenticationType) + if err != nil { + return err + } + hblstp.AuthenticationType = authenticationType + } + case "username": + if v != nil { + var username interface{} + err = json.Unmarshal(*v, &username) + if err != nil { + return err + } + hblstp.Username = username + } + case "password": + if v != nil { + password, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + hblstp.Password = password + } + case "enableSsl": + if v != nil { + var enableSsl interface{} + err = json.Unmarshal(*v, &enableSsl) + if err != nil { + return err + } + hblstp.EnableSsl = enableSsl + } + case "trustedCertPath": + if v != nil { + var trustedCertPath interface{} + err = json.Unmarshal(*v, &trustedCertPath) + if err != nil { + return err + } + hblstp.TrustedCertPath = trustedCertPath + } + case "allowHostNameCNMismatch": + if v != nil { + var allowHostNameCNMismatch interface{} + err = json.Unmarshal(*v, &allowHostNameCNMismatch) + if err != nil { + return err + } + hblstp.AllowHostNameCNMismatch = allowHostNameCNMismatch + } + case "allowSelfSignedServerCert": + if v != nil { + var allowSelfSignedServerCert interface{} + err = json.Unmarshal(*v, &allowSelfSignedServerCert) + if err != nil { + return err + } + hblstp.AllowSelfSignedServerCert = allowSelfSignedServerCert + } + case "encryptedCredential": + if v != nil { + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) + if err != nil { + return err + } + hblstp.EncryptedCredential = encryptedCredential } } } @@ -79919,484 +81474,469 @@ func (icatp *IfConditionActivityTypeProperties) UnmarshalJSON(body []byte) error return nil } -// ImpalaLinkedService impala server linked service. -type ImpalaLinkedService struct { - // ImpalaLinkedServiceTypeProperties - Impala server linked service properties. - *ImpalaLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// HBaseObjectDataset hBase server dataset. +type HBaseObjectDataset struct { + // GenericDatasetTypeProperties - Properties specific to this dataset type. + *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. + // Description - Dataset description. Description *string `json:"description,omitempty"` - // Parameters - Parameters for linked service. + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the linked service. + // Annotations - List of tags that can be used for describing the Dataset. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for ImpalaLinkedService. -func (ils ImpalaLinkedService) MarshalJSON() ([]byte, error) { - ils.Type = TypeImpala +// MarshalJSON is the custom marshaler for HBaseObjectDataset. +func (hbod HBaseObjectDataset) MarshalJSON() ([]byte, error) { + hbod.Type = TypeHBaseObject objectMap := make(map[string]interface{}) - if ils.ImpalaLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = ils.ImpalaLinkedServiceTypeProperties + if hbod.GenericDatasetTypeProperties != nil { + objectMap["typeProperties"] = hbod.GenericDatasetTypeProperties } - if ils.ConnectVia != nil { - objectMap["connectVia"] = ils.ConnectVia + if hbod.Description != nil { + objectMap["description"] = hbod.Description } - if ils.Description != nil { - objectMap["description"] = ils.Description + if hbod.Structure != nil { + objectMap["structure"] = hbod.Structure } - if ils.Parameters != nil { - objectMap["parameters"] = ils.Parameters + if hbod.Schema != nil { + objectMap["schema"] = hbod.Schema } - if ils.Annotations != nil { - objectMap["annotations"] = ils.Annotations + if hbod.LinkedServiceName != nil { + objectMap["linkedServiceName"] = hbod.LinkedServiceName } - if ils.Type != "" { - objectMap["type"] = ils.Type + if hbod.Parameters != nil { + objectMap["parameters"] = hbod.Parameters } - for k, v := range ils.AdditionalProperties { + if hbod.Annotations != nil { + objectMap["annotations"] = hbod.Annotations + } + if hbod.Folder != nil { + objectMap["folder"] = hbod.Folder + } + if hbod.Type != "" { + objectMap["type"] = hbod.Type + } + for k, v := range hbod.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { - return nil, false -} - -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { - return nil, false -} - -// AsSapTableLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { - return nil, false -} - -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { - return nil, false -} - -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { - return nil, false -} - -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { - return &ils, true -} - -// AsHubspotLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { - return nil, false +// AsHBaseObjectDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { + return &hbod, true } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsDrillTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsHTTPDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsWebTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsRestResourceDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsInformixTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsOracleTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsODataResourceDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsFileShareDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsOffice365Dataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsCustomDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsAzureTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsBinaryDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsParquetDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAmazonS3Dataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsDataset() (*Dataset, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &ils, true +// AsBasicDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsBasicDataset() (BasicDataset, bool) { + return &hbod, true } -// UnmarshalJSON is the custom unmarshaler for ImpalaLinkedService struct. -func (ils *ImpalaLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for HBaseObjectDataset struct. +func (hbod *HBaseObjectDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -80406,12 +81946,12 @@ func (ils *ImpalaLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var impalaLinkedServiceTypeProperties ImpalaLinkedServiceTypeProperties - err = json.Unmarshal(*v, &impalaLinkedServiceTypeProperties) + var genericDatasetTypeProperties GenericDatasetTypeProperties + err = json.Unmarshal(*v, &genericDatasetTypeProperties) if err != nil { return err } - ils.ImpalaLinkedServiceTypeProperties = &impalaLinkedServiceTypeProperties + hbod.GenericDatasetTypeProperties = &genericDatasetTypeProperties } default: if v != nil { @@ -80420,19 +81960,10 @@ func (ils *ImpalaLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if ils.AdditionalProperties == nil { - ils.AdditionalProperties = make(map[string]interface{}) - } - ils.AdditionalProperties[k] = additionalProperties - } - case "connectVia": - if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) - if err != nil { - return err + if hbod.AdditionalProperties == nil { + hbod.AdditionalProperties = make(map[string]interface{}) } - ils.ConnectVia = &connectVia + hbod.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -80441,173 +81972,70 @@ func (ils *ImpalaLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - ils.Description = &description - } - case "parameters": - if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) - if err != nil { - return err - } - ils.Parameters = parameters - } - case "annotations": - if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) - if err != nil { - return err - } - ils.Annotations = &annotations - } - case "type": - if v != nil { - var typeVar TypeBasicLinkedService - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - ils.Type = typeVar - } - } - } - - return nil -} - -// ImpalaLinkedServiceTypeProperties impala server linked service properties. -type ImpalaLinkedServiceTypeProperties struct { - // Host - The IP address or host name of the Impala server. (i.e. 192.168.222.160) - Host interface{} `json:"host,omitempty"` - // Port - The TCP port that the Impala server uses to listen for client connections. The default value is 21050. - Port interface{} `json:"port,omitempty"` - // AuthenticationType - The authentication type to use. Possible values include: 'ImpalaAuthenticationTypeAnonymous', 'ImpalaAuthenticationTypeSASLUsername', 'ImpalaAuthenticationTypeUsernameAndPassword' - AuthenticationType ImpalaAuthenticationType `json:"authenticationType,omitempty"` - // Username - The user name used to access the Impala server. The default value is anonymous when using SASLUsername. - Username interface{} `json:"username,omitempty"` - // Password - The password corresponding to the user name when using UsernameAndPassword. - Password BasicSecretBase `json:"password,omitempty"` - // EnableSsl - Specifies whether the connections to the server are encrypted using SSL. The default value is false. - EnableSsl interface{} `json:"enableSsl,omitempty"` - // TrustedCertPath - 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. - TrustedCertPath interface{} `json:"trustedCertPath,omitempty"` - // UseSystemTrustStore - Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. - UseSystemTrustStore interface{} `json:"useSystemTrustStore,omitempty"` - // AllowHostNameCNMismatch - 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. - AllowHostNameCNMismatch interface{} `json:"allowHostNameCNMismatch,omitempty"` - // AllowSelfSignedServerCert - Specifies whether to allow self-signed certificates from the server. The default value is false. - AllowSelfSignedServerCert interface{} `json:"allowSelfSignedServerCert,omitempty"` - // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). - EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` -} - -// UnmarshalJSON is the custom unmarshaler for ImpalaLinkedServiceTypeProperties struct. -func (ilstp *ImpalaLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "host": - if v != nil { - var host interface{} - err = json.Unmarshal(*v, &host) - if err != nil { - return err - } - ilstp.Host = host - } - case "port": - if v != nil { - var port interface{} - err = json.Unmarshal(*v, &port) - if err != nil { - return err - } - ilstp.Port = port - } - case "authenticationType": - if v != nil { - var authenticationType ImpalaAuthenticationType - err = json.Unmarshal(*v, &authenticationType) - if err != nil { - return err - } - ilstp.AuthenticationType = authenticationType - } - case "username": - if v != nil { - var username interface{} - err = json.Unmarshal(*v, &username) - if err != nil { - return err - } - ilstp.Username = username + hbod.Description = &description } - case "password": + case "structure": if v != nil { - password, err := unmarshalBasicSecretBase(*v) + var structure interface{} + err = json.Unmarshal(*v, &structure) if err != nil { return err } - ilstp.Password = password + hbod.Structure = structure } - case "enableSsl": + case "schema": if v != nil { - var enableSsl interface{} - err = json.Unmarshal(*v, &enableSsl) + var schema interface{} + err = json.Unmarshal(*v, &schema) if err != nil { return err } - ilstp.EnableSsl = enableSsl + hbod.Schema = schema } - case "trustedCertPath": + case "linkedServiceName": if v != nil { - var trustedCertPath interface{} - err = json.Unmarshal(*v, &trustedCertPath) + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) if err != nil { return err } - ilstp.TrustedCertPath = trustedCertPath + hbod.LinkedServiceName = &linkedServiceName } - case "useSystemTrustStore": + case "parameters": if v != nil { - var useSystemTrustStore interface{} - err = json.Unmarshal(*v, &useSystemTrustStore) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - ilstp.UseSystemTrustStore = useSystemTrustStore + hbod.Parameters = parameters } - case "allowHostNameCNMismatch": + case "annotations": if v != nil { - var allowHostNameCNMismatch interface{} - err = json.Unmarshal(*v, &allowHostNameCNMismatch) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - ilstp.AllowHostNameCNMismatch = allowHostNameCNMismatch + hbod.Annotations = &annotations } - case "allowSelfSignedServerCert": + case "folder": if v != nil { - var allowSelfSignedServerCert interface{} - err = json.Unmarshal(*v, &allowSelfSignedServerCert) + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) if err != nil { return err } - ilstp.AllowSelfSignedServerCert = allowSelfSignedServerCert + hbod.Folder = &folder } - case "encryptedCredential": + case "type": if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) + var typeVar TypeBasicDataset + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - ilstp.EncryptedCredential = encryptedCredential + hbod.Type = typeVar } } } @@ -80615,414 +82043,459 @@ func (ilstp *ImpalaLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error return nil } -// ImpalaObjectDataset impala server dataset. -type ImpalaObjectDataset struct { - // GenericDatasetTypeProperties - Properties specific to this dataset type. - *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` +// HBaseSource a copy activity HBase server source. +type HBaseSource struct { + // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). + Query interface{} `json:"query,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Description - Dataset description. - Description *string `json:"description,omitempty"` - // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. - Structure interface{} `json:"structure,omitempty"` - // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - Schema interface{} `json:"schema,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Parameters - Parameters for dataset. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the Dataset. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' - Type TypeBasicDataset `json:"type,omitempty"` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) MarshalJSON() ([]byte, error) { - iod.Type = TypeImpalaObject +// MarshalJSON is the custom marshaler for HBaseSource. +func (hbs HBaseSource) MarshalJSON() ([]byte, error) { + hbs.Type = TypeHBaseSource objectMap := make(map[string]interface{}) - if iod.GenericDatasetTypeProperties != nil { - objectMap["typeProperties"] = iod.GenericDatasetTypeProperties - } - if iod.Description != nil { - objectMap["description"] = iod.Description - } - if iod.Structure != nil { - objectMap["structure"] = iod.Structure - } - if iod.Schema != nil { - objectMap["schema"] = iod.Schema - } - if iod.LinkedServiceName != nil { - objectMap["linkedServiceName"] = iod.LinkedServiceName + if hbs.Query != nil { + objectMap["query"] = hbs.Query } - if iod.Parameters != nil { - objectMap["parameters"] = iod.Parameters + if hbs.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = hbs.SourceRetryCount } - if iod.Annotations != nil { - objectMap["annotations"] = iod.Annotations + if hbs.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = hbs.SourceRetryWait } - if iod.Folder != nil { - objectMap["folder"] = iod.Folder + if hbs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = hbs.MaxConcurrentConnections } - if iod.Type != "" { - objectMap["type"] = iod.Type + if hbs.Type != "" { + objectMap["type"] = hbs.Type } - for k, v := range iod.AdditionalProperties { + for k, v := range hbs.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsResponsysSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsVerticaSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsNetezzaSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsZohoSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsXeroSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsSquareSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsSparkSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsShopifySource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsServiceNowSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsPrestoSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsPhoenixSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsPaypalSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsMarketoSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsMariaDBSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsMagentoSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsJiraSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { - return &iod, true +// AsImpalaSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsImpalaSource() (*ImpalaSource, bool) { + return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsHubspotSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsHiveSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsHBaseSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsHBaseSource() (*HBaseSource, bool) { + return &hbs, true +} + +// AsGreenplumSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsEloquaSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsDrillSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsConcurSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsHTTPSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsOffice365Source is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsMongoDbSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsCassandraSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsWebSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsTeradataSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsOracleSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsHdfsSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsFileSystemSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsSQLDWSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsSQLMISource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsSQLServerSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsSQLSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsRestSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsSapTableSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsSapHanaSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsSapEccSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsSalesforceSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsODataSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsSybaseSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsMySQLSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsOdbcSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsDb2Source is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsDataset() (*Dataset, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsBasicDataset() (BasicDataset, bool) { - return &iod, true +// AsInformixSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsInformixSource() (*InformixSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for ImpalaObjectDataset struct. -func (iod *ImpalaObjectDataset) UnmarshalJSON(body []byte) error { +// AsRelationalSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + +// AsDynamicsSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + +// AsAzureTableSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsBinarySource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsDelimitedTextSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false +} + +// AsParquetSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsBasicCopySource() (BasicCopySource, bool) { + return &hbs, true +} + +// UnmarshalJSON is the custom unmarshaler for HBaseSource struct. +func (hbs *HBaseSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -81030,14 +82503,14 @@ func (iod *ImpalaObjectDataset) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": + case "query": if v != nil { - var genericDatasetTypeProperties GenericDatasetTypeProperties - err = json.Unmarshal(*v, &genericDatasetTypeProperties) + var query interface{} + err = json.Unmarshal(*v, &query) if err != nil { return err } - iod.GenericDatasetTypeProperties = &genericDatasetTypeProperties + hbs.Query = query } default: if v != nil { @@ -81046,82 +82519,46 @@ func (iod *ImpalaObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if iod.AdditionalProperties == nil { - iod.AdditionalProperties = make(map[string]interface{}) - } - iod.AdditionalProperties[k] = additionalProperties - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - iod.Description = &description - } - case "structure": - if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) - if err != nil { - return err - } - iod.Structure = structure - } - case "schema": - if v != nil { - var schema interface{} - err = json.Unmarshal(*v, &schema) - if err != nil { - return err - } - iod.Schema = schema - } - case "linkedServiceName": - if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) - if err != nil { - return err + if hbs.AdditionalProperties == nil { + hbs.AdditionalProperties = make(map[string]interface{}) } - iod.LinkedServiceName = &linkedServiceName + hbs.AdditionalProperties[k] = additionalProperties } - case "parameters": + case "sourceRetryCount": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) if err != nil { return err } - iod.Parameters = parameters + hbs.SourceRetryCount = sourceRetryCount } - case "annotations": + case "sourceRetryWait": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) if err != nil { return err } - iod.Annotations = &annotations + hbs.SourceRetryWait = sourceRetryWait } - case "folder": + case "maxConcurrentConnections": if v != nil { - var folder DatasetFolder - err = json.Unmarshal(*v, &folder) + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) if err != nil { return err } - iod.Folder = &folder + hbs.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicDataset + var typeVar TypeBasicCopySource err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - iod.Type = typeVar + hbs.Type = typeVar } } } @@ -81129,389 +82566,514 @@ func (iod *ImpalaObjectDataset) UnmarshalJSON(body []byte) error { return nil } -// ImpalaSource a copy activity Impala server source. -type ImpalaSource struct { - // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). - Query interface{} `json:"query,omitempty"` +// HdfsLinkedService hadoop Distributed File System (HDFS) linked service. +type HdfsLinkedService struct { + // HdfsLinkedServiceTypeProperties - HDFS linked service properties. + *HdfsLinkedServiceTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). - SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` - // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' - Type TypeBasicCopySource `json:"type,omitempty"` + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. + Description *string `json:"description,omitempty"` + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the linked service. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for ImpalaSource. -func (is ImpalaSource) MarshalJSON() ([]byte, error) { - is.Type = TypeImpalaSource +// MarshalJSON is the custom marshaler for HdfsLinkedService. +func (hls HdfsLinkedService) MarshalJSON() ([]byte, error) { + hls.Type = TypeHdfs objectMap := make(map[string]interface{}) - if is.Query != nil { - objectMap["query"] = is.Query + if hls.HdfsLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = hls.HdfsLinkedServiceTypeProperties } - if is.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = is.SourceRetryCount + if hls.ConnectVia != nil { + objectMap["connectVia"] = hls.ConnectVia } - if is.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = is.SourceRetryWait + if hls.Description != nil { + objectMap["description"] = hls.Description } - if is.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = is.MaxConcurrentConnections + if hls.Parameters != nil { + objectMap["parameters"] = hls.Parameters } - if is.Type != "" { - objectMap["type"] = is.Type + if hls.Annotations != nil { + objectMap["annotations"] = hls.Annotations } - for k, v := range is.AdditionalProperties { + if hls.Type != "" { + objectMap["type"] = hls.Type + } + for k, v := range hls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsVerticaSource() (*VerticaSource, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsZohoSource() (*ZohoSource, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsXeroSource() (*XeroSource, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsSquareSource() (*SquareSource, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsSparkSource() (*SparkSource, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsShopifySource() (*ShopifySource, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsPrestoSource() (*PrestoSource, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsPaypalSource() (*PaypalSource, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsMarketoSource() (*MarketoSource, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsMagentoSource() (*MagentoSource, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsJiraSource() (*JiraSource, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsImpalaSource() (*ImpalaSource, bool) { - return &is, true +// AsPaypalLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { + return nil, false } -// AsHubspotSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsHubspotSource() (*HubspotSource, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsHiveSource() (*HiveSource, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsHBaseSource() (*HBaseSource, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsEloquaSource() (*EloquaSource, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsDrillSource() (*DrillSource, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsConcurSource() (*ConcurSource, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsHTTPSource() (*HTTPSource, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsOffice365Source() (*Office365Source, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsCassandraSource() (*CassandraSource, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsWebSource() (*WebSource, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsOracleSource() (*OracleSource, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsHdfsSource() (*HdfsSource, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsSQLSource() (*SQLSource, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsRestSource() (*RestSource, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsSapTableSource() (*SapTableSource, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsSapEccSource() (*SapEccSource, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsRelationalSource() (*RelationalSource, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsBlobSource() (*BlobSource, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { + return &hls, true +} + +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsParquetSource() (*ParquetSource, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsCopySource() (*CopySource, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsBasicCopySource() (BasicCopySource, bool) { - return &is, true +// AsTeradataLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for ImpalaSource struct. -func (is *ImpalaSource) UnmarshalJSON(body []byte) error { +// AsDb2LinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return nil, false +} + +// AsSybaseLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { + return nil, false +} + +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { + return nil, false +} + +// AsMySQLLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { + return nil, false +} + +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { + return nil, false +} + +// AsOracleLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { + return nil, false +} + +// AsFileServerLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { + return nil, false +} + +// AsHDInsightLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + +// AsDynamicsLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false +} + +// AsCosmosDbLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false +} + +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false +} + +// AsAzureBatchLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} + +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &hls, true +} + +// UnmarshalJSON is the custom unmarshaler for HdfsLinkedService struct. +func (hls *HdfsLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -81519,14 +83081,14 @@ func (is *ImpalaSource) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "query": + case "typeProperties": if v != nil { - var query interface{} - err = json.Unmarshal(*v, &query) + var hdfsLinkedServiceTypeProperties HdfsLinkedServiceTypeProperties + err = json.Unmarshal(*v, &hdfsLinkedServiceTypeProperties) if err != nil { return err } - is.Query = query + hls.HdfsLinkedServiceTypeProperties = &hdfsLinkedServiceTypeProperties } default: if v != nil { @@ -81535,46 +83097,55 @@ func (is *ImpalaSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - if is.AdditionalProperties == nil { - is.AdditionalProperties = make(map[string]interface{}) + if hls.AdditionalProperties == nil { + hls.AdditionalProperties = make(map[string]interface{}) } - is.AdditionalProperties[k] = additionalProperties + hls.AdditionalProperties[k] = additionalProperties } - case "sourceRetryCount": + case "connectVia": if v != nil { - var sourceRetryCount interface{} - err = json.Unmarshal(*v, &sourceRetryCount) + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) if err != nil { return err } - is.SourceRetryCount = sourceRetryCount + hls.ConnectVia = &connectVia } - case "sourceRetryWait": + case "description": if v != nil { - var sourceRetryWait interface{} - err = json.Unmarshal(*v, &sourceRetryWait) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - is.SourceRetryWait = sourceRetryWait + hls.Description = &description } - case "maxConcurrentConnections": + case "parameters": if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - is.MaxConcurrentConnections = maxConcurrentConnections + hls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + hls.Annotations = &annotations } case "type": if v != nil { - var typeVar TypeBasicCopySource + var typeVar TypeBasicLinkedService err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - is.Type = typeVar + hls.Type = typeVar } } } @@ -81582,102 +83153,22 @@ func (is *ImpalaSource) UnmarshalJSON(body []byte) error { return nil } -// BasicIntegrationRuntime azure Data Factory nested object which serves as a compute resource for activities. -type BasicIntegrationRuntime interface { - AsSelfHostedIntegrationRuntime() (*SelfHostedIntegrationRuntime, bool) - AsManagedIntegrationRuntime() (*ManagedIntegrationRuntime, bool) - AsIntegrationRuntime() (*IntegrationRuntime, bool) -} - -// IntegrationRuntime azure Data Factory nested object which serves as a compute resource for activities. -type IntegrationRuntime struct { - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Description - Integration runtime description. - Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeIntegrationRuntime', 'TypeSelfHosted', 'TypeManaged' - Type TypeBasicIntegrationRuntime `json:"type,omitempty"` -} - -func unmarshalBasicIntegrationRuntime(body []byte) (BasicIntegrationRuntime, error) { - var m map[string]interface{} - err := json.Unmarshal(body, &m) - if err != nil { - return nil, err - } - - switch m["type"] { - case string(TypeSelfHosted): - var shir SelfHostedIntegrationRuntime - err := json.Unmarshal(body, &shir) - return shir, err - case string(TypeManaged): - var mir ManagedIntegrationRuntime - err := json.Unmarshal(body, &mir) - return mir, err - default: - var ir IntegrationRuntime - err := json.Unmarshal(body, &ir) - return ir, err - } -} -func unmarshalBasicIntegrationRuntimeArray(body []byte) ([]BasicIntegrationRuntime, error) { - var rawMessages []*json.RawMessage - err := json.Unmarshal(body, &rawMessages) - if err != nil { - return nil, err - } - - irArray := make([]BasicIntegrationRuntime, len(rawMessages)) - - for index, rawMessage := range rawMessages { - ir, err := unmarshalBasicIntegrationRuntime(*rawMessage) - if err != nil { - return nil, err - } - irArray[index] = ir - } - return irArray, nil -} - -// MarshalJSON is the custom marshaler for IntegrationRuntime. -func (ir IntegrationRuntime) MarshalJSON() ([]byte, error) { - ir.Type = TypeIntegrationRuntime - objectMap := make(map[string]interface{}) - if ir.Description != nil { - objectMap["description"] = ir.Description - } - if ir.Type != "" { - objectMap["type"] = ir.Type - } - for k, v := range ir.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) -} - -// AsSelfHostedIntegrationRuntime is the BasicIntegrationRuntime implementation for IntegrationRuntime. -func (ir IntegrationRuntime) AsSelfHostedIntegrationRuntime() (*SelfHostedIntegrationRuntime, bool) { - return nil, false -} - -// AsManagedIntegrationRuntime is the BasicIntegrationRuntime implementation for IntegrationRuntime. -func (ir IntegrationRuntime) AsManagedIntegrationRuntime() (*ManagedIntegrationRuntime, bool) { - return nil, false -} - -// AsIntegrationRuntime is the BasicIntegrationRuntime implementation for IntegrationRuntime. -func (ir IntegrationRuntime) AsIntegrationRuntime() (*IntegrationRuntime, bool) { - return &ir, true -} - -// AsBasicIntegrationRuntime is the BasicIntegrationRuntime implementation for IntegrationRuntime. -func (ir IntegrationRuntime) AsBasicIntegrationRuntime() (BasicIntegrationRuntime, bool) { - return &ir, true +// HdfsLinkedServiceTypeProperties HDFS linked service properties. +type HdfsLinkedServiceTypeProperties struct { + // URL - The URL of the HDFS service endpoint, e.g. http://myhostname:50070/webhdfs/v1 . Type: string (or Expression with resultType string). + URL interface{} `json:"url,omitempty"` + // AuthenticationType - Type of authentication used to connect to the HDFS. Possible values are: Anonymous and Windows. Type: string (or Expression with resultType string). + AuthenticationType interface{} `json:"authenticationType,omitempty"` + // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` + // UserName - User name for Windows authentication. Type: string (or Expression with resultType string). + UserName interface{} `json:"userName,omitempty"` + // Password - Password for Windows authentication. + Password BasicSecretBase `json:"password,omitempty"` } -// UnmarshalJSON is the custom unmarshaler for IntegrationRuntime struct. -func (ir *IntegrationRuntime) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for HdfsLinkedServiceTypeProperties struct. +func (hlstp *HdfsLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -81685,35 +83176,49 @@ func (ir *IntegrationRuntime) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - default: + case "url": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var URL interface{} + err = json.Unmarshal(*v, &URL) if err != nil { return err } - if ir.AdditionalProperties == nil { - ir.AdditionalProperties = make(map[string]interface{}) + hlstp.URL = URL + } + case "authenticationType": + if v != nil { + var authenticationType interface{} + err = json.Unmarshal(*v, &authenticationType) + if err != nil { + return err } - ir.AdditionalProperties[k] = additionalProperties + hlstp.AuthenticationType = authenticationType } - case "description": + case "encryptedCredential": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) if err != nil { return err } - ir.Description = &description + hlstp.EncryptedCredential = encryptedCredential } - case "type": + case "userName": if v != nil { - var typeVar TypeBasicIntegrationRuntime - err = json.Unmarshal(*v, &typeVar) + var userName interface{} + err = json.Unmarshal(*v, &userName) if err != nil { return err } - ir.Type = typeVar + hlstp.UserName = userName + } + case "password": + if v != nil { + password, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + hlstp.Password = password } } } @@ -81721,57 +83226,38 @@ func (ir *IntegrationRuntime) UnmarshalJSON(body []byte) error { return nil } -// IntegrationRuntimeAuthKeys the integration runtime authentication keys. -type IntegrationRuntimeAuthKeys struct { - autorest.Response `json:"-"` - // AuthKey1 - The primary integration runtime authentication key. - AuthKey1 *string `json:"authKey1,omitempty"` - // AuthKey2 - The secondary integration runtime authentication key. - AuthKey2 *string `json:"authKey2,omitempty"` -} - -// IntegrationRuntimeComputeProperties the compute resource properties for managed integration runtime. -type IntegrationRuntimeComputeProperties struct { +// HdfsLocation the location of HDFS. +type HdfsLocation struct { // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Location - The location for managed integration runtime. The supported regions could be found on https://docs.microsoft.com/en-us/azure/data-factory/data-factory-data-movement-activities - Location *string `json:"location,omitempty"` - // NodeSize - The node size requirement to managed integration runtime. - NodeSize *string `json:"nodeSize,omitempty"` - // NumberOfNodes - The required number of nodes for managed integration runtime. - NumberOfNodes *int32 `json:"numberOfNodes,omitempty"` - // MaxParallelExecutionsPerNode - Maximum parallel executions count per node for managed integration runtime. - MaxParallelExecutionsPerNode *int32 `json:"maxParallelExecutionsPerNode,omitempty"` - // VNetProperties - VNet properties for managed integration runtime. - VNetProperties *IntegrationRuntimeVNetProperties `json:"vNetProperties,omitempty"` + // Type - Type of dataset storage location. + Type *string `json:"type,omitempty"` + // FolderPath - Specify the folder path of dataset. Type: string (or Expression with resultType string) + FolderPath interface{} `json:"folderPath,omitempty"` + // FileName - Specify the file name of dataset. Type: string (or Expression with resultType string). + FileName interface{} `json:"fileName,omitempty"` } -// MarshalJSON is the custom marshaler for IntegrationRuntimeComputeProperties. -func (ircp IntegrationRuntimeComputeProperties) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for HdfsLocation. +func (hl HdfsLocation) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if ircp.Location != nil { - objectMap["location"] = ircp.Location - } - if ircp.NodeSize != nil { - objectMap["nodeSize"] = ircp.NodeSize - } - if ircp.NumberOfNodes != nil { - objectMap["numberOfNodes"] = ircp.NumberOfNodes + if hl.Type != nil { + objectMap["type"] = hl.Type } - if ircp.MaxParallelExecutionsPerNode != nil { - objectMap["maxParallelExecutionsPerNode"] = ircp.MaxParallelExecutionsPerNode + if hl.FolderPath != nil { + objectMap["folderPath"] = hl.FolderPath } - if ircp.VNetProperties != nil { - objectMap["vNetProperties"] = ircp.VNetProperties + if hl.FileName != nil { + objectMap["fileName"] = hl.FileName } - for k, v := range ircp.AdditionalProperties { + for k, v := range hl.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for IntegrationRuntimeComputeProperties struct. -func (ircp *IntegrationRuntimeComputeProperties) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for HdfsLocation struct. +func (hl *HdfsLocation) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -81786,55 +83272,37 @@ func (ircp *IntegrationRuntimeComputeProperties) UnmarshalJSON(body []byte) erro if err != nil { return err } - if ircp.AdditionalProperties == nil { - ircp.AdditionalProperties = make(map[string]interface{}) + if hl.AdditionalProperties == nil { + hl.AdditionalProperties = make(map[string]interface{}) } - ircp.AdditionalProperties[k] = additionalProperties + hl.AdditionalProperties[k] = additionalProperties } - case "location": + case "type": if v != nil { - var location string - err = json.Unmarshal(*v, &location) + var typeVar string + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - ircp.Location = &location + hl.Type = &typeVar } - case "nodeSize": + case "folderPath": if v != nil { - var nodeSize string - err = json.Unmarshal(*v, &nodeSize) - if err != nil { - return err - } - ircp.NodeSize = &nodeSize - } - case "numberOfNodes": - if v != nil { - var numberOfNodes int32 - err = json.Unmarshal(*v, &numberOfNodes) - if err != nil { - return err - } - ircp.NumberOfNodes = &numberOfNodes - } - case "maxParallelExecutionsPerNode": - if v != nil { - var maxParallelExecutionsPerNode int32 - err = json.Unmarshal(*v, &maxParallelExecutionsPerNode) + var folderPath interface{} + err = json.Unmarshal(*v, &folderPath) if err != nil { return err } - ircp.MaxParallelExecutionsPerNode = &maxParallelExecutionsPerNode + hl.FolderPath = folderPath } - case "vNetProperties": + case "fileName": if v != nil { - var vNetProperties IntegrationRuntimeVNetProperties - err = json.Unmarshal(*v, &vNetProperties) + var fileName interface{} + err = json.Unmarshal(*v, &fileName) if err != nil { return err } - ircp.VNetProperties = &vNetProperties + hl.FileName = fileName } } } @@ -81842,37 +83310,68 @@ func (ircp *IntegrationRuntimeComputeProperties) UnmarshalJSON(body []byte) erro return nil } -// IntegrationRuntimeConnectionInfo connection information for encrypting the on-premises data source -// credentials. -type IntegrationRuntimeConnectionInfo struct { - autorest.Response `json:"-"` +// HdfsReadSettings HDFS read settings. +type HdfsReadSettings struct { + // Recursive - If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). + Recursive interface{} `json:"recursive,omitempty"` + // WildcardFolderPath - HDFS wildcardFolderPath. Type: string (or Expression with resultType string). + WildcardFolderPath interface{} `json:"wildcardFolderPath,omitempty"` + // WildcardFileName - HDFS wildcardFileName. Type: string (or Expression with resultType string). + WildcardFileName interface{} `json:"wildcardFileName,omitempty"` + // EnablePartitionDiscovery - Indicates whether to enable partition discovery. + EnablePartitionDiscovery *bool `json:"enablePartitionDiscovery,omitempty"` + // ModifiedDatetimeStart - The start of file's modified datetime. Type: string (or Expression with resultType string). + ModifiedDatetimeStart interface{} `json:"modifiedDatetimeStart,omitempty"` + // ModifiedDatetimeEnd - The end of file's modified datetime. Type: string (or Expression with resultType string). + ModifiedDatetimeEnd interface{} `json:"modifiedDatetimeEnd,omitempty"` + // DistcpSettings - Specifies Distcp-related settings. + DistcpSettings *DistcpSettings `json:"distcpSettings,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // ServiceToken - READ-ONLY; The token generated in service. Callers use this token to authenticate to integration runtime. - ServiceToken *string `json:"serviceToken,omitempty"` - // IdentityCertThumbprint - READ-ONLY; The integration runtime SSL certificate thumbprint. Click-Once application uses it to do server validation. - IdentityCertThumbprint *string `json:"identityCertThumbprint,omitempty"` - // HostServiceURI - READ-ONLY; The on-premises integration runtime host URL. - HostServiceURI *string `json:"hostServiceUri,omitempty"` - // Version - READ-ONLY; The integration runtime version. - Version *string `json:"version,omitempty"` - // PublicKey - READ-ONLY; The public key for encrypting a credential when transferring the credential to the integration runtime. - PublicKey *string `json:"publicKey,omitempty"` - // IsIdentityCertExprired - READ-ONLY; Whether the identity certificate is expired. - IsIdentityCertExprired *bool `json:"isIdentityCertExprired,omitempty"` + // Type - The read setting type. + Type *string `json:"type,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` } -// MarshalJSON is the custom marshaler for IntegrationRuntimeConnectionInfo. -func (irci IntegrationRuntimeConnectionInfo) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for HdfsReadSettings. +func (hrs HdfsReadSettings) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - for k, v := range irci.AdditionalProperties { + if hrs.Recursive != nil { + objectMap["recursive"] = hrs.Recursive + } + if hrs.WildcardFolderPath != nil { + objectMap["wildcardFolderPath"] = hrs.WildcardFolderPath + } + if hrs.WildcardFileName != nil { + objectMap["wildcardFileName"] = hrs.WildcardFileName + } + if hrs.EnablePartitionDiscovery != nil { + objectMap["enablePartitionDiscovery"] = hrs.EnablePartitionDiscovery + } + if hrs.ModifiedDatetimeStart != nil { + objectMap["modifiedDatetimeStart"] = hrs.ModifiedDatetimeStart + } + if hrs.ModifiedDatetimeEnd != nil { + objectMap["modifiedDatetimeEnd"] = hrs.ModifiedDatetimeEnd + } + if hrs.DistcpSettings != nil { + objectMap["distcpSettings"] = hrs.DistcpSettings + } + if hrs.Type != nil { + objectMap["type"] = hrs.Type + } + if hrs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = hrs.MaxConcurrentConnections + } + for k, v := range hrs.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for IntegrationRuntimeConnectionInfo struct. -func (irci *IntegrationRuntimeConnectionInfo) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for HdfsReadSettings struct. +func (hrs *HdfsReadSettings) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -81880,71 +83379,98 @@ func (irci *IntegrationRuntimeConnectionInfo) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - default: + case "recursive": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var recursive interface{} + err = json.Unmarshal(*v, &recursive) if err != nil { return err } - if irci.AdditionalProperties == nil { - irci.AdditionalProperties = make(map[string]interface{}) + hrs.Recursive = recursive + } + case "wildcardFolderPath": + if v != nil { + var wildcardFolderPath interface{} + err = json.Unmarshal(*v, &wildcardFolderPath) + if err != nil { + return err } - irci.AdditionalProperties[k] = additionalProperties + hrs.WildcardFolderPath = wildcardFolderPath } - case "serviceToken": + case "wildcardFileName": if v != nil { - var serviceToken string - err = json.Unmarshal(*v, &serviceToken) + var wildcardFileName interface{} + err = json.Unmarshal(*v, &wildcardFileName) if err != nil { return err } - irci.ServiceToken = &serviceToken + hrs.WildcardFileName = wildcardFileName } - case "identityCertThumbprint": + case "enablePartitionDiscovery": if v != nil { - var identityCertThumbprint string - err = json.Unmarshal(*v, &identityCertThumbprint) + var enablePartitionDiscovery bool + err = json.Unmarshal(*v, &enablePartitionDiscovery) if err != nil { return err } - irci.IdentityCertThumbprint = &identityCertThumbprint + hrs.EnablePartitionDiscovery = &enablePartitionDiscovery } - case "hostServiceUri": + case "modifiedDatetimeStart": if v != nil { - var hostServiceURI string - err = json.Unmarshal(*v, &hostServiceURI) + var modifiedDatetimeStart interface{} + err = json.Unmarshal(*v, &modifiedDatetimeStart) if err != nil { return err } - irci.HostServiceURI = &hostServiceURI + hrs.ModifiedDatetimeStart = modifiedDatetimeStart } - case "version": + case "modifiedDatetimeEnd": if v != nil { - var version string - err = json.Unmarshal(*v, &version) + var modifiedDatetimeEnd interface{} + err = json.Unmarshal(*v, &modifiedDatetimeEnd) if err != nil { return err } - irci.Version = &version + hrs.ModifiedDatetimeEnd = modifiedDatetimeEnd } - case "publicKey": + case "distcpSettings": if v != nil { - var publicKey string - err = json.Unmarshal(*v, &publicKey) + var distcpSettings DistcpSettings + err = json.Unmarshal(*v, &distcpSettings) if err != nil { return err } - irci.PublicKey = &publicKey + hrs.DistcpSettings = &distcpSettings } - case "isIdentityCertExprired": + default: if v != nil { - var isIdentityCertExprired bool - err = json.Unmarshal(*v, &isIdentityCertExprired) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - irci.IsIdentityCertExprired = &isIdentityCertExprired + if hrs.AdditionalProperties == nil { + hrs.AdditionalProperties = make(map[string]interface{}) + } + hrs.AdditionalProperties[k] = additionalProperties + } + case "type": + if v != nil { + var typeVar string + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + hrs.Type = &typeVar + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + hrs.MaxConcurrentConnections = maxConcurrentConnections } } } @@ -81952,221 +83478,464 @@ func (irci *IntegrationRuntimeConnectionInfo) UnmarshalJSON(body []byte) error { return nil } -// IntegrationRuntimeCustomSetupScriptProperties custom setup script properties for a managed dedicated -// integration runtime. -type IntegrationRuntimeCustomSetupScriptProperties struct { - // BlobContainerURI - The URI of the Azure blob container that contains the custom setup script. - BlobContainerURI *string `json:"blobContainerUri,omitempty"` - // SasToken - The SAS token of the Azure blob container. - SasToken *SecureString `json:"sasToken,omitempty"` +// HdfsSource a copy activity HDFS source. +type HdfsSource struct { + // Recursive - If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). + Recursive interface{} `json:"recursive,omitempty"` + // DistcpSettings - Specifies Distcp-related settings. + DistcpSettings *DistcpSettings `json:"distcpSettings,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// IntegrationRuntimeDataProxyProperties data proxy properties for a managed dedicated integration runtime. -type IntegrationRuntimeDataProxyProperties struct { - // ConnectVia - The self-hosted integration runtime reference. - ConnectVia *EntityReference `json:"connectVia,omitempty"` - // StagingLinkedService - The staging linked service reference. - StagingLinkedService *EntityReference `json:"stagingLinkedService,omitempty"` - // Path - The path to contain the staged data in the Blob storage. - Path *string `json:"path,omitempty"` +// MarshalJSON is the custom marshaler for HdfsSource. +func (hs HdfsSource) MarshalJSON() ([]byte, error) { + hs.Type = TypeHdfsSource + objectMap := make(map[string]interface{}) + if hs.Recursive != nil { + objectMap["recursive"] = hs.Recursive + } + if hs.DistcpSettings != nil { + objectMap["distcpSettings"] = hs.DistcpSettings + } + if hs.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = hs.SourceRetryCount + } + if hs.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = hs.SourceRetryWait + } + if hs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = hs.MaxConcurrentConnections + } + if hs.Type != "" { + objectMap["type"] = hs.Type + } + for k, v := range hs.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// IntegrationRuntimeListResponse a list of integration runtime resources. -type IntegrationRuntimeListResponse struct { - autorest.Response `json:"-"` - // Value - List of integration runtimes. - Value *[]IntegrationRuntimeResource `json:"value,omitempty"` - // NextLink - The link to the next page of results, if any remaining results exist. - NextLink *string `json:"nextLink,omitempty"` +// AsAmazonRedshiftSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { + return nil, false } -// IntegrationRuntimeListResponseIterator provides access to a complete listing of -// IntegrationRuntimeResource values. -type IntegrationRuntimeListResponseIterator struct { - i int - page IntegrationRuntimeListResponsePage +// AsGoogleAdWordsSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { + return nil, false } -// NextWithContext advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -func (iter *IntegrationRuntimeListResponseIterator) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/IntegrationRuntimeListResponseIterator.NextWithContext") - defer func() { - sc := -1 - if iter.Response().Response.Response != nil { - sc = iter.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - iter.i++ - if iter.i < len(iter.page.Values()) { - return nil - } - err = iter.page.NextWithContext(ctx) - if err != nil { - iter.i-- - return err - } - iter.i = 0 - return nil +// AsOracleServiceCloudSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { + return nil, false } -// Next advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (iter *IntegrationRuntimeListResponseIterator) Next() error { - return iter.NextWithContext(context.Background()) +// AsDynamicsAXSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { + return nil, false } -// NotDone returns true if the enumeration should be started or is not yet complete. -func (iter IntegrationRuntimeListResponseIterator) NotDone() bool { - return iter.page.NotDone() && iter.i < len(iter.page.Values()) +// AsResponsysSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsResponsysSource() (*ResponsysSource, bool) { + return nil, false } -// Response returns the raw server response from the last page request. -func (iter IntegrationRuntimeListResponseIterator) Response() IntegrationRuntimeListResponse { - return iter.page.Response() +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { + return nil, false } -// Value returns the current value or a zero-initialized value if the -// iterator has advanced beyond the end of the collection. -func (iter IntegrationRuntimeListResponseIterator) Value() IntegrationRuntimeResource { - if !iter.page.NotDone() { - return IntegrationRuntimeResource{} - } - return iter.page.Values()[iter.i] +// AsVerticaSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false } -// Creates a new instance of the IntegrationRuntimeListResponseIterator type. -func NewIntegrationRuntimeListResponseIterator(page IntegrationRuntimeListResponsePage) IntegrationRuntimeListResponseIterator { - return IntegrationRuntimeListResponseIterator{page: page} +// AsNetezzaSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false } -// IsEmpty returns true if the ListResult contains no values. -func (irlr IntegrationRuntimeListResponse) IsEmpty() bool { - return irlr.Value == nil || len(*irlr.Value) == 0 +// AsZohoSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsZohoSource() (*ZohoSource, bool) { + return nil, false } -// integrationRuntimeListResponsePreparer prepares a request to retrieve the next set of results. -// It returns nil if no more results exist. -func (irlr IntegrationRuntimeListResponse) integrationRuntimeListResponsePreparer(ctx context.Context) (*http.Request, error) { - if irlr.NextLink == nil || len(to.String(irlr.NextLink)) < 1 { - return nil, nil - } - return autorest.Prepare((&http.Request{}).WithContext(ctx), - autorest.AsJSON(), - autorest.AsGet(), - autorest.WithBaseURL(to.String(irlr.NextLink))) +// AsXeroSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsXeroSource() (*XeroSource, bool) { + return nil, false } -// IntegrationRuntimeListResponsePage contains a page of IntegrationRuntimeResource values. -type IntegrationRuntimeListResponsePage struct { - fn func(context.Context, IntegrationRuntimeListResponse) (IntegrationRuntimeListResponse, error) - irlr IntegrationRuntimeListResponse +// AsSquareSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsSquareSource() (*SquareSource, bool) { + return nil, false } -// NextWithContext advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -func (page *IntegrationRuntimeListResponsePage) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/IntegrationRuntimeListResponsePage.NextWithContext") - defer func() { - sc := -1 - if page.Response().Response.Response != nil { - sc = page.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - next, err := page.fn(ctx, page.irlr) - if err != nil { - return err - } - page.irlr = next - return nil +// AsSparkSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsSparkSource() (*SparkSource, bool) { + return nil, false } -// Next advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (page *IntegrationRuntimeListResponsePage) Next() error { - return page.NextWithContext(context.Background()) +// AsShopifySource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsShopifySource() (*ShopifySource, bool) { + return nil, false } -// NotDone returns true if the page enumeration should be started or is not yet complete. -func (page IntegrationRuntimeListResponsePage) NotDone() bool { - return !page.irlr.IsEmpty() +// AsServiceNowSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsServiceNowSource() (*ServiceNowSource, bool) { + return nil, false } -// Response returns the raw server response from the last page request. -func (page IntegrationRuntimeListResponsePage) Response() IntegrationRuntimeListResponse { - return page.irlr +// AsQuickBooksSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsQuickBooksSource() (*QuickBooksSource, bool) { + return nil, false } -// Values returns the slice of values for the current page or nil if there are no values. -func (page IntegrationRuntimeListResponsePage) Values() []IntegrationRuntimeResource { - if page.irlr.IsEmpty() { - return nil - } - return *page.irlr.Value +// AsPrestoSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsPrestoSource() (*PrestoSource, bool) { + return nil, false } -// Creates a new instance of the IntegrationRuntimeListResponsePage type. -func NewIntegrationRuntimeListResponsePage(getNextPage func(context.Context, IntegrationRuntimeListResponse) (IntegrationRuntimeListResponse, error)) IntegrationRuntimeListResponsePage { - return IntegrationRuntimeListResponsePage{fn: getNextPage} +// AsPhoenixSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsPhoenixSource() (*PhoenixSource, bool) { + return nil, false } -// IntegrationRuntimeMonitoringData get monitoring data response. -type IntegrationRuntimeMonitoringData struct { - autorest.Response `json:"-"` - // Name - Integration runtime name. - Name *string `json:"name,omitempty"` - // Nodes - Integration runtime node monitoring data. - Nodes *[]IntegrationRuntimeNodeMonitoringData `json:"nodes,omitempty"` +// AsPaypalSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsPaypalSource() (*PaypalSource, bool) { + return nil, false } -// IntegrationRuntimeNodeIPAddress the IP address of self-hosted integration runtime node. -type IntegrationRuntimeNodeIPAddress struct { - autorest.Response `json:"-"` - // IPAddress - READ-ONLY; The IP address of self-hosted integration runtime node. - IPAddress *string `json:"ipAddress,omitempty"` +// AsMarketoSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsMarketoSource() (*MarketoSource, bool) { + return nil, false } -// IntegrationRuntimeNodeMonitoringData monitoring data for integration runtime node. -type IntegrationRuntimeNodeMonitoringData struct { - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // NodeName - READ-ONLY; Name of the integration runtime node. - NodeName *string `json:"nodeName,omitempty"` - // AvailableMemoryInMB - READ-ONLY; Available memory (MB) on the integration runtime node. - AvailableMemoryInMB *int32 `json:"availableMemoryInMB,omitempty"` - // CPUUtilization - READ-ONLY; CPU percentage on the integration runtime node. - CPUUtilization *int32 `json:"cpuUtilization,omitempty"` - // ConcurrentJobsLimit - READ-ONLY; Maximum concurrent jobs on the integration runtime node. - ConcurrentJobsLimit *int32 `json:"concurrentJobsLimit,omitempty"` - // ConcurrentJobsRunning - READ-ONLY; The number of jobs currently running on the integration runtime node. - ConcurrentJobsRunning *int32 `json:"concurrentJobsRunning,omitempty"` - // MaxConcurrentJobs - READ-ONLY; The maximum concurrent jobs in this integration runtime. - MaxConcurrentJobs *int32 `json:"maxConcurrentJobs,omitempty"` - // SentBytes - READ-ONLY; Sent bytes on the integration runtime node. - SentBytes *float64 `json:"sentBytes,omitempty"` - // ReceivedBytes - READ-ONLY; Received bytes on the integration runtime node. - ReceivedBytes *float64 `json:"receivedBytes,omitempty"` +// AsMariaDBSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsMariaDBSource() (*MariaDBSource, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for IntegrationRuntimeNodeMonitoringData. -func (irnmd IntegrationRuntimeNodeMonitoringData) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - for k, v := range irnmd.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsMagentoSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsMagentoSource() (*MagentoSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for IntegrationRuntimeNodeMonitoringData struct. -func (irnmd *IntegrationRuntimeNodeMonitoringData) UnmarshalJSON(body []byte) error { +// AsJiraSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsJiraSource() (*JiraSource, bool) { + return nil, false +} + +// AsImpalaSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsImpalaSource() (*ImpalaSource, bool) { + return nil, false +} + +// AsHubspotSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsHubspotSource() (*HubspotSource, bool) { + return nil, false +} + +// AsHiveSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsHiveSource() (*HiveSource, bool) { + return nil, false +} + +// AsHBaseSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsHBaseSource() (*HBaseSource, bool) { + return nil, false +} + +// AsGreenplumSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsGreenplumSource() (*GreenplumSource, bool) { + return nil, false +} + +// AsGoogleBigQuerySource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { + return nil, false +} + +// AsEloquaSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsEloquaSource() (*EloquaSource, bool) { + return nil, false +} + +// AsDrillSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsDrillSource() (*DrillSource, bool) { + return nil, false +} + +// AsCouchbaseSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsCouchbaseSource() (*CouchbaseSource, bool) { + return nil, false +} + +// AsConcurSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsConcurSource() (*ConcurSource, bool) { + return nil, false +} + +// AsAzurePostgreSQLSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { + return nil, false +} + +// AsAmazonMWSSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { + return nil, false +} + +// AsHTTPSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsCassandraSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsCassandraSource() (*CassandraSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsTeradataSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsAzureMySQLSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsHdfsSource() (*HdfsSource, bool) { + return &hs, true +} + +// AsFileSystemSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsSQLDWSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsSQLDWSource() (*SQLDWSource, bool) { + return nil, false +} + +// AsSQLMISource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsSQLMISource() (*SQLMISource, bool) { + return nil, false +} + +// AsAzureSQLSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsAzureSQLSource() (*AzureSQLSource, bool) { + return nil, false +} + +// AsSQLServerSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsSQLServerSource() (*SQLServerSource, bool) { + return nil, false +} + +// AsSQLSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsSQLSource() (*SQLSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSapTableSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsSapTableSource() (*SapTableSource, bool) { + return nil, false +} + +// AsSapOpenHubSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { + return nil, false +} + +// AsSapHanaSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsSapHanaSource() (*SapHanaSource, bool) { + return nil, false +} + +// AsSapEccSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsSapEccSource() (*SapEccSource, bool) { + return nil, false +} + +// AsSapCloudForCustomerSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsSalesforceSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsSalesforceSource() (*SalesforceSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsSybaseSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsSybaseSource() (*SybaseSource, bool) { + return nil, false +} + +// AsPostgreSQLSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false +} + +// AsMySQLSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false +} + +// AsOdbcSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false +} + +// AsDb2Source is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsDb2Source() (*Db2Source, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + +// AsRelationalSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + +// AsDynamicsSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + +// AsAzureTableSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsBinarySource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsDelimitedTextSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false +} + +// AsParquetSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsBasicCopySource() (BasicCopySource, bool) { + return &hs, true +} + +// UnmarshalJSON is the custom unmarshaler for HdfsSource struct. +func (hs *HdfsSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -82174,89 +83943,71 @@ func (irnmd *IntegrationRuntimeNodeMonitoringData) UnmarshalJSON(body []byte) er } for k, v := range m { switch k { - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if irnmd.AdditionalProperties == nil { - irnmd.AdditionalProperties = make(map[string]interface{}) - } - irnmd.AdditionalProperties[k] = additionalProperties - } - case "nodeName": + case "recursive": if v != nil { - var nodeName string - err = json.Unmarshal(*v, &nodeName) + var recursive interface{} + err = json.Unmarshal(*v, &recursive) if err != nil { return err } - irnmd.NodeName = &nodeName + hs.Recursive = recursive } - case "availableMemoryInMB": + case "distcpSettings": if v != nil { - var availableMemoryInMB int32 - err = json.Unmarshal(*v, &availableMemoryInMB) + var distcpSettings DistcpSettings + err = json.Unmarshal(*v, &distcpSettings) if err != nil { return err } - irnmd.AvailableMemoryInMB = &availableMemoryInMB + hs.DistcpSettings = &distcpSettings } - case "cpuUtilization": + default: if v != nil { - var CPUUtilization int32 - err = json.Unmarshal(*v, &CPUUtilization) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - irnmd.CPUUtilization = &CPUUtilization - } - case "concurrentJobsLimit": - if v != nil { - var concurrentJobsLimit int32 - err = json.Unmarshal(*v, &concurrentJobsLimit) - if err != nil { - return err + if hs.AdditionalProperties == nil { + hs.AdditionalProperties = make(map[string]interface{}) } - irnmd.ConcurrentJobsLimit = &concurrentJobsLimit + hs.AdditionalProperties[k] = additionalProperties } - case "concurrentJobsRunning": + case "sourceRetryCount": if v != nil { - var concurrentJobsRunning int32 - err = json.Unmarshal(*v, &concurrentJobsRunning) + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) if err != nil { return err } - irnmd.ConcurrentJobsRunning = &concurrentJobsRunning + hs.SourceRetryCount = sourceRetryCount } - case "maxConcurrentJobs": + case "sourceRetryWait": if v != nil { - var maxConcurrentJobs int32 - err = json.Unmarshal(*v, &maxConcurrentJobs) + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) if err != nil { return err } - irnmd.MaxConcurrentJobs = &maxConcurrentJobs + hs.SourceRetryWait = sourceRetryWait } - case "sentBytes": + case "maxConcurrentConnections": if v != nil { - var sentBytes float64 - err = json.Unmarshal(*v, &sentBytes) + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) if err != nil { return err } - irnmd.SentBytes = &sentBytes + hs.MaxConcurrentConnections = maxConcurrentConnections } - case "receivedBytes": + case "type": if v != nil { - var receivedBytes float64 - err = json.Unmarshal(*v, &receivedBytes) + var typeVar TypeBasicCopySource + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - irnmd.ReceivedBytes = &receivedBytes + hs.Type = typeVar } } } @@ -82264,177 +84015,22506 @@ func (irnmd *IntegrationRuntimeNodeMonitoringData) UnmarshalJSON(body []byte) er return nil } -// IntegrationRuntimeObjectMetadataRefreshFuture an abstraction for monitoring and retrieving the results -// of a long-running operation. -type IntegrationRuntimeObjectMetadataRefreshFuture struct { - azure.Future +// HDInsightHiveActivity hDInsight Hive activity type. +type HDInsightHiveActivity struct { + // HDInsightHiveActivityTypeProperties - HDInsight Hive activity properties. + *HDInsightHiveActivityTypeProperties `json:"typeProperties,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Policy - Activity policy. + Policy *ActivityPolicy `json:"policy,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Name - Activity name. + Name *string `json:"name,omitempty"` + // Description - Activity description. + Description *string `json:"description,omitempty"` + // DependsOn - Activity depends on condition. + DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` + // UserProperties - Activity user properties. + UserProperties *[]UserProperty `json:"userProperties,omitempty"` + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + Type TypeBasicActivity `json:"type,omitempty"` } -// Result returns the result of the asynchronous operation. -// If the operation has not completed it will return an error. -func (future *IntegrationRuntimeObjectMetadataRefreshFuture) Result(client IntegrationRuntimeObjectMetadataClient) (somsr SsisObjectMetadataStatusResponse, err error) { - var done bool - done, err = future.DoneWithContext(context.Background(), client) - if err != nil { - err = autorest.NewErrorWithError(err, "datafactory.IntegrationRuntimeObjectMetadataRefreshFuture", "Result", future.Response(), "Polling failure") - return +// MarshalJSON is the custom marshaler for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) MarshalJSON() ([]byte, error) { + hiha.Type = TypeHDInsightHive + objectMap := make(map[string]interface{}) + if hiha.HDInsightHiveActivityTypeProperties != nil { + objectMap["typeProperties"] = hiha.HDInsightHiveActivityTypeProperties } - if !done { - err = azure.NewAsyncOpIncompleteError("datafactory.IntegrationRuntimeObjectMetadataRefreshFuture") - return + if hiha.LinkedServiceName != nil { + objectMap["linkedServiceName"] = hiha.LinkedServiceName } - sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) - if somsr.Response.Response, err = future.GetResult(sender); err == nil && somsr.Response.Response.StatusCode != http.StatusNoContent { - somsr, err = client.RefreshResponder(somsr.Response.Response) - if err != nil { - err = autorest.NewErrorWithError(err, "datafactory.IntegrationRuntimeObjectMetadataRefreshFuture", "Result", somsr.Response.Response, "Failure responding to request") - } + if hiha.Policy != nil { + objectMap["policy"] = hiha.Policy } - return -} - -// IntegrationRuntimeReference integration runtime reference type. -type IntegrationRuntimeReference struct { - // Type - Type of integration runtime. - Type *string `json:"type,omitempty"` - // ReferenceName - Reference integration runtime name. - ReferenceName *string `json:"referenceName,omitempty"` - // Parameters - Arguments for integration runtime. - Parameters map[string]interface{} `json:"parameters"` -} - -// MarshalJSON is the custom marshaler for IntegrationRuntimeReference. -func (irr IntegrationRuntimeReference) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if irr.Type != nil { - objectMap["type"] = irr.Type + if hiha.Name != nil { + objectMap["name"] = hiha.Name } - if irr.ReferenceName != nil { - objectMap["referenceName"] = irr.ReferenceName + if hiha.Description != nil { + objectMap["description"] = hiha.Description } - if irr.Parameters != nil { - objectMap["parameters"] = irr.Parameters + if hiha.DependsOn != nil { + objectMap["dependsOn"] = hiha.DependsOn + } + if hiha.UserProperties != nil { + objectMap["userProperties"] = hiha.UserProperties + } + if hiha.Type != "" { + objectMap["type"] = hiha.Type + } + for k, v := range hiha.AdditionalProperties { + objectMap[k] = v } return json.Marshal(objectMap) } -// IntegrationRuntimeRegenerateKeyParameters parameters to regenerate the authentication key. -type IntegrationRuntimeRegenerateKeyParameters struct { - // KeyName - The name of the authentication key to regenerate. Possible values include: 'AuthKey1', 'AuthKey2' - KeyName IntegrationRuntimeAuthKeyName `json:"keyName,omitempty"` +// AsAzureFunctionActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { + return nil, false } -// IntegrationRuntimeResource integration runtime resource type. -type IntegrationRuntimeResource struct { - autorest.Response `json:"-"` - // Properties - Integration runtime properties. - Properties BasicIntegrationRuntime `json:"properties,omitempty"` - // ID - READ-ONLY; The resource identifier. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; The resource name. - Name *string `json:"name,omitempty"` - // Type - READ-ONLY; The resource type. - Type *string `json:"type,omitempty"` - // Etag - READ-ONLY; Etag identifies change in the resource. - Etag *string `json:"etag,omitempty"` +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for IntegrationRuntimeResource struct. -func (irr *IntegrationRuntimeResource) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - properties, err := unmarshalBasicIntegrationRuntime(*v) - if err != nil { - return err - } - irr.Properties = properties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - irr.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - irr.Name = &name - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - irr.Type = &typeVar - } - case "etag": - if v != nil { - var etag string - err = json.Unmarshal(*v, &etag) - if err != nil { - return err - } - irr.Etag = &etag - } - } - } +// AsDatabricksSparkJarActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { + return nil, false +} - return nil +// AsDatabricksNotebookActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { + return nil, false } -// IntegrationRuntimeSsisCatalogInfo catalog information for managed dedicated integration runtime. -type IntegrationRuntimeSsisCatalogInfo struct { - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // CatalogServerEndpoint - The catalog database server URL. - CatalogServerEndpoint *string `json:"catalogServerEndpoint,omitempty"` - // CatalogAdminUserName - The administrator user name of catalog database. - CatalogAdminUserName *string `json:"catalogAdminUserName,omitempty"` - // CatalogAdminPassword - The password of the administrator user account of the catalog database. - CatalogAdminPassword *SecureString `json:"catalogAdminPassword,omitempty"` - // CatalogPricingTier - The pricing tier for the catalog database. The valid values could be found in https://azure.microsoft.com/en-us/pricing/details/sql-database/. Possible values include: 'IntegrationRuntimeSsisCatalogPricingTierBasic', 'IntegrationRuntimeSsisCatalogPricingTierStandard', 'IntegrationRuntimeSsisCatalogPricingTierPremium', 'IntegrationRuntimeSsisCatalogPricingTierPremiumRS' - CatalogPricingTier IntegrationRuntimeSsisCatalogPricingTier `json:"catalogPricingTier,omitempty"` +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { + return nil, false +} + +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { + return nil, false +} + +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { + return nil, false +} + +// AsGetMetadataActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { + return nil, false +} + +// AsWebActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsWebActivity() (*WebActivity, bool) { + return nil, false +} + +// AsLookupActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsLookupActivity() (*LookupActivity, bool) { + return nil, false +} + +// AsDeleteActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsDeleteActivity() (*DeleteActivity, bool) { + return nil, false +} + +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { + return nil, false +} + +// AsCustomActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsCustomActivity() (*CustomActivity, bool) { + return nil, false +} + +// AsExecuteSSISPackageActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { + return nil, false +} + +// AsHDInsightSparkActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { + return nil, false +} + +// AsHDInsightStreamingActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { + return nil, false +} + +// AsHDInsightMapReduceActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { + return nil, false +} + +// AsHDInsightPigActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { + return nil, false +} + +// AsHDInsightHiveActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { + return &hiha, true +} + +// AsCopyActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsCopyActivity() (*CopyActivity, bool) { + return nil, false +} + +// AsExecutionActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsExecutionActivity() (*ExecutionActivity, bool) { + return nil, false +} + +// AsBasicExecutionActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return &hiha, true +} + +// AsWebHookActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsWebHookActivity() (*WebHookActivity, bool) { + return nil, false +} + +// AsAppendVariableActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { + return nil, false +} + +// AsSetVariableActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { + return nil, false +} + +// AsFilterActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsFilterActivity() (*FilterActivity, bool) { + return nil, false +} + +// AsValidationActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsValidationActivity() (*ValidationActivity, bool) { + return nil, false +} + +// AsUntilActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsUntilActivity() (*UntilActivity, bool) { + return nil, false +} + +// AsWaitActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsWaitActivity() (*WaitActivity, bool) { + return nil, false +} + +// AsForEachActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsForEachActivity() (*ForEachActivity, bool) { + return nil, false +} + +// AsIfConditionActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { + return nil, false +} + +// AsExecutePipelineActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { + return nil, false +} + +// AsControlActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsControlActivity() (*ControlActivity, bool) { + return nil, false +} + +// AsBasicControlActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsBasicControlActivity() (BasicControlActivity, bool) { + return nil, false +} + +// AsActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsActivity() (*Activity, bool) { + return nil, false +} + +// AsBasicActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsBasicActivity() (BasicActivity, bool) { + return &hiha, true +} + +// UnmarshalJSON is the custom unmarshaler for HDInsightHiveActivity struct. +func (hiha *HDInsightHiveActivity) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "typeProperties": + if v != nil { + var hDInsightHiveActivityTypeProperties HDInsightHiveActivityTypeProperties + err = json.Unmarshal(*v, &hDInsightHiveActivityTypeProperties) + if err != nil { + return err + } + hiha.HDInsightHiveActivityTypeProperties = &hDInsightHiveActivityTypeProperties + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + hiha.LinkedServiceName = &linkedServiceName + } + case "policy": + if v != nil { + var policy ActivityPolicy + err = json.Unmarshal(*v, &policy) + if err != nil { + return err + } + hiha.Policy = &policy + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if hiha.AdditionalProperties == nil { + hiha.AdditionalProperties = make(map[string]interface{}) + } + hiha.AdditionalProperties[k] = additionalProperties + } + case "name": + if v != nil { + var name string + err = json.Unmarshal(*v, &name) + if err != nil { + return err + } + hiha.Name = &name + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + hiha.Description = &description + } + case "dependsOn": + if v != nil { + var dependsOn []ActivityDependency + err = json.Unmarshal(*v, &dependsOn) + if err != nil { + return err + } + hiha.DependsOn = &dependsOn + } + case "userProperties": + if v != nil { + var userProperties []UserProperty + err = json.Unmarshal(*v, &userProperties) + if err != nil { + return err + } + hiha.UserProperties = &userProperties + } + case "type": + if v != nil { + var typeVar TypeBasicActivity + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + hiha.Type = typeVar + } + } + } + + return nil +} + +// HDInsightHiveActivityTypeProperties hDInsight Hive activity properties. +type HDInsightHiveActivityTypeProperties struct { + // StorageLinkedServices - Storage linked service references. + StorageLinkedServices *[]LinkedServiceReference `json:"storageLinkedServices,omitempty"` + // Arguments - User specified arguments to HDInsightActivity. + Arguments *[]interface{} `json:"arguments,omitempty"` + // GetDebugInfo - Debug info option. Possible values include: 'None', 'Always', 'Failure' + GetDebugInfo HDInsightActivityDebugInfoOption `json:"getDebugInfo,omitempty"` + // ScriptPath - Script path. Type: string (or Expression with resultType string). + ScriptPath interface{} `json:"scriptPath,omitempty"` + // ScriptLinkedService - Script linked service reference. + ScriptLinkedService *LinkedServiceReference `json:"scriptLinkedService,omitempty"` + // Defines - Allows user to specify defines for Hive job request. + Defines map[string]interface{} `json:"defines"` + // Variables - User specified arguments under hivevar namespace. + Variables *[]interface{} `json:"variables,omitempty"` + // QueryTimeout - Query timeout value (in minutes). Effective when the HDInsight cluster is with ESP (Enterprise Security Package) + QueryTimeout *int32 `json:"queryTimeout,omitempty"` +} + +// MarshalJSON is the custom marshaler for HDInsightHiveActivityTypeProperties. +func (hihatp HDInsightHiveActivityTypeProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if hihatp.StorageLinkedServices != nil { + objectMap["storageLinkedServices"] = hihatp.StorageLinkedServices + } + if hihatp.Arguments != nil { + objectMap["arguments"] = hihatp.Arguments + } + if hihatp.GetDebugInfo != "" { + objectMap["getDebugInfo"] = hihatp.GetDebugInfo + } + if hihatp.ScriptPath != nil { + objectMap["scriptPath"] = hihatp.ScriptPath + } + if hihatp.ScriptLinkedService != nil { + objectMap["scriptLinkedService"] = hihatp.ScriptLinkedService + } + if hihatp.Defines != nil { + objectMap["defines"] = hihatp.Defines + } + if hihatp.Variables != nil { + objectMap["variables"] = hihatp.Variables + } + if hihatp.QueryTimeout != nil { + objectMap["queryTimeout"] = hihatp.QueryTimeout + } + return json.Marshal(objectMap) +} + +// HDInsightLinkedService hDInsight linked service. +type HDInsightLinkedService struct { + // HDInsightLinkedServiceTypeProperties - HDInsight linked service properties. + *HDInsightLinkedServiceTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. + Description *string `json:"description,omitempty"` + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the linked service. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for HDInsightLinkedService. +func (hils HDInsightLinkedService) MarshalJSON() ([]byte, error) { + hils.Type = TypeHDInsight + objectMap := make(map[string]interface{}) + if hils.HDInsightLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = hils.HDInsightLinkedServiceTypeProperties + } + if hils.ConnectVia != nil { + objectMap["connectVia"] = hils.ConnectVia + } + if hils.Description != nil { + objectMap["description"] = hils.Description + } + if hils.Parameters != nil { + objectMap["parameters"] = hils.Parameters + } + if hils.Annotations != nil { + objectMap["annotations"] = hils.Annotations + } + if hils.Type != "" { + objectMap["type"] = hils.Type + } + for k, v := range hils.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { + return nil, false +} + +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { + return nil, false +} + +// AsSapTableLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { + return nil, false +} + +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { + return nil, false +} + +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { + return nil, false +} + +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { + return nil, false +} + +// AsResponsysLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { + return nil, false +} + +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { + return nil, false +} + +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { + return nil, false +} + +// AsNetezzaLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + +// AsZohoLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { + return nil, false +} + +// AsXeroLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { + return nil, false +} + +// AsSquareLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { + return nil, false +} + +// AsSparkLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { + return nil, false +} + +// AsShopifyLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { + return nil, false +} + +// AsServiceNowLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { + return nil, false +} + +// AsQuickBooksLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { + return nil, false +} + +// AsPrestoLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { + return nil, false +} + +// AsPhoenixLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { + return nil, false +} + +// AsPaypalLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { + return nil, false +} + +// AsMarketoLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { + return nil, false +} + +// AsMariaDBLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { + return nil, false +} + +// AsMagentoLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { + return nil, false +} + +// AsJiraLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { + return nil, false +} + +// AsImpalaLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { + return nil, false +} + +// AsHubspotLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { + return nil, false +} + +// AsHiveLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { + return nil, false +} + +// AsHBaseLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { + return nil, false +} + +// AsGreenplumLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { + return nil, false +} + +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { + return nil, false +} + +// AsEloquaLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { + return nil, false +} + +// AsDrillLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { + return nil, false +} + +// AsCouchbaseLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { + return nil, false +} + +// AsConcurLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { + return nil, false +} + +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { + return nil, false +} + +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { + return nil, false +} + +// AsSapHanaLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { + return nil, false +} + +// AsSapBWLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { + return nil, false +} + +// AsSftpServerLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { + return nil, false +} + +// AsFtpServerLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { + return nil, false +} + +// AsHTTPLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { + return nil, false +} + +// AsAzureSearchLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { + return nil, false +} + +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { + return nil, false +} + +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { + return nil, false +} + +// AsAmazonS3LinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { + return nil, false +} + +// AsRestServiceLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { + return nil, false +} + +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { + return nil, false +} + +// AsSapEccLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { + return nil, false +} + +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { + return nil, false +} + +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + +// AsSalesforceLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { + return nil, false +} + +// AsOffice365LinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { + return nil, false +} + +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { + return nil, false +} + +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { + return nil, false +} + +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { + return nil, false +} + +// AsMongoDbLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { + return nil, false +} + +// AsCassandraLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { + return nil, false +} + +// AsWebLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { + return nil, false +} + +// AsODataLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { + return nil, false +} + +// AsHdfsLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { + return nil, false +} + +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + +// AsOdbcLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { + return nil, false +} + +// AsAzureMLLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { + return nil, false +} + +// AsTeradataLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { + return nil, false +} + +// AsDb2LinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return nil, false +} + +// AsSybaseLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { + return nil, false +} + +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { + return nil, false +} + +// AsMySQLLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { + return nil, false +} + +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { + return nil, false +} + +// AsOracleLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { + return nil, false +} + +// AsFileServerLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { + return nil, false +} + +// AsHDInsightLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { + return &hils, true +} + +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + +// AsDynamicsLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false +} + +// AsCosmosDbLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false +} + +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false +} + +// AsAzureBatchLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} + +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &hils, true +} + +// UnmarshalJSON is the custom unmarshaler for HDInsightLinkedService struct. +func (hils *HDInsightLinkedService) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "typeProperties": + if v != nil { + var hDInsightLinkedServiceTypeProperties HDInsightLinkedServiceTypeProperties + err = json.Unmarshal(*v, &hDInsightLinkedServiceTypeProperties) + if err != nil { + return err + } + hils.HDInsightLinkedServiceTypeProperties = &hDInsightLinkedServiceTypeProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if hils.AdditionalProperties == nil { + hils.AdditionalProperties = make(map[string]interface{}) + } + hils.AdditionalProperties[k] = additionalProperties + } + case "connectVia": + if v != nil { + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) + if err != nil { + return err + } + hils.ConnectVia = &connectVia + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + hils.Description = &description + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + hils.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + hils.Annotations = &annotations + } + case "type": + if v != nil { + var typeVar TypeBasicLinkedService + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + hils.Type = typeVar + } + } + } + + return nil +} + +// HDInsightLinkedServiceTypeProperties hDInsight linked service properties. +type HDInsightLinkedServiceTypeProperties struct { + // ClusterURI - HDInsight cluster URI. Type: string (or Expression with resultType string). + ClusterURI interface{} `json:"clusterUri,omitempty"` + // UserName - HDInsight cluster user name. Type: string (or Expression with resultType string). + UserName interface{} `json:"userName,omitempty"` + // Password - HDInsight cluster password. + Password BasicSecretBase `json:"password,omitempty"` + // LinkedServiceName - The Azure Storage linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // HcatalogLinkedServiceName - A reference to the Azure SQL linked service that points to the HCatalog database. + HcatalogLinkedServiceName *LinkedServiceReference `json:"hcatalogLinkedServiceName,omitempty"` + // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` + // IsEspEnabled - Specify if the HDInsight is created with ESP (Enterprise Security Package). Type: Boolean. + IsEspEnabled interface{} `json:"isEspEnabled,omitempty"` + // FileSystem - Specify the FileSystem if the main storage for the HDInsight is ADLS Gen2. Type: string (or Expression with resultType string). + FileSystem interface{} `json:"fileSystem,omitempty"` +} + +// UnmarshalJSON is the custom unmarshaler for HDInsightLinkedServiceTypeProperties struct. +func (hilstp *HDInsightLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "clusterUri": + if v != nil { + var clusterURI interface{} + err = json.Unmarshal(*v, &clusterURI) + if err != nil { + return err + } + hilstp.ClusterURI = clusterURI + } + case "userName": + if v != nil { + var userName interface{} + err = json.Unmarshal(*v, &userName) + if err != nil { + return err + } + hilstp.UserName = userName + } + case "password": + if v != nil { + password, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + hilstp.Password = password + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + hilstp.LinkedServiceName = &linkedServiceName + } + case "hcatalogLinkedServiceName": + if v != nil { + var hcatalogLinkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &hcatalogLinkedServiceName) + if err != nil { + return err + } + hilstp.HcatalogLinkedServiceName = &hcatalogLinkedServiceName + } + case "encryptedCredential": + if v != nil { + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) + if err != nil { + return err + } + hilstp.EncryptedCredential = encryptedCredential + } + case "isEspEnabled": + if v != nil { + var isEspEnabled interface{} + err = json.Unmarshal(*v, &isEspEnabled) + if err != nil { + return err + } + hilstp.IsEspEnabled = isEspEnabled + } + case "fileSystem": + if v != nil { + var fileSystem interface{} + err = json.Unmarshal(*v, &fileSystem) + if err != nil { + return err + } + hilstp.FileSystem = fileSystem + } + } + } + + return nil +} + +// HDInsightMapReduceActivity hDInsight MapReduce activity type. +type HDInsightMapReduceActivity struct { + // HDInsightMapReduceActivityTypeProperties - HDInsight MapReduce activity properties. + *HDInsightMapReduceActivityTypeProperties `json:"typeProperties,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Policy - Activity policy. + Policy *ActivityPolicy `json:"policy,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Name - Activity name. + Name *string `json:"name,omitempty"` + // Description - Activity description. + Description *string `json:"description,omitempty"` + // DependsOn - Activity depends on condition. + DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` + // UserProperties - Activity user properties. + UserProperties *[]UserProperty `json:"userProperties,omitempty"` + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + Type TypeBasicActivity `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) MarshalJSON() ([]byte, error) { + himra.Type = TypeHDInsightMapReduce + objectMap := make(map[string]interface{}) + if himra.HDInsightMapReduceActivityTypeProperties != nil { + objectMap["typeProperties"] = himra.HDInsightMapReduceActivityTypeProperties + } + if himra.LinkedServiceName != nil { + objectMap["linkedServiceName"] = himra.LinkedServiceName + } + if himra.Policy != nil { + objectMap["policy"] = himra.Policy + } + if himra.Name != nil { + objectMap["name"] = himra.Name + } + if himra.Description != nil { + objectMap["description"] = himra.Description + } + if himra.DependsOn != nil { + objectMap["dependsOn"] = himra.DependsOn + } + if himra.UserProperties != nil { + objectMap["userProperties"] = himra.UserProperties + } + if himra.Type != "" { + objectMap["type"] = himra.Type + } + for k, v := range himra.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAzureFunctionActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { + return nil, false +} + +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { + return nil, false +} + +// AsDatabricksSparkJarActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { + return nil, false +} + +// AsDatabricksNotebookActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { + return nil, false +} + +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { + return nil, false +} + +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { + return nil, false +} + +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { + return nil, false +} + +// AsGetMetadataActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { + return nil, false +} + +// AsWebActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsWebActivity() (*WebActivity, bool) { + return nil, false +} + +// AsLookupActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsLookupActivity() (*LookupActivity, bool) { + return nil, false +} + +// AsDeleteActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsDeleteActivity() (*DeleteActivity, bool) { + return nil, false +} + +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { + return nil, false +} + +// AsCustomActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsCustomActivity() (*CustomActivity, bool) { + return nil, false +} + +// AsExecuteSSISPackageActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { + return nil, false +} + +// AsHDInsightSparkActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { + return nil, false +} + +// AsHDInsightStreamingActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { + return nil, false +} + +// AsHDInsightMapReduceActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { + return &himra, true +} + +// AsHDInsightPigActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { + return nil, false +} + +// AsHDInsightHiveActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { + return nil, false +} + +// AsCopyActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsCopyActivity() (*CopyActivity, bool) { + return nil, false +} + +// AsExecutionActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsExecutionActivity() (*ExecutionActivity, bool) { + return nil, false +} + +// AsBasicExecutionActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return &himra, true +} + +// AsWebHookActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsWebHookActivity() (*WebHookActivity, bool) { + return nil, false +} + +// AsAppendVariableActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { + return nil, false +} + +// AsSetVariableActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { + return nil, false +} + +// AsFilterActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsFilterActivity() (*FilterActivity, bool) { + return nil, false +} + +// AsValidationActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsValidationActivity() (*ValidationActivity, bool) { + return nil, false +} + +// AsUntilActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsUntilActivity() (*UntilActivity, bool) { + return nil, false +} + +// AsWaitActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsWaitActivity() (*WaitActivity, bool) { + return nil, false +} + +// AsForEachActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsForEachActivity() (*ForEachActivity, bool) { + return nil, false +} + +// AsIfConditionActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { + return nil, false +} + +// AsExecutePipelineActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { + return nil, false +} + +// AsControlActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsControlActivity() (*ControlActivity, bool) { + return nil, false +} + +// AsBasicControlActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsBasicControlActivity() (BasicControlActivity, bool) { + return nil, false +} + +// AsActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsActivity() (*Activity, bool) { + return nil, false +} + +// AsBasicActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsBasicActivity() (BasicActivity, bool) { + return &himra, true +} + +// UnmarshalJSON is the custom unmarshaler for HDInsightMapReduceActivity struct. +func (himra *HDInsightMapReduceActivity) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "typeProperties": + if v != nil { + var hDInsightMapReduceActivityTypeProperties HDInsightMapReduceActivityTypeProperties + err = json.Unmarshal(*v, &hDInsightMapReduceActivityTypeProperties) + if err != nil { + return err + } + himra.HDInsightMapReduceActivityTypeProperties = &hDInsightMapReduceActivityTypeProperties + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + himra.LinkedServiceName = &linkedServiceName + } + case "policy": + if v != nil { + var policy ActivityPolicy + err = json.Unmarshal(*v, &policy) + if err != nil { + return err + } + himra.Policy = &policy + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if himra.AdditionalProperties == nil { + himra.AdditionalProperties = make(map[string]interface{}) + } + himra.AdditionalProperties[k] = additionalProperties + } + case "name": + if v != nil { + var name string + err = json.Unmarshal(*v, &name) + if err != nil { + return err + } + himra.Name = &name + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + himra.Description = &description + } + case "dependsOn": + if v != nil { + var dependsOn []ActivityDependency + err = json.Unmarshal(*v, &dependsOn) + if err != nil { + return err + } + himra.DependsOn = &dependsOn + } + case "userProperties": + if v != nil { + var userProperties []UserProperty + err = json.Unmarshal(*v, &userProperties) + if err != nil { + return err + } + himra.UserProperties = &userProperties + } + case "type": + if v != nil { + var typeVar TypeBasicActivity + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + himra.Type = typeVar + } + } + } + + return nil +} + +// HDInsightMapReduceActivityTypeProperties hDInsight MapReduce activity properties. +type HDInsightMapReduceActivityTypeProperties struct { + // StorageLinkedServices - Storage linked service references. + StorageLinkedServices *[]LinkedServiceReference `json:"storageLinkedServices,omitempty"` + // Arguments - User specified arguments to HDInsightActivity. + Arguments *[]interface{} `json:"arguments,omitempty"` + // GetDebugInfo - Debug info option. Possible values include: 'None', 'Always', 'Failure' + GetDebugInfo HDInsightActivityDebugInfoOption `json:"getDebugInfo,omitempty"` + // ClassName - Class name. Type: string (or Expression with resultType string). + ClassName interface{} `json:"className,omitempty"` + // JarFilePath - Jar path. Type: string (or Expression with resultType string). + JarFilePath interface{} `json:"jarFilePath,omitempty"` + // JarLinkedService - Jar linked service reference. + JarLinkedService *LinkedServiceReference `json:"jarLinkedService,omitempty"` + // JarLibs - Jar libs. + JarLibs *[]interface{} `json:"jarLibs,omitempty"` + // Defines - Allows user to specify defines for the MapReduce job request. + Defines map[string]interface{} `json:"defines"` +} + +// MarshalJSON is the custom marshaler for HDInsightMapReduceActivityTypeProperties. +func (himratp HDInsightMapReduceActivityTypeProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if himratp.StorageLinkedServices != nil { + objectMap["storageLinkedServices"] = himratp.StorageLinkedServices + } + if himratp.Arguments != nil { + objectMap["arguments"] = himratp.Arguments + } + if himratp.GetDebugInfo != "" { + objectMap["getDebugInfo"] = himratp.GetDebugInfo + } + if himratp.ClassName != nil { + objectMap["className"] = himratp.ClassName + } + if himratp.JarFilePath != nil { + objectMap["jarFilePath"] = himratp.JarFilePath + } + if himratp.JarLinkedService != nil { + objectMap["jarLinkedService"] = himratp.JarLinkedService + } + if himratp.JarLibs != nil { + objectMap["jarLibs"] = himratp.JarLibs + } + if himratp.Defines != nil { + objectMap["defines"] = himratp.Defines + } + return json.Marshal(objectMap) +} + +// HDInsightOnDemandLinkedService hDInsight ondemand linked service. +type HDInsightOnDemandLinkedService struct { + // HDInsightOnDemandLinkedServiceTypeProperties - HDInsight ondemand linked service properties. + *HDInsightOnDemandLinkedServiceTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. + Description *string `json:"description,omitempty"` + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the linked service. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) MarshalJSON() ([]byte, error) { + hiodls.Type = TypeHDInsightOnDemand + objectMap := make(map[string]interface{}) + if hiodls.HDInsightOnDemandLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = hiodls.HDInsightOnDemandLinkedServiceTypeProperties + } + if hiodls.ConnectVia != nil { + objectMap["connectVia"] = hiodls.ConnectVia + } + if hiodls.Description != nil { + objectMap["description"] = hiodls.Description + } + if hiodls.Parameters != nil { + objectMap["parameters"] = hiodls.Parameters + } + if hiodls.Annotations != nil { + objectMap["annotations"] = hiodls.Annotations + } + if hiodls.Type != "" { + objectMap["type"] = hiodls.Type + } + for k, v := range hiodls.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { + return nil, false +} + +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { + return nil, false +} + +// AsSapTableLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { + return nil, false +} + +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { + return nil, false +} + +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { + return nil, false +} + +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { + return nil, false +} + +// AsResponsysLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { + return nil, false +} + +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { + return nil, false +} + +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { + return &hiodls, true +} + +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { + return nil, false +} + +// AsNetezzaLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + +// AsZohoLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { + return nil, false +} + +// AsXeroLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { + return nil, false +} + +// AsSquareLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { + return nil, false +} + +// AsSparkLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { + return nil, false +} + +// AsShopifyLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { + return nil, false +} + +// AsServiceNowLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { + return nil, false +} + +// AsQuickBooksLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { + return nil, false +} + +// AsPrestoLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { + return nil, false +} + +// AsPhoenixLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { + return nil, false +} + +// AsPaypalLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { + return nil, false +} + +// AsMarketoLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { + return nil, false +} + +// AsMariaDBLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { + return nil, false +} + +// AsMagentoLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { + return nil, false +} + +// AsJiraLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { + return nil, false +} + +// AsImpalaLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { + return nil, false +} + +// AsHubspotLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { + return nil, false +} + +// AsHiveLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { + return nil, false +} + +// AsHBaseLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { + return nil, false +} + +// AsGreenplumLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { + return nil, false +} + +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { + return nil, false +} + +// AsEloquaLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { + return nil, false +} + +// AsDrillLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { + return nil, false +} + +// AsCouchbaseLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { + return nil, false +} + +// AsConcurLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { + return nil, false +} + +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { + return nil, false +} + +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { + return nil, false +} + +// AsSapHanaLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { + return nil, false +} + +// AsSapBWLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { + return nil, false +} + +// AsSftpServerLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { + return nil, false +} + +// AsFtpServerLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { + return nil, false +} + +// AsHTTPLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { + return nil, false +} + +// AsAzureSearchLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { + return nil, false +} + +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { + return nil, false +} + +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { + return nil, false +} + +// AsAmazonS3LinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { + return nil, false +} + +// AsRestServiceLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { + return nil, false +} + +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { + return nil, false +} + +// AsSapEccLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { + return nil, false +} + +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { + return nil, false +} + +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + +// AsSalesforceLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { + return nil, false +} + +// AsOffice365LinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { + return nil, false +} + +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { + return nil, false +} + +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { + return nil, false +} + +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { + return nil, false +} + +// AsMongoDbLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { + return nil, false +} + +// AsCassandraLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { + return nil, false +} + +// AsWebLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { + return nil, false +} + +// AsODataLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { + return nil, false +} + +// AsHdfsLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { + return nil, false +} + +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + +// AsOdbcLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { + return nil, false +} + +// AsAzureMLLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { + return nil, false +} + +// AsTeradataLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { + return nil, false +} + +// AsDb2LinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return nil, false +} + +// AsSybaseLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { + return nil, false +} + +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { + return nil, false +} + +// AsMySQLLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { + return nil, false +} + +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { + return nil, false +} + +// AsOracleLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { + return nil, false +} + +// AsFileServerLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { + return nil, false +} + +// AsHDInsightLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + +// AsDynamicsLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false +} + +// AsCosmosDbLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false +} + +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false +} + +// AsAzureBatchLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} + +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &hiodls, true +} + +// UnmarshalJSON is the custom unmarshaler for HDInsightOnDemandLinkedService struct. +func (hiodls *HDInsightOnDemandLinkedService) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "typeProperties": + if v != nil { + var hDInsightOnDemandLinkedServiceTypeProperties HDInsightOnDemandLinkedServiceTypeProperties + err = json.Unmarshal(*v, &hDInsightOnDemandLinkedServiceTypeProperties) + if err != nil { + return err + } + hiodls.HDInsightOnDemandLinkedServiceTypeProperties = &hDInsightOnDemandLinkedServiceTypeProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if hiodls.AdditionalProperties == nil { + hiodls.AdditionalProperties = make(map[string]interface{}) + } + hiodls.AdditionalProperties[k] = additionalProperties + } + case "connectVia": + if v != nil { + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) + if err != nil { + return err + } + hiodls.ConnectVia = &connectVia + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + hiodls.Description = &description + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + hiodls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + hiodls.Annotations = &annotations + } + case "type": + if v != nil { + var typeVar TypeBasicLinkedService + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + hiodls.Type = typeVar + } + } + } + + return nil +} + +// HDInsightOnDemandLinkedServiceTypeProperties hDInsight ondemand linked service properties. +type HDInsightOnDemandLinkedServiceTypeProperties struct { + // ClusterSize - Number of worker/data nodes in the cluster. Suggestion value: 4. Type: string (or Expression with resultType string). + ClusterSize interface{} `json:"clusterSize,omitempty"` + // TimeToLive - The allowed idle time for the on-demand HDInsight cluster. Specifies how long the on-demand HDInsight cluster stays alive after completion of an activity run if there are no other active jobs in the cluster. The minimum value is 5 mins. Type: string (or Expression with resultType string). + TimeToLive interface{} `json:"timeToLive,omitempty"` + // Version - Version of the HDInsight cluster.  Type: string (or Expression with resultType string). + Version interface{} `json:"version,omitempty"` + // LinkedServiceName - Azure Storage linked service to be used by the on-demand cluster for storing and processing data. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // HostSubscriptionID - The customer’s subscription to host the cluster. Type: string (or Expression with resultType string). + HostSubscriptionID interface{} `json:"hostSubscriptionId,omitempty"` + // ServicePrincipalID - The service principal id for the hostSubscriptionId. Type: string (or Expression with resultType string). + ServicePrincipalID interface{} `json:"servicePrincipalId,omitempty"` + // ServicePrincipalKey - The key for the service principal id. + ServicePrincipalKey BasicSecretBase `json:"servicePrincipalKey,omitempty"` + // Tenant - The Tenant id/name to which the service principal belongs. Type: string (or Expression with resultType string). + Tenant interface{} `json:"tenant,omitempty"` + // ClusterResourceGroup - The resource group where the cluster belongs. Type: string (or Expression with resultType string). + ClusterResourceGroup interface{} `json:"clusterResourceGroup,omitempty"` + // ClusterNamePrefix - The prefix of cluster name, postfix will be distinct with timestamp. Type: string (or Expression with resultType string). + ClusterNamePrefix interface{} `json:"clusterNamePrefix,omitempty"` + // ClusterUserName - The username to access the cluster. Type: string (or Expression with resultType string). + ClusterUserName interface{} `json:"clusterUserName,omitempty"` + // ClusterPassword - The password to access the cluster. + ClusterPassword BasicSecretBase `json:"clusterPassword,omitempty"` + // ClusterSSHUserName - The username to SSH remotely connect to cluster’s node (for Linux). Type: string (or Expression with resultType string). + ClusterSSHUserName interface{} `json:"clusterSshUserName,omitempty"` + // ClusterSSHPassword - The password to SSH remotely connect cluster’s node (for Linux). + ClusterSSHPassword BasicSecretBase `json:"clusterSshPassword,omitempty"` + // AdditionalLinkedServiceNames - Specifies additional storage accounts for the HDInsight linked service so that the Data Factory service can register them on your behalf. + AdditionalLinkedServiceNames *[]LinkedServiceReference `json:"additionalLinkedServiceNames,omitempty"` + // HcatalogLinkedServiceName - The name of Azure SQL linked service that point to the HCatalog database. The on-demand HDInsight cluster is created by using the Azure SQL database as the metastore. + HcatalogLinkedServiceName *LinkedServiceReference `json:"hcatalogLinkedServiceName,omitempty"` + // ClusterType - The cluster type. Type: string (or Expression with resultType string). + ClusterType interface{} `json:"clusterType,omitempty"` + // SparkVersion - The version of spark if the cluster type is 'spark'. Type: string (or Expression with resultType string). + SparkVersion interface{} `json:"sparkVersion,omitempty"` + // CoreConfiguration - Specifies the core configuration parameters (as in core-site.xml) for the HDInsight cluster to be created. + CoreConfiguration interface{} `json:"coreConfiguration,omitempty"` + // HBaseConfiguration - Specifies the HBase configuration parameters (hbase-site.xml) for the HDInsight cluster. + HBaseConfiguration interface{} `json:"hBaseConfiguration,omitempty"` + // HdfsConfiguration - Specifies the HDFS configuration parameters (hdfs-site.xml) for the HDInsight cluster. + HdfsConfiguration interface{} `json:"hdfsConfiguration,omitempty"` + // HiveConfiguration - Specifies the hive configuration parameters (hive-site.xml) for the HDInsight cluster. + HiveConfiguration interface{} `json:"hiveConfiguration,omitempty"` + // MapReduceConfiguration - Specifies the MapReduce configuration parameters (mapred-site.xml) for the HDInsight cluster. + MapReduceConfiguration interface{} `json:"mapReduceConfiguration,omitempty"` + // OozieConfiguration - Specifies the Oozie configuration parameters (oozie-site.xml) for the HDInsight cluster. + OozieConfiguration interface{} `json:"oozieConfiguration,omitempty"` + // StormConfiguration - Specifies the Storm configuration parameters (storm-site.xml) for the HDInsight cluster. + StormConfiguration interface{} `json:"stormConfiguration,omitempty"` + // YarnConfiguration - Specifies the Yarn configuration parameters (yarn-site.xml) for the HDInsight cluster. + YarnConfiguration interface{} `json:"yarnConfiguration,omitempty"` + // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` + // HeadNodeSize - Specifies the size of the head node for the HDInsight cluster. + HeadNodeSize interface{} `json:"headNodeSize,omitempty"` + // DataNodeSize - Specifies the size of the data node for the HDInsight cluster. + DataNodeSize interface{} `json:"dataNodeSize,omitempty"` + // ZookeeperNodeSize - Specifies the size of the Zoo Keeper node for the HDInsight cluster. + ZookeeperNodeSize interface{} `json:"zookeeperNodeSize,omitempty"` + // ScriptActions - Custom script actions to run on HDI ondemand cluster once it's up. Please refer to https://docs.microsoft.com/en-us/azure/hdinsight/hdinsight-hadoop-customize-cluster-linux?toc=%2Fen-us%2Fazure%2Fhdinsight%2Fr-server%2FTOC.json&bc=%2Fen-us%2Fazure%2Fbread%2Ftoc.json#understanding-script-actions. + ScriptActions *[]ScriptAction `json:"scriptActions,omitempty"` + // VirtualNetworkID - The ARM resource ID for the vNet to which the cluster should be joined after creation. Type: string (or Expression with resultType string). + VirtualNetworkID interface{} `json:"virtualNetworkId,omitempty"` + // SubnetName - 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). + SubnetName interface{} `json:"subnetName,omitempty"` +} + +// UnmarshalJSON is the custom unmarshaler for HDInsightOnDemandLinkedServiceTypeProperties struct. +func (hiodlstp *HDInsightOnDemandLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "clusterSize": + if v != nil { + var clusterSize interface{} + err = json.Unmarshal(*v, &clusterSize) + if err != nil { + return err + } + hiodlstp.ClusterSize = clusterSize + } + case "timeToLive": + if v != nil { + var timeToLive interface{} + err = json.Unmarshal(*v, &timeToLive) + if err != nil { + return err + } + hiodlstp.TimeToLive = timeToLive + } + case "version": + if v != nil { + var version interface{} + err = json.Unmarshal(*v, &version) + if err != nil { + return err + } + hiodlstp.Version = version + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + hiodlstp.LinkedServiceName = &linkedServiceName + } + case "hostSubscriptionId": + if v != nil { + var hostSubscriptionID interface{} + err = json.Unmarshal(*v, &hostSubscriptionID) + if err != nil { + return err + } + hiodlstp.HostSubscriptionID = hostSubscriptionID + } + case "servicePrincipalId": + if v != nil { + var servicePrincipalID interface{} + err = json.Unmarshal(*v, &servicePrincipalID) + if err != nil { + return err + } + hiodlstp.ServicePrincipalID = servicePrincipalID + } + case "servicePrincipalKey": + if v != nil { + servicePrincipalKey, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + hiodlstp.ServicePrincipalKey = servicePrincipalKey + } + case "tenant": + if v != nil { + var tenant interface{} + err = json.Unmarshal(*v, &tenant) + if err != nil { + return err + } + hiodlstp.Tenant = tenant + } + case "clusterResourceGroup": + if v != nil { + var clusterResourceGroup interface{} + err = json.Unmarshal(*v, &clusterResourceGroup) + if err != nil { + return err + } + hiodlstp.ClusterResourceGroup = clusterResourceGroup + } + case "clusterNamePrefix": + if v != nil { + var clusterNamePrefix interface{} + err = json.Unmarshal(*v, &clusterNamePrefix) + if err != nil { + return err + } + hiodlstp.ClusterNamePrefix = clusterNamePrefix + } + case "clusterUserName": + if v != nil { + var clusterUserName interface{} + err = json.Unmarshal(*v, &clusterUserName) + if err != nil { + return err + } + hiodlstp.ClusterUserName = clusterUserName + } + case "clusterPassword": + if v != nil { + clusterPassword, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + hiodlstp.ClusterPassword = clusterPassword + } + case "clusterSshUserName": + if v != nil { + var clusterSSHUserName interface{} + err = json.Unmarshal(*v, &clusterSSHUserName) + if err != nil { + return err + } + hiodlstp.ClusterSSHUserName = clusterSSHUserName + } + case "clusterSshPassword": + if v != nil { + clusterSSHPassword, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + hiodlstp.ClusterSSHPassword = clusterSSHPassword + } + case "additionalLinkedServiceNames": + if v != nil { + var additionalLinkedServiceNames []LinkedServiceReference + err = json.Unmarshal(*v, &additionalLinkedServiceNames) + if err != nil { + return err + } + hiodlstp.AdditionalLinkedServiceNames = &additionalLinkedServiceNames + } + case "hcatalogLinkedServiceName": + if v != nil { + var hcatalogLinkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &hcatalogLinkedServiceName) + if err != nil { + return err + } + hiodlstp.HcatalogLinkedServiceName = &hcatalogLinkedServiceName + } + case "clusterType": + if v != nil { + var clusterType interface{} + err = json.Unmarshal(*v, &clusterType) + if err != nil { + return err + } + hiodlstp.ClusterType = clusterType + } + case "sparkVersion": + if v != nil { + var sparkVersion interface{} + err = json.Unmarshal(*v, &sparkVersion) + if err != nil { + return err + } + hiodlstp.SparkVersion = sparkVersion + } + case "coreConfiguration": + if v != nil { + var coreConfiguration interface{} + err = json.Unmarshal(*v, &coreConfiguration) + if err != nil { + return err + } + hiodlstp.CoreConfiguration = coreConfiguration + } + case "hBaseConfiguration": + if v != nil { + var hBaseConfiguration interface{} + err = json.Unmarshal(*v, &hBaseConfiguration) + if err != nil { + return err + } + hiodlstp.HBaseConfiguration = hBaseConfiguration + } + case "hdfsConfiguration": + if v != nil { + var hdfsConfiguration interface{} + err = json.Unmarshal(*v, &hdfsConfiguration) + if err != nil { + return err + } + hiodlstp.HdfsConfiguration = hdfsConfiguration + } + case "hiveConfiguration": + if v != nil { + var hiveConfiguration interface{} + err = json.Unmarshal(*v, &hiveConfiguration) + if err != nil { + return err + } + hiodlstp.HiveConfiguration = hiveConfiguration + } + case "mapReduceConfiguration": + if v != nil { + var mapReduceConfiguration interface{} + err = json.Unmarshal(*v, &mapReduceConfiguration) + if err != nil { + return err + } + hiodlstp.MapReduceConfiguration = mapReduceConfiguration + } + case "oozieConfiguration": + if v != nil { + var oozieConfiguration interface{} + err = json.Unmarshal(*v, &oozieConfiguration) + if err != nil { + return err + } + hiodlstp.OozieConfiguration = oozieConfiguration + } + case "stormConfiguration": + if v != nil { + var stormConfiguration interface{} + err = json.Unmarshal(*v, &stormConfiguration) + if err != nil { + return err + } + hiodlstp.StormConfiguration = stormConfiguration + } + case "yarnConfiguration": + if v != nil { + var yarnConfiguration interface{} + err = json.Unmarshal(*v, &yarnConfiguration) + if err != nil { + return err + } + hiodlstp.YarnConfiguration = yarnConfiguration + } + case "encryptedCredential": + if v != nil { + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) + if err != nil { + return err + } + hiodlstp.EncryptedCredential = encryptedCredential + } + case "headNodeSize": + if v != nil { + var headNodeSize interface{} + err = json.Unmarshal(*v, &headNodeSize) + if err != nil { + return err + } + hiodlstp.HeadNodeSize = headNodeSize + } + case "dataNodeSize": + if v != nil { + var dataNodeSize interface{} + err = json.Unmarshal(*v, &dataNodeSize) + if err != nil { + return err + } + hiodlstp.DataNodeSize = dataNodeSize + } + case "zookeeperNodeSize": + if v != nil { + var zookeeperNodeSize interface{} + err = json.Unmarshal(*v, &zookeeperNodeSize) + if err != nil { + return err + } + hiodlstp.ZookeeperNodeSize = zookeeperNodeSize + } + case "scriptActions": + if v != nil { + var scriptActions []ScriptAction + err = json.Unmarshal(*v, &scriptActions) + if err != nil { + return err + } + hiodlstp.ScriptActions = &scriptActions + } + case "virtualNetworkId": + if v != nil { + var virtualNetworkID interface{} + err = json.Unmarshal(*v, &virtualNetworkID) + if err != nil { + return err + } + hiodlstp.VirtualNetworkID = virtualNetworkID + } + case "subnetName": + if v != nil { + var subnetName interface{} + err = json.Unmarshal(*v, &subnetName) + if err != nil { + return err + } + hiodlstp.SubnetName = subnetName + } + } + } + + return nil +} + +// HDInsightPigActivity hDInsight Pig activity type. +type HDInsightPigActivity struct { + // HDInsightPigActivityTypeProperties - HDInsight Pig activity properties. + *HDInsightPigActivityTypeProperties `json:"typeProperties,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Policy - Activity policy. + Policy *ActivityPolicy `json:"policy,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Name - Activity name. + Name *string `json:"name,omitempty"` + // Description - Activity description. + Description *string `json:"description,omitempty"` + // DependsOn - Activity depends on condition. + DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` + // UserProperties - Activity user properties. + UserProperties *[]UserProperty `json:"userProperties,omitempty"` + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + Type TypeBasicActivity `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for HDInsightPigActivity. +func (hipa HDInsightPigActivity) MarshalJSON() ([]byte, error) { + hipa.Type = TypeHDInsightPig + objectMap := make(map[string]interface{}) + if hipa.HDInsightPigActivityTypeProperties != nil { + objectMap["typeProperties"] = hipa.HDInsightPigActivityTypeProperties + } + if hipa.LinkedServiceName != nil { + objectMap["linkedServiceName"] = hipa.LinkedServiceName + } + if hipa.Policy != nil { + objectMap["policy"] = hipa.Policy + } + if hipa.Name != nil { + objectMap["name"] = hipa.Name + } + if hipa.Description != nil { + objectMap["description"] = hipa.Description + } + if hipa.DependsOn != nil { + objectMap["dependsOn"] = hipa.DependsOn + } + if hipa.UserProperties != nil { + objectMap["userProperties"] = hipa.UserProperties + } + if hipa.Type != "" { + objectMap["type"] = hipa.Type + } + for k, v := range hipa.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAzureFunctionActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { + return nil, false +} + +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { + return nil, false +} + +// AsDatabricksSparkJarActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { + return nil, false +} + +// AsDatabricksNotebookActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { + return nil, false +} + +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { + return nil, false +} + +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { + return nil, false +} + +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { + return nil, false +} + +// AsGetMetadataActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { + return nil, false +} + +// AsWebActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsWebActivity() (*WebActivity, bool) { + return nil, false +} + +// AsLookupActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsLookupActivity() (*LookupActivity, bool) { + return nil, false +} + +// AsDeleteActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsDeleteActivity() (*DeleteActivity, bool) { + return nil, false +} + +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { + return nil, false +} + +// AsCustomActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsCustomActivity() (*CustomActivity, bool) { + return nil, false +} + +// AsExecuteSSISPackageActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { + return nil, false +} + +// AsHDInsightSparkActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { + return nil, false +} + +// AsHDInsightStreamingActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { + return nil, false +} + +// AsHDInsightMapReduceActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { + return nil, false +} + +// AsHDInsightPigActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { + return &hipa, true +} + +// AsHDInsightHiveActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { + return nil, false +} + +// AsCopyActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsCopyActivity() (*CopyActivity, bool) { + return nil, false +} + +// AsExecutionActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsExecutionActivity() (*ExecutionActivity, bool) { + return nil, false +} + +// AsBasicExecutionActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return &hipa, true +} + +// AsWebHookActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsWebHookActivity() (*WebHookActivity, bool) { + return nil, false +} + +// AsAppendVariableActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { + return nil, false +} + +// AsSetVariableActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { + return nil, false +} + +// AsFilterActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsFilterActivity() (*FilterActivity, bool) { + return nil, false +} + +// AsValidationActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsValidationActivity() (*ValidationActivity, bool) { + return nil, false +} + +// AsUntilActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsUntilActivity() (*UntilActivity, bool) { + return nil, false +} + +// AsWaitActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsWaitActivity() (*WaitActivity, bool) { + return nil, false +} + +// AsForEachActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsForEachActivity() (*ForEachActivity, bool) { + return nil, false +} + +// AsIfConditionActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { + return nil, false +} + +// AsExecutePipelineActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { + return nil, false +} + +// AsControlActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsControlActivity() (*ControlActivity, bool) { + return nil, false +} + +// AsBasicControlActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsBasicControlActivity() (BasicControlActivity, bool) { + return nil, false +} + +// AsActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsActivity() (*Activity, bool) { + return nil, false +} + +// AsBasicActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsBasicActivity() (BasicActivity, bool) { + return &hipa, true +} + +// UnmarshalJSON is the custom unmarshaler for HDInsightPigActivity struct. +func (hipa *HDInsightPigActivity) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "typeProperties": + if v != nil { + var hDInsightPigActivityTypeProperties HDInsightPigActivityTypeProperties + err = json.Unmarshal(*v, &hDInsightPigActivityTypeProperties) + if err != nil { + return err + } + hipa.HDInsightPigActivityTypeProperties = &hDInsightPigActivityTypeProperties + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + hipa.LinkedServiceName = &linkedServiceName + } + case "policy": + if v != nil { + var policy ActivityPolicy + err = json.Unmarshal(*v, &policy) + if err != nil { + return err + } + hipa.Policy = &policy + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if hipa.AdditionalProperties == nil { + hipa.AdditionalProperties = make(map[string]interface{}) + } + hipa.AdditionalProperties[k] = additionalProperties + } + case "name": + if v != nil { + var name string + err = json.Unmarshal(*v, &name) + if err != nil { + return err + } + hipa.Name = &name + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + hipa.Description = &description + } + case "dependsOn": + if v != nil { + var dependsOn []ActivityDependency + err = json.Unmarshal(*v, &dependsOn) + if err != nil { + return err + } + hipa.DependsOn = &dependsOn + } + case "userProperties": + if v != nil { + var userProperties []UserProperty + err = json.Unmarshal(*v, &userProperties) + if err != nil { + return err + } + hipa.UserProperties = &userProperties + } + case "type": + if v != nil { + var typeVar TypeBasicActivity + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + hipa.Type = typeVar + } + } + } + + return nil +} + +// HDInsightPigActivityTypeProperties hDInsight Pig activity properties. +type HDInsightPigActivityTypeProperties struct { + // StorageLinkedServices - Storage linked service references. + StorageLinkedServices *[]LinkedServiceReference `json:"storageLinkedServices,omitempty"` + // Arguments - User specified arguments to HDInsightActivity. + Arguments *[]interface{} `json:"arguments,omitempty"` + // GetDebugInfo - Debug info option. Possible values include: 'None', 'Always', 'Failure' + GetDebugInfo HDInsightActivityDebugInfoOption `json:"getDebugInfo,omitempty"` + // ScriptPath - Script path. Type: string (or Expression with resultType string). + ScriptPath interface{} `json:"scriptPath,omitempty"` + // ScriptLinkedService - Script linked service reference. + ScriptLinkedService *LinkedServiceReference `json:"scriptLinkedService,omitempty"` + // Defines - Allows user to specify defines for Pig job request. + Defines map[string]interface{} `json:"defines"` +} + +// MarshalJSON is the custom marshaler for HDInsightPigActivityTypeProperties. +func (hipatp HDInsightPigActivityTypeProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if hipatp.StorageLinkedServices != nil { + objectMap["storageLinkedServices"] = hipatp.StorageLinkedServices + } + if hipatp.Arguments != nil { + objectMap["arguments"] = hipatp.Arguments + } + if hipatp.GetDebugInfo != "" { + objectMap["getDebugInfo"] = hipatp.GetDebugInfo + } + if hipatp.ScriptPath != nil { + objectMap["scriptPath"] = hipatp.ScriptPath + } + if hipatp.ScriptLinkedService != nil { + objectMap["scriptLinkedService"] = hipatp.ScriptLinkedService + } + if hipatp.Defines != nil { + objectMap["defines"] = hipatp.Defines + } + return json.Marshal(objectMap) +} + +// HDInsightSparkActivity hDInsight Spark activity. +type HDInsightSparkActivity struct { + // HDInsightSparkActivityTypeProperties - HDInsight spark activity properties. + *HDInsightSparkActivityTypeProperties `json:"typeProperties,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Policy - Activity policy. + Policy *ActivityPolicy `json:"policy,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Name - Activity name. + Name *string `json:"name,omitempty"` + // Description - Activity description. + Description *string `json:"description,omitempty"` + // DependsOn - Activity depends on condition. + DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` + // UserProperties - Activity user properties. + UserProperties *[]UserProperty `json:"userProperties,omitempty"` + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + Type TypeBasicActivity `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) MarshalJSON() ([]byte, error) { + hisa.Type = TypeHDInsightSpark + objectMap := make(map[string]interface{}) + if hisa.HDInsightSparkActivityTypeProperties != nil { + objectMap["typeProperties"] = hisa.HDInsightSparkActivityTypeProperties + } + if hisa.LinkedServiceName != nil { + objectMap["linkedServiceName"] = hisa.LinkedServiceName + } + if hisa.Policy != nil { + objectMap["policy"] = hisa.Policy + } + if hisa.Name != nil { + objectMap["name"] = hisa.Name + } + if hisa.Description != nil { + objectMap["description"] = hisa.Description + } + if hisa.DependsOn != nil { + objectMap["dependsOn"] = hisa.DependsOn + } + if hisa.UserProperties != nil { + objectMap["userProperties"] = hisa.UserProperties + } + if hisa.Type != "" { + objectMap["type"] = hisa.Type + } + for k, v := range hisa.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAzureFunctionActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { + return nil, false +} + +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { + return nil, false +} + +// AsDatabricksSparkJarActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { + return nil, false +} + +// AsDatabricksNotebookActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { + return nil, false +} + +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { + return nil, false +} + +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { + return nil, false +} + +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { + return nil, false +} + +// AsGetMetadataActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { + return nil, false +} + +// AsWebActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsWebActivity() (*WebActivity, bool) { + return nil, false +} + +// AsLookupActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsLookupActivity() (*LookupActivity, bool) { + return nil, false +} + +// AsDeleteActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsDeleteActivity() (*DeleteActivity, bool) { + return nil, false +} + +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { + return nil, false +} + +// AsCustomActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsCustomActivity() (*CustomActivity, bool) { + return nil, false +} + +// AsExecuteSSISPackageActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { + return nil, false +} + +// AsHDInsightSparkActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { + return &hisa, true +} + +// AsHDInsightStreamingActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { + return nil, false +} + +// AsHDInsightMapReduceActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { + return nil, false +} + +// AsHDInsightPigActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { + return nil, false +} + +// AsHDInsightHiveActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { + return nil, false +} + +// AsCopyActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsCopyActivity() (*CopyActivity, bool) { + return nil, false +} + +// AsExecutionActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsExecutionActivity() (*ExecutionActivity, bool) { + return nil, false +} + +// AsBasicExecutionActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return &hisa, true +} + +// AsWebHookActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsWebHookActivity() (*WebHookActivity, bool) { + return nil, false +} + +// AsAppendVariableActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { + return nil, false +} + +// AsSetVariableActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { + return nil, false +} + +// AsFilterActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsFilterActivity() (*FilterActivity, bool) { + return nil, false +} + +// AsValidationActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsValidationActivity() (*ValidationActivity, bool) { + return nil, false +} + +// AsUntilActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsUntilActivity() (*UntilActivity, bool) { + return nil, false +} + +// AsWaitActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsWaitActivity() (*WaitActivity, bool) { + return nil, false +} + +// AsForEachActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsForEachActivity() (*ForEachActivity, bool) { + return nil, false +} + +// AsIfConditionActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { + return nil, false +} + +// AsExecutePipelineActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { + return nil, false +} + +// AsControlActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsControlActivity() (*ControlActivity, bool) { + return nil, false +} + +// AsBasicControlActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsBasicControlActivity() (BasicControlActivity, bool) { + return nil, false +} + +// AsActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsActivity() (*Activity, bool) { + return nil, false +} + +// AsBasicActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsBasicActivity() (BasicActivity, bool) { + return &hisa, true +} + +// UnmarshalJSON is the custom unmarshaler for HDInsightSparkActivity struct. +func (hisa *HDInsightSparkActivity) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "typeProperties": + if v != nil { + var hDInsightSparkActivityTypeProperties HDInsightSparkActivityTypeProperties + err = json.Unmarshal(*v, &hDInsightSparkActivityTypeProperties) + if err != nil { + return err + } + hisa.HDInsightSparkActivityTypeProperties = &hDInsightSparkActivityTypeProperties + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + hisa.LinkedServiceName = &linkedServiceName + } + case "policy": + if v != nil { + var policy ActivityPolicy + err = json.Unmarshal(*v, &policy) + if err != nil { + return err + } + hisa.Policy = &policy + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if hisa.AdditionalProperties == nil { + hisa.AdditionalProperties = make(map[string]interface{}) + } + hisa.AdditionalProperties[k] = additionalProperties + } + case "name": + if v != nil { + var name string + err = json.Unmarshal(*v, &name) + if err != nil { + return err + } + hisa.Name = &name + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + hisa.Description = &description + } + case "dependsOn": + if v != nil { + var dependsOn []ActivityDependency + err = json.Unmarshal(*v, &dependsOn) + if err != nil { + return err + } + hisa.DependsOn = &dependsOn + } + case "userProperties": + if v != nil { + var userProperties []UserProperty + err = json.Unmarshal(*v, &userProperties) + if err != nil { + return err + } + hisa.UserProperties = &userProperties + } + case "type": + if v != nil { + var typeVar TypeBasicActivity + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + hisa.Type = typeVar + } + } + } + + return nil +} + +// HDInsightSparkActivityTypeProperties hDInsight spark activity properties. +type HDInsightSparkActivityTypeProperties struct { + // RootPath - The root path in 'sparkJobLinkedService' for all the job’s files. Type: string (or Expression with resultType string). + RootPath interface{} `json:"rootPath,omitempty"` + // EntryFilePath - The relative path to the root folder of the code/package to be executed. Type: string (or Expression with resultType string). + EntryFilePath interface{} `json:"entryFilePath,omitempty"` + // Arguments - The user-specified arguments to HDInsightSparkActivity. + Arguments *[]interface{} `json:"arguments,omitempty"` + // GetDebugInfo - Debug info option. Possible values include: 'None', 'Always', 'Failure' + GetDebugInfo HDInsightActivityDebugInfoOption `json:"getDebugInfo,omitempty"` + // SparkJobLinkedService - The storage linked service for uploading the entry file and dependencies, and for receiving logs. + SparkJobLinkedService *LinkedServiceReference `json:"sparkJobLinkedService,omitempty"` + // ClassName - The application's Java/Spark main class. + ClassName *string `json:"className,omitempty"` + // ProxyUser - The user to impersonate that will execute the job. Type: string (or Expression with resultType string). + ProxyUser interface{} `json:"proxyUser,omitempty"` + // SparkConfig - Spark configuration property. + SparkConfig map[string]interface{} `json:"sparkConfig"` +} + +// MarshalJSON is the custom marshaler for HDInsightSparkActivityTypeProperties. +func (hisatp HDInsightSparkActivityTypeProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if hisatp.RootPath != nil { + objectMap["rootPath"] = hisatp.RootPath + } + if hisatp.EntryFilePath != nil { + objectMap["entryFilePath"] = hisatp.EntryFilePath + } + if hisatp.Arguments != nil { + objectMap["arguments"] = hisatp.Arguments + } + if hisatp.GetDebugInfo != "" { + objectMap["getDebugInfo"] = hisatp.GetDebugInfo + } + if hisatp.SparkJobLinkedService != nil { + objectMap["sparkJobLinkedService"] = hisatp.SparkJobLinkedService + } + if hisatp.ClassName != nil { + objectMap["className"] = hisatp.ClassName + } + if hisatp.ProxyUser != nil { + objectMap["proxyUser"] = hisatp.ProxyUser + } + if hisatp.SparkConfig != nil { + objectMap["sparkConfig"] = hisatp.SparkConfig + } + return json.Marshal(objectMap) +} + +// HDInsightStreamingActivity hDInsight streaming activity type. +type HDInsightStreamingActivity struct { + // HDInsightStreamingActivityTypeProperties - HDInsight streaming activity properties. + *HDInsightStreamingActivityTypeProperties `json:"typeProperties,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Policy - Activity policy. + Policy *ActivityPolicy `json:"policy,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Name - Activity name. + Name *string `json:"name,omitempty"` + // Description - Activity description. + Description *string `json:"description,omitempty"` + // DependsOn - Activity depends on condition. + DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` + // UserProperties - Activity user properties. + UserProperties *[]UserProperty `json:"userProperties,omitempty"` + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + Type TypeBasicActivity `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) MarshalJSON() ([]byte, error) { + hisa.Type = TypeHDInsightStreaming + objectMap := make(map[string]interface{}) + if hisa.HDInsightStreamingActivityTypeProperties != nil { + objectMap["typeProperties"] = hisa.HDInsightStreamingActivityTypeProperties + } + if hisa.LinkedServiceName != nil { + objectMap["linkedServiceName"] = hisa.LinkedServiceName + } + if hisa.Policy != nil { + objectMap["policy"] = hisa.Policy + } + if hisa.Name != nil { + objectMap["name"] = hisa.Name + } + if hisa.Description != nil { + objectMap["description"] = hisa.Description + } + if hisa.DependsOn != nil { + objectMap["dependsOn"] = hisa.DependsOn + } + if hisa.UserProperties != nil { + objectMap["userProperties"] = hisa.UserProperties + } + if hisa.Type != "" { + objectMap["type"] = hisa.Type + } + for k, v := range hisa.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAzureFunctionActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { + return nil, false +} + +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { + return nil, false +} + +// AsDatabricksSparkJarActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { + return nil, false +} + +// AsDatabricksNotebookActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { + return nil, false +} + +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { + return nil, false +} + +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { + return nil, false +} + +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { + return nil, false +} + +// AsGetMetadataActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { + return nil, false +} + +// AsWebActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsWebActivity() (*WebActivity, bool) { + return nil, false +} + +// AsLookupActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsLookupActivity() (*LookupActivity, bool) { + return nil, false +} + +// AsDeleteActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsDeleteActivity() (*DeleteActivity, bool) { + return nil, false +} + +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { + return nil, false +} + +// AsCustomActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsCustomActivity() (*CustomActivity, bool) { + return nil, false +} + +// AsExecuteSSISPackageActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { + return nil, false +} + +// AsHDInsightSparkActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { + return nil, false +} + +// AsHDInsightStreamingActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { + return &hisa, true +} + +// AsHDInsightMapReduceActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { + return nil, false +} + +// AsHDInsightPigActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { + return nil, false +} + +// AsHDInsightHiveActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { + return nil, false +} + +// AsCopyActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsCopyActivity() (*CopyActivity, bool) { + return nil, false +} + +// AsExecutionActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsExecutionActivity() (*ExecutionActivity, bool) { + return nil, false +} + +// AsBasicExecutionActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return &hisa, true +} + +// AsWebHookActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsWebHookActivity() (*WebHookActivity, bool) { + return nil, false +} + +// AsAppendVariableActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { + return nil, false +} + +// AsSetVariableActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { + return nil, false +} + +// AsFilterActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsFilterActivity() (*FilterActivity, bool) { + return nil, false +} + +// AsValidationActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsValidationActivity() (*ValidationActivity, bool) { + return nil, false +} + +// AsUntilActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsUntilActivity() (*UntilActivity, bool) { + return nil, false +} + +// AsWaitActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsWaitActivity() (*WaitActivity, bool) { + return nil, false +} + +// AsForEachActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsForEachActivity() (*ForEachActivity, bool) { + return nil, false +} + +// AsIfConditionActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { + return nil, false +} + +// AsExecutePipelineActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { + return nil, false +} + +// AsControlActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsControlActivity() (*ControlActivity, bool) { + return nil, false +} + +// AsBasicControlActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsBasicControlActivity() (BasicControlActivity, bool) { + return nil, false +} + +// AsActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsActivity() (*Activity, bool) { + return nil, false +} + +// AsBasicActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsBasicActivity() (BasicActivity, bool) { + return &hisa, true +} + +// UnmarshalJSON is the custom unmarshaler for HDInsightStreamingActivity struct. +func (hisa *HDInsightStreamingActivity) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "typeProperties": + if v != nil { + var hDInsightStreamingActivityTypeProperties HDInsightStreamingActivityTypeProperties + err = json.Unmarshal(*v, &hDInsightStreamingActivityTypeProperties) + if err != nil { + return err + } + hisa.HDInsightStreamingActivityTypeProperties = &hDInsightStreamingActivityTypeProperties + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + hisa.LinkedServiceName = &linkedServiceName + } + case "policy": + if v != nil { + var policy ActivityPolicy + err = json.Unmarshal(*v, &policy) + if err != nil { + return err + } + hisa.Policy = &policy + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if hisa.AdditionalProperties == nil { + hisa.AdditionalProperties = make(map[string]interface{}) + } + hisa.AdditionalProperties[k] = additionalProperties + } + case "name": + if v != nil { + var name string + err = json.Unmarshal(*v, &name) + if err != nil { + return err + } + hisa.Name = &name + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + hisa.Description = &description + } + case "dependsOn": + if v != nil { + var dependsOn []ActivityDependency + err = json.Unmarshal(*v, &dependsOn) + if err != nil { + return err + } + hisa.DependsOn = &dependsOn + } + case "userProperties": + if v != nil { + var userProperties []UserProperty + err = json.Unmarshal(*v, &userProperties) + if err != nil { + return err + } + hisa.UserProperties = &userProperties + } + case "type": + if v != nil { + var typeVar TypeBasicActivity + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + hisa.Type = typeVar + } + } + } + + return nil +} + +// HDInsightStreamingActivityTypeProperties hDInsight streaming activity properties. +type HDInsightStreamingActivityTypeProperties struct { + // StorageLinkedServices - Storage linked service references. + StorageLinkedServices *[]LinkedServiceReference `json:"storageLinkedServices,omitempty"` + // Arguments - User specified arguments to HDInsightActivity. + Arguments *[]interface{} `json:"arguments,omitempty"` + // GetDebugInfo - Debug info option. Possible values include: 'None', 'Always', 'Failure' + GetDebugInfo HDInsightActivityDebugInfoOption `json:"getDebugInfo,omitempty"` + // Mapper - Mapper executable name. Type: string (or Expression with resultType string). + Mapper interface{} `json:"mapper,omitempty"` + // Reducer - Reducer executable name. Type: string (or Expression with resultType string). + Reducer interface{} `json:"reducer,omitempty"` + // Input - Input blob path. Type: string (or Expression with resultType string). + Input interface{} `json:"input,omitempty"` + // Output - Output blob path. Type: string (or Expression with resultType string). + Output interface{} `json:"output,omitempty"` + // FilePaths - Paths to streaming job files. Can be directories. + FilePaths *[]interface{} `json:"filePaths,omitempty"` + // FileLinkedService - Linked service reference where the files are located. + FileLinkedService *LinkedServiceReference `json:"fileLinkedService,omitempty"` + // Combiner - Combiner executable name. Type: string (or Expression with resultType string). + Combiner interface{} `json:"combiner,omitempty"` + // CommandEnvironment - Command line environment values. + CommandEnvironment *[]interface{} `json:"commandEnvironment,omitempty"` + // Defines - Allows user to specify defines for streaming job request. + Defines map[string]interface{} `json:"defines"` +} + +// MarshalJSON is the custom marshaler for HDInsightStreamingActivityTypeProperties. +func (hisatp HDInsightStreamingActivityTypeProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if hisatp.StorageLinkedServices != nil { + objectMap["storageLinkedServices"] = hisatp.StorageLinkedServices + } + if hisatp.Arguments != nil { + objectMap["arguments"] = hisatp.Arguments + } + if hisatp.GetDebugInfo != "" { + objectMap["getDebugInfo"] = hisatp.GetDebugInfo + } + if hisatp.Mapper != nil { + objectMap["mapper"] = hisatp.Mapper + } + if hisatp.Reducer != nil { + objectMap["reducer"] = hisatp.Reducer + } + if hisatp.Input != nil { + objectMap["input"] = hisatp.Input + } + if hisatp.Output != nil { + objectMap["output"] = hisatp.Output + } + if hisatp.FilePaths != nil { + objectMap["filePaths"] = hisatp.FilePaths + } + if hisatp.FileLinkedService != nil { + objectMap["fileLinkedService"] = hisatp.FileLinkedService + } + if hisatp.Combiner != nil { + objectMap["combiner"] = hisatp.Combiner + } + if hisatp.CommandEnvironment != nil { + objectMap["commandEnvironment"] = hisatp.CommandEnvironment + } + if hisatp.Defines != nil { + objectMap["defines"] = hisatp.Defines + } + return json.Marshal(objectMap) +} + +// HiveLinkedService hive Server linked service. +type HiveLinkedService struct { + // HiveLinkedServiceTypeProperties - Hive Server linked service properties. + *HiveLinkedServiceTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. + Description *string `json:"description,omitempty"` + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the linked service. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for HiveLinkedService. +func (hls HiveLinkedService) MarshalJSON() ([]byte, error) { + hls.Type = TypeHive + objectMap := make(map[string]interface{}) + if hls.HiveLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = hls.HiveLinkedServiceTypeProperties + } + if hls.ConnectVia != nil { + objectMap["connectVia"] = hls.ConnectVia + } + if hls.Description != nil { + objectMap["description"] = hls.Description + } + if hls.Parameters != nil { + objectMap["parameters"] = hls.Parameters + } + if hls.Annotations != nil { + objectMap["annotations"] = hls.Annotations + } + if hls.Type != "" { + objectMap["type"] = hls.Type + } + for k, v := range hls.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { + return nil, false +} + +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { + return nil, false +} + +// AsSapTableLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { + return nil, false +} + +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { + return nil, false +} + +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { + return nil, false +} + +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { + return nil, false +} + +// AsResponsysLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { + return nil, false +} + +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { + return nil, false +} + +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { + return nil, false +} + +// AsNetezzaLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + +// AsZohoLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { + return nil, false +} + +// AsXeroLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { + return nil, false +} + +// AsSquareLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { + return nil, false +} + +// AsSparkLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { + return nil, false +} + +// AsShopifyLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { + return nil, false +} + +// AsServiceNowLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { + return nil, false +} + +// AsQuickBooksLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { + return nil, false +} + +// AsPrestoLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { + return nil, false +} + +// AsPhoenixLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { + return nil, false +} + +// AsPaypalLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { + return nil, false +} + +// AsMarketoLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { + return nil, false +} + +// AsMariaDBLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { + return nil, false +} + +// AsMagentoLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { + return nil, false +} + +// AsJiraLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { + return nil, false +} + +// AsImpalaLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { + return nil, false +} + +// AsHubspotLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { + return nil, false +} + +// AsHiveLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { + return &hls, true +} + +// AsHBaseLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { + return nil, false +} + +// AsGreenplumLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { + return nil, false +} + +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { + return nil, false +} + +// AsEloquaLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { + return nil, false +} + +// AsDrillLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { + return nil, false +} + +// AsCouchbaseLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { + return nil, false +} + +// AsConcurLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { + return nil, false +} + +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { + return nil, false +} + +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { + return nil, false +} + +// AsSapHanaLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { + return nil, false +} + +// AsSapBWLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { + return nil, false +} + +// AsSftpServerLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { + return nil, false +} + +// AsFtpServerLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { + return nil, false +} + +// AsHTTPLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { + return nil, false +} + +// AsAzureSearchLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { + return nil, false +} + +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { + return nil, false +} + +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { + return nil, false +} + +// AsAmazonS3LinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { + return nil, false +} + +// AsRestServiceLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { + return nil, false +} + +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { + return nil, false +} + +// AsSapEccLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { + return nil, false +} + +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { + return nil, false +} + +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + +// AsSalesforceLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { + return nil, false +} + +// AsOffice365LinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { + return nil, false +} + +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { + return nil, false +} + +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { + return nil, false +} + +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { + return nil, false +} + +// AsMongoDbLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { + return nil, false +} + +// AsCassandraLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { + return nil, false +} + +// AsWebLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { + return nil, false +} + +// AsODataLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { + return nil, false +} + +// AsHdfsLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { + return nil, false +} + +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + +// AsOdbcLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { + return nil, false +} + +// AsAzureMLLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { + return nil, false +} + +// AsTeradataLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { + return nil, false +} + +// AsDb2LinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return nil, false +} + +// AsSybaseLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { + return nil, false +} + +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { + return nil, false +} + +// AsMySQLLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { + return nil, false +} + +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { + return nil, false +} + +// AsOracleLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { + return nil, false +} + +// AsFileServerLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { + return nil, false +} + +// AsHDInsightLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + +// AsDynamicsLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false +} + +// AsCosmosDbLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false +} + +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false +} + +// AsAzureBatchLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} + +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &hls, true +} + +// UnmarshalJSON is the custom unmarshaler for HiveLinkedService struct. +func (hls *HiveLinkedService) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "typeProperties": + if v != nil { + var hiveLinkedServiceTypeProperties HiveLinkedServiceTypeProperties + err = json.Unmarshal(*v, &hiveLinkedServiceTypeProperties) + if err != nil { + return err + } + hls.HiveLinkedServiceTypeProperties = &hiveLinkedServiceTypeProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if hls.AdditionalProperties == nil { + hls.AdditionalProperties = make(map[string]interface{}) + } + hls.AdditionalProperties[k] = additionalProperties + } + case "connectVia": + if v != nil { + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) + if err != nil { + return err + } + hls.ConnectVia = &connectVia + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + hls.Description = &description + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + hls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + hls.Annotations = &annotations + } + case "type": + if v != nil { + var typeVar TypeBasicLinkedService + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + hls.Type = typeVar + } + } + } + + return nil +} + +// HiveLinkedServiceTypeProperties hive Server linked service properties. +type HiveLinkedServiceTypeProperties struct { + // Host - IP address or host name of the Hive server, separated by ';' for multiple hosts (only when serviceDiscoveryMode is enable). + Host interface{} `json:"host,omitempty"` + // Port - The TCP port that the Hive server uses to listen for client connections. + Port interface{} `json:"port,omitempty"` + // ServerType - The type of Hive server. Possible values include: 'HiveServer1', 'HiveServer2', 'HiveThriftServer' + ServerType HiveServerType `json:"serverType,omitempty"` + // ThriftTransportProtocol - The transport protocol to use in the Thrift layer. Possible values include: 'Binary', 'SASL', 'HTTP' + ThriftTransportProtocol HiveThriftTransportProtocol `json:"thriftTransportProtocol,omitempty"` + // AuthenticationType - The authentication method used to access the Hive server. Possible values include: 'Anonymous', 'Username', 'UsernameAndPassword', 'WindowsAzureHDInsightService' + AuthenticationType HiveAuthenticationType `json:"authenticationType,omitempty"` + // ServiceDiscoveryMode - true to indicate using the ZooKeeper service, false not. + ServiceDiscoveryMode interface{} `json:"serviceDiscoveryMode,omitempty"` + // ZooKeeperNameSpace - The namespace on ZooKeeper under which Hive Server 2 nodes are added. + ZooKeeperNameSpace interface{} `json:"zooKeeperNameSpace,omitempty"` + // UseNativeQuery - Specifies whether the driver uses native HiveQL queries,or converts them into an equivalent form in HiveQL. + UseNativeQuery interface{} `json:"useNativeQuery,omitempty"` + // Username - The user name that you use to access Hive Server. + Username interface{} `json:"username,omitempty"` + // Password - The password corresponding to the user name that you provided in the Username field + Password BasicSecretBase `json:"password,omitempty"` + // HTTPPath - The partial URL corresponding to the Hive server. + HTTPPath interface{} `json:"httpPath,omitempty"` + // EnableSsl - Specifies whether the connections to the server are encrypted using SSL. The default value is false. + EnableSsl interface{} `json:"enableSsl,omitempty"` + // TrustedCertPath - 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. + TrustedCertPath interface{} `json:"trustedCertPath,omitempty"` + // UseSystemTrustStore - Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. + UseSystemTrustStore interface{} `json:"useSystemTrustStore,omitempty"` + // AllowHostNameCNMismatch - 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. + AllowHostNameCNMismatch interface{} `json:"allowHostNameCNMismatch,omitempty"` + // AllowSelfSignedServerCert - Specifies whether to allow self-signed certificates from the server. The default value is false. + AllowSelfSignedServerCert interface{} `json:"allowSelfSignedServerCert,omitempty"` + // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` +} + +// UnmarshalJSON is the custom unmarshaler for HiveLinkedServiceTypeProperties struct. +func (hlstp *HiveLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "host": + if v != nil { + var host interface{} + err = json.Unmarshal(*v, &host) + if err != nil { + return err + } + hlstp.Host = host + } + case "port": + if v != nil { + var port interface{} + err = json.Unmarshal(*v, &port) + if err != nil { + return err + } + hlstp.Port = port + } + case "serverType": + if v != nil { + var serverType HiveServerType + err = json.Unmarshal(*v, &serverType) + if err != nil { + return err + } + hlstp.ServerType = serverType + } + case "thriftTransportProtocol": + if v != nil { + var thriftTransportProtocol HiveThriftTransportProtocol + err = json.Unmarshal(*v, &thriftTransportProtocol) + if err != nil { + return err + } + hlstp.ThriftTransportProtocol = thriftTransportProtocol + } + case "authenticationType": + if v != nil { + var authenticationType HiveAuthenticationType + err = json.Unmarshal(*v, &authenticationType) + if err != nil { + return err + } + hlstp.AuthenticationType = authenticationType + } + case "serviceDiscoveryMode": + if v != nil { + var serviceDiscoveryMode interface{} + err = json.Unmarshal(*v, &serviceDiscoveryMode) + if err != nil { + return err + } + hlstp.ServiceDiscoveryMode = serviceDiscoveryMode + } + case "zooKeeperNameSpace": + if v != nil { + var zooKeeperNameSpace interface{} + err = json.Unmarshal(*v, &zooKeeperNameSpace) + if err != nil { + return err + } + hlstp.ZooKeeperNameSpace = zooKeeperNameSpace + } + case "useNativeQuery": + if v != nil { + var useNativeQuery interface{} + err = json.Unmarshal(*v, &useNativeQuery) + if err != nil { + return err + } + hlstp.UseNativeQuery = useNativeQuery + } + case "username": + if v != nil { + var username interface{} + err = json.Unmarshal(*v, &username) + if err != nil { + return err + } + hlstp.Username = username + } + case "password": + if v != nil { + password, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + hlstp.Password = password + } + case "httpPath": + if v != nil { + var HTTPPath interface{} + err = json.Unmarshal(*v, &HTTPPath) + if err != nil { + return err + } + hlstp.HTTPPath = HTTPPath + } + case "enableSsl": + if v != nil { + var enableSsl interface{} + err = json.Unmarshal(*v, &enableSsl) + if err != nil { + return err + } + hlstp.EnableSsl = enableSsl + } + case "trustedCertPath": + if v != nil { + var trustedCertPath interface{} + err = json.Unmarshal(*v, &trustedCertPath) + if err != nil { + return err + } + hlstp.TrustedCertPath = trustedCertPath + } + case "useSystemTrustStore": + if v != nil { + var useSystemTrustStore interface{} + err = json.Unmarshal(*v, &useSystemTrustStore) + if err != nil { + return err + } + hlstp.UseSystemTrustStore = useSystemTrustStore + } + case "allowHostNameCNMismatch": + if v != nil { + var allowHostNameCNMismatch interface{} + err = json.Unmarshal(*v, &allowHostNameCNMismatch) + if err != nil { + return err + } + hlstp.AllowHostNameCNMismatch = allowHostNameCNMismatch + } + case "allowSelfSignedServerCert": + if v != nil { + var allowSelfSignedServerCert interface{} + err = json.Unmarshal(*v, &allowSelfSignedServerCert) + if err != nil { + return err + } + hlstp.AllowSelfSignedServerCert = allowSelfSignedServerCert + } + case "encryptedCredential": + if v != nil { + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) + if err != nil { + return err + } + hlstp.EncryptedCredential = encryptedCredential + } + } + } + + return nil +} + +// HiveObjectDataset hive Server dataset. +type HiveObjectDataset struct { + // GenericDatasetTypeProperties - Properties specific to this dataset type. + *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Description - Dataset description. + Description *string `json:"description,omitempty"` + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for HiveObjectDataset. +func (hod HiveObjectDataset) MarshalJSON() ([]byte, error) { + hod.Type = TypeHiveObject + objectMap := make(map[string]interface{}) + if hod.GenericDatasetTypeProperties != nil { + objectMap["typeProperties"] = hod.GenericDatasetTypeProperties + } + if hod.Description != nil { + objectMap["description"] = hod.Description + } + if hod.Structure != nil { + objectMap["structure"] = hod.Structure + } + if hod.Schema != nil { + objectMap["schema"] = hod.Schema + } + if hod.LinkedServiceName != nil { + objectMap["linkedServiceName"] = hod.LinkedServiceName + } + if hod.Parameters != nil { + objectMap["parameters"] = hod.Parameters + } + if hod.Annotations != nil { + objectMap["annotations"] = hod.Annotations + } + if hod.Folder != nil { + objectMap["folder"] = hod.Folder + } + if hod.Type != "" { + objectMap["type"] = hod.Type + } + for k, v := range hod.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { + return nil, false +} + +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { + return nil, false +} + +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { + return nil, false +} + +// AsDynamicsAXResourceDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { + return nil, false +} + +// AsResponsysObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { + return nil, false +} + +// AsVerticaTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false +} + +// AsNetezzaTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false +} + +// AsZohoObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { + return nil, false +} + +// AsXeroObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { + return nil, false +} + +// AsSquareObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { + return nil, false +} + +// AsSparkObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { + return nil, false +} + +// AsShopifyObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { + return nil, false +} + +// AsServiceNowObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { + return nil, false +} + +// AsQuickBooksObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { + return nil, false +} + +// AsPrestoObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { + return nil, false +} + +// AsPhoenixObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { + return nil, false +} + +// AsPaypalObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { + return nil, false +} + +// AsMarketoObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { + return nil, false +} + +// AsMariaDBTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { + return nil, false +} + +// AsMagentoObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { + return nil, false +} + +// AsJiraObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { + return nil, false +} + +// AsImpalaObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { + return nil, false +} + +// AsHubspotObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { + return nil, false +} + +// AsHiveObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { + return &hod, true +} + +// AsHBaseObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { + return nil, false +} + +// AsGreenplumTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { + return nil, false +} + +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { + return nil, false +} + +// AsEloquaObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { + return nil, false +} + +// AsDrillTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { + return nil, false +} + +// AsCouchbaseTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { + return nil, false +} + +// AsConcurObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { + return nil, false +} + +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { + return nil, false +} + +// AsAmazonMWSObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { + return nil, false +} + +// AsHTTPDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { + return nil, false +} + +// AsAzureSearchIndexDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { + return nil, false +} + +// AsWebTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { + return nil, false +} + +// AsSapTableResourceDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { + return nil, false +} + +// AsRestResourceDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { + return nil, false +} + +// AsSQLServerTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { + return nil, false +} + +// AsSapOpenHubTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { + return nil, false +} + +// AsSapHanaTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { + return nil, false +} + +// AsSapEccResourceDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { + return nil, false +} + +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { + return nil, false +} + +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { + return nil, false +} + +// AsSalesforceObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { + return nil, false +} + +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { + return nil, false +} + +// AsPostgreSQLTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { + return nil, false +} + +// AsMySQLTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { + return nil, false +} + +// AsOdbcTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { + return nil, false +} + +// AsInformixTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { + return nil, false +} + +// AsRelationalTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { + return nil, false +} + +// AsAzureMySQLTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { + return nil, false +} + +// AsTeradataTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { + return nil, false +} + +// AsOracleTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { + return nil, false +} + +// AsODataResourceDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { + return nil, false +} + +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { + return nil, false +} + +// AsMongoDbCollectionDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { + return nil, false +} + +// AsFileShareDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { + return nil, false +} + +// AsOffice365Dataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { + return nil, false +} + +// AsAzureBlobFSDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { + return nil, false +} + +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { + return nil, false +} + +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { + return nil, false +} + +// AsDynamicsEntityDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { + return nil, false +} + +// AsDocumentDbCollectionDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { + return nil, false +} + +// AsCustomDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsCustomDataset() (*CustomDataset, bool) { + return nil, false +} + +// AsCassandraTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { + return nil, false +} + +// AsAzureSQLDWTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { + return nil, false +} + +// AsAzureSQLMITableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + +// AsAzureSQLTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { + return nil, false +} + +// AsAzureTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { + return nil, false +} + +// AsAzureBlobDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { + return nil, false +} + +// AsBinaryDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + +// AsDelimitedTextDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { + return nil, false +} + +// AsParquetDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsBasicDataset() (BasicDataset, bool) { + return &hod, true +} + +// UnmarshalJSON is the custom unmarshaler for HiveObjectDataset struct. +func (hod *HiveObjectDataset) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "typeProperties": + if v != nil { + var genericDatasetTypeProperties GenericDatasetTypeProperties + err = json.Unmarshal(*v, &genericDatasetTypeProperties) + if err != nil { + return err + } + hod.GenericDatasetTypeProperties = &genericDatasetTypeProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if hod.AdditionalProperties == nil { + hod.AdditionalProperties = make(map[string]interface{}) + } + hod.AdditionalProperties[k] = additionalProperties + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + hod.Description = &description + } + case "structure": + if v != nil { + var structure interface{} + err = json.Unmarshal(*v, &structure) + if err != nil { + return err + } + hod.Structure = structure + } + case "schema": + if v != nil { + var schema interface{} + err = json.Unmarshal(*v, &schema) + if err != nil { + return err + } + hod.Schema = schema + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + hod.LinkedServiceName = &linkedServiceName + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + hod.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + hod.Annotations = &annotations + } + case "folder": + if v != nil { + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) + if err != nil { + return err + } + hod.Folder = &folder + } + case "type": + if v != nil { + var typeVar TypeBasicDataset + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + hod.Type = typeVar + } + } + } + + return nil +} + +// HiveSource a copy activity Hive Server source. +type HiveSource struct { + // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). + Query interface{} `json:"query,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + Type TypeBasicCopySource `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for HiveSource. +func (hs HiveSource) MarshalJSON() ([]byte, error) { + hs.Type = TypeHiveSource + objectMap := make(map[string]interface{}) + if hs.Query != nil { + objectMap["query"] = hs.Query + } + if hs.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = hs.SourceRetryCount + } + if hs.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = hs.SourceRetryWait + } + if hs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = hs.MaxConcurrentConnections + } + if hs.Type != "" { + objectMap["type"] = hs.Type + } + for k, v := range hs.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAmazonRedshiftSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { + return nil, false +} + +// AsGoogleAdWordsSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { + return nil, false +} + +// AsOracleServiceCloudSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { + return nil, false +} + +// AsDynamicsAXSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { + return nil, false +} + +// AsResponsysSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsResponsysSource() (*ResponsysSource, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { + return nil, false +} + +// AsVerticaSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false +} + +// AsNetezzaSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false +} + +// AsZohoSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsZohoSource() (*ZohoSource, bool) { + return nil, false +} + +// AsXeroSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsXeroSource() (*XeroSource, bool) { + return nil, false +} + +// AsSquareSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsSquareSource() (*SquareSource, bool) { + return nil, false +} + +// AsSparkSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsSparkSource() (*SparkSource, bool) { + return nil, false +} + +// AsShopifySource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsShopifySource() (*ShopifySource, bool) { + return nil, false +} + +// AsServiceNowSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsServiceNowSource() (*ServiceNowSource, bool) { + return nil, false +} + +// AsQuickBooksSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsQuickBooksSource() (*QuickBooksSource, bool) { + return nil, false +} + +// AsPrestoSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsPrestoSource() (*PrestoSource, bool) { + return nil, false +} + +// AsPhoenixSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsPhoenixSource() (*PhoenixSource, bool) { + return nil, false +} + +// AsPaypalSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsPaypalSource() (*PaypalSource, bool) { + return nil, false +} + +// AsMarketoSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsMarketoSource() (*MarketoSource, bool) { + return nil, false +} + +// AsMariaDBSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsMariaDBSource() (*MariaDBSource, bool) { + return nil, false +} + +// AsMagentoSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsMagentoSource() (*MagentoSource, bool) { + return nil, false +} + +// AsJiraSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsJiraSource() (*JiraSource, bool) { + return nil, false +} + +// AsImpalaSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsImpalaSource() (*ImpalaSource, bool) { + return nil, false +} + +// AsHubspotSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsHubspotSource() (*HubspotSource, bool) { + return nil, false +} + +// AsHiveSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsHiveSource() (*HiveSource, bool) { + return &hs, true +} + +// AsHBaseSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsHBaseSource() (*HBaseSource, bool) { + return nil, false +} + +// AsGreenplumSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsGreenplumSource() (*GreenplumSource, bool) { + return nil, false +} + +// AsGoogleBigQuerySource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { + return nil, false +} + +// AsEloquaSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsEloquaSource() (*EloquaSource, bool) { + return nil, false +} + +// AsDrillSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsDrillSource() (*DrillSource, bool) { + return nil, false +} + +// AsCouchbaseSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsCouchbaseSource() (*CouchbaseSource, bool) { + return nil, false +} + +// AsConcurSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsConcurSource() (*ConcurSource, bool) { + return nil, false +} + +// AsAzurePostgreSQLSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { + return nil, false +} + +// AsAmazonMWSSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { + return nil, false +} + +// AsHTTPSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsCassandraSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsCassandraSource() (*CassandraSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsTeradataSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsAzureMySQLSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsSQLDWSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsSQLDWSource() (*SQLDWSource, bool) { + return nil, false +} + +// AsSQLMISource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsSQLMISource() (*SQLMISource, bool) { + return nil, false +} + +// AsAzureSQLSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsAzureSQLSource() (*AzureSQLSource, bool) { + return nil, false +} + +// AsSQLServerSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsSQLServerSource() (*SQLServerSource, bool) { + return nil, false +} + +// AsSQLSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsSQLSource() (*SQLSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSapTableSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsSapTableSource() (*SapTableSource, bool) { + return nil, false +} + +// AsSapOpenHubSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { + return nil, false +} + +// AsSapHanaSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsSapHanaSource() (*SapHanaSource, bool) { + return nil, false +} + +// AsSapEccSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsSapEccSource() (*SapEccSource, bool) { + return nil, false +} + +// AsSapCloudForCustomerSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsSalesforceSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsSalesforceSource() (*SalesforceSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsSybaseSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsSybaseSource() (*SybaseSource, bool) { + return nil, false +} + +// AsPostgreSQLSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false +} + +// AsMySQLSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false +} + +// AsOdbcSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false +} + +// AsDb2Source is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsDb2Source() (*Db2Source, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + +// AsRelationalSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + +// AsDynamicsSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + +// AsAzureTableSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsBinarySource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsDelimitedTextSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false +} + +// AsParquetSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsBasicCopySource() (BasicCopySource, bool) { + return &hs, true +} + +// UnmarshalJSON is the custom unmarshaler for HiveSource struct. +func (hs *HiveSource) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "query": + if v != nil { + var query interface{} + err = json.Unmarshal(*v, &query) + if err != nil { + return err + } + hs.Query = query + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if hs.AdditionalProperties == nil { + hs.AdditionalProperties = make(map[string]interface{}) + } + hs.AdditionalProperties[k] = additionalProperties + } + case "sourceRetryCount": + if v != nil { + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) + if err != nil { + return err + } + hs.SourceRetryCount = sourceRetryCount + } + case "sourceRetryWait": + if v != nil { + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) + if err != nil { + return err + } + hs.SourceRetryWait = sourceRetryWait + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + hs.MaxConcurrentConnections = maxConcurrentConnections + } + case "type": + if v != nil { + var typeVar TypeBasicCopySource + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + hs.Type = typeVar + } + } + } + + return nil +} + +// HTTPDataset a file in an HTTP web server. +type HTTPDataset struct { + // HTTPDatasetTypeProperties - Properties specific to this dataset type. + *HTTPDatasetTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Description - Dataset description. + Description *string `json:"description,omitempty"` + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for HTTPDataset. +func (hd HTTPDataset) MarshalJSON() ([]byte, error) { + hd.Type = TypeHTTPFile + objectMap := make(map[string]interface{}) + if hd.HTTPDatasetTypeProperties != nil { + objectMap["typeProperties"] = hd.HTTPDatasetTypeProperties + } + if hd.Description != nil { + objectMap["description"] = hd.Description + } + if hd.Structure != nil { + objectMap["structure"] = hd.Structure + } + if hd.Schema != nil { + objectMap["schema"] = hd.Schema + } + if hd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = hd.LinkedServiceName + } + if hd.Parameters != nil { + objectMap["parameters"] = hd.Parameters + } + if hd.Annotations != nil { + objectMap["annotations"] = hd.Annotations + } + if hd.Folder != nil { + objectMap["folder"] = hd.Folder + } + if hd.Type != "" { + objectMap["type"] = hd.Type + } + for k, v := range hd.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { + return nil, false +} + +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { + return nil, false +} + +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { + return nil, false +} + +// AsDynamicsAXResourceDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { + return nil, false +} + +// AsResponsysObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { + return nil, false +} + +// AsVerticaTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false +} + +// AsNetezzaTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false +} + +// AsZohoObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { + return nil, false +} + +// AsXeroObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { + return nil, false +} + +// AsSquareObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { + return nil, false +} + +// AsSparkObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { + return nil, false +} + +// AsShopifyObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { + return nil, false +} + +// AsServiceNowObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { + return nil, false +} + +// AsQuickBooksObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { + return nil, false +} + +// AsPrestoObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { + return nil, false +} + +// AsPhoenixObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { + return nil, false +} + +// AsPaypalObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { + return nil, false +} + +// AsMarketoObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { + return nil, false +} + +// AsMariaDBTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { + return nil, false +} + +// AsMagentoObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { + return nil, false +} + +// AsJiraObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { + return nil, false +} + +// AsImpalaObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { + return nil, false +} + +// AsHubspotObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { + return nil, false +} + +// AsHiveObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { + return nil, false +} + +// AsHBaseObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { + return nil, false +} + +// AsGreenplumTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { + return nil, false +} + +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { + return nil, false +} + +// AsEloquaObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { + return nil, false +} + +// AsDrillTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { + return nil, false +} + +// AsCouchbaseTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { + return nil, false +} + +// AsConcurObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { + return nil, false +} + +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { + return nil, false +} + +// AsAmazonMWSObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { + return nil, false +} + +// AsHTTPDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsHTTPDataset() (*HTTPDataset, bool) { + return &hd, true +} + +// AsAzureSearchIndexDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { + return nil, false +} + +// AsWebTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsWebTableDataset() (*WebTableDataset, bool) { + return nil, false +} + +// AsSapTableResourceDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { + return nil, false +} + +// AsRestResourceDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { + return nil, false +} + +// AsSQLServerTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { + return nil, false +} + +// AsSapOpenHubTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { + return nil, false +} + +// AsSapHanaTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { + return nil, false +} + +// AsSapEccResourceDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { + return nil, false +} + +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { + return nil, false +} + +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { + return nil, false +} + +// AsSalesforceObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { + return nil, false +} + +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { + return nil, false +} + +// AsPostgreSQLTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { + return nil, false +} + +// AsMySQLTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { + return nil, false +} + +// AsOdbcTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { + return nil, false +} + +// AsInformixTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { + return nil, false +} + +// AsRelationalTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { + return nil, false +} + +// AsAzureMySQLTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { + return nil, false +} + +// AsTeradataTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { + return nil, false +} + +// AsOracleTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { + return nil, false +} + +// AsODataResourceDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { + return nil, false +} + +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { + return nil, false +} + +// AsMongoDbCollectionDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { + return nil, false +} + +// AsFileShareDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsFileShareDataset() (*FileShareDataset, bool) { + return nil, false +} + +// AsOffice365Dataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsOffice365Dataset() (*Office365Dataset, bool) { + return nil, false +} + +// AsAzureBlobFSDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { + return nil, false +} + +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { + return nil, false +} + +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { + return nil, false +} + +// AsDynamicsEntityDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { + return nil, false +} + +// AsDocumentDbCollectionDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { + return nil, false +} + +// AsCustomDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsCustomDataset() (*CustomDataset, bool) { + return nil, false +} + +// AsCassandraTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { + return nil, false +} + +// AsAzureSQLDWTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { + return nil, false +} + +// AsAzureSQLMITableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + +// AsAzureSQLTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { + return nil, false +} + +// AsAzureTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { + return nil, false +} + +// AsAzureBlobDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { + return nil, false +} + +// AsBinaryDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + +// AsDelimitedTextDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { + return nil, false +} + +// AsParquetDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsBasicDataset() (BasicDataset, bool) { + return &hd, true +} + +// UnmarshalJSON is the custom unmarshaler for HTTPDataset struct. +func (hd *HTTPDataset) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "typeProperties": + if v != nil { + var HTTPDatasetTypeProperties HTTPDatasetTypeProperties + err = json.Unmarshal(*v, &HTTPDatasetTypeProperties) + if err != nil { + return err + } + hd.HTTPDatasetTypeProperties = &HTTPDatasetTypeProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if hd.AdditionalProperties == nil { + hd.AdditionalProperties = make(map[string]interface{}) + } + hd.AdditionalProperties[k] = additionalProperties + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + hd.Description = &description + } + case "structure": + if v != nil { + var structure interface{} + err = json.Unmarshal(*v, &structure) + if err != nil { + return err + } + hd.Structure = structure + } + case "schema": + if v != nil { + var schema interface{} + err = json.Unmarshal(*v, &schema) + if err != nil { + return err + } + hd.Schema = schema + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + hd.LinkedServiceName = &linkedServiceName + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + hd.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + hd.Annotations = &annotations + } + case "folder": + if v != nil { + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) + if err != nil { + return err + } + hd.Folder = &folder + } + case "type": + if v != nil { + var typeVar TypeBasicDataset + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + hd.Type = typeVar + } + } + } + + return nil +} + +// HTTPDatasetTypeProperties properties specific to this dataset type. +type HTTPDatasetTypeProperties struct { + // RelativeURL - The relative URL based on the URL in the HttpLinkedService refers to an HTTP file Type: string (or Expression with resultType string). + RelativeURL interface{} `json:"relativeUrl,omitempty"` + // RequestMethod - The HTTP method for the HTTP request. Type: string (or Expression with resultType string). + RequestMethod interface{} `json:"requestMethod,omitempty"` + // RequestBody - The body for the HTTP request. Type: string (or Expression with resultType string). + RequestBody interface{} `json:"requestBody,omitempty"` + // AdditionalHeaders - The headers for the HTTP Request. e.g. request-header-name-1:request-header-value-1 + // ... + // request-header-name-n:request-header-value-n Type: string (or Expression with resultType string). + AdditionalHeaders interface{} `json:"additionalHeaders,omitempty"` + // Format - The format of files. + Format BasicDatasetStorageFormat `json:"format,omitempty"` + // Compression - The data compression method used on files. + Compression BasicDatasetCompression `json:"compression,omitempty"` +} + +// UnmarshalJSON is the custom unmarshaler for HTTPDatasetTypeProperties struct. +func (hdtp *HTTPDatasetTypeProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "relativeUrl": + if v != nil { + var relativeURL interface{} + err = json.Unmarshal(*v, &relativeURL) + if err != nil { + return err + } + hdtp.RelativeURL = relativeURL + } + case "requestMethod": + if v != nil { + var requestMethod interface{} + err = json.Unmarshal(*v, &requestMethod) + if err != nil { + return err + } + hdtp.RequestMethod = requestMethod + } + case "requestBody": + if v != nil { + var requestBody interface{} + err = json.Unmarshal(*v, &requestBody) + if err != nil { + return err + } + hdtp.RequestBody = requestBody + } + case "additionalHeaders": + if v != nil { + var additionalHeaders interface{} + err = json.Unmarshal(*v, &additionalHeaders) + if err != nil { + return err + } + hdtp.AdditionalHeaders = additionalHeaders + } + case "format": + if v != nil { + formatVar, err := unmarshalBasicDatasetStorageFormat(*v) + if err != nil { + return err + } + hdtp.Format = formatVar + } + case "compression": + if v != nil { + compression, err := unmarshalBasicDatasetCompression(*v) + if err != nil { + return err + } + hdtp.Compression = compression + } + } + } + + return nil +} + +// HTTPLinkedService linked service for an HTTP source. +type HTTPLinkedService struct { + // HTTPLinkedServiceTypeProperties - Properties specific to this linked service type. + *HTTPLinkedServiceTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. + Description *string `json:"description,omitempty"` + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the linked service. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for HTTPLinkedService. +func (hls HTTPLinkedService) MarshalJSON() ([]byte, error) { + hls.Type = TypeHTTPServer + objectMap := make(map[string]interface{}) + if hls.HTTPLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = hls.HTTPLinkedServiceTypeProperties + } + if hls.ConnectVia != nil { + objectMap["connectVia"] = hls.ConnectVia + } + if hls.Description != nil { + objectMap["description"] = hls.Description + } + if hls.Parameters != nil { + objectMap["parameters"] = hls.Parameters + } + if hls.Annotations != nil { + objectMap["annotations"] = hls.Annotations + } + if hls.Type != "" { + objectMap["type"] = hls.Type + } + for k, v := range hls.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { + return nil, false +} + +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { + return nil, false +} + +// AsSapTableLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { + return nil, false +} + +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { + return nil, false +} + +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { + return nil, false +} + +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { + return nil, false +} + +// AsResponsysLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { + return nil, false +} + +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { + return nil, false +} + +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { + return nil, false +} + +// AsNetezzaLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + +// AsZohoLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { + return nil, false +} + +// AsXeroLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { + return nil, false +} + +// AsSquareLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { + return nil, false +} + +// AsSparkLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { + return nil, false +} + +// AsShopifyLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { + return nil, false +} + +// AsServiceNowLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { + return nil, false +} + +// AsQuickBooksLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { + return nil, false +} + +// AsPrestoLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { + return nil, false +} + +// AsPhoenixLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { + return nil, false +} + +// AsPaypalLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { + return nil, false +} + +// AsMarketoLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { + return nil, false +} + +// AsMariaDBLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { + return nil, false +} + +// AsMagentoLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { + return nil, false +} + +// AsJiraLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { + return nil, false +} + +// AsImpalaLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { + return nil, false +} + +// AsHubspotLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { + return nil, false +} + +// AsHiveLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { + return nil, false +} + +// AsHBaseLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { + return nil, false +} + +// AsGreenplumLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { + return nil, false +} + +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { + return nil, false +} + +// AsEloquaLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { + return nil, false +} + +// AsDrillLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { + return nil, false +} + +// AsCouchbaseLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { + return nil, false +} + +// AsConcurLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { + return nil, false +} + +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { + return nil, false +} + +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { + return nil, false +} + +// AsSapHanaLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { + return nil, false +} + +// AsSapBWLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { + return nil, false +} + +// AsSftpServerLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { + return nil, false +} + +// AsFtpServerLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { + return nil, false +} + +// AsHTTPLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { + return &hls, true +} + +// AsAzureSearchLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { + return nil, false +} + +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { + return nil, false +} + +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { + return nil, false +} + +// AsAmazonS3LinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { + return nil, false +} + +// AsRestServiceLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { + return nil, false +} + +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { + return nil, false +} + +// AsSapEccLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { + return nil, false +} + +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { + return nil, false +} + +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + +// AsSalesforceLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { + return nil, false +} + +// AsOffice365LinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { + return nil, false +} + +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { + return nil, false +} + +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { + return nil, false +} + +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { + return nil, false +} + +// AsMongoDbLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { + return nil, false +} + +// AsCassandraLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { + return nil, false +} + +// AsWebLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { + return nil, false +} + +// AsODataLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { + return nil, false +} + +// AsHdfsLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { + return nil, false +} + +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + +// AsOdbcLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { + return nil, false +} + +// AsAzureMLLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { + return nil, false +} + +// AsTeradataLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { + return nil, false +} + +// AsDb2LinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return nil, false +} + +// AsSybaseLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { + return nil, false +} + +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { + return nil, false +} + +// AsMySQLLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { + return nil, false +} + +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { + return nil, false +} + +// AsOracleLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { + return nil, false +} + +// AsFileServerLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { + return nil, false +} + +// AsHDInsightLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + +// AsDynamicsLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false +} + +// AsCosmosDbLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false +} + +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false +} + +// AsAzureBatchLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} + +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &hls, true +} + +// UnmarshalJSON is the custom unmarshaler for HTTPLinkedService struct. +func (hls *HTTPLinkedService) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "typeProperties": + if v != nil { + var HTTPLinkedServiceTypeProperties HTTPLinkedServiceTypeProperties + err = json.Unmarshal(*v, &HTTPLinkedServiceTypeProperties) + if err != nil { + return err + } + hls.HTTPLinkedServiceTypeProperties = &HTTPLinkedServiceTypeProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if hls.AdditionalProperties == nil { + hls.AdditionalProperties = make(map[string]interface{}) + } + hls.AdditionalProperties[k] = additionalProperties + } + case "connectVia": + if v != nil { + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) + if err != nil { + return err + } + hls.ConnectVia = &connectVia + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + hls.Description = &description + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + hls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + hls.Annotations = &annotations + } + case "type": + if v != nil { + var typeVar TypeBasicLinkedService + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + hls.Type = typeVar + } + } + } + + return nil +} + +// HTTPLinkedServiceTypeProperties properties specific to this linked service type. +type HTTPLinkedServiceTypeProperties struct { + // URL - The base URL of the HTTP endpoint, e.g. http://www.microsoft.com. Type: string (or Expression with resultType string). + URL interface{} `json:"url,omitempty"` + // AuthenticationType - The authentication type to be used to connect to the HTTP server. Possible values include: 'HTTPAuthenticationTypeBasic', 'HTTPAuthenticationTypeAnonymous', 'HTTPAuthenticationTypeDigest', 'HTTPAuthenticationTypeWindows', 'HTTPAuthenticationTypeClientCertificate' + AuthenticationType HTTPAuthenticationType `json:"authenticationType,omitempty"` + // UserName - User name for Basic, Digest, or Windows authentication. Type: string (or Expression with resultType string). + UserName interface{} `json:"userName,omitempty"` + // Password - Password for Basic, Digest, Windows, or ClientCertificate with EmbeddedCertData authentication. + Password BasicSecretBase `json:"password,omitempty"` + // EmbeddedCertData - Base64 encoded certificate data for ClientCertificate authentication. For on-premises copy with ClientCertificate authentication, either CertThumbprint or EmbeddedCertData/Password should be specified. Type: string (or Expression with resultType string). + EmbeddedCertData interface{} `json:"embeddedCertData,omitempty"` + // CertThumbprint - 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). + CertThumbprint interface{} `json:"certThumbprint,omitempty"` + // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` + // EnableServerCertificateValidation - If true, validate the HTTPS server SSL certificate. Default value is true. Type: boolean (or Expression with resultType boolean). + EnableServerCertificateValidation interface{} `json:"enableServerCertificateValidation,omitempty"` +} + +// UnmarshalJSON is the custom unmarshaler for HTTPLinkedServiceTypeProperties struct. +func (hlstp *HTTPLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "url": + if v != nil { + var URL interface{} + err = json.Unmarshal(*v, &URL) + if err != nil { + return err + } + hlstp.URL = URL + } + case "authenticationType": + if v != nil { + var authenticationType HTTPAuthenticationType + err = json.Unmarshal(*v, &authenticationType) + if err != nil { + return err + } + hlstp.AuthenticationType = authenticationType + } + case "userName": + if v != nil { + var userName interface{} + err = json.Unmarshal(*v, &userName) + if err != nil { + return err + } + hlstp.UserName = userName + } + case "password": + if v != nil { + password, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + hlstp.Password = password + } + case "embeddedCertData": + if v != nil { + var embeddedCertData interface{} + err = json.Unmarshal(*v, &embeddedCertData) + if err != nil { + return err + } + hlstp.EmbeddedCertData = embeddedCertData + } + case "certThumbprint": + if v != nil { + var certThumbprint interface{} + err = json.Unmarshal(*v, &certThumbprint) + if err != nil { + return err + } + hlstp.CertThumbprint = certThumbprint + } + case "encryptedCredential": + if v != nil { + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) + if err != nil { + return err + } + hlstp.EncryptedCredential = encryptedCredential + } + case "enableServerCertificateValidation": + if v != nil { + var enableServerCertificateValidation interface{} + err = json.Unmarshal(*v, &enableServerCertificateValidation) + if err != nil { + return err + } + hlstp.EnableServerCertificateValidation = enableServerCertificateValidation + } + } + } + + return nil +} + +// HTTPReadSettings sftp read settings. +type HTTPReadSettings struct { + // RequestMethod - The HTTP method used to call the RESTful API. The default is GET. Type: string (or Expression with resultType string). + RequestMethod interface{} `json:"requestMethod,omitempty"` + // RequestBody - The HTTP request body to the RESTful API if requestMethod is POST. Type: string (or Expression with resultType string). + RequestBody interface{} `json:"requestBody,omitempty"` + // AdditionalHeaders - The additional HTTP headers in the request to the RESTful API. Type: string (or Expression with resultType string). + AdditionalHeaders interface{} `json:"additionalHeaders,omitempty"` + // RequestTimeout - Specifies the timeout for a HTTP client to get HTTP response from HTTP server. + RequestTimeout interface{} `json:"requestTimeout,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Type - The read setting type. + Type *string `json:"type,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` +} + +// MarshalJSON is the custom marshaler for HTTPReadSettings. +func (hrs HTTPReadSettings) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if hrs.RequestMethod != nil { + objectMap["requestMethod"] = hrs.RequestMethod + } + if hrs.RequestBody != nil { + objectMap["requestBody"] = hrs.RequestBody + } + if hrs.AdditionalHeaders != nil { + objectMap["additionalHeaders"] = hrs.AdditionalHeaders + } + if hrs.RequestTimeout != nil { + objectMap["requestTimeout"] = hrs.RequestTimeout + } + if hrs.Type != nil { + objectMap["type"] = hrs.Type + } + if hrs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = hrs.MaxConcurrentConnections + } + for k, v := range hrs.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for HTTPReadSettings struct. +func (hrs *HTTPReadSettings) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "requestMethod": + if v != nil { + var requestMethod interface{} + err = json.Unmarshal(*v, &requestMethod) + if err != nil { + return err + } + hrs.RequestMethod = requestMethod + } + case "requestBody": + if v != nil { + var requestBody interface{} + err = json.Unmarshal(*v, &requestBody) + if err != nil { + return err + } + hrs.RequestBody = requestBody + } + case "additionalHeaders": + if v != nil { + var additionalHeaders interface{} + err = json.Unmarshal(*v, &additionalHeaders) + if err != nil { + return err + } + hrs.AdditionalHeaders = additionalHeaders + } + case "requestTimeout": + if v != nil { + var requestTimeout interface{} + err = json.Unmarshal(*v, &requestTimeout) + if err != nil { + return err + } + hrs.RequestTimeout = requestTimeout + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if hrs.AdditionalProperties == nil { + hrs.AdditionalProperties = make(map[string]interface{}) + } + hrs.AdditionalProperties[k] = additionalProperties + } + case "type": + if v != nil { + var typeVar string + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + hrs.Type = &typeVar + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + hrs.MaxConcurrentConnections = maxConcurrentConnections + } + } + } + + return nil +} + +// HTTPServerLocation the location of http server. +type HTTPServerLocation struct { + // RelativeURL - Specify the relativeUrl of http server. Type: string (or Expression with resultType string) + RelativeURL interface{} `json:"relativeUrl,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Type - Type of dataset storage location. + Type *string `json:"type,omitempty"` + // FolderPath - Specify the folder path of dataset. Type: string (or Expression with resultType string) + FolderPath interface{} `json:"folderPath,omitempty"` + // FileName - Specify the file name of dataset. Type: string (or Expression with resultType string). + FileName interface{} `json:"fileName,omitempty"` +} + +// MarshalJSON is the custom marshaler for HTTPServerLocation. +func (hsl HTTPServerLocation) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if hsl.RelativeURL != nil { + objectMap["relativeUrl"] = hsl.RelativeURL + } + if hsl.Type != nil { + objectMap["type"] = hsl.Type + } + if hsl.FolderPath != nil { + objectMap["folderPath"] = hsl.FolderPath + } + if hsl.FileName != nil { + objectMap["fileName"] = hsl.FileName + } + for k, v := range hsl.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for HTTPServerLocation struct. +func (hsl *HTTPServerLocation) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "relativeUrl": + if v != nil { + var relativeURL interface{} + err = json.Unmarshal(*v, &relativeURL) + if err != nil { + return err + } + hsl.RelativeURL = relativeURL + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if hsl.AdditionalProperties == nil { + hsl.AdditionalProperties = make(map[string]interface{}) + } + hsl.AdditionalProperties[k] = additionalProperties + } + case "type": + if v != nil { + var typeVar string + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + hsl.Type = &typeVar + } + case "folderPath": + if v != nil { + var folderPath interface{} + err = json.Unmarshal(*v, &folderPath) + if err != nil { + return err + } + hsl.FolderPath = folderPath + } + case "fileName": + if v != nil { + var fileName interface{} + err = json.Unmarshal(*v, &fileName) + if err != nil { + return err + } + hsl.FileName = fileName + } + } + } + + return nil +} + +// HTTPSource a copy activity source for an HTTP file. +type HTTPSource struct { + // HTTPRequestTimeout - 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])). + HTTPRequestTimeout interface{} `json:"httpRequestTimeout,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + Type TypeBasicCopySource `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for HTTPSource. +func (hs HTTPSource) MarshalJSON() ([]byte, error) { + hs.Type = TypeHTTPSource + objectMap := make(map[string]interface{}) + if hs.HTTPRequestTimeout != nil { + objectMap["httpRequestTimeout"] = hs.HTTPRequestTimeout + } + if hs.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = hs.SourceRetryCount + } + if hs.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = hs.SourceRetryWait + } + if hs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = hs.MaxConcurrentConnections + } + if hs.Type != "" { + objectMap["type"] = hs.Type + } + for k, v := range hs.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAmazonRedshiftSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { + return nil, false +} + +// AsGoogleAdWordsSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { + return nil, false +} + +// AsOracleServiceCloudSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { + return nil, false +} + +// AsDynamicsAXSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { + return nil, false +} + +// AsResponsysSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsResponsysSource() (*ResponsysSource, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { + return nil, false +} + +// AsVerticaSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false +} + +// AsNetezzaSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false +} + +// AsZohoSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsZohoSource() (*ZohoSource, bool) { + return nil, false +} + +// AsXeroSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsXeroSource() (*XeroSource, bool) { + return nil, false +} + +// AsSquareSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsSquareSource() (*SquareSource, bool) { + return nil, false +} + +// AsSparkSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsSparkSource() (*SparkSource, bool) { + return nil, false +} + +// AsShopifySource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsShopifySource() (*ShopifySource, bool) { + return nil, false +} + +// AsServiceNowSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsServiceNowSource() (*ServiceNowSource, bool) { + return nil, false +} + +// AsQuickBooksSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsQuickBooksSource() (*QuickBooksSource, bool) { + return nil, false +} + +// AsPrestoSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsPrestoSource() (*PrestoSource, bool) { + return nil, false +} + +// AsPhoenixSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsPhoenixSource() (*PhoenixSource, bool) { + return nil, false +} + +// AsPaypalSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsPaypalSource() (*PaypalSource, bool) { + return nil, false +} + +// AsMarketoSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsMarketoSource() (*MarketoSource, bool) { + return nil, false +} + +// AsMariaDBSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsMariaDBSource() (*MariaDBSource, bool) { + return nil, false +} + +// AsMagentoSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsMagentoSource() (*MagentoSource, bool) { + return nil, false +} + +// AsJiraSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsJiraSource() (*JiraSource, bool) { + return nil, false +} + +// AsImpalaSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsImpalaSource() (*ImpalaSource, bool) { + return nil, false +} + +// AsHubspotSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsHubspotSource() (*HubspotSource, bool) { + return nil, false +} + +// AsHiveSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsHiveSource() (*HiveSource, bool) { + return nil, false +} + +// AsHBaseSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsHBaseSource() (*HBaseSource, bool) { + return nil, false +} + +// AsGreenplumSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsGreenplumSource() (*GreenplumSource, bool) { + return nil, false +} + +// AsGoogleBigQuerySource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { + return nil, false +} + +// AsEloquaSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsEloquaSource() (*EloquaSource, bool) { + return nil, false +} + +// AsDrillSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsDrillSource() (*DrillSource, bool) { + return nil, false +} + +// AsCouchbaseSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsCouchbaseSource() (*CouchbaseSource, bool) { + return nil, false +} + +// AsConcurSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsConcurSource() (*ConcurSource, bool) { + return nil, false +} + +// AsAzurePostgreSQLSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { + return nil, false +} + +// AsAmazonMWSSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { + return nil, false +} + +// AsHTTPSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsHTTPSource() (*HTTPSource, bool) { + return &hs, true +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsCassandraSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsCassandraSource() (*CassandraSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsTeradataSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsAzureMySQLSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsSQLDWSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsSQLDWSource() (*SQLDWSource, bool) { + return nil, false +} + +// AsSQLMISource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsSQLMISource() (*SQLMISource, bool) { + return nil, false +} + +// AsAzureSQLSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsAzureSQLSource() (*AzureSQLSource, bool) { + return nil, false +} + +// AsSQLServerSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsSQLServerSource() (*SQLServerSource, bool) { + return nil, false +} + +// AsSQLSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsSQLSource() (*SQLSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSapTableSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsSapTableSource() (*SapTableSource, bool) { + return nil, false +} + +// AsSapOpenHubSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { + return nil, false +} + +// AsSapHanaSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsSapHanaSource() (*SapHanaSource, bool) { + return nil, false +} + +// AsSapEccSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsSapEccSource() (*SapEccSource, bool) { + return nil, false +} + +// AsSapCloudForCustomerSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsSalesforceSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsSalesforceSource() (*SalesforceSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsSybaseSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsSybaseSource() (*SybaseSource, bool) { + return nil, false +} + +// AsPostgreSQLSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false +} + +// AsMySQLSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false +} + +// AsOdbcSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false +} + +// AsDb2Source is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsDb2Source() (*Db2Source, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + +// AsRelationalSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + +// AsDynamicsSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + +// AsAzureTableSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsBinarySource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsDelimitedTextSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false +} + +// AsParquetSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsBasicCopySource() (BasicCopySource, bool) { + return &hs, true +} + +// UnmarshalJSON is the custom unmarshaler for HTTPSource struct. +func (hs *HTTPSource) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "httpRequestTimeout": + if v != nil { + var HTTPRequestTimeout interface{} + err = json.Unmarshal(*v, &HTTPRequestTimeout) + if err != nil { + return err + } + hs.HTTPRequestTimeout = HTTPRequestTimeout + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if hs.AdditionalProperties == nil { + hs.AdditionalProperties = make(map[string]interface{}) + } + hs.AdditionalProperties[k] = additionalProperties + } + case "sourceRetryCount": + if v != nil { + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) + if err != nil { + return err + } + hs.SourceRetryCount = sourceRetryCount + } + case "sourceRetryWait": + if v != nil { + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) + if err != nil { + return err + } + hs.SourceRetryWait = sourceRetryWait + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + hs.MaxConcurrentConnections = maxConcurrentConnections + } + case "type": + if v != nil { + var typeVar TypeBasicCopySource + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + hs.Type = typeVar + } + } + } + + return nil +} + +// HubspotLinkedService hubspot Service linked service. +type HubspotLinkedService struct { + // HubspotLinkedServiceTypeProperties - Hubspot Service linked service properties. + *HubspotLinkedServiceTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. + Description *string `json:"description,omitempty"` + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the linked service. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for HubspotLinkedService. +func (hls HubspotLinkedService) MarshalJSON() ([]byte, error) { + hls.Type = TypeHubspot + objectMap := make(map[string]interface{}) + if hls.HubspotLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = hls.HubspotLinkedServiceTypeProperties + } + if hls.ConnectVia != nil { + objectMap["connectVia"] = hls.ConnectVia + } + if hls.Description != nil { + objectMap["description"] = hls.Description + } + if hls.Parameters != nil { + objectMap["parameters"] = hls.Parameters + } + if hls.Annotations != nil { + objectMap["annotations"] = hls.Annotations + } + if hls.Type != "" { + objectMap["type"] = hls.Type + } + for k, v := range hls.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { + return nil, false +} + +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { + return nil, false +} + +// AsSapTableLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { + return nil, false +} + +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { + return nil, false +} + +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { + return nil, false +} + +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { + return nil, false +} + +// AsResponsysLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { + return nil, false +} + +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { + return nil, false +} + +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { + return nil, false +} + +// AsNetezzaLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + +// AsZohoLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { + return nil, false +} + +// AsXeroLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { + return nil, false +} + +// AsSquareLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { + return nil, false +} + +// AsSparkLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { + return nil, false +} + +// AsShopifyLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { + return nil, false +} + +// AsServiceNowLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { + return nil, false +} + +// AsQuickBooksLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { + return nil, false +} + +// AsPrestoLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { + return nil, false +} + +// AsPhoenixLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { + return nil, false +} + +// AsPaypalLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { + return nil, false +} + +// AsMarketoLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { + return nil, false +} + +// AsMariaDBLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { + return nil, false +} + +// AsMagentoLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { + return nil, false +} + +// AsJiraLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { + return nil, false +} + +// AsImpalaLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { + return nil, false +} + +// AsHubspotLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { + return &hls, true +} + +// AsHiveLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { + return nil, false +} + +// AsHBaseLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { + return nil, false +} + +// AsGreenplumLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { + return nil, false +} + +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { + return nil, false +} + +// AsEloquaLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { + return nil, false +} + +// AsDrillLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { + return nil, false +} + +// AsCouchbaseLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { + return nil, false +} + +// AsConcurLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { + return nil, false +} + +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { + return nil, false +} + +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { + return nil, false +} + +// AsSapHanaLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { + return nil, false +} + +// AsSapBWLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { + return nil, false +} + +// AsSftpServerLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { + return nil, false +} + +// AsFtpServerLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { + return nil, false +} + +// AsHTTPLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { + return nil, false +} + +// AsAzureSearchLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { + return nil, false +} + +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { + return nil, false +} + +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { + return nil, false +} + +// AsAmazonS3LinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { + return nil, false +} + +// AsRestServiceLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { + return nil, false +} + +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { + return nil, false +} + +// AsSapEccLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { + return nil, false +} + +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { + return nil, false +} + +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + +// AsSalesforceLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { + return nil, false +} + +// AsOffice365LinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { + return nil, false +} + +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { + return nil, false +} + +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { + return nil, false +} + +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { + return nil, false +} + +// AsMongoDbLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { + return nil, false +} + +// AsCassandraLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { + return nil, false +} + +// AsWebLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { + return nil, false +} + +// AsODataLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { + return nil, false +} + +// AsHdfsLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { + return nil, false +} + +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + +// AsOdbcLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { + return nil, false +} + +// AsAzureMLLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { + return nil, false +} + +// AsTeradataLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { + return nil, false +} + +// AsDb2LinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return nil, false +} + +// AsSybaseLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { + return nil, false +} + +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { + return nil, false +} + +// AsMySQLLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { + return nil, false +} + +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { + return nil, false +} + +// AsOracleLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { + return nil, false +} + +// AsFileServerLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { + return nil, false +} + +// AsHDInsightLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + +// AsDynamicsLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false +} + +// AsCosmosDbLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false +} + +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false +} + +// AsAzureBatchLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} + +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &hls, true +} + +// UnmarshalJSON is the custom unmarshaler for HubspotLinkedService struct. +func (hls *HubspotLinkedService) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "typeProperties": + if v != nil { + var hubspotLinkedServiceTypeProperties HubspotLinkedServiceTypeProperties + err = json.Unmarshal(*v, &hubspotLinkedServiceTypeProperties) + if err != nil { + return err + } + hls.HubspotLinkedServiceTypeProperties = &hubspotLinkedServiceTypeProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if hls.AdditionalProperties == nil { + hls.AdditionalProperties = make(map[string]interface{}) + } + hls.AdditionalProperties[k] = additionalProperties + } + case "connectVia": + if v != nil { + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) + if err != nil { + return err + } + hls.ConnectVia = &connectVia + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + hls.Description = &description + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + hls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + hls.Annotations = &annotations + } + case "type": + if v != nil { + var typeVar TypeBasicLinkedService + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + hls.Type = typeVar + } + } + } + + return nil +} + +// HubspotLinkedServiceTypeProperties hubspot Service linked service properties. +type HubspotLinkedServiceTypeProperties struct { + // ClientID - The client ID associated with your Hubspot application. + ClientID interface{} `json:"clientId,omitempty"` + // ClientSecret - The client secret associated with your Hubspot application. + ClientSecret BasicSecretBase `json:"clientSecret,omitempty"` + // AccessToken - The access token obtained when initially authenticating your OAuth integration. + AccessToken BasicSecretBase `json:"accessToken,omitempty"` + // RefreshToken - The refresh token obtained when initially authenticating your OAuth integration. + RefreshToken BasicSecretBase `json:"refreshToken,omitempty"` + // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. + UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"` + // UseHostVerification - 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. + UseHostVerification interface{} `json:"useHostVerification,omitempty"` + // UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. + UsePeerVerification interface{} `json:"usePeerVerification,omitempty"` + // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` +} + +// UnmarshalJSON is the custom unmarshaler for HubspotLinkedServiceTypeProperties struct. +func (hlstp *HubspotLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "clientId": + if v != nil { + var clientID interface{} + err = json.Unmarshal(*v, &clientID) + if err != nil { + return err + } + hlstp.ClientID = clientID + } + case "clientSecret": + if v != nil { + clientSecret, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + hlstp.ClientSecret = clientSecret + } + case "accessToken": + if v != nil { + accessToken, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + hlstp.AccessToken = accessToken + } + case "refreshToken": + if v != nil { + refreshToken, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + hlstp.RefreshToken = refreshToken + } + case "useEncryptedEndpoints": + if v != nil { + var useEncryptedEndpoints interface{} + err = json.Unmarshal(*v, &useEncryptedEndpoints) + if err != nil { + return err + } + hlstp.UseEncryptedEndpoints = useEncryptedEndpoints + } + case "useHostVerification": + if v != nil { + var useHostVerification interface{} + err = json.Unmarshal(*v, &useHostVerification) + if err != nil { + return err + } + hlstp.UseHostVerification = useHostVerification + } + case "usePeerVerification": + if v != nil { + var usePeerVerification interface{} + err = json.Unmarshal(*v, &usePeerVerification) + if err != nil { + return err + } + hlstp.UsePeerVerification = usePeerVerification + } + case "encryptedCredential": + if v != nil { + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) + if err != nil { + return err + } + hlstp.EncryptedCredential = encryptedCredential + } + } + } + + return nil +} + +// HubspotObjectDataset hubspot Service dataset. +type HubspotObjectDataset struct { + // GenericDatasetTypeProperties - Properties specific to this dataset type. + *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Description - Dataset description. + Description *string `json:"description,omitempty"` + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for HubspotObjectDataset. +func (hod HubspotObjectDataset) MarshalJSON() ([]byte, error) { + hod.Type = TypeHubspotObject + objectMap := make(map[string]interface{}) + if hod.GenericDatasetTypeProperties != nil { + objectMap["typeProperties"] = hod.GenericDatasetTypeProperties + } + if hod.Description != nil { + objectMap["description"] = hod.Description + } + if hod.Structure != nil { + objectMap["structure"] = hod.Structure + } + if hod.Schema != nil { + objectMap["schema"] = hod.Schema + } + if hod.LinkedServiceName != nil { + objectMap["linkedServiceName"] = hod.LinkedServiceName + } + if hod.Parameters != nil { + objectMap["parameters"] = hod.Parameters + } + if hod.Annotations != nil { + objectMap["annotations"] = hod.Annotations + } + if hod.Folder != nil { + objectMap["folder"] = hod.Folder + } + if hod.Type != "" { + objectMap["type"] = hod.Type + } + for k, v := range hod.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { + return nil, false +} + +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { + return nil, false +} + +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { + return nil, false +} + +// AsDynamicsAXResourceDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { + return nil, false +} + +// AsResponsysObjectDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { + return nil, false +} + +// AsVerticaTableDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false +} + +// AsNetezzaTableDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false +} + +// AsZohoObjectDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { + return nil, false +} + +// AsXeroObjectDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { + return nil, false +} + +// AsSquareObjectDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { + return nil, false +} + +// AsSparkObjectDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { + return nil, false +} + +// AsShopifyObjectDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { + return nil, false +} + +// AsServiceNowObjectDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { + return nil, false +} + +// AsQuickBooksObjectDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { + return nil, false +} + +// AsPrestoObjectDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { + return nil, false +} + +// AsPhoenixObjectDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { + return nil, false +} + +// AsPaypalObjectDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { + return nil, false +} + +// AsMarketoObjectDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { + return nil, false +} + +// AsMariaDBTableDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { + return nil, false +} + +// AsMagentoObjectDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { + return nil, false +} + +// AsJiraObjectDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { + return nil, false +} + +// AsImpalaObjectDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { + return nil, false +} + +// AsHubspotObjectDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { + return &hod, true +} + +// AsHiveObjectDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { + return nil, false +} + +// AsHBaseObjectDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { + return nil, false +} + +// AsGreenplumTableDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { + return nil, false +} + +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { + return nil, false +} + +// AsEloquaObjectDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { + return nil, false +} + +// AsDrillTableDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { + return nil, false +} + +// AsCouchbaseTableDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { + return nil, false +} + +// AsConcurObjectDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { + return nil, false +} + +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { + return nil, false +} + +// AsAmazonMWSObjectDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { + return nil, false +} + +// AsHTTPDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { + return nil, false +} + +// AsAzureSearchIndexDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { + return nil, false +} + +// AsWebTableDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { + return nil, false +} + +// AsSapTableResourceDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { + return nil, false +} + +// AsRestResourceDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { + return nil, false +} + +// AsSQLServerTableDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { + return nil, false +} + +// AsSapOpenHubTableDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { + return nil, false +} + +// AsSapHanaTableDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { + return nil, false +} + +// AsSapEccResourceDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { + return nil, false +} + +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { + return nil, false +} + +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { + return nil, false +} + +// AsSalesforceObjectDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { + return nil, false +} + +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { + return nil, false +} + +// AsPostgreSQLTableDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { + return nil, false +} + +// AsMySQLTableDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { + return nil, false +} + +// AsOdbcTableDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { + return nil, false +} + +// AsInformixTableDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { + return nil, false +} + +// AsRelationalTableDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { + return nil, false +} + +// AsAzureMySQLTableDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { + return nil, false +} + +// AsTeradataTableDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { + return nil, false +} + +// AsOracleTableDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { + return nil, false +} + +// AsODataResourceDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { + return nil, false +} + +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { + return nil, false +} + +// AsMongoDbCollectionDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { + return nil, false +} + +// AsFileShareDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { + return nil, false +} + +// AsOffice365Dataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { + return nil, false +} + +// AsAzureBlobFSDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { + return nil, false +} + +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { + return nil, false +} + +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { + return nil, false +} + +// AsDynamicsEntityDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { + return nil, false +} + +// AsDocumentDbCollectionDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { + return nil, false +} + +// AsCustomDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsCustomDataset() (*CustomDataset, bool) { + return nil, false +} + +// AsCassandraTableDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { + return nil, false +} + +// AsAzureSQLDWTableDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { + return nil, false +} + +// AsAzureSQLMITableDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + +// AsAzureSQLTableDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { + return nil, false +} + +// AsAzureTableDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { + return nil, false +} + +// AsAzureBlobDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { + return nil, false +} + +// AsBinaryDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + +// AsDelimitedTextDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { + return nil, false +} + +// AsParquetDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsBasicDataset() (BasicDataset, bool) { + return &hod, true +} + +// UnmarshalJSON is the custom unmarshaler for HubspotObjectDataset struct. +func (hod *HubspotObjectDataset) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "typeProperties": + if v != nil { + var genericDatasetTypeProperties GenericDatasetTypeProperties + err = json.Unmarshal(*v, &genericDatasetTypeProperties) + if err != nil { + return err + } + hod.GenericDatasetTypeProperties = &genericDatasetTypeProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if hod.AdditionalProperties == nil { + hod.AdditionalProperties = make(map[string]interface{}) + } + hod.AdditionalProperties[k] = additionalProperties + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + hod.Description = &description + } + case "structure": + if v != nil { + var structure interface{} + err = json.Unmarshal(*v, &structure) + if err != nil { + return err + } + hod.Structure = structure + } + case "schema": + if v != nil { + var schema interface{} + err = json.Unmarshal(*v, &schema) + if err != nil { + return err + } + hod.Schema = schema + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + hod.LinkedServiceName = &linkedServiceName + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + hod.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + hod.Annotations = &annotations + } + case "folder": + if v != nil { + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) + if err != nil { + return err + } + hod.Folder = &folder + } + case "type": + if v != nil { + var typeVar TypeBasicDataset + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + hod.Type = typeVar + } + } + } + + return nil +} + +// HubspotSource a copy activity Hubspot Service source. +type HubspotSource struct { + // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). + Query interface{} `json:"query,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + Type TypeBasicCopySource `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for HubspotSource. +func (hs HubspotSource) MarshalJSON() ([]byte, error) { + hs.Type = TypeHubspotSource + objectMap := make(map[string]interface{}) + if hs.Query != nil { + objectMap["query"] = hs.Query + } + if hs.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = hs.SourceRetryCount + } + if hs.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = hs.SourceRetryWait + } + if hs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = hs.MaxConcurrentConnections + } + if hs.Type != "" { + objectMap["type"] = hs.Type + } + for k, v := range hs.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAmazonRedshiftSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { + return nil, false +} + +// AsGoogleAdWordsSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { + return nil, false +} + +// AsOracleServiceCloudSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { + return nil, false +} + +// AsDynamicsAXSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { + return nil, false +} + +// AsResponsysSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsResponsysSource() (*ResponsysSource, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { + return nil, false +} + +// AsVerticaSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false +} + +// AsNetezzaSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false +} + +// AsZohoSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsZohoSource() (*ZohoSource, bool) { + return nil, false +} + +// AsXeroSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsXeroSource() (*XeroSource, bool) { + return nil, false +} + +// AsSquareSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsSquareSource() (*SquareSource, bool) { + return nil, false +} + +// AsSparkSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsSparkSource() (*SparkSource, bool) { + return nil, false +} + +// AsShopifySource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsShopifySource() (*ShopifySource, bool) { + return nil, false +} + +// AsServiceNowSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsServiceNowSource() (*ServiceNowSource, bool) { + return nil, false +} + +// AsQuickBooksSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsQuickBooksSource() (*QuickBooksSource, bool) { + return nil, false +} + +// AsPrestoSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsPrestoSource() (*PrestoSource, bool) { + return nil, false +} + +// AsPhoenixSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsPhoenixSource() (*PhoenixSource, bool) { + return nil, false +} + +// AsPaypalSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsPaypalSource() (*PaypalSource, bool) { + return nil, false +} + +// AsMarketoSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsMarketoSource() (*MarketoSource, bool) { + return nil, false +} + +// AsMariaDBSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsMariaDBSource() (*MariaDBSource, bool) { + return nil, false +} + +// AsMagentoSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsMagentoSource() (*MagentoSource, bool) { + return nil, false +} + +// AsJiraSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsJiraSource() (*JiraSource, bool) { + return nil, false +} + +// AsImpalaSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsImpalaSource() (*ImpalaSource, bool) { + return nil, false +} + +// AsHubspotSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsHubspotSource() (*HubspotSource, bool) { + return &hs, true +} + +// AsHiveSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsHiveSource() (*HiveSource, bool) { + return nil, false +} + +// AsHBaseSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsHBaseSource() (*HBaseSource, bool) { + return nil, false +} + +// AsGreenplumSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsGreenplumSource() (*GreenplumSource, bool) { + return nil, false +} + +// AsGoogleBigQuerySource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { + return nil, false +} + +// AsEloquaSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsEloquaSource() (*EloquaSource, bool) { + return nil, false +} + +// AsDrillSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsDrillSource() (*DrillSource, bool) { + return nil, false +} + +// AsCouchbaseSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsCouchbaseSource() (*CouchbaseSource, bool) { + return nil, false +} + +// AsConcurSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsConcurSource() (*ConcurSource, bool) { + return nil, false +} + +// AsAzurePostgreSQLSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { + return nil, false +} + +// AsAmazonMWSSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { + return nil, false +} + +// AsHTTPSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsCassandraSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsCassandraSource() (*CassandraSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsTeradataSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsAzureMySQLSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsSQLDWSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsSQLDWSource() (*SQLDWSource, bool) { + return nil, false +} + +// AsSQLMISource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsSQLMISource() (*SQLMISource, bool) { + return nil, false +} + +// AsAzureSQLSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsAzureSQLSource() (*AzureSQLSource, bool) { + return nil, false +} + +// AsSQLServerSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsSQLServerSource() (*SQLServerSource, bool) { + return nil, false +} + +// AsSQLSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsSQLSource() (*SQLSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSapTableSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsSapTableSource() (*SapTableSource, bool) { + return nil, false +} + +// AsSapOpenHubSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { + return nil, false +} + +// AsSapHanaSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsSapHanaSource() (*SapHanaSource, bool) { + return nil, false +} + +// AsSapEccSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsSapEccSource() (*SapEccSource, bool) { + return nil, false +} + +// AsSapCloudForCustomerSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsSalesforceSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsSalesforceSource() (*SalesforceSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsSybaseSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsSybaseSource() (*SybaseSource, bool) { + return nil, false +} + +// AsPostgreSQLSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false +} + +// AsMySQLSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false +} + +// AsOdbcSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false +} + +// AsDb2Source is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsDb2Source() (*Db2Source, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + +// AsRelationalSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + +// AsDynamicsSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + +// AsAzureTableSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsBinarySource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsDelimitedTextSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false +} + +// AsParquetSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsBasicCopySource() (BasicCopySource, bool) { + return &hs, true +} + +// UnmarshalJSON is the custom unmarshaler for HubspotSource struct. +func (hs *HubspotSource) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "query": + if v != nil { + var query interface{} + err = json.Unmarshal(*v, &query) + if err != nil { + return err + } + hs.Query = query + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if hs.AdditionalProperties == nil { + hs.AdditionalProperties = make(map[string]interface{}) + } + hs.AdditionalProperties[k] = additionalProperties + } + case "sourceRetryCount": + if v != nil { + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) + if err != nil { + return err + } + hs.SourceRetryCount = sourceRetryCount + } + case "sourceRetryWait": + if v != nil { + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) + if err != nil { + return err + } + hs.SourceRetryWait = sourceRetryWait + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + hs.MaxConcurrentConnections = maxConcurrentConnections + } + case "type": + if v != nil { + var typeVar TypeBasicCopySource + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + hs.Type = typeVar + } + } + } + + return nil +} + +// IfConditionActivity this activity evaluates a boolean expression and executes either the activities +// under the ifTrueActivities property or the ifFalseActivities property depending on the result of the +// expression. +type IfConditionActivity struct { + // IfConditionActivityTypeProperties - IfCondition activity properties. + *IfConditionActivityTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Name - Activity name. + Name *string `json:"name,omitempty"` + // Description - Activity description. + Description *string `json:"description,omitempty"` + // DependsOn - Activity depends on condition. + DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` + // UserProperties - Activity user properties. + UserProperties *[]UserProperty `json:"userProperties,omitempty"` + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + Type TypeBasicActivity `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for IfConditionActivity. +func (ica IfConditionActivity) MarshalJSON() ([]byte, error) { + ica.Type = TypeIfCondition + objectMap := make(map[string]interface{}) + if ica.IfConditionActivityTypeProperties != nil { + objectMap["typeProperties"] = ica.IfConditionActivityTypeProperties + } + if ica.Name != nil { + objectMap["name"] = ica.Name + } + if ica.Description != nil { + objectMap["description"] = ica.Description + } + if ica.DependsOn != nil { + objectMap["dependsOn"] = ica.DependsOn + } + if ica.UserProperties != nil { + objectMap["userProperties"] = ica.UserProperties + } + if ica.Type != "" { + objectMap["type"] = ica.Type + } + for k, v := range ica.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAzureFunctionActivity is the BasicActivity implementation for IfConditionActivity. +func (ica IfConditionActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { + return nil, false +} + +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for IfConditionActivity. +func (ica IfConditionActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { + return nil, false +} + +// AsDatabricksSparkJarActivity is the BasicActivity implementation for IfConditionActivity. +func (ica IfConditionActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { + return nil, false +} + +// AsDatabricksNotebookActivity is the BasicActivity implementation for IfConditionActivity. +func (ica IfConditionActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { + return nil, false +} + +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for IfConditionActivity. +func (ica IfConditionActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { + return nil, false +} + +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for IfConditionActivity. +func (ica IfConditionActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { + return nil, false +} + +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for IfConditionActivity. +func (ica IfConditionActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { + return nil, false +} + +// AsGetMetadataActivity is the BasicActivity implementation for IfConditionActivity. +func (ica IfConditionActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { + return nil, false +} + +// AsWebActivity is the BasicActivity implementation for IfConditionActivity. +func (ica IfConditionActivity) AsWebActivity() (*WebActivity, bool) { + return nil, false +} + +// AsLookupActivity is the BasicActivity implementation for IfConditionActivity. +func (ica IfConditionActivity) AsLookupActivity() (*LookupActivity, bool) { + return nil, false +} + +// AsDeleteActivity is the BasicActivity implementation for IfConditionActivity. +func (ica IfConditionActivity) AsDeleteActivity() (*DeleteActivity, bool) { + return nil, false +} + +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for IfConditionActivity. +func (ica IfConditionActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { + return nil, false +} + +// AsCustomActivity is the BasicActivity implementation for IfConditionActivity. +func (ica IfConditionActivity) AsCustomActivity() (*CustomActivity, bool) { + return nil, false +} + +// AsExecuteSSISPackageActivity is the BasicActivity implementation for IfConditionActivity. +func (ica IfConditionActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { + return nil, false +} + +// AsHDInsightSparkActivity is the BasicActivity implementation for IfConditionActivity. +func (ica IfConditionActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { + return nil, false +} + +// AsHDInsightStreamingActivity is the BasicActivity implementation for IfConditionActivity. +func (ica IfConditionActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { + return nil, false +} + +// AsHDInsightMapReduceActivity is the BasicActivity implementation for IfConditionActivity. +func (ica IfConditionActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { + return nil, false +} + +// AsHDInsightPigActivity is the BasicActivity implementation for IfConditionActivity. +func (ica IfConditionActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { + return nil, false +} + +// AsHDInsightHiveActivity is the BasicActivity implementation for IfConditionActivity. +func (ica IfConditionActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { + return nil, false +} + +// AsCopyActivity is the BasicActivity implementation for IfConditionActivity. +func (ica IfConditionActivity) AsCopyActivity() (*CopyActivity, bool) { + return nil, false +} + +// AsExecutionActivity is the BasicActivity implementation for IfConditionActivity. +func (ica IfConditionActivity) AsExecutionActivity() (*ExecutionActivity, bool) { + return nil, false +} + +// AsBasicExecutionActivity is the BasicActivity implementation for IfConditionActivity. +func (ica IfConditionActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return nil, false +} + +// AsWebHookActivity is the BasicActivity implementation for IfConditionActivity. +func (ica IfConditionActivity) AsWebHookActivity() (*WebHookActivity, bool) { + return nil, false +} + +// AsAppendVariableActivity is the BasicActivity implementation for IfConditionActivity. +func (ica IfConditionActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { + return nil, false +} + +// AsSetVariableActivity is the BasicActivity implementation for IfConditionActivity. +func (ica IfConditionActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { + return nil, false +} + +// AsFilterActivity is the BasicActivity implementation for IfConditionActivity. +func (ica IfConditionActivity) AsFilterActivity() (*FilterActivity, bool) { + return nil, false +} + +// AsValidationActivity is the BasicActivity implementation for IfConditionActivity. +func (ica IfConditionActivity) AsValidationActivity() (*ValidationActivity, bool) { + return nil, false +} + +// AsUntilActivity is the BasicActivity implementation for IfConditionActivity. +func (ica IfConditionActivity) AsUntilActivity() (*UntilActivity, bool) { + return nil, false +} + +// AsWaitActivity is the BasicActivity implementation for IfConditionActivity. +func (ica IfConditionActivity) AsWaitActivity() (*WaitActivity, bool) { + return nil, false +} + +// AsForEachActivity is the BasicActivity implementation for IfConditionActivity. +func (ica IfConditionActivity) AsForEachActivity() (*ForEachActivity, bool) { + return nil, false +} + +// AsIfConditionActivity is the BasicActivity implementation for IfConditionActivity. +func (ica IfConditionActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { + return &ica, true +} + +// AsExecutePipelineActivity is the BasicActivity implementation for IfConditionActivity. +func (ica IfConditionActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { + return nil, false +} + +// AsControlActivity is the BasicActivity implementation for IfConditionActivity. +func (ica IfConditionActivity) AsControlActivity() (*ControlActivity, bool) { + return nil, false +} + +// AsBasicControlActivity is the BasicActivity implementation for IfConditionActivity. +func (ica IfConditionActivity) AsBasicControlActivity() (BasicControlActivity, bool) { + return &ica, true +} + +// AsActivity is the BasicActivity implementation for IfConditionActivity. +func (ica IfConditionActivity) AsActivity() (*Activity, bool) { + return nil, false +} + +// AsBasicActivity is the BasicActivity implementation for IfConditionActivity. +func (ica IfConditionActivity) AsBasicActivity() (BasicActivity, bool) { + return &ica, true +} + +// UnmarshalJSON is the custom unmarshaler for IfConditionActivity struct. +func (ica *IfConditionActivity) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "typeProperties": + if v != nil { + var ifConditionActivityTypeProperties IfConditionActivityTypeProperties + err = json.Unmarshal(*v, &ifConditionActivityTypeProperties) + if err != nil { + return err + } + ica.IfConditionActivityTypeProperties = &ifConditionActivityTypeProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if ica.AdditionalProperties == nil { + ica.AdditionalProperties = make(map[string]interface{}) + } + ica.AdditionalProperties[k] = additionalProperties + } + case "name": + if v != nil { + var name string + err = json.Unmarshal(*v, &name) + if err != nil { + return err + } + ica.Name = &name + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + ica.Description = &description + } + case "dependsOn": + if v != nil { + var dependsOn []ActivityDependency + err = json.Unmarshal(*v, &dependsOn) + if err != nil { + return err + } + ica.DependsOn = &dependsOn + } + case "userProperties": + if v != nil { + var userProperties []UserProperty + err = json.Unmarshal(*v, &userProperties) + if err != nil { + return err + } + ica.UserProperties = &userProperties + } + case "type": + if v != nil { + var typeVar TypeBasicActivity + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + ica.Type = typeVar + } + } + } + + return nil +} + +// IfConditionActivityTypeProperties ifCondition activity properties. +type IfConditionActivityTypeProperties struct { + // Expression - An expression that would evaluate to Boolean. This is used to determine the block of activities (ifTrueActivities or ifFalseActivities) that will be executed. + Expression *Expression `json:"expression,omitempty"` + // IfTrueActivities - List of activities to execute if expression is evaluated to true. This is an optional property and if not provided, the activity will exit without any action. + IfTrueActivities *[]BasicActivity `json:"ifTrueActivities,omitempty"` + // IfFalseActivities - List of activities to execute if expression is evaluated to false. This is an optional property and if not provided, the activity will exit without any action. + IfFalseActivities *[]BasicActivity `json:"ifFalseActivities,omitempty"` +} + +// UnmarshalJSON is the custom unmarshaler for IfConditionActivityTypeProperties struct. +func (icatp *IfConditionActivityTypeProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "expression": + if v != nil { + var expression Expression + err = json.Unmarshal(*v, &expression) + if err != nil { + return err + } + icatp.Expression = &expression + } + case "ifTrueActivities": + if v != nil { + ifTrueActivities, err := unmarshalBasicActivityArray(*v) + if err != nil { + return err + } + icatp.IfTrueActivities = &ifTrueActivities + } + case "ifFalseActivities": + if v != nil { + ifFalseActivities, err := unmarshalBasicActivityArray(*v) + if err != nil { + return err + } + icatp.IfFalseActivities = &ifFalseActivities + } + } + } + + return nil +} + +// ImpalaLinkedService impala server linked service. +type ImpalaLinkedService struct { + // ImpalaLinkedServiceTypeProperties - Impala server linked service properties. + *ImpalaLinkedServiceTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. + Description *string `json:"description,omitempty"` + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the linked service. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for ImpalaLinkedService. +func (ils ImpalaLinkedService) MarshalJSON() ([]byte, error) { + ils.Type = TypeImpala + objectMap := make(map[string]interface{}) + if ils.ImpalaLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = ils.ImpalaLinkedServiceTypeProperties + } + if ils.ConnectVia != nil { + objectMap["connectVia"] = ils.ConnectVia + } + if ils.Description != nil { + objectMap["description"] = ils.Description + } + if ils.Parameters != nil { + objectMap["parameters"] = ils.Parameters + } + if ils.Annotations != nil { + objectMap["annotations"] = ils.Annotations + } + if ils.Type != "" { + objectMap["type"] = ils.Type + } + for k, v := range ils.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { + return nil, false +} + +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { + return nil, false +} + +// AsSapTableLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { + return nil, false +} + +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { + return nil, false +} + +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { + return nil, false +} + +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { + return nil, false +} + +// AsResponsysLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { + return nil, false +} + +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { + return nil, false +} + +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { + return nil, false +} + +// AsNetezzaLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + +// AsZohoLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { + return nil, false +} + +// AsXeroLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { + return nil, false +} + +// AsSquareLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { + return nil, false +} + +// AsSparkLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { + return nil, false +} + +// AsShopifyLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { + return nil, false +} + +// AsServiceNowLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { + return nil, false +} + +// AsQuickBooksLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { + return nil, false +} + +// AsPrestoLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { + return nil, false +} + +// AsPhoenixLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { + return nil, false +} + +// AsPaypalLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { + return nil, false +} + +// AsMarketoLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { + return nil, false +} + +// AsMariaDBLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { + return nil, false +} + +// AsMagentoLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { + return nil, false +} + +// AsJiraLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { + return nil, false +} + +// AsImpalaLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { + return &ils, true +} + +// AsHubspotLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { + return nil, false +} + +// AsHiveLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { + return nil, false +} + +// AsHBaseLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { + return nil, false +} + +// AsGreenplumLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { + return nil, false +} + +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { + return nil, false +} + +// AsEloquaLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { + return nil, false +} + +// AsDrillLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { + return nil, false +} + +// AsCouchbaseLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { + return nil, false +} + +// AsConcurLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { + return nil, false +} + +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { + return nil, false +} + +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { + return nil, false +} + +// AsSapHanaLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { + return nil, false +} + +// AsSapBWLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { + return nil, false +} + +// AsSftpServerLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { + return nil, false +} + +// AsFtpServerLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { + return nil, false +} + +// AsHTTPLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { + return nil, false +} + +// AsAzureSearchLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { + return nil, false +} + +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { + return nil, false +} + +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { + return nil, false +} + +// AsAmazonS3LinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { + return nil, false +} + +// AsRestServiceLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { + return nil, false +} + +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { + return nil, false +} + +// AsSapEccLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { + return nil, false +} + +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { + return nil, false +} + +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + +// AsSalesforceLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { + return nil, false +} + +// AsOffice365LinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { + return nil, false +} + +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { + return nil, false +} + +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { + return nil, false +} + +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { + return nil, false +} + +// AsMongoDbLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { + return nil, false +} + +// AsCassandraLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { + return nil, false +} + +// AsWebLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { + return nil, false +} + +// AsODataLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { + return nil, false +} + +// AsHdfsLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { + return nil, false +} + +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + +// AsOdbcLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { + return nil, false +} + +// AsAzureMLLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { + return nil, false +} + +// AsTeradataLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { + return nil, false +} + +// AsDb2LinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return nil, false +} + +// AsSybaseLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { + return nil, false +} + +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { + return nil, false +} + +// AsMySQLLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { + return nil, false +} + +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { + return nil, false +} + +// AsOracleLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { + return nil, false +} + +// AsFileServerLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { + return nil, false +} + +// AsHDInsightLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + +// AsDynamicsLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false +} + +// AsCosmosDbLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false +} + +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false +} + +// AsAzureBatchLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} + +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &ils, true +} + +// UnmarshalJSON is the custom unmarshaler for ImpalaLinkedService struct. +func (ils *ImpalaLinkedService) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "typeProperties": + if v != nil { + var impalaLinkedServiceTypeProperties ImpalaLinkedServiceTypeProperties + err = json.Unmarshal(*v, &impalaLinkedServiceTypeProperties) + if err != nil { + return err + } + ils.ImpalaLinkedServiceTypeProperties = &impalaLinkedServiceTypeProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if ils.AdditionalProperties == nil { + ils.AdditionalProperties = make(map[string]interface{}) + } + ils.AdditionalProperties[k] = additionalProperties + } + case "connectVia": + if v != nil { + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) + if err != nil { + return err + } + ils.ConnectVia = &connectVia + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + ils.Description = &description + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + ils.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + ils.Annotations = &annotations + } + case "type": + if v != nil { + var typeVar TypeBasicLinkedService + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + ils.Type = typeVar + } + } + } + + return nil +} + +// ImpalaLinkedServiceTypeProperties impala server linked service properties. +type ImpalaLinkedServiceTypeProperties struct { + // Host - The IP address or host name of the Impala server. (i.e. 192.168.222.160) + Host interface{} `json:"host,omitempty"` + // Port - The TCP port that the Impala server uses to listen for client connections. The default value is 21050. + Port interface{} `json:"port,omitempty"` + // AuthenticationType - The authentication type to use. Possible values include: 'ImpalaAuthenticationTypeAnonymous', 'ImpalaAuthenticationTypeSASLUsername', 'ImpalaAuthenticationTypeUsernameAndPassword' + AuthenticationType ImpalaAuthenticationType `json:"authenticationType,omitempty"` + // Username - The user name used to access the Impala server. The default value is anonymous when using SASLUsername. + Username interface{} `json:"username,omitempty"` + // Password - The password corresponding to the user name when using UsernameAndPassword. + Password BasicSecretBase `json:"password,omitempty"` + // EnableSsl - Specifies whether the connections to the server are encrypted using SSL. The default value is false. + EnableSsl interface{} `json:"enableSsl,omitempty"` + // TrustedCertPath - 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. + TrustedCertPath interface{} `json:"trustedCertPath,omitempty"` + // UseSystemTrustStore - Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. + UseSystemTrustStore interface{} `json:"useSystemTrustStore,omitempty"` + // AllowHostNameCNMismatch - 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. + AllowHostNameCNMismatch interface{} `json:"allowHostNameCNMismatch,omitempty"` + // AllowSelfSignedServerCert - Specifies whether to allow self-signed certificates from the server. The default value is false. + AllowSelfSignedServerCert interface{} `json:"allowSelfSignedServerCert,omitempty"` + // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` +} + +// UnmarshalJSON is the custom unmarshaler for ImpalaLinkedServiceTypeProperties struct. +func (ilstp *ImpalaLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "host": + if v != nil { + var host interface{} + err = json.Unmarshal(*v, &host) + if err != nil { + return err + } + ilstp.Host = host + } + case "port": + if v != nil { + var port interface{} + err = json.Unmarshal(*v, &port) + if err != nil { + return err + } + ilstp.Port = port + } + case "authenticationType": + if v != nil { + var authenticationType ImpalaAuthenticationType + err = json.Unmarshal(*v, &authenticationType) + if err != nil { + return err + } + ilstp.AuthenticationType = authenticationType + } + case "username": + if v != nil { + var username interface{} + err = json.Unmarshal(*v, &username) + if err != nil { + return err + } + ilstp.Username = username + } + case "password": + if v != nil { + password, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + ilstp.Password = password + } + case "enableSsl": + if v != nil { + var enableSsl interface{} + err = json.Unmarshal(*v, &enableSsl) + if err != nil { + return err + } + ilstp.EnableSsl = enableSsl + } + case "trustedCertPath": + if v != nil { + var trustedCertPath interface{} + err = json.Unmarshal(*v, &trustedCertPath) + if err != nil { + return err + } + ilstp.TrustedCertPath = trustedCertPath + } + case "useSystemTrustStore": + if v != nil { + var useSystemTrustStore interface{} + err = json.Unmarshal(*v, &useSystemTrustStore) + if err != nil { + return err + } + ilstp.UseSystemTrustStore = useSystemTrustStore + } + case "allowHostNameCNMismatch": + if v != nil { + var allowHostNameCNMismatch interface{} + err = json.Unmarshal(*v, &allowHostNameCNMismatch) + if err != nil { + return err + } + ilstp.AllowHostNameCNMismatch = allowHostNameCNMismatch + } + case "allowSelfSignedServerCert": + if v != nil { + var allowSelfSignedServerCert interface{} + err = json.Unmarshal(*v, &allowSelfSignedServerCert) + if err != nil { + return err + } + ilstp.AllowSelfSignedServerCert = allowSelfSignedServerCert + } + case "encryptedCredential": + if v != nil { + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) + if err != nil { + return err + } + ilstp.EncryptedCredential = encryptedCredential + } + } + } + + return nil +} + +// ImpalaObjectDataset impala server dataset. +type ImpalaObjectDataset struct { + // GenericDatasetTypeProperties - Properties specific to this dataset type. + *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Description - Dataset description. + Description *string `json:"description,omitempty"` + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) MarshalJSON() ([]byte, error) { + iod.Type = TypeImpalaObject + objectMap := make(map[string]interface{}) + if iod.GenericDatasetTypeProperties != nil { + objectMap["typeProperties"] = iod.GenericDatasetTypeProperties + } + if iod.Description != nil { + objectMap["description"] = iod.Description + } + if iod.Structure != nil { + objectMap["structure"] = iod.Structure + } + if iod.Schema != nil { + objectMap["schema"] = iod.Schema + } + if iod.LinkedServiceName != nil { + objectMap["linkedServiceName"] = iod.LinkedServiceName + } + if iod.Parameters != nil { + objectMap["parameters"] = iod.Parameters + } + if iod.Annotations != nil { + objectMap["annotations"] = iod.Annotations + } + if iod.Folder != nil { + objectMap["folder"] = iod.Folder + } + if iod.Type != "" { + objectMap["type"] = iod.Type + } + for k, v := range iod.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { + return nil, false +} + +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { + return nil, false +} + +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { + return nil, false +} + +// AsDynamicsAXResourceDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { + return nil, false +} + +// AsResponsysObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { + return nil, false +} + +// AsVerticaTableDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false +} + +// AsNetezzaTableDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false +} + +// AsZohoObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { + return nil, false +} + +// AsXeroObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { + return nil, false +} + +// AsSquareObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { + return nil, false +} + +// AsSparkObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { + return nil, false +} + +// AsShopifyObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { + return nil, false +} + +// AsServiceNowObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { + return nil, false +} + +// AsQuickBooksObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { + return nil, false +} + +// AsPrestoObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { + return nil, false +} + +// AsPhoenixObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { + return nil, false +} + +// AsPaypalObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { + return nil, false +} + +// AsMarketoObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { + return nil, false +} + +// AsMariaDBTableDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { + return nil, false +} + +// AsMagentoObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { + return nil, false +} + +// AsJiraObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { + return nil, false +} + +// AsImpalaObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { + return &iod, true +} + +// AsHubspotObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { + return nil, false +} + +// AsHiveObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { + return nil, false +} + +// AsHBaseObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { + return nil, false +} + +// AsGreenplumTableDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { + return nil, false +} + +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { + return nil, false +} + +// AsEloquaObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { + return nil, false +} + +// AsDrillTableDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { + return nil, false +} + +// AsCouchbaseTableDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { + return nil, false +} + +// AsConcurObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { + return nil, false +} + +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { + return nil, false +} + +// AsAmazonMWSObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { + return nil, false +} + +// AsHTTPDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { + return nil, false +} + +// AsAzureSearchIndexDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { + return nil, false +} + +// AsWebTableDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { + return nil, false +} + +// AsSapTableResourceDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { + return nil, false +} + +// AsRestResourceDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { + return nil, false +} + +// AsSQLServerTableDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { + return nil, false +} + +// AsSapOpenHubTableDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { + return nil, false +} + +// AsSapHanaTableDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { + return nil, false +} + +// AsSapEccResourceDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { + return nil, false +} + +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { + return nil, false +} + +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { + return nil, false +} + +// AsSalesforceObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { + return nil, false +} + +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { + return nil, false +} + +// AsPostgreSQLTableDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { + return nil, false +} + +// AsMySQLTableDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { + return nil, false +} + +// AsOdbcTableDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { + return nil, false +} + +// AsInformixTableDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { + return nil, false +} + +// AsRelationalTableDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { + return nil, false +} + +// AsAzureMySQLTableDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { + return nil, false +} + +// AsTeradataTableDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { + return nil, false +} + +// AsOracleTableDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { + return nil, false +} + +// AsODataResourceDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { + return nil, false +} + +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { + return nil, false +} + +// AsMongoDbCollectionDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { + return nil, false +} + +// AsFileShareDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { + return nil, false +} + +// AsOffice365Dataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { + return nil, false +} + +// AsAzureBlobFSDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { + return nil, false +} + +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { + return nil, false +} + +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { + return nil, false +} + +// AsDynamicsEntityDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { + return nil, false +} + +// AsDocumentDbCollectionDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { + return nil, false +} + +// AsCustomDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsCustomDataset() (*CustomDataset, bool) { + return nil, false +} + +// AsCassandraTableDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { + return nil, false +} + +// AsAzureSQLDWTableDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { + return nil, false +} + +// AsAzureSQLMITableDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + +// AsAzureSQLTableDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { + return nil, false +} + +// AsAzureTableDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { + return nil, false +} + +// AsAzureBlobDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { + return nil, false +} + +// AsBinaryDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + +// AsDelimitedTextDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { + return nil, false +} + +// AsParquetDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsBasicDataset() (BasicDataset, bool) { + return &iod, true +} + +// UnmarshalJSON is the custom unmarshaler for ImpalaObjectDataset struct. +func (iod *ImpalaObjectDataset) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "typeProperties": + if v != nil { + var genericDatasetTypeProperties GenericDatasetTypeProperties + err = json.Unmarshal(*v, &genericDatasetTypeProperties) + if err != nil { + return err + } + iod.GenericDatasetTypeProperties = &genericDatasetTypeProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if iod.AdditionalProperties == nil { + iod.AdditionalProperties = make(map[string]interface{}) + } + iod.AdditionalProperties[k] = additionalProperties + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + iod.Description = &description + } + case "structure": + if v != nil { + var structure interface{} + err = json.Unmarshal(*v, &structure) + if err != nil { + return err + } + iod.Structure = structure + } + case "schema": + if v != nil { + var schema interface{} + err = json.Unmarshal(*v, &schema) + if err != nil { + return err + } + iod.Schema = schema + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + iod.LinkedServiceName = &linkedServiceName + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + iod.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + iod.Annotations = &annotations + } + case "folder": + if v != nil { + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) + if err != nil { + return err + } + iod.Folder = &folder + } + case "type": + if v != nil { + var typeVar TypeBasicDataset + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + iod.Type = typeVar + } + } + } + + return nil +} + +// ImpalaSource a copy activity Impala server source. +type ImpalaSource struct { + // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). + Query interface{} `json:"query,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + Type TypeBasicCopySource `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for ImpalaSource. +func (is ImpalaSource) MarshalJSON() ([]byte, error) { + is.Type = TypeImpalaSource + objectMap := make(map[string]interface{}) + if is.Query != nil { + objectMap["query"] = is.Query + } + if is.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = is.SourceRetryCount + } + if is.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = is.SourceRetryWait + } + if is.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = is.MaxConcurrentConnections + } + if is.Type != "" { + objectMap["type"] = is.Type + } + for k, v := range is.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAmazonRedshiftSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { + return nil, false +} + +// AsGoogleAdWordsSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { + return nil, false +} + +// AsOracleServiceCloudSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { + return nil, false +} + +// AsDynamicsAXSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { + return nil, false +} + +// AsResponsysSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsResponsysSource() (*ResponsysSource, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { + return nil, false +} + +// AsVerticaSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false +} + +// AsNetezzaSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false +} + +// AsZohoSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsZohoSource() (*ZohoSource, bool) { + return nil, false +} + +// AsXeroSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsXeroSource() (*XeroSource, bool) { + return nil, false +} + +// AsSquareSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsSquareSource() (*SquareSource, bool) { + return nil, false +} + +// AsSparkSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsSparkSource() (*SparkSource, bool) { + return nil, false +} + +// AsShopifySource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsShopifySource() (*ShopifySource, bool) { + return nil, false +} + +// AsServiceNowSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsServiceNowSource() (*ServiceNowSource, bool) { + return nil, false +} + +// AsQuickBooksSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsQuickBooksSource() (*QuickBooksSource, bool) { + return nil, false +} + +// AsPrestoSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsPrestoSource() (*PrestoSource, bool) { + return nil, false +} + +// AsPhoenixSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsPhoenixSource() (*PhoenixSource, bool) { + return nil, false +} + +// AsPaypalSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsPaypalSource() (*PaypalSource, bool) { + return nil, false +} + +// AsMarketoSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsMarketoSource() (*MarketoSource, bool) { + return nil, false +} + +// AsMariaDBSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsMariaDBSource() (*MariaDBSource, bool) { + return nil, false +} + +// AsMagentoSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsMagentoSource() (*MagentoSource, bool) { + return nil, false +} + +// AsJiraSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsJiraSource() (*JiraSource, bool) { + return nil, false +} + +// AsImpalaSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsImpalaSource() (*ImpalaSource, bool) { + return &is, true +} + +// AsHubspotSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsHubspotSource() (*HubspotSource, bool) { + return nil, false +} + +// AsHiveSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsHiveSource() (*HiveSource, bool) { + return nil, false +} + +// AsHBaseSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsHBaseSource() (*HBaseSource, bool) { + return nil, false +} + +// AsGreenplumSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsGreenplumSource() (*GreenplumSource, bool) { + return nil, false +} + +// AsGoogleBigQuerySource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { + return nil, false +} + +// AsEloquaSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsEloquaSource() (*EloquaSource, bool) { + return nil, false +} + +// AsDrillSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsDrillSource() (*DrillSource, bool) { + return nil, false +} + +// AsCouchbaseSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsCouchbaseSource() (*CouchbaseSource, bool) { + return nil, false +} + +// AsConcurSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsConcurSource() (*ConcurSource, bool) { + return nil, false +} + +// AsAzurePostgreSQLSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { + return nil, false +} + +// AsAmazonMWSSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { + return nil, false +} + +// AsHTTPSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsCassandraSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsCassandraSource() (*CassandraSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsTeradataSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsAzureMySQLSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsSQLDWSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsSQLDWSource() (*SQLDWSource, bool) { + return nil, false +} + +// AsSQLMISource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsSQLMISource() (*SQLMISource, bool) { + return nil, false +} + +// AsAzureSQLSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsAzureSQLSource() (*AzureSQLSource, bool) { + return nil, false +} + +// AsSQLServerSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsSQLServerSource() (*SQLServerSource, bool) { + return nil, false +} + +// AsSQLSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsSQLSource() (*SQLSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSapTableSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsSapTableSource() (*SapTableSource, bool) { + return nil, false +} + +// AsSapOpenHubSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { + return nil, false +} + +// AsSapHanaSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsSapHanaSource() (*SapHanaSource, bool) { + return nil, false +} + +// AsSapEccSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsSapEccSource() (*SapEccSource, bool) { + return nil, false +} + +// AsSapCloudForCustomerSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsSalesforceSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsSalesforceSource() (*SalesforceSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsSybaseSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsSybaseSource() (*SybaseSource, bool) { + return nil, false +} + +// AsPostgreSQLSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false +} + +// AsMySQLSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false +} + +// AsOdbcSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false +} + +// AsDb2Source is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsDb2Source() (*Db2Source, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + +// AsRelationalSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + +// AsDynamicsSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + +// AsAzureTableSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsBinarySource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsDelimitedTextSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false +} + +// AsParquetSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsBasicCopySource() (BasicCopySource, bool) { + return &is, true +} + +// UnmarshalJSON is the custom unmarshaler for ImpalaSource struct. +func (is *ImpalaSource) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "query": + if v != nil { + var query interface{} + err = json.Unmarshal(*v, &query) + if err != nil { + return err + } + is.Query = query + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if is.AdditionalProperties == nil { + is.AdditionalProperties = make(map[string]interface{}) + } + is.AdditionalProperties[k] = additionalProperties + } + case "sourceRetryCount": + if v != nil { + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) + if err != nil { + return err + } + is.SourceRetryCount = sourceRetryCount + } + case "sourceRetryWait": + if v != nil { + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) + if err != nil { + return err + } + is.SourceRetryWait = sourceRetryWait + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + is.MaxConcurrentConnections = maxConcurrentConnections + } + case "type": + if v != nil { + var typeVar TypeBasicCopySource + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + is.Type = typeVar + } + } + } + + return nil +} + +// InformixLinkedService informix linked service. +type InformixLinkedService struct { + // InformixLinkedServiceTypeProperties - Informix linked service properties. + *InformixLinkedServiceTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. + Description *string `json:"description,omitempty"` + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the linked service. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for InformixLinkedService. +func (ils InformixLinkedService) MarshalJSON() ([]byte, error) { + ils.Type = TypeInformix + objectMap := make(map[string]interface{}) + if ils.InformixLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = ils.InformixLinkedServiceTypeProperties + } + if ils.ConnectVia != nil { + objectMap["connectVia"] = ils.ConnectVia + } + if ils.Description != nil { + objectMap["description"] = ils.Description + } + if ils.Parameters != nil { + objectMap["parameters"] = ils.Parameters + } + if ils.Annotations != nil { + objectMap["annotations"] = ils.Annotations + } + if ils.Type != "" { + objectMap["type"] = ils.Type + } + for k, v := range ils.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { + return nil, false +} + +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { + return nil, false +} + +// AsSapTableLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { + return nil, false +} + +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { + return nil, false +} + +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { + return nil, false +} + +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { + return nil, false +} + +// AsResponsysLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { + return nil, false +} + +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { + return nil, false +} + +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { + return nil, false +} + +// AsNetezzaLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + +// AsZohoLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { + return nil, false +} + +// AsXeroLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { + return nil, false +} + +// AsSquareLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { + return nil, false +} + +// AsSparkLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { + return nil, false +} + +// AsShopifyLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { + return nil, false +} + +// AsServiceNowLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { + return nil, false +} + +// AsQuickBooksLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { + return nil, false +} + +// AsPrestoLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { + return nil, false +} + +// AsPhoenixLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { + return nil, false +} + +// AsPaypalLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { + return nil, false +} + +// AsMarketoLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { + return nil, false +} + +// AsMariaDBLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { + return nil, false +} + +// AsMagentoLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { + return nil, false +} + +// AsJiraLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { + return nil, false +} + +// AsImpalaLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { + return nil, false +} + +// AsHubspotLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { + return nil, false +} + +// AsHiveLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { + return nil, false +} + +// AsHBaseLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { + return nil, false +} + +// AsGreenplumLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { + return nil, false +} + +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { + return nil, false +} + +// AsEloquaLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { + return nil, false +} + +// AsDrillLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { + return nil, false +} + +// AsCouchbaseLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { + return nil, false +} + +// AsConcurLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { + return nil, false +} + +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { + return nil, false +} + +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { + return nil, false +} + +// AsSapHanaLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { + return nil, false +} + +// AsSapBWLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { + return nil, false +} + +// AsSftpServerLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { + return nil, false +} + +// AsFtpServerLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { + return nil, false +} + +// AsHTTPLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { + return nil, false +} + +// AsAzureSearchLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { + return nil, false +} + +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { + return nil, false +} + +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { + return nil, false +} + +// AsAmazonS3LinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { + return nil, false +} + +// AsRestServiceLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { + return nil, false +} + +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { + return nil, false +} + +// AsSapEccLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { + return nil, false +} + +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { + return nil, false +} + +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + +// AsSalesforceLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { + return nil, false +} + +// AsOffice365LinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { + return nil, false +} + +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { + return nil, false +} + +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { + return nil, false +} + +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { + return nil, false +} + +// AsMongoDbLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { + return nil, false +} + +// AsCassandraLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { + return nil, false +} + +// AsWebLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { + return nil, false +} + +// AsODataLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { + return nil, false +} + +// AsHdfsLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { + return nil, false +} + +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return &ils, true +} + +// AsOdbcLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { + return nil, false +} + +// AsAzureMLLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { + return nil, false +} + +// AsTeradataLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { + return nil, false +} + +// AsDb2LinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return nil, false +} + +// AsSybaseLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { + return nil, false +} + +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { + return nil, false +} + +// AsMySQLLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { + return nil, false +} + +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { + return nil, false +} + +// AsOracleLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { + return nil, false +} + +// AsFileServerLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { + return nil, false +} + +// AsHDInsightLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + +// AsDynamicsLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false +} + +// AsCosmosDbLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false +} + +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false +} + +// AsAzureBatchLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} + +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &ils, true +} + +// UnmarshalJSON is the custom unmarshaler for InformixLinkedService struct. +func (ils *InformixLinkedService) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "typeProperties": + if v != nil { + var informixLinkedServiceTypeProperties InformixLinkedServiceTypeProperties + err = json.Unmarshal(*v, &informixLinkedServiceTypeProperties) + if err != nil { + return err + } + ils.InformixLinkedServiceTypeProperties = &informixLinkedServiceTypeProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if ils.AdditionalProperties == nil { + ils.AdditionalProperties = make(map[string]interface{}) + } + ils.AdditionalProperties[k] = additionalProperties + } + case "connectVia": + if v != nil { + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) + if err != nil { + return err + } + ils.ConnectVia = &connectVia + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + ils.Description = &description + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + ils.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + ils.Annotations = &annotations + } + case "type": + if v != nil { + var typeVar TypeBasicLinkedService + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + ils.Type = typeVar + } + } + } + + return nil +} + +// InformixLinkedServiceTypeProperties informix linked service properties. +type InformixLinkedServiceTypeProperties struct { + // ConnectionString - The non-access credential portion of the connection string as well as an optional encrypted credential. Type: string, SecureString or AzureKeyVaultSecretReference. + ConnectionString interface{} `json:"connectionString,omitempty"` + // AuthenticationType - Type of authentication used to connect to the Informix as ODBC data store. Possible values are: Anonymous and Basic. Type: string (or Expression with resultType string). + AuthenticationType interface{} `json:"authenticationType,omitempty"` + // Credential - The access credential portion of the connection string specified in driver-specific property-value format. + Credential BasicSecretBase `json:"credential,omitempty"` + // UserName - User name for Basic authentication. Type: string (or Expression with resultType string). + UserName interface{} `json:"userName,omitempty"` + // Password - Password for Basic authentication. + Password BasicSecretBase `json:"password,omitempty"` + // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` +} + +// UnmarshalJSON is the custom unmarshaler for InformixLinkedServiceTypeProperties struct. +func (ilstp *InformixLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "connectionString": + if v != nil { + var connectionString interface{} + err = json.Unmarshal(*v, &connectionString) + if err != nil { + return err + } + ilstp.ConnectionString = connectionString + } + case "authenticationType": + if v != nil { + var authenticationType interface{} + err = json.Unmarshal(*v, &authenticationType) + if err != nil { + return err + } + ilstp.AuthenticationType = authenticationType + } + case "credential": + if v != nil { + credential, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + ilstp.Credential = credential + } + case "userName": + if v != nil { + var userName interface{} + err = json.Unmarshal(*v, &userName) + if err != nil { + return err + } + ilstp.UserName = userName + } + case "password": + if v != nil { + password, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + ilstp.Password = password + } + case "encryptedCredential": + if v != nil { + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) + if err != nil { + return err + } + ilstp.EncryptedCredential = encryptedCredential + } + } + } + + return nil +} + +// InformixSink a copy activity Informix sink. +type InformixSink struct { + // PreCopyScript - A query to execute before starting the copy. Type: string (or Expression with resultType string). + PreCopyScript interface{} `json:"preCopyScript,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + WriteBatchSize interface{} `json:"writeBatchSize,omitempty"` + // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"` + // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer). + SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"` + // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink' + Type TypeBasicCopySink `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for InformixSink. +func (is InformixSink) MarshalJSON() ([]byte, error) { + is.Type = TypeInformixSink + objectMap := make(map[string]interface{}) + if is.PreCopyScript != nil { + objectMap["preCopyScript"] = is.PreCopyScript + } + if is.WriteBatchSize != nil { + objectMap["writeBatchSize"] = is.WriteBatchSize + } + if is.WriteBatchTimeout != nil { + objectMap["writeBatchTimeout"] = is.WriteBatchTimeout + } + if is.SinkRetryCount != nil { + objectMap["sinkRetryCount"] = is.SinkRetryCount + } + if is.SinkRetryWait != nil { + objectMap["sinkRetryWait"] = is.SinkRetryWait + } + if is.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = is.MaxConcurrentConnections + } + if is.Type != "" { + objectMap["type"] = is.Type + } + for k, v := range is.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for InformixSink. +func (is InformixSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for InformixSink. +func (is InformixSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { + return nil, false +} + +// AsSalesforceSink is the BasicCopySink implementation for InformixSink. +func (is InformixSink) AsSalesforceSink() (*SalesforceSink, bool) { + return nil, false +} + +// AsAzureDataExplorerSink is the BasicCopySink implementation for InformixSink. +func (is InformixSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for InformixSink. +func (is InformixSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { + return nil, false +} + +// AsDynamicsCrmSink is the BasicCopySink implementation for InformixSink. +func (is InformixSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { + return nil, false +} + +// AsDynamicsSink is the BasicCopySink implementation for InformixSink. +func (is InformixSink) AsDynamicsSink() (*DynamicsSink, bool) { + return nil, false +} + +// AsMicrosoftAccessSink is the BasicCopySink implementation for InformixSink. +func (is InformixSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { + return nil, false +} + +// AsInformixSink is the BasicCopySink implementation for InformixSink. +func (is InformixSink) AsInformixSink() (*InformixSink, bool) { + return &is, true +} + +// AsOdbcSink is the BasicCopySink implementation for InformixSink. +func (is InformixSink) AsOdbcSink() (*OdbcSink, bool) { + return nil, false +} + +// AsAzureSearchIndexSink is the BasicCopySink implementation for InformixSink. +func (is InformixSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { + return nil, false +} + +// AsAzureBlobFSSink is the BasicCopySink implementation for InformixSink. +func (is InformixSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for InformixSink. +func (is InformixSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { + return nil, false +} + +// AsOracleSink is the BasicCopySink implementation for InformixSink. +func (is InformixSink) AsOracleSink() (*OracleSink, bool) { + return nil, false +} + +// AsSQLDWSink is the BasicCopySink implementation for InformixSink. +func (is InformixSink) AsSQLDWSink() (*SQLDWSink, bool) { + return nil, false +} + +// AsSQLMISink is the BasicCopySink implementation for InformixSink. +func (is InformixSink) AsSQLMISink() (*SQLMISink, bool) { + return nil, false +} + +// AsAzureSQLSink is the BasicCopySink implementation for InformixSink. +func (is InformixSink) AsAzureSQLSink() (*AzureSQLSink, bool) { + return nil, false +} + +// AsSQLServerSink is the BasicCopySink implementation for InformixSink. +func (is InformixSink) AsSQLServerSink() (*SQLServerSink, bool) { + return nil, false +} + +// AsSQLSink is the BasicCopySink implementation for InformixSink. +func (is InformixSink) AsSQLSink() (*SQLSink, bool) { + return nil, false +} + +// AsDocumentDbCollectionSink is the BasicCopySink implementation for InformixSink. +func (is InformixSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { + return nil, false +} + +// AsFileSystemSink is the BasicCopySink implementation for InformixSink. +func (is InformixSink) AsFileSystemSink() (*FileSystemSink, bool) { + return nil, false +} + +// AsBlobSink is the BasicCopySink implementation for InformixSink. +func (is InformixSink) AsBlobSink() (*BlobSink, bool) { + return nil, false +} + +// AsBinarySink is the BasicCopySink implementation for InformixSink. +func (is InformixSink) AsBinarySink() (*BinarySink, bool) { + return nil, false +} + +// AsParquetSink is the BasicCopySink implementation for InformixSink. +func (is InformixSink) AsParquetSink() (*ParquetSink, bool) { + return nil, false +} + +// AsAzureTableSink is the BasicCopySink implementation for InformixSink. +func (is InformixSink) AsAzureTableSink() (*AzureTableSink, bool) { + return nil, false +} + +// AsAzureQueueSink is the BasicCopySink implementation for InformixSink. +func (is InformixSink) AsAzureQueueSink() (*AzureQueueSink, bool) { + return nil, false +} + +// AsSapCloudForCustomerSink is the BasicCopySink implementation for InformixSink. +func (is InformixSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { + return nil, false +} + +// AsAzurePostgreSQLSink is the BasicCopySink implementation for InformixSink. +func (is InformixSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { + return nil, false +} + +// AsDelimitedTextSink is the BasicCopySink implementation for InformixSink. +func (is InformixSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { + return nil, false +} + +// AsCopySink is the BasicCopySink implementation for InformixSink. +func (is InformixSink) AsCopySink() (*CopySink, bool) { + return nil, false +} + +// AsBasicCopySink is the BasicCopySink implementation for InformixSink. +func (is InformixSink) AsBasicCopySink() (BasicCopySink, bool) { + return &is, true +} + +// UnmarshalJSON is the custom unmarshaler for InformixSink struct. +func (is *InformixSink) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "preCopyScript": + if v != nil { + var preCopyScript interface{} + err = json.Unmarshal(*v, &preCopyScript) + if err != nil { + return err + } + is.PreCopyScript = preCopyScript + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if is.AdditionalProperties == nil { + is.AdditionalProperties = make(map[string]interface{}) + } + is.AdditionalProperties[k] = additionalProperties + } + case "writeBatchSize": + if v != nil { + var writeBatchSize interface{} + err = json.Unmarshal(*v, &writeBatchSize) + if err != nil { + return err + } + is.WriteBatchSize = writeBatchSize + } + case "writeBatchTimeout": + if v != nil { + var writeBatchTimeout interface{} + err = json.Unmarshal(*v, &writeBatchTimeout) + if err != nil { + return err + } + is.WriteBatchTimeout = writeBatchTimeout + } + case "sinkRetryCount": + if v != nil { + var sinkRetryCount interface{} + err = json.Unmarshal(*v, &sinkRetryCount) + if err != nil { + return err + } + is.SinkRetryCount = sinkRetryCount + } + case "sinkRetryWait": + if v != nil { + var sinkRetryWait interface{} + err = json.Unmarshal(*v, &sinkRetryWait) + if err != nil { + return err + } + is.SinkRetryWait = sinkRetryWait + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + is.MaxConcurrentConnections = maxConcurrentConnections + } + case "type": + if v != nil { + var typeVar TypeBasicCopySink + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + is.Type = typeVar + } + } + } + + return nil +} + +// InformixSource a copy activity source for Informix. +type InformixSource struct { + // Query - Database query. Type: string (or Expression with resultType string). + Query interface{} `json:"query,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + Type TypeBasicCopySource `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for InformixSource. +func (is InformixSource) MarshalJSON() ([]byte, error) { + is.Type = TypeInformixSource + objectMap := make(map[string]interface{}) + if is.Query != nil { + objectMap["query"] = is.Query + } + if is.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = is.SourceRetryCount + } + if is.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = is.SourceRetryWait + } + if is.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = is.MaxConcurrentConnections + } + if is.Type != "" { + objectMap["type"] = is.Type + } + for k, v := range is.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAmazonRedshiftSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { + return nil, false +} + +// AsGoogleAdWordsSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { + return nil, false +} + +// AsOracleServiceCloudSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { + return nil, false +} + +// AsDynamicsAXSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { + return nil, false +} + +// AsResponsysSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsResponsysSource() (*ResponsysSource, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { + return nil, false +} + +// AsVerticaSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false +} + +// AsNetezzaSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false +} + +// AsZohoSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsZohoSource() (*ZohoSource, bool) { + return nil, false +} + +// AsXeroSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsXeroSource() (*XeroSource, bool) { + return nil, false +} + +// AsSquareSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsSquareSource() (*SquareSource, bool) { + return nil, false +} + +// AsSparkSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsSparkSource() (*SparkSource, bool) { + return nil, false +} + +// AsShopifySource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsShopifySource() (*ShopifySource, bool) { + return nil, false +} + +// AsServiceNowSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsServiceNowSource() (*ServiceNowSource, bool) { + return nil, false +} + +// AsQuickBooksSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsQuickBooksSource() (*QuickBooksSource, bool) { + return nil, false +} + +// AsPrestoSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsPrestoSource() (*PrestoSource, bool) { + return nil, false +} + +// AsPhoenixSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsPhoenixSource() (*PhoenixSource, bool) { + return nil, false +} + +// AsPaypalSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsPaypalSource() (*PaypalSource, bool) { + return nil, false +} + +// AsMarketoSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsMarketoSource() (*MarketoSource, bool) { + return nil, false +} + +// AsMariaDBSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsMariaDBSource() (*MariaDBSource, bool) { + return nil, false +} + +// AsMagentoSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsMagentoSource() (*MagentoSource, bool) { + return nil, false +} + +// AsJiraSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsJiraSource() (*JiraSource, bool) { + return nil, false +} + +// AsImpalaSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsImpalaSource() (*ImpalaSource, bool) { + return nil, false +} + +// AsHubspotSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsHubspotSource() (*HubspotSource, bool) { + return nil, false +} + +// AsHiveSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsHiveSource() (*HiveSource, bool) { + return nil, false +} + +// AsHBaseSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsHBaseSource() (*HBaseSource, bool) { + return nil, false +} + +// AsGreenplumSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsGreenplumSource() (*GreenplumSource, bool) { + return nil, false +} + +// AsGoogleBigQuerySource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { + return nil, false +} + +// AsEloquaSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsEloquaSource() (*EloquaSource, bool) { + return nil, false +} + +// AsDrillSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsDrillSource() (*DrillSource, bool) { + return nil, false +} + +// AsCouchbaseSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsCouchbaseSource() (*CouchbaseSource, bool) { + return nil, false +} + +// AsConcurSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsConcurSource() (*ConcurSource, bool) { + return nil, false +} + +// AsAzurePostgreSQLSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { + return nil, false +} + +// AsAmazonMWSSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { + return nil, false +} + +// AsHTTPSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsCassandraSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsCassandraSource() (*CassandraSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsTeradataSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsAzureMySQLSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsSQLDWSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsSQLDWSource() (*SQLDWSource, bool) { + return nil, false +} + +// AsSQLMISource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsSQLMISource() (*SQLMISource, bool) { + return nil, false +} + +// AsAzureSQLSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsAzureSQLSource() (*AzureSQLSource, bool) { + return nil, false +} + +// AsSQLServerSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsSQLServerSource() (*SQLServerSource, bool) { + return nil, false +} + +// AsSQLSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsSQLSource() (*SQLSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSapTableSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsSapTableSource() (*SapTableSource, bool) { + return nil, false +} + +// AsSapOpenHubSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { + return nil, false +} + +// AsSapHanaSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsSapHanaSource() (*SapHanaSource, bool) { + return nil, false +} + +// AsSapEccSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsSapEccSource() (*SapEccSource, bool) { + return nil, false +} + +// AsSapCloudForCustomerSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsSalesforceSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsSalesforceSource() (*SalesforceSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsSybaseSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsSybaseSource() (*SybaseSource, bool) { + return nil, false +} + +// AsPostgreSQLSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false +} + +// AsMySQLSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false +} + +// AsOdbcSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false +} + +// AsDb2Source is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsDb2Source() (*Db2Source, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsInformixSource() (*InformixSource, bool) { + return &is, true +} + +// AsRelationalSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + +// AsDynamicsSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + +// AsAzureTableSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsBinarySource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsDelimitedTextSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false +} + +// AsParquetSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsBasicCopySource() (BasicCopySource, bool) { + return &is, true +} + +// UnmarshalJSON is the custom unmarshaler for InformixSource struct. +func (is *InformixSource) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "query": + if v != nil { + var query interface{} + err = json.Unmarshal(*v, &query) + if err != nil { + return err + } + is.Query = query + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if is.AdditionalProperties == nil { + is.AdditionalProperties = make(map[string]interface{}) + } + is.AdditionalProperties[k] = additionalProperties + } + case "sourceRetryCount": + if v != nil { + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) + if err != nil { + return err + } + is.SourceRetryCount = sourceRetryCount + } + case "sourceRetryWait": + if v != nil { + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) + if err != nil { + return err + } + is.SourceRetryWait = sourceRetryWait + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + is.MaxConcurrentConnections = maxConcurrentConnections + } + case "type": + if v != nil { + var typeVar TypeBasicCopySource + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + is.Type = typeVar + } + } + } + + return nil +} + +// InformixTableDataset the Informix table dataset. +type InformixTableDataset struct { + // InformixTableDatasetTypeProperties - Informix table dataset properties. + *InformixTableDatasetTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Description - Dataset description. + Description *string `json:"description,omitempty"` + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for InformixTableDataset. +func (itd InformixTableDataset) MarshalJSON() ([]byte, error) { + itd.Type = TypeInformixTable + objectMap := make(map[string]interface{}) + if itd.InformixTableDatasetTypeProperties != nil { + objectMap["typeProperties"] = itd.InformixTableDatasetTypeProperties + } + if itd.Description != nil { + objectMap["description"] = itd.Description + } + if itd.Structure != nil { + objectMap["structure"] = itd.Structure + } + if itd.Schema != nil { + objectMap["schema"] = itd.Schema + } + if itd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = itd.LinkedServiceName + } + if itd.Parameters != nil { + objectMap["parameters"] = itd.Parameters + } + if itd.Annotations != nil { + objectMap["annotations"] = itd.Annotations + } + if itd.Folder != nil { + objectMap["folder"] = itd.Folder + } + if itd.Type != "" { + objectMap["type"] = itd.Type + } + for k, v := range itd.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { + return nil, false +} + +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { + return nil, false +} + +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { + return nil, false +} + +// AsDynamicsAXResourceDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { + return nil, false +} + +// AsResponsysObjectDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { + return nil, false +} + +// AsVerticaTableDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false +} + +// AsNetezzaTableDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false +} + +// AsZohoObjectDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { + return nil, false +} + +// AsXeroObjectDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { + return nil, false +} + +// AsSquareObjectDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { + return nil, false +} + +// AsSparkObjectDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { + return nil, false +} + +// AsShopifyObjectDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { + return nil, false +} + +// AsServiceNowObjectDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { + return nil, false +} + +// AsQuickBooksObjectDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { + return nil, false +} + +// AsPrestoObjectDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { + return nil, false +} + +// AsPhoenixObjectDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { + return nil, false +} + +// AsPaypalObjectDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { + return nil, false +} + +// AsMarketoObjectDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { + return nil, false +} + +// AsMariaDBTableDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { + return nil, false +} + +// AsMagentoObjectDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { + return nil, false +} + +// AsJiraObjectDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { + return nil, false +} + +// AsImpalaObjectDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { + return nil, false +} + +// AsHubspotObjectDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { + return nil, false +} + +// AsHiveObjectDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { + return nil, false +} + +// AsHBaseObjectDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { + return nil, false +} + +// AsGreenplumTableDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { + return nil, false +} + +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { + return nil, false +} + +// AsEloquaObjectDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { + return nil, false +} + +// AsDrillTableDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { + return nil, false +} + +// AsCouchbaseTableDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { + return nil, false +} + +// AsConcurObjectDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { + return nil, false +} + +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { + return nil, false +} + +// AsAmazonMWSObjectDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { + return nil, false +} + +// AsHTTPDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { + return nil, false +} + +// AsAzureSearchIndexDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { + return nil, false +} + +// AsWebTableDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { + return nil, false +} + +// AsSapTableResourceDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { + return nil, false +} + +// AsRestResourceDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { + return nil, false +} + +// AsSQLServerTableDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { + return nil, false +} + +// AsSapOpenHubTableDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { + return nil, false +} + +// AsSapHanaTableDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { + return nil, false +} + +// AsSapEccResourceDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { + return nil, false +} + +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { + return nil, false +} + +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { + return nil, false +} + +// AsSalesforceObjectDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { + return nil, false +} + +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { + return nil, false +} + +// AsPostgreSQLTableDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { + return nil, false +} + +// AsMySQLTableDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { + return nil, false +} + +// AsOdbcTableDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { + return nil, false +} + +// AsInformixTableDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { + return &itd, true +} + +// AsRelationalTableDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { + return nil, false +} + +// AsAzureMySQLTableDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { + return nil, false +} + +// AsTeradataTableDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { + return nil, false +} + +// AsOracleTableDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { + return nil, false +} + +// AsODataResourceDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { + return nil, false +} + +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { + return nil, false +} + +// AsMongoDbCollectionDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { + return nil, false +} + +// AsFileShareDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { + return nil, false +} + +// AsOffice365Dataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { + return nil, false +} + +// AsAzureBlobFSDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { + return nil, false +} + +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { + return nil, false +} + +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { + return nil, false +} + +// AsDynamicsEntityDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { + return nil, false +} + +// AsDocumentDbCollectionDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { + return nil, false +} + +// AsCustomDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsCustomDataset() (*CustomDataset, bool) { + return nil, false +} + +// AsCassandraTableDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { + return nil, false +} + +// AsAzureSQLDWTableDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { + return nil, false +} + +// AsAzureSQLMITableDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + +// AsAzureSQLTableDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { + return nil, false +} + +// AsAzureTableDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { + return nil, false +} + +// AsAzureBlobDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { + return nil, false +} + +// AsBinaryDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + +// AsDelimitedTextDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { + return nil, false +} + +// AsParquetDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsBasicDataset() (BasicDataset, bool) { + return &itd, true +} + +// UnmarshalJSON is the custom unmarshaler for InformixTableDataset struct. +func (itd *InformixTableDataset) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "typeProperties": + if v != nil { + var informixTableDatasetTypeProperties InformixTableDatasetTypeProperties + err = json.Unmarshal(*v, &informixTableDatasetTypeProperties) + if err != nil { + return err + } + itd.InformixTableDatasetTypeProperties = &informixTableDatasetTypeProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if itd.AdditionalProperties == nil { + itd.AdditionalProperties = make(map[string]interface{}) + } + itd.AdditionalProperties[k] = additionalProperties + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + itd.Description = &description + } + case "structure": + if v != nil { + var structure interface{} + err = json.Unmarshal(*v, &structure) + if err != nil { + return err + } + itd.Structure = structure + } + case "schema": + if v != nil { + var schema interface{} + err = json.Unmarshal(*v, &schema) + if err != nil { + return err + } + itd.Schema = schema + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + itd.LinkedServiceName = &linkedServiceName + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + itd.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + itd.Annotations = &annotations + } + case "folder": + if v != nil { + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) + if err != nil { + return err + } + itd.Folder = &folder + } + case "type": + if v != nil { + var typeVar TypeBasicDataset + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + itd.Type = typeVar + } + } + } + + return nil +} + +// InformixTableDatasetTypeProperties informix table dataset properties. +type InformixTableDatasetTypeProperties struct { + // TableName - The Informix table name. Type: string (or Expression with resultType string). + TableName interface{} `json:"tableName,omitempty"` +} + +// BasicIntegrationRuntime azure Data Factory nested object which serves as a compute resource for activities. +type BasicIntegrationRuntime interface { + AsSelfHostedIntegrationRuntime() (*SelfHostedIntegrationRuntime, bool) + AsManagedIntegrationRuntime() (*ManagedIntegrationRuntime, bool) + AsIntegrationRuntime() (*IntegrationRuntime, bool) +} + +// IntegrationRuntime azure Data Factory nested object which serves as a compute resource for activities. +type IntegrationRuntime struct { + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Description - Integration runtime description. + Description *string `json:"description,omitempty"` + // Type - Possible values include: 'TypeIntegrationRuntime', 'TypeSelfHosted', 'TypeManaged' + Type TypeBasicIntegrationRuntime `json:"type,omitempty"` +} + +func unmarshalBasicIntegrationRuntime(body []byte) (BasicIntegrationRuntime, error) { + var m map[string]interface{} + err := json.Unmarshal(body, &m) + if err != nil { + return nil, err + } + + switch m["type"] { + case string(TypeSelfHosted): + var shir SelfHostedIntegrationRuntime + err := json.Unmarshal(body, &shir) + return shir, err + case string(TypeManaged): + var mir ManagedIntegrationRuntime + err := json.Unmarshal(body, &mir) + return mir, err + default: + var ir IntegrationRuntime + err := json.Unmarshal(body, &ir) + return ir, err + } +} +func unmarshalBasicIntegrationRuntimeArray(body []byte) ([]BasicIntegrationRuntime, error) { + var rawMessages []*json.RawMessage + err := json.Unmarshal(body, &rawMessages) + if err != nil { + return nil, err + } + + irArray := make([]BasicIntegrationRuntime, len(rawMessages)) + + for index, rawMessage := range rawMessages { + ir, err := unmarshalBasicIntegrationRuntime(*rawMessage) + if err != nil { + return nil, err + } + irArray[index] = ir + } + return irArray, nil +} + +// MarshalJSON is the custom marshaler for IntegrationRuntime. +func (ir IntegrationRuntime) MarshalJSON() ([]byte, error) { + ir.Type = TypeIntegrationRuntime + objectMap := make(map[string]interface{}) + if ir.Description != nil { + objectMap["description"] = ir.Description + } + if ir.Type != "" { + objectMap["type"] = ir.Type + } + for k, v := range ir.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsSelfHostedIntegrationRuntime is the BasicIntegrationRuntime implementation for IntegrationRuntime. +func (ir IntegrationRuntime) AsSelfHostedIntegrationRuntime() (*SelfHostedIntegrationRuntime, bool) { + return nil, false +} + +// AsManagedIntegrationRuntime is the BasicIntegrationRuntime implementation for IntegrationRuntime. +func (ir IntegrationRuntime) AsManagedIntegrationRuntime() (*ManagedIntegrationRuntime, bool) { + return nil, false +} + +// AsIntegrationRuntime is the BasicIntegrationRuntime implementation for IntegrationRuntime. +func (ir IntegrationRuntime) AsIntegrationRuntime() (*IntegrationRuntime, bool) { + return &ir, true +} + +// AsBasicIntegrationRuntime is the BasicIntegrationRuntime implementation for IntegrationRuntime. +func (ir IntegrationRuntime) AsBasicIntegrationRuntime() (BasicIntegrationRuntime, bool) { + return &ir, true +} + +// UnmarshalJSON is the custom unmarshaler for IntegrationRuntime struct. +func (ir *IntegrationRuntime) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if ir.AdditionalProperties == nil { + ir.AdditionalProperties = make(map[string]interface{}) + } + ir.AdditionalProperties[k] = additionalProperties + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + ir.Description = &description + } + case "type": + if v != nil { + var typeVar TypeBasicIntegrationRuntime + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + ir.Type = typeVar + } + } + } + + return nil +} + +// IntegrationRuntimeAuthKeys the integration runtime authentication keys. +type IntegrationRuntimeAuthKeys struct { + autorest.Response `json:"-"` + // AuthKey1 - The primary integration runtime authentication key. + AuthKey1 *string `json:"authKey1,omitempty"` + // AuthKey2 - The secondary integration runtime authentication key. + AuthKey2 *string `json:"authKey2,omitempty"` +} + +// IntegrationRuntimeComputeProperties the compute resource properties for managed integration runtime. +type IntegrationRuntimeComputeProperties struct { + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Location - The location for managed integration runtime. The supported regions could be found on https://docs.microsoft.com/en-us/azure/data-factory/data-factory-data-movement-activities + Location *string `json:"location,omitempty"` + // NodeSize - The node size requirement to managed integration runtime. + NodeSize *string `json:"nodeSize,omitempty"` + // NumberOfNodes - The required number of nodes for managed integration runtime. + NumberOfNodes *int32 `json:"numberOfNodes,omitempty"` + // MaxParallelExecutionsPerNode - Maximum parallel executions count per node for managed integration runtime. + MaxParallelExecutionsPerNode *int32 `json:"maxParallelExecutionsPerNode,omitempty"` + // VNetProperties - VNet properties for managed integration runtime. + VNetProperties *IntegrationRuntimeVNetProperties `json:"vNetProperties,omitempty"` +} + +// MarshalJSON is the custom marshaler for IntegrationRuntimeComputeProperties. +func (ircp IntegrationRuntimeComputeProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if ircp.Location != nil { + objectMap["location"] = ircp.Location + } + if ircp.NodeSize != nil { + objectMap["nodeSize"] = ircp.NodeSize + } + if ircp.NumberOfNodes != nil { + objectMap["numberOfNodes"] = ircp.NumberOfNodes + } + if ircp.MaxParallelExecutionsPerNode != nil { + objectMap["maxParallelExecutionsPerNode"] = ircp.MaxParallelExecutionsPerNode + } + if ircp.VNetProperties != nil { + objectMap["vNetProperties"] = ircp.VNetProperties + } + for k, v := range ircp.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for IntegrationRuntimeComputeProperties struct. +func (ircp *IntegrationRuntimeComputeProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if ircp.AdditionalProperties == nil { + ircp.AdditionalProperties = make(map[string]interface{}) + } + ircp.AdditionalProperties[k] = additionalProperties + } + case "location": + if v != nil { + var location string + err = json.Unmarshal(*v, &location) + if err != nil { + return err + } + ircp.Location = &location + } + case "nodeSize": + if v != nil { + var nodeSize string + err = json.Unmarshal(*v, &nodeSize) + if err != nil { + return err + } + ircp.NodeSize = &nodeSize + } + case "numberOfNodes": + if v != nil { + var numberOfNodes int32 + err = json.Unmarshal(*v, &numberOfNodes) + if err != nil { + return err + } + ircp.NumberOfNodes = &numberOfNodes + } + case "maxParallelExecutionsPerNode": + if v != nil { + var maxParallelExecutionsPerNode int32 + err = json.Unmarshal(*v, &maxParallelExecutionsPerNode) + if err != nil { + return err + } + ircp.MaxParallelExecutionsPerNode = &maxParallelExecutionsPerNode + } + case "vNetProperties": + if v != nil { + var vNetProperties IntegrationRuntimeVNetProperties + err = json.Unmarshal(*v, &vNetProperties) + if err != nil { + return err + } + ircp.VNetProperties = &vNetProperties + } + } + } + + return nil +} + +// IntegrationRuntimeConnectionInfo connection information for encrypting the on-premises data source +// credentials. +type IntegrationRuntimeConnectionInfo struct { + autorest.Response `json:"-"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // ServiceToken - READ-ONLY; The token generated in service. Callers use this token to authenticate to integration runtime. + ServiceToken *string `json:"serviceToken,omitempty"` + // IdentityCertThumbprint - READ-ONLY; The integration runtime SSL certificate thumbprint. Click-Once application uses it to do server validation. + IdentityCertThumbprint *string `json:"identityCertThumbprint,omitempty"` + // HostServiceURI - READ-ONLY; The on-premises integration runtime host URL. + HostServiceURI *string `json:"hostServiceUri,omitempty"` + // Version - READ-ONLY; The integration runtime version. + Version *string `json:"version,omitempty"` + // PublicKey - READ-ONLY; The public key for encrypting a credential when transferring the credential to the integration runtime. + PublicKey *string `json:"publicKey,omitempty"` + // IsIdentityCertExprired - READ-ONLY; Whether the identity certificate is expired. + IsIdentityCertExprired *bool `json:"isIdentityCertExprired,omitempty"` +} + +// MarshalJSON is the custom marshaler for IntegrationRuntimeConnectionInfo. +func (irci IntegrationRuntimeConnectionInfo) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + for k, v := range irci.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for IntegrationRuntimeConnectionInfo struct. +func (irci *IntegrationRuntimeConnectionInfo) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if irci.AdditionalProperties == nil { + irci.AdditionalProperties = make(map[string]interface{}) + } + irci.AdditionalProperties[k] = additionalProperties + } + case "serviceToken": + if v != nil { + var serviceToken string + err = json.Unmarshal(*v, &serviceToken) + if err != nil { + return err + } + irci.ServiceToken = &serviceToken + } + case "identityCertThumbprint": + if v != nil { + var identityCertThumbprint string + err = json.Unmarshal(*v, &identityCertThumbprint) + if err != nil { + return err + } + irci.IdentityCertThumbprint = &identityCertThumbprint + } + case "hostServiceUri": + if v != nil { + var hostServiceURI string + err = json.Unmarshal(*v, &hostServiceURI) + if err != nil { + return err + } + irci.HostServiceURI = &hostServiceURI + } + case "version": + if v != nil { + var version string + err = json.Unmarshal(*v, &version) + if err != nil { + return err + } + irci.Version = &version + } + case "publicKey": + if v != nil { + var publicKey string + err = json.Unmarshal(*v, &publicKey) + if err != nil { + return err + } + irci.PublicKey = &publicKey + } + case "isIdentityCertExprired": + if v != nil { + var isIdentityCertExprired bool + err = json.Unmarshal(*v, &isIdentityCertExprired) + if err != nil { + return err + } + irci.IsIdentityCertExprired = &isIdentityCertExprired + } + } + } + + return nil +} + +// IntegrationRuntimeCustomSetupScriptProperties custom setup script properties for a managed dedicated +// integration runtime. +type IntegrationRuntimeCustomSetupScriptProperties struct { + // BlobContainerURI - The URI of the Azure blob container that contains the custom setup script. + BlobContainerURI *string `json:"blobContainerUri,omitempty"` + // SasToken - The SAS token of the Azure blob container. + SasToken *SecureString `json:"sasToken,omitempty"` +} + +// IntegrationRuntimeDataProxyProperties data proxy properties for a managed dedicated integration runtime. +type IntegrationRuntimeDataProxyProperties struct { + // ConnectVia - The self-hosted integration runtime reference. + ConnectVia *EntityReference `json:"connectVia,omitempty"` + // StagingLinkedService - The staging linked service reference. + StagingLinkedService *EntityReference `json:"stagingLinkedService,omitempty"` + // Path - The path to contain the staged data in the Blob storage. + Path *string `json:"path,omitempty"` +} + +// IntegrationRuntimeListResponse a list of integration runtime resources. +type IntegrationRuntimeListResponse struct { + autorest.Response `json:"-"` + // Value - List of integration runtimes. + Value *[]IntegrationRuntimeResource `json:"value,omitempty"` + // NextLink - The link to the next page of results, if any remaining results exist. + NextLink *string `json:"nextLink,omitempty"` +} + +// IntegrationRuntimeListResponseIterator provides access to a complete listing of +// IntegrationRuntimeResource values. +type IntegrationRuntimeListResponseIterator struct { + i int + page IntegrationRuntimeListResponsePage +} + +// NextWithContext advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +func (iter *IntegrationRuntimeListResponseIterator) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/IntegrationRuntimeListResponseIterator.NextWithContext") + defer func() { + sc := -1 + if iter.Response().Response.Response != nil { + sc = iter.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + iter.i++ + if iter.i < len(iter.page.Values()) { + return nil + } + err = iter.page.NextWithContext(ctx) + if err != nil { + iter.i-- + return err + } + iter.i = 0 + return nil +} + +// Next advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (iter *IntegrationRuntimeListResponseIterator) Next() error { + return iter.NextWithContext(context.Background()) +} + +// NotDone returns true if the enumeration should be started or is not yet complete. +func (iter IntegrationRuntimeListResponseIterator) NotDone() bool { + return iter.page.NotDone() && iter.i < len(iter.page.Values()) +} + +// Response returns the raw server response from the last page request. +func (iter IntegrationRuntimeListResponseIterator) Response() IntegrationRuntimeListResponse { + return iter.page.Response() +} + +// Value returns the current value or a zero-initialized value if the +// iterator has advanced beyond the end of the collection. +func (iter IntegrationRuntimeListResponseIterator) Value() IntegrationRuntimeResource { + if !iter.page.NotDone() { + return IntegrationRuntimeResource{} + } + return iter.page.Values()[iter.i] +} + +// Creates a new instance of the IntegrationRuntimeListResponseIterator type. +func NewIntegrationRuntimeListResponseIterator(page IntegrationRuntimeListResponsePage) IntegrationRuntimeListResponseIterator { + return IntegrationRuntimeListResponseIterator{page: page} +} + +// IsEmpty returns true if the ListResult contains no values. +func (irlr IntegrationRuntimeListResponse) IsEmpty() bool { + return irlr.Value == nil || len(*irlr.Value) == 0 +} + +// integrationRuntimeListResponsePreparer prepares a request to retrieve the next set of results. +// It returns nil if no more results exist. +func (irlr IntegrationRuntimeListResponse) integrationRuntimeListResponsePreparer(ctx context.Context) (*http.Request, error) { + if irlr.NextLink == nil || len(to.String(irlr.NextLink)) < 1 { + return nil, nil + } + return autorest.Prepare((&http.Request{}).WithContext(ctx), + autorest.AsJSON(), + autorest.AsGet(), + autorest.WithBaseURL(to.String(irlr.NextLink))) +} + +// IntegrationRuntimeListResponsePage contains a page of IntegrationRuntimeResource values. +type IntegrationRuntimeListResponsePage struct { + fn func(context.Context, IntegrationRuntimeListResponse) (IntegrationRuntimeListResponse, error) + irlr IntegrationRuntimeListResponse +} + +// NextWithContext advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +func (page *IntegrationRuntimeListResponsePage) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/IntegrationRuntimeListResponsePage.NextWithContext") + defer func() { + sc := -1 + if page.Response().Response.Response != nil { + sc = page.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + next, err := page.fn(ctx, page.irlr) + if err != nil { + return err + } + page.irlr = next + return nil +} + +// Next advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (page *IntegrationRuntimeListResponsePage) Next() error { + return page.NextWithContext(context.Background()) +} + +// NotDone returns true if the page enumeration should be started or is not yet complete. +func (page IntegrationRuntimeListResponsePage) NotDone() bool { + return !page.irlr.IsEmpty() +} + +// Response returns the raw server response from the last page request. +func (page IntegrationRuntimeListResponsePage) Response() IntegrationRuntimeListResponse { + return page.irlr +} + +// Values returns the slice of values for the current page or nil if there are no values. +func (page IntegrationRuntimeListResponsePage) Values() []IntegrationRuntimeResource { + if page.irlr.IsEmpty() { + return nil + } + return *page.irlr.Value +} + +// Creates a new instance of the IntegrationRuntimeListResponsePage type. +func NewIntegrationRuntimeListResponsePage(getNextPage func(context.Context, IntegrationRuntimeListResponse) (IntegrationRuntimeListResponse, error)) IntegrationRuntimeListResponsePage { + return IntegrationRuntimeListResponsePage{fn: getNextPage} +} + +// IntegrationRuntimeMonitoringData get monitoring data response. +type IntegrationRuntimeMonitoringData struct { + autorest.Response `json:"-"` + // Name - Integration runtime name. + Name *string `json:"name,omitempty"` + // Nodes - Integration runtime node monitoring data. + Nodes *[]IntegrationRuntimeNodeMonitoringData `json:"nodes,omitempty"` +} + +// IntegrationRuntimeNodeIPAddress the IP address of self-hosted integration runtime node. +type IntegrationRuntimeNodeIPAddress struct { + autorest.Response `json:"-"` + // IPAddress - READ-ONLY; The IP address of self-hosted integration runtime node. + IPAddress *string `json:"ipAddress,omitempty"` +} + +// IntegrationRuntimeNodeMonitoringData monitoring data for integration runtime node. +type IntegrationRuntimeNodeMonitoringData struct { + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // NodeName - READ-ONLY; Name of the integration runtime node. + NodeName *string `json:"nodeName,omitempty"` + // AvailableMemoryInMB - READ-ONLY; Available memory (MB) on the integration runtime node. + AvailableMemoryInMB *int32 `json:"availableMemoryInMB,omitempty"` + // CPUUtilization - READ-ONLY; CPU percentage on the integration runtime node. + CPUUtilization *int32 `json:"cpuUtilization,omitempty"` + // ConcurrentJobsLimit - READ-ONLY; Maximum concurrent jobs on the integration runtime node. + ConcurrentJobsLimit *int32 `json:"concurrentJobsLimit,omitempty"` + // ConcurrentJobsRunning - READ-ONLY; The number of jobs currently running on the integration runtime node. + ConcurrentJobsRunning *int32 `json:"concurrentJobsRunning,omitempty"` + // MaxConcurrentJobs - READ-ONLY; The maximum concurrent jobs in this integration runtime. + MaxConcurrentJobs *int32 `json:"maxConcurrentJobs,omitempty"` + // SentBytes - READ-ONLY; Sent bytes on the integration runtime node. + SentBytes *float64 `json:"sentBytes,omitempty"` + // ReceivedBytes - READ-ONLY; Received bytes on the integration runtime node. + ReceivedBytes *float64 `json:"receivedBytes,omitempty"` +} + +// MarshalJSON is the custom marshaler for IntegrationRuntimeNodeMonitoringData. +func (irnmd IntegrationRuntimeNodeMonitoringData) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + for k, v := range irnmd.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for IntegrationRuntimeNodeMonitoringData struct. +func (irnmd *IntegrationRuntimeNodeMonitoringData) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if irnmd.AdditionalProperties == nil { + irnmd.AdditionalProperties = make(map[string]interface{}) + } + irnmd.AdditionalProperties[k] = additionalProperties + } + case "nodeName": + if v != nil { + var nodeName string + err = json.Unmarshal(*v, &nodeName) + if err != nil { + return err + } + irnmd.NodeName = &nodeName + } + case "availableMemoryInMB": + if v != nil { + var availableMemoryInMB int32 + err = json.Unmarshal(*v, &availableMemoryInMB) + if err != nil { + return err + } + irnmd.AvailableMemoryInMB = &availableMemoryInMB + } + case "cpuUtilization": + if v != nil { + var CPUUtilization int32 + err = json.Unmarshal(*v, &CPUUtilization) + if err != nil { + return err + } + irnmd.CPUUtilization = &CPUUtilization + } + case "concurrentJobsLimit": + if v != nil { + var concurrentJobsLimit int32 + err = json.Unmarshal(*v, &concurrentJobsLimit) + if err != nil { + return err + } + irnmd.ConcurrentJobsLimit = &concurrentJobsLimit + } + case "concurrentJobsRunning": + if v != nil { + var concurrentJobsRunning int32 + err = json.Unmarshal(*v, &concurrentJobsRunning) + if err != nil { + return err + } + irnmd.ConcurrentJobsRunning = &concurrentJobsRunning + } + case "maxConcurrentJobs": + if v != nil { + var maxConcurrentJobs int32 + err = json.Unmarshal(*v, &maxConcurrentJobs) + if err != nil { + return err + } + irnmd.MaxConcurrentJobs = &maxConcurrentJobs + } + case "sentBytes": + if v != nil { + var sentBytes float64 + err = json.Unmarshal(*v, &sentBytes) + if err != nil { + return err + } + irnmd.SentBytes = &sentBytes + } + case "receivedBytes": + if v != nil { + var receivedBytes float64 + err = json.Unmarshal(*v, &receivedBytes) + if err != nil { + return err + } + irnmd.ReceivedBytes = &receivedBytes + } + } + } + + return nil +} + +// IntegrationRuntimeObjectMetadataRefreshFuture an abstraction for monitoring and retrieving the results +// of a long-running operation. +type IntegrationRuntimeObjectMetadataRefreshFuture struct { + azure.Future +} + +// Result returns the result of the asynchronous operation. +// If the operation has not completed it will return an error. +func (future *IntegrationRuntimeObjectMetadataRefreshFuture) Result(client IntegrationRuntimeObjectMetadataClient) (somsr SsisObjectMetadataStatusResponse, err error) { + var done bool + done, err = future.DoneWithContext(context.Background(), client) + if err != nil { + err = autorest.NewErrorWithError(err, "datafactory.IntegrationRuntimeObjectMetadataRefreshFuture", "Result", future.Response(), "Polling failure") + return + } + if !done { + err = azure.NewAsyncOpIncompleteError("datafactory.IntegrationRuntimeObjectMetadataRefreshFuture") + return + } + sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) + if somsr.Response.Response, err = future.GetResult(sender); err == nil && somsr.Response.Response.StatusCode != http.StatusNoContent { + somsr, err = client.RefreshResponder(somsr.Response.Response) + if err != nil { + err = autorest.NewErrorWithError(err, "datafactory.IntegrationRuntimeObjectMetadataRefreshFuture", "Result", somsr.Response.Response, "Failure responding to request") + } + } + return +} + +// IntegrationRuntimeReference integration runtime reference type. +type IntegrationRuntimeReference struct { + // Type - Type of integration runtime. + Type *string `json:"type,omitempty"` + // ReferenceName - Reference integration runtime name. + ReferenceName *string `json:"referenceName,omitempty"` + // Parameters - Arguments for integration runtime. + Parameters map[string]interface{} `json:"parameters"` +} + +// MarshalJSON is the custom marshaler for IntegrationRuntimeReference. +func (irr IntegrationRuntimeReference) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if irr.Type != nil { + objectMap["type"] = irr.Type + } + if irr.ReferenceName != nil { + objectMap["referenceName"] = irr.ReferenceName + } + if irr.Parameters != nil { + objectMap["parameters"] = irr.Parameters + } + return json.Marshal(objectMap) +} + +// IntegrationRuntimeRegenerateKeyParameters parameters to regenerate the authentication key. +type IntegrationRuntimeRegenerateKeyParameters struct { + // KeyName - The name of the authentication key to regenerate. Possible values include: 'AuthKey1', 'AuthKey2' + KeyName IntegrationRuntimeAuthKeyName `json:"keyName,omitempty"` +} + +// IntegrationRuntimeResource integration runtime resource type. +type IntegrationRuntimeResource struct { + autorest.Response `json:"-"` + // Properties - Integration runtime properties. + Properties BasicIntegrationRuntime `json:"properties,omitempty"` + // ID - READ-ONLY; The resource identifier. + ID *string `json:"id,omitempty"` + // Name - READ-ONLY; The resource name. + Name *string `json:"name,omitempty"` + // Type - READ-ONLY; The resource type. + Type *string `json:"type,omitempty"` + // Etag - READ-ONLY; Etag identifies change in the resource. + Etag *string `json:"etag,omitempty"` +} + +// UnmarshalJSON is the custom unmarshaler for IntegrationRuntimeResource struct. +func (irr *IntegrationRuntimeResource) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "properties": + if v != nil { + properties, err := unmarshalBasicIntegrationRuntime(*v) + if err != nil { + return err + } + irr.Properties = properties + } + case "id": + if v != nil { + var ID string + err = json.Unmarshal(*v, &ID) + if err != nil { + return err + } + irr.ID = &ID + } + case "name": + if v != nil { + var name string + err = json.Unmarshal(*v, &name) + if err != nil { + return err + } + irr.Name = &name + } + case "type": + if v != nil { + var typeVar string + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + irr.Type = &typeVar + } + case "etag": + if v != nil { + var etag string + err = json.Unmarshal(*v, &etag) + if err != nil { + return err + } + irr.Etag = &etag + } + } + } + + return nil +} + +// IntegrationRuntimeSsisCatalogInfo catalog information for managed dedicated integration runtime. +type IntegrationRuntimeSsisCatalogInfo struct { + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // CatalogServerEndpoint - The catalog database server URL. + CatalogServerEndpoint *string `json:"catalogServerEndpoint,omitempty"` + // CatalogAdminUserName - The administrator user name of catalog database. + CatalogAdminUserName *string `json:"catalogAdminUserName,omitempty"` + // CatalogAdminPassword - The password of the administrator user account of the catalog database. + CatalogAdminPassword *SecureString `json:"catalogAdminPassword,omitempty"` + // CatalogPricingTier - The pricing tier for the catalog database. The valid values could be found in https://azure.microsoft.com/en-us/pricing/details/sql-database/. Possible values include: 'IntegrationRuntimeSsisCatalogPricingTierBasic', 'IntegrationRuntimeSsisCatalogPricingTierStandard', 'IntegrationRuntimeSsisCatalogPricingTierPremium', 'IntegrationRuntimeSsisCatalogPricingTierPremiumRS' + CatalogPricingTier IntegrationRuntimeSsisCatalogPricingTier `json:"catalogPricingTier,omitempty"` +} + +// MarshalJSON is the custom marshaler for IntegrationRuntimeSsisCatalogInfo. +func (irsci IntegrationRuntimeSsisCatalogInfo) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if irsci.CatalogServerEndpoint != nil { + objectMap["catalogServerEndpoint"] = irsci.CatalogServerEndpoint + } + if irsci.CatalogAdminUserName != nil { + objectMap["catalogAdminUserName"] = irsci.CatalogAdminUserName + } + if irsci.CatalogAdminPassword != nil { + objectMap["catalogAdminPassword"] = irsci.CatalogAdminPassword + } + if irsci.CatalogPricingTier != "" { + objectMap["catalogPricingTier"] = irsci.CatalogPricingTier + } + for k, v := range irsci.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for IntegrationRuntimeSsisCatalogInfo struct. +func (irsci *IntegrationRuntimeSsisCatalogInfo) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if irsci.AdditionalProperties == nil { + irsci.AdditionalProperties = make(map[string]interface{}) + } + irsci.AdditionalProperties[k] = additionalProperties + } + case "catalogServerEndpoint": + if v != nil { + var catalogServerEndpoint string + err = json.Unmarshal(*v, &catalogServerEndpoint) + if err != nil { + return err + } + irsci.CatalogServerEndpoint = &catalogServerEndpoint + } + case "catalogAdminUserName": + if v != nil { + var catalogAdminUserName string + err = json.Unmarshal(*v, &catalogAdminUserName) + if err != nil { + return err + } + irsci.CatalogAdminUserName = &catalogAdminUserName + } + case "catalogAdminPassword": + if v != nil { + var catalogAdminPassword SecureString + err = json.Unmarshal(*v, &catalogAdminPassword) + if err != nil { + return err + } + irsci.CatalogAdminPassword = &catalogAdminPassword + } + case "catalogPricingTier": + if v != nil { + var catalogPricingTier IntegrationRuntimeSsisCatalogPricingTier + err = json.Unmarshal(*v, &catalogPricingTier) + if err != nil { + return err + } + irsci.CatalogPricingTier = catalogPricingTier + } + } + } + + return nil +} + +// IntegrationRuntimeSsisProperties SSIS properties for managed integration runtime. +type IntegrationRuntimeSsisProperties struct { + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // CatalogInfo - Catalog information for managed dedicated integration runtime. + CatalogInfo *IntegrationRuntimeSsisCatalogInfo `json:"catalogInfo,omitempty"` + // LicenseType - License type for bringing your own license scenario. Possible values include: 'BasePrice', 'LicenseIncluded' + LicenseType IntegrationRuntimeLicenseType `json:"licenseType,omitempty"` + // CustomSetupScriptProperties - Custom setup script properties for a managed dedicated integration runtime. + CustomSetupScriptProperties *IntegrationRuntimeCustomSetupScriptProperties `json:"customSetupScriptProperties,omitempty"` + // DataProxyProperties - Data proxy properties for a managed dedicated integration runtime. + DataProxyProperties *IntegrationRuntimeDataProxyProperties `json:"dataProxyProperties,omitempty"` + // Edition - The edition for the SSIS Integration Runtime. Possible values include: 'Standard', 'Enterprise' + Edition IntegrationRuntimeEdition `json:"edition,omitempty"` +} + +// MarshalJSON is the custom marshaler for IntegrationRuntimeSsisProperties. +func (irsp IntegrationRuntimeSsisProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if irsp.CatalogInfo != nil { + objectMap["catalogInfo"] = irsp.CatalogInfo + } + if irsp.LicenseType != "" { + objectMap["licenseType"] = irsp.LicenseType + } + if irsp.CustomSetupScriptProperties != nil { + objectMap["customSetupScriptProperties"] = irsp.CustomSetupScriptProperties + } + if irsp.DataProxyProperties != nil { + objectMap["dataProxyProperties"] = irsp.DataProxyProperties + } + if irsp.Edition != "" { + objectMap["edition"] = irsp.Edition + } + for k, v := range irsp.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for IntegrationRuntimeSsisProperties struct. +func (irsp *IntegrationRuntimeSsisProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if irsp.AdditionalProperties == nil { + irsp.AdditionalProperties = make(map[string]interface{}) + } + irsp.AdditionalProperties[k] = additionalProperties + } + case "catalogInfo": + if v != nil { + var catalogInfo IntegrationRuntimeSsisCatalogInfo + err = json.Unmarshal(*v, &catalogInfo) + if err != nil { + return err + } + irsp.CatalogInfo = &catalogInfo + } + case "licenseType": + if v != nil { + var licenseType IntegrationRuntimeLicenseType + err = json.Unmarshal(*v, &licenseType) + if err != nil { + return err + } + irsp.LicenseType = licenseType + } + case "customSetupScriptProperties": + if v != nil { + var customSetupScriptProperties IntegrationRuntimeCustomSetupScriptProperties + err = json.Unmarshal(*v, &customSetupScriptProperties) + if err != nil { + return err + } + irsp.CustomSetupScriptProperties = &customSetupScriptProperties + } + case "dataProxyProperties": + if v != nil { + var dataProxyProperties IntegrationRuntimeDataProxyProperties + err = json.Unmarshal(*v, &dataProxyProperties) + if err != nil { + return err + } + irsp.DataProxyProperties = &dataProxyProperties + } + case "edition": + if v != nil { + var edition IntegrationRuntimeEdition + err = json.Unmarshal(*v, &edition) + if err != nil { + return err + } + irsp.Edition = edition + } + } + } + + return nil +} + +// IntegrationRuntimesStartFuture an abstraction for monitoring and retrieving the results of a +// long-running operation. +type IntegrationRuntimesStartFuture struct { + azure.Future +} + +// Result returns the result of the asynchronous operation. +// If the operation has not completed it will return an error. +func (future *IntegrationRuntimesStartFuture) Result(client IntegrationRuntimesClient) (irsr IntegrationRuntimeStatusResponse, err error) { + var done bool + done, err = future.DoneWithContext(context.Background(), client) + if err != nil { + err = autorest.NewErrorWithError(err, "datafactory.IntegrationRuntimesStartFuture", "Result", future.Response(), "Polling failure") + return + } + if !done { + err = azure.NewAsyncOpIncompleteError("datafactory.IntegrationRuntimesStartFuture") + return + } + sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) + if irsr.Response.Response, err = future.GetResult(sender); err == nil && irsr.Response.Response.StatusCode != http.StatusNoContent { + irsr, err = client.StartResponder(irsr.Response.Response) + if err != nil { + err = autorest.NewErrorWithError(err, "datafactory.IntegrationRuntimesStartFuture", "Result", irsr.Response.Response, "Failure responding to request") + } + } + return +} + +// IntegrationRuntimesStopFuture an abstraction for monitoring and retrieving the results of a long-running +// operation. +type IntegrationRuntimesStopFuture struct { + azure.Future +} + +// Result returns the result of the asynchronous operation. +// If the operation has not completed it will return an error. +func (future *IntegrationRuntimesStopFuture) Result(client IntegrationRuntimesClient) (ar autorest.Response, err error) { + var done bool + done, err = future.DoneWithContext(context.Background(), client) + if err != nil { + err = autorest.NewErrorWithError(err, "datafactory.IntegrationRuntimesStopFuture", "Result", future.Response(), "Polling failure") + return + } + if !done { + err = azure.NewAsyncOpIncompleteError("datafactory.IntegrationRuntimesStopFuture") + return + } + ar.Response = future.Response() + return +} + +// BasicIntegrationRuntimeStatus integration runtime status. +type BasicIntegrationRuntimeStatus interface { + AsSelfHostedIntegrationRuntimeStatus() (*SelfHostedIntegrationRuntimeStatus, bool) + AsManagedIntegrationRuntimeStatus() (*ManagedIntegrationRuntimeStatus, bool) + AsIntegrationRuntimeStatus() (*IntegrationRuntimeStatus, bool) +} + +// IntegrationRuntimeStatus integration runtime status. +type IntegrationRuntimeStatus struct { + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // DataFactoryName - READ-ONLY; The data factory name which the integration runtime belong to. + DataFactoryName *string `json:"dataFactoryName,omitempty"` + // State - READ-ONLY; The state of integration runtime. Possible values include: 'IntegrationRuntimeStateInitial', 'IntegrationRuntimeStateStopped', 'IntegrationRuntimeStateStarted', 'IntegrationRuntimeStateStarting', 'IntegrationRuntimeStateStopping', 'IntegrationRuntimeStateNeedRegistration', 'IntegrationRuntimeStateOnline', 'IntegrationRuntimeStateLimited', 'IntegrationRuntimeStateOffline', 'IntegrationRuntimeStateAccessDenied' + State IntegrationRuntimeState `json:"state,omitempty"` + // Type - Possible values include: 'TypeBasicIntegrationRuntimeStatusTypeIntegrationRuntimeStatus', 'TypeBasicIntegrationRuntimeStatusTypeSelfHosted', 'TypeBasicIntegrationRuntimeStatusTypeManaged' + Type TypeBasicIntegrationRuntimeStatus `json:"type,omitempty"` +} + +func unmarshalBasicIntegrationRuntimeStatus(body []byte) (BasicIntegrationRuntimeStatus, error) { + var m map[string]interface{} + err := json.Unmarshal(body, &m) + if err != nil { + return nil, err + } + + switch m["type"] { + case string(TypeBasicIntegrationRuntimeStatusTypeSelfHosted): + var shirs SelfHostedIntegrationRuntimeStatus + err := json.Unmarshal(body, &shirs) + return shirs, err + case string(TypeBasicIntegrationRuntimeStatusTypeManaged): + var mirs ManagedIntegrationRuntimeStatus + err := json.Unmarshal(body, &mirs) + return mirs, err + default: + var irs IntegrationRuntimeStatus + err := json.Unmarshal(body, &irs) + return irs, err + } +} +func unmarshalBasicIntegrationRuntimeStatusArray(body []byte) ([]BasicIntegrationRuntimeStatus, error) { + var rawMessages []*json.RawMessage + err := json.Unmarshal(body, &rawMessages) + if err != nil { + return nil, err + } + + irsArray := make([]BasicIntegrationRuntimeStatus, len(rawMessages)) + + for index, rawMessage := range rawMessages { + irs, err := unmarshalBasicIntegrationRuntimeStatus(*rawMessage) + if err != nil { + return nil, err + } + irsArray[index] = irs + } + return irsArray, nil +} + +// MarshalJSON is the custom marshaler for IntegrationRuntimeStatus. +func (irs IntegrationRuntimeStatus) MarshalJSON() ([]byte, error) { + irs.Type = TypeBasicIntegrationRuntimeStatusTypeIntegrationRuntimeStatus + objectMap := make(map[string]interface{}) + if irs.Type != "" { + objectMap["type"] = irs.Type + } + for k, v := range irs.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsSelfHostedIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for IntegrationRuntimeStatus. +func (irs IntegrationRuntimeStatus) AsSelfHostedIntegrationRuntimeStatus() (*SelfHostedIntegrationRuntimeStatus, bool) { + return nil, false +} + +// AsManagedIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for IntegrationRuntimeStatus. +func (irs IntegrationRuntimeStatus) AsManagedIntegrationRuntimeStatus() (*ManagedIntegrationRuntimeStatus, bool) { + return nil, false +} + +// AsIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for IntegrationRuntimeStatus. +func (irs IntegrationRuntimeStatus) AsIntegrationRuntimeStatus() (*IntegrationRuntimeStatus, bool) { + return &irs, true +} + +// AsBasicIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for IntegrationRuntimeStatus. +func (irs IntegrationRuntimeStatus) AsBasicIntegrationRuntimeStatus() (BasicIntegrationRuntimeStatus, bool) { + return &irs, true +} + +// UnmarshalJSON is the custom unmarshaler for IntegrationRuntimeStatus struct. +func (irs *IntegrationRuntimeStatus) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if irs.AdditionalProperties == nil { + irs.AdditionalProperties = make(map[string]interface{}) + } + irs.AdditionalProperties[k] = additionalProperties + } + case "dataFactoryName": + if v != nil { + var dataFactoryName string + err = json.Unmarshal(*v, &dataFactoryName) + if err != nil { + return err + } + irs.DataFactoryName = &dataFactoryName + } + case "state": + if v != nil { + var state IntegrationRuntimeState + err = json.Unmarshal(*v, &state) + if err != nil { + return err + } + irs.State = state + } + case "type": + if v != nil { + var typeVar TypeBasicIntegrationRuntimeStatus + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + irs.Type = typeVar + } + } + } + + return nil +} + +// IntegrationRuntimeStatusListResponse a list of integration runtime status. +type IntegrationRuntimeStatusListResponse struct { + // Value - List of integration runtime status. + Value *[]IntegrationRuntimeStatusResponse `json:"value,omitempty"` + // NextLink - The link to the next page of results, if any remaining results exist. + NextLink *string `json:"nextLink,omitempty"` +} + +// IntegrationRuntimeStatusResponse integration runtime status response. +type IntegrationRuntimeStatusResponse struct { + autorest.Response `json:"-"` + // Name - READ-ONLY; The integration runtime name. + Name *string `json:"name,omitempty"` + // Properties - Integration runtime properties. + Properties BasicIntegrationRuntimeStatus `json:"properties,omitempty"` +} + +// UnmarshalJSON is the custom unmarshaler for IntegrationRuntimeStatusResponse struct. +func (irsr *IntegrationRuntimeStatusResponse) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "name": + if v != nil { + var name string + err = json.Unmarshal(*v, &name) + if err != nil { + return err + } + irsr.Name = &name + } + case "properties": + if v != nil { + properties, err := unmarshalBasicIntegrationRuntimeStatus(*v) + if err != nil { + return err + } + irsr.Properties = properties + } + } + } + + return nil +} + +// IntegrationRuntimeVNetProperties vNet properties for managed integration runtime. +type IntegrationRuntimeVNetProperties struct { + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // VNetID - The ID of the VNet that this integration runtime will join. + VNetID *string `json:"vNetId,omitempty"` + // Subnet - The name of the subnet this integration runtime will join. + Subnet *string `json:"subnet,omitempty"` +} + +// MarshalJSON is the custom marshaler for IntegrationRuntimeVNetProperties. +func (irvnp IntegrationRuntimeVNetProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if irvnp.VNetID != nil { + objectMap["vNetId"] = irvnp.VNetID + } + if irvnp.Subnet != nil { + objectMap["subnet"] = irvnp.Subnet + } + for k, v := range irvnp.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for IntegrationRuntimeVNetProperties struct. +func (irvnp *IntegrationRuntimeVNetProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if irvnp.AdditionalProperties == nil { + irvnp.AdditionalProperties = make(map[string]interface{}) + } + irvnp.AdditionalProperties[k] = additionalProperties + } + case "vNetId": + if v != nil { + var vNetID string + err = json.Unmarshal(*v, &vNetID) + if err != nil { + return err + } + irvnp.VNetID = &vNetID + } + case "subnet": + if v != nil { + var subnet string + err = json.Unmarshal(*v, &subnet) + if err != nil { + return err + } + irvnp.Subnet = &subnet + } + } + } + + return nil +} + +// JiraLinkedService jira Service linked service. +type JiraLinkedService struct { + // JiraLinkedServiceTypeProperties - Jira Service linked service properties. + *JiraLinkedServiceTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. + Description *string `json:"description,omitempty"` + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the linked service. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for JiraLinkedService. +func (jls JiraLinkedService) MarshalJSON() ([]byte, error) { + jls.Type = TypeJira + objectMap := make(map[string]interface{}) + if jls.JiraLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = jls.JiraLinkedServiceTypeProperties + } + if jls.ConnectVia != nil { + objectMap["connectVia"] = jls.ConnectVia + } + if jls.Description != nil { + objectMap["description"] = jls.Description + } + if jls.Parameters != nil { + objectMap["parameters"] = jls.Parameters + } + if jls.Annotations != nil { + objectMap["annotations"] = jls.Annotations + } + if jls.Type != "" { + objectMap["type"] = jls.Type + } + for k, v := range jls.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { + return nil, false +} + +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { + return nil, false +} + +// AsSapTableLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { + return nil, false +} + +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { + return nil, false +} + +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { + return nil, false +} + +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { + return nil, false +} + +// AsResponsysLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { + return nil, false +} + +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { + return nil, false +} + +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { + return nil, false +} + +// AsNetezzaLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + +// AsZohoLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { + return nil, false +} + +// AsXeroLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { + return nil, false +} + +// AsSquareLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { + return nil, false +} + +// AsSparkLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { + return nil, false +} + +// AsShopifyLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { + return nil, false +} + +// AsServiceNowLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { + return nil, false +} + +// AsQuickBooksLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { + return nil, false +} + +// AsPrestoLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { + return nil, false +} + +// AsPhoenixLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { + return nil, false +} + +// AsPaypalLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { + return nil, false +} + +// AsMarketoLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { + return nil, false +} + +// AsMariaDBLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { + return nil, false +} + +// AsMagentoLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { + return nil, false +} + +// AsJiraLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { + return &jls, true +} + +// AsImpalaLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { + return nil, false +} + +// AsHubspotLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { + return nil, false +} + +// AsHiveLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { + return nil, false +} + +// AsHBaseLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { + return nil, false +} + +// AsGreenplumLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { + return nil, false +} + +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { + return nil, false +} + +// AsEloquaLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { + return nil, false +} + +// AsDrillLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { + return nil, false +} + +// AsCouchbaseLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { + return nil, false +} + +// AsConcurLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { + return nil, false +} + +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { + return nil, false +} + +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { + return nil, false +} + +// AsSapHanaLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { + return nil, false +} + +// AsSapBWLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { + return nil, false +} + +// AsSftpServerLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { + return nil, false +} + +// AsFtpServerLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { + return nil, false +} + +// AsHTTPLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { + return nil, false +} + +// AsAzureSearchLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { + return nil, false +} + +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { + return nil, false +} + +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { + return nil, false +} + +// AsAmazonS3LinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { + return nil, false +} + +// AsRestServiceLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { + return nil, false +} + +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { + return nil, false +} + +// AsSapEccLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { + return nil, false +} + +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { + return nil, false +} + +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + +// AsSalesforceLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { + return nil, false +} + +// AsOffice365LinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { + return nil, false +} + +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { + return nil, false +} + +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { + return nil, false +} + +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { + return nil, false +} + +// AsMongoDbLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { + return nil, false +} + +// AsCassandraLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { + return nil, false +} + +// AsWebLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { + return nil, false +} + +// AsODataLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { + return nil, false +} + +// AsHdfsLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { + return nil, false +} + +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + +// AsOdbcLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { + return nil, false +} + +// AsAzureMLLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { + return nil, false +} + +// AsTeradataLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { + return nil, false +} + +// AsDb2LinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return nil, false +} + +// AsSybaseLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { + return nil, false +} + +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { + return nil, false +} + +// AsMySQLLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { + return nil, false +} + +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { + return nil, false +} + +// AsOracleLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { + return nil, false +} + +// AsFileServerLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { + return nil, false +} + +// AsHDInsightLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + +// AsDynamicsLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false +} + +// AsCosmosDbLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false +} + +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false +} + +// AsAzureBatchLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} + +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &jls, true +} + +// UnmarshalJSON is the custom unmarshaler for JiraLinkedService struct. +func (jls *JiraLinkedService) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "typeProperties": + if v != nil { + var jiraLinkedServiceTypeProperties JiraLinkedServiceTypeProperties + err = json.Unmarshal(*v, &jiraLinkedServiceTypeProperties) + if err != nil { + return err + } + jls.JiraLinkedServiceTypeProperties = &jiraLinkedServiceTypeProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if jls.AdditionalProperties == nil { + jls.AdditionalProperties = make(map[string]interface{}) + } + jls.AdditionalProperties[k] = additionalProperties + } + case "connectVia": + if v != nil { + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) + if err != nil { + return err + } + jls.ConnectVia = &connectVia + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + jls.Description = &description + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + jls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + jls.Annotations = &annotations + } + case "type": + if v != nil { + var typeVar TypeBasicLinkedService + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + jls.Type = typeVar + } + } + } + + return nil +} + +// JiraLinkedServiceTypeProperties jira Service linked service properties. +type JiraLinkedServiceTypeProperties struct { + // Host - The IP address or host name of the Jira service. (e.g. jira.example.com) + Host interface{} `json:"host,omitempty"` + // Port - The TCP port that the Jira server uses to listen for client connections. The default value is 443 if connecting through HTTPS, or 8080 if connecting through HTTP. + Port interface{} `json:"port,omitempty"` + // Username - The user name that you use to access Jira Service. + Username interface{} `json:"username,omitempty"` + // Password - The password corresponding to the user name that you provided in the username field. + Password BasicSecretBase `json:"password,omitempty"` + // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. + UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"` + // UseHostVerification - 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. + UseHostVerification interface{} `json:"useHostVerification,omitempty"` + // UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. + UsePeerVerification interface{} `json:"usePeerVerification,omitempty"` + // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` +} + +// UnmarshalJSON is the custom unmarshaler for JiraLinkedServiceTypeProperties struct. +func (jlstp *JiraLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "host": + if v != nil { + var host interface{} + err = json.Unmarshal(*v, &host) + if err != nil { + return err + } + jlstp.Host = host + } + case "port": + if v != nil { + var port interface{} + err = json.Unmarshal(*v, &port) + if err != nil { + return err + } + jlstp.Port = port + } + case "username": + if v != nil { + var username interface{} + err = json.Unmarshal(*v, &username) + if err != nil { + return err + } + jlstp.Username = username + } + case "password": + if v != nil { + password, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + jlstp.Password = password + } + case "useEncryptedEndpoints": + if v != nil { + var useEncryptedEndpoints interface{} + err = json.Unmarshal(*v, &useEncryptedEndpoints) + if err != nil { + return err + } + jlstp.UseEncryptedEndpoints = useEncryptedEndpoints + } + case "useHostVerification": + if v != nil { + var useHostVerification interface{} + err = json.Unmarshal(*v, &useHostVerification) + if err != nil { + return err + } + jlstp.UseHostVerification = useHostVerification + } + case "usePeerVerification": + if v != nil { + var usePeerVerification interface{} + err = json.Unmarshal(*v, &usePeerVerification) + if err != nil { + return err + } + jlstp.UsePeerVerification = usePeerVerification + } + case "encryptedCredential": + if v != nil { + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) + if err != nil { + return err + } + jlstp.EncryptedCredential = encryptedCredential + } + } + } + + return nil +} + +// JiraObjectDataset jira Service dataset. +type JiraObjectDataset struct { + // GenericDatasetTypeProperties - Properties specific to this dataset type. + *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Description - Dataset description. + Description *string `json:"description,omitempty"` + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for JiraObjectDataset. +func (jod JiraObjectDataset) MarshalJSON() ([]byte, error) { + jod.Type = TypeJiraObject + objectMap := make(map[string]interface{}) + if jod.GenericDatasetTypeProperties != nil { + objectMap["typeProperties"] = jod.GenericDatasetTypeProperties + } + if jod.Description != nil { + objectMap["description"] = jod.Description + } + if jod.Structure != nil { + objectMap["structure"] = jod.Structure + } + if jod.Schema != nil { + objectMap["schema"] = jod.Schema + } + if jod.LinkedServiceName != nil { + objectMap["linkedServiceName"] = jod.LinkedServiceName + } + if jod.Parameters != nil { + objectMap["parameters"] = jod.Parameters + } + if jod.Annotations != nil { + objectMap["annotations"] = jod.Annotations + } + if jod.Folder != nil { + objectMap["folder"] = jod.Folder + } + if jod.Type != "" { + objectMap["type"] = jod.Type + } + for k, v := range jod.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { + return nil, false +} + +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { + return nil, false +} + +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { + return nil, false +} + +// AsDynamicsAXResourceDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { + return nil, false +} + +// AsResponsysObjectDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { + return nil, false +} + +// AsVerticaTableDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false +} + +// AsNetezzaTableDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false +} + +// AsZohoObjectDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { + return nil, false +} + +// AsXeroObjectDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { + return nil, false +} + +// AsSquareObjectDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { + return nil, false +} + +// AsSparkObjectDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { + return nil, false +} + +// AsShopifyObjectDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { + return nil, false +} + +// AsServiceNowObjectDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { + return nil, false +} + +// AsQuickBooksObjectDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { + return nil, false +} + +// AsPrestoObjectDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { + return nil, false +} + +// AsPhoenixObjectDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { + return nil, false +} + +// AsPaypalObjectDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { + return nil, false +} + +// AsMarketoObjectDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { + return nil, false +} + +// AsMariaDBTableDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { + return nil, false +} + +// AsMagentoObjectDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { + return nil, false +} + +// AsJiraObjectDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { + return &jod, true +} + +// AsImpalaObjectDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { + return nil, false +} + +// AsHubspotObjectDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { + return nil, false +} + +// AsHiveObjectDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { + return nil, false +} + +// AsHBaseObjectDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { + return nil, false +} + +// AsGreenplumTableDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { + return nil, false +} + +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { + return nil, false +} + +// AsEloquaObjectDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { + return nil, false +} + +// AsDrillTableDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { + return nil, false +} + +// AsCouchbaseTableDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { + return nil, false +} + +// AsConcurObjectDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { + return nil, false +} + +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { + return nil, false +} + +// AsAmazonMWSObjectDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { + return nil, false +} + +// AsHTTPDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { + return nil, false +} + +// AsAzureSearchIndexDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { + return nil, false +} + +// AsWebTableDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { + return nil, false +} + +// AsSapTableResourceDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { + return nil, false +} + +// AsRestResourceDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { + return nil, false +} + +// AsSQLServerTableDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { + return nil, false +} + +// AsSapOpenHubTableDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { + return nil, false +} + +// AsSapHanaTableDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { + return nil, false +} + +// AsSapEccResourceDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { + return nil, false +} + +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { + return nil, false +} + +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { + return nil, false +} + +// AsSalesforceObjectDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { + return nil, false +} + +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { + return nil, false +} + +// AsPostgreSQLTableDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { + return nil, false +} + +// AsMySQLTableDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { + return nil, false +} + +// AsOdbcTableDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { + return nil, false +} + +// AsInformixTableDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { + return nil, false +} + +// AsRelationalTableDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { + return nil, false +} + +// AsAzureMySQLTableDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { + return nil, false +} + +// AsTeradataTableDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { + return nil, false +} + +// AsOracleTableDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { + return nil, false +} + +// AsODataResourceDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { + return nil, false +} + +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { + return nil, false +} + +// AsMongoDbCollectionDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { + return nil, false +} + +// AsFileShareDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { + return nil, false +} + +// AsOffice365Dataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { + return nil, false +} + +// AsAzureBlobFSDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { + return nil, false +} + +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { + return nil, false +} + +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { + return nil, false +} + +// AsDynamicsEntityDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { + return nil, false +} + +// AsDocumentDbCollectionDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { + return nil, false +} + +// AsCustomDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsCustomDataset() (*CustomDataset, bool) { + return nil, false +} + +// AsCassandraTableDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { + return nil, false +} + +// AsAzureSQLDWTableDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { + return nil, false +} + +// AsAzureSQLMITableDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + +// AsAzureSQLTableDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { + return nil, false +} + +// AsAzureTableDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { + return nil, false +} + +// AsAzureBlobDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { + return nil, false +} + +// AsBinaryDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + +// AsDelimitedTextDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { + return nil, false +} + +// AsParquetDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsBasicDataset() (BasicDataset, bool) { + return &jod, true +} + +// UnmarshalJSON is the custom unmarshaler for JiraObjectDataset struct. +func (jod *JiraObjectDataset) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "typeProperties": + if v != nil { + var genericDatasetTypeProperties GenericDatasetTypeProperties + err = json.Unmarshal(*v, &genericDatasetTypeProperties) + if err != nil { + return err + } + jod.GenericDatasetTypeProperties = &genericDatasetTypeProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if jod.AdditionalProperties == nil { + jod.AdditionalProperties = make(map[string]interface{}) + } + jod.AdditionalProperties[k] = additionalProperties + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + jod.Description = &description + } + case "structure": + if v != nil { + var structure interface{} + err = json.Unmarshal(*v, &structure) + if err != nil { + return err + } + jod.Structure = structure + } + case "schema": + if v != nil { + var schema interface{} + err = json.Unmarshal(*v, &schema) + if err != nil { + return err + } + jod.Schema = schema + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + jod.LinkedServiceName = &linkedServiceName + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + jod.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + jod.Annotations = &annotations + } + case "folder": + if v != nil { + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) + if err != nil { + return err + } + jod.Folder = &folder + } + case "type": + if v != nil { + var typeVar TypeBasicDataset + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + jod.Type = typeVar + } + } + } + + return nil +} + +// JiraSource a copy activity Jira Service source. +type JiraSource struct { + // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). + Query interface{} `json:"query,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + Type TypeBasicCopySource `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for JiraSource. +func (js JiraSource) MarshalJSON() ([]byte, error) { + js.Type = TypeJiraSource + objectMap := make(map[string]interface{}) + if js.Query != nil { + objectMap["query"] = js.Query + } + if js.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = js.SourceRetryCount + } + if js.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = js.SourceRetryWait + } + if js.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = js.MaxConcurrentConnections + } + if js.Type != "" { + objectMap["type"] = js.Type + } + for k, v := range js.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAmazonRedshiftSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { + return nil, false +} + +// AsGoogleAdWordsSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { + return nil, false +} + +// AsOracleServiceCloudSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { + return nil, false +} + +// AsDynamicsAXSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { + return nil, false +} + +// AsResponsysSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsResponsysSource() (*ResponsysSource, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { + return nil, false +} + +// AsVerticaSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false +} + +// AsNetezzaSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false +} + +// AsZohoSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsZohoSource() (*ZohoSource, bool) { + return nil, false +} + +// AsXeroSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsXeroSource() (*XeroSource, bool) { + return nil, false +} + +// AsSquareSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsSquareSource() (*SquareSource, bool) { + return nil, false +} + +// AsSparkSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsSparkSource() (*SparkSource, bool) { + return nil, false +} + +// AsShopifySource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsShopifySource() (*ShopifySource, bool) { + return nil, false +} + +// AsServiceNowSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsServiceNowSource() (*ServiceNowSource, bool) { + return nil, false +} + +// AsQuickBooksSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsQuickBooksSource() (*QuickBooksSource, bool) { + return nil, false +} + +// AsPrestoSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsPrestoSource() (*PrestoSource, bool) { + return nil, false +} + +// AsPhoenixSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsPhoenixSource() (*PhoenixSource, bool) { + return nil, false +} + +// AsPaypalSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsPaypalSource() (*PaypalSource, bool) { + return nil, false +} + +// AsMarketoSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsMarketoSource() (*MarketoSource, bool) { + return nil, false +} + +// AsMariaDBSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsMariaDBSource() (*MariaDBSource, bool) { + return nil, false +} + +// AsMagentoSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsMagentoSource() (*MagentoSource, bool) { + return nil, false +} + +// AsJiraSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsJiraSource() (*JiraSource, bool) { + return &js, true +} + +// AsImpalaSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsImpalaSource() (*ImpalaSource, bool) { + return nil, false +} + +// AsHubspotSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsHubspotSource() (*HubspotSource, bool) { + return nil, false +} + +// AsHiveSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsHiveSource() (*HiveSource, bool) { + return nil, false +} + +// AsHBaseSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsHBaseSource() (*HBaseSource, bool) { + return nil, false +} + +// AsGreenplumSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsGreenplumSource() (*GreenplumSource, bool) { + return nil, false +} + +// AsGoogleBigQuerySource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { + return nil, false +} + +// AsEloquaSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsEloquaSource() (*EloquaSource, bool) { + return nil, false +} + +// AsDrillSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsDrillSource() (*DrillSource, bool) { + return nil, false +} + +// AsCouchbaseSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsCouchbaseSource() (*CouchbaseSource, bool) { + return nil, false +} + +// AsConcurSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsConcurSource() (*ConcurSource, bool) { + return nil, false +} + +// AsAzurePostgreSQLSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { + return nil, false +} + +// AsAmazonMWSSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { + return nil, false +} + +// AsHTTPSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsCassandraSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsCassandraSource() (*CassandraSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsTeradataSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsAzureMySQLSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsSQLDWSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsSQLDWSource() (*SQLDWSource, bool) { + return nil, false +} + +// AsSQLMISource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsSQLMISource() (*SQLMISource, bool) { + return nil, false +} + +// AsAzureSQLSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsAzureSQLSource() (*AzureSQLSource, bool) { + return nil, false +} + +// AsSQLServerSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsSQLServerSource() (*SQLServerSource, bool) { + return nil, false +} + +// AsSQLSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsSQLSource() (*SQLSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSapTableSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsSapTableSource() (*SapTableSource, bool) { + return nil, false +} + +// AsSapOpenHubSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { + return nil, false +} + +// AsSapHanaSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsSapHanaSource() (*SapHanaSource, bool) { + return nil, false +} + +// AsSapEccSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsSapEccSource() (*SapEccSource, bool) { + return nil, false +} + +// AsSapCloudForCustomerSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsSalesforceSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsSalesforceSource() (*SalesforceSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsSybaseSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsSybaseSource() (*SybaseSource, bool) { + return nil, false +} + +// AsPostgreSQLSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false +} + +// AsMySQLSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false +} + +// AsOdbcSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false +} + +// AsDb2Source is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsDb2Source() (*Db2Source, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + +// AsRelationalSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + +// AsDynamicsSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + +// AsAzureTableSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsBinarySource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsDelimitedTextSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false +} + +// AsParquetSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsBasicCopySource() (BasicCopySource, bool) { + return &js, true +} + +// UnmarshalJSON is the custom unmarshaler for JiraSource struct. +func (js *JiraSource) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "query": + if v != nil { + var query interface{} + err = json.Unmarshal(*v, &query) + if err != nil { + return err + } + js.Query = query + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if js.AdditionalProperties == nil { + js.AdditionalProperties = make(map[string]interface{}) + } + js.AdditionalProperties[k] = additionalProperties + } + case "sourceRetryCount": + if v != nil { + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) + if err != nil { + return err + } + js.SourceRetryCount = sourceRetryCount + } + case "sourceRetryWait": + if v != nil { + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) + if err != nil { + return err + } + js.SourceRetryWait = sourceRetryWait + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + js.MaxConcurrentConnections = maxConcurrentConnections + } + case "type": + if v != nil { + var typeVar TypeBasicCopySource + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + js.Type = typeVar + } + } + } + + return nil +} + +// JSONFormat the data stored in JSON format. +type JSONFormat struct { + // FilePattern - File pattern of JSON. To be more specific, the way of separating a collection of JSON objects. The default value is 'setOfObjects'. It is case-sensitive. + FilePattern interface{} `json:"filePattern,omitempty"` + // NestingSeparator - The character used to separate nesting levels. Default value is '.' (dot). Type: string (or Expression with resultType string). + NestingSeparator interface{} `json:"nestingSeparator,omitempty"` + // EncodingName - 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). + EncodingName interface{} `json:"encodingName,omitempty"` + // JSONNodeReference - The JSONPath of the JSON array element to be flattened. Example: "$.ArrayPath". Type: string (or Expression with resultType string). + JSONNodeReference interface{} `json:"jsonNodeReference,omitempty"` + // JSONPathDefinition - 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). + JSONPathDefinition interface{} `json:"jsonPathDefinition,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Serializer - Serializer. Type: string (or Expression with resultType string). + Serializer interface{} `json:"serializer,omitempty"` + // Deserializer - Deserializer. Type: string (or Expression with resultType string). + Deserializer interface{} `json:"deserializer,omitempty"` + // Type - Possible values include: 'TypeDatasetStorageFormat', 'TypeParquetFormat', 'TypeOrcFormat', 'TypeAvroFormat', 'TypeJSONFormat', 'TypeTextFormat' + Type TypeBasicDatasetStorageFormat `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for JSONFormat. +func (jf JSONFormat) MarshalJSON() ([]byte, error) { + jf.Type = TypeJSONFormat + objectMap := make(map[string]interface{}) + if jf.FilePattern != nil { + objectMap["filePattern"] = jf.FilePattern + } + if jf.NestingSeparator != nil { + objectMap["nestingSeparator"] = jf.NestingSeparator + } + if jf.EncodingName != nil { + objectMap["encodingName"] = jf.EncodingName + } + if jf.JSONNodeReference != nil { + objectMap["jsonNodeReference"] = jf.JSONNodeReference + } + if jf.JSONPathDefinition != nil { + objectMap["jsonPathDefinition"] = jf.JSONPathDefinition + } + if jf.Serializer != nil { + objectMap["serializer"] = jf.Serializer + } + if jf.Deserializer != nil { + objectMap["deserializer"] = jf.Deserializer + } + if jf.Type != "" { + objectMap["type"] = jf.Type + } + for k, v := range jf.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsParquetFormat is the BasicDatasetStorageFormat implementation for JSONFormat. +func (jf JSONFormat) AsParquetFormat() (*ParquetFormat, bool) { + return nil, false +} + +// AsOrcFormat is the BasicDatasetStorageFormat implementation for JSONFormat. +func (jf JSONFormat) AsOrcFormat() (*OrcFormat, bool) { + return nil, false +} + +// AsAvroFormat is the BasicDatasetStorageFormat implementation for JSONFormat. +func (jf JSONFormat) AsAvroFormat() (*AvroFormat, bool) { + return nil, false +} + +// AsJSONFormat is the BasicDatasetStorageFormat implementation for JSONFormat. +func (jf JSONFormat) AsJSONFormat() (*JSONFormat, bool) { + return &jf, true +} + +// AsTextFormat is the BasicDatasetStorageFormat implementation for JSONFormat. +func (jf JSONFormat) AsTextFormat() (*TextFormat, bool) { + return nil, false +} + +// AsDatasetStorageFormat is the BasicDatasetStorageFormat implementation for JSONFormat. +func (jf JSONFormat) AsDatasetStorageFormat() (*DatasetStorageFormat, bool) { + return nil, false +} + +// AsBasicDatasetStorageFormat is the BasicDatasetStorageFormat implementation for JSONFormat. +func (jf JSONFormat) AsBasicDatasetStorageFormat() (BasicDatasetStorageFormat, bool) { + return &jf, true +} + +// UnmarshalJSON is the custom unmarshaler for JSONFormat struct. +func (jf *JSONFormat) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "filePattern": + if v != nil { + var filePattern interface{} + err = json.Unmarshal(*v, &filePattern) + if err != nil { + return err + } + jf.FilePattern = filePattern + } + case "nestingSeparator": + if v != nil { + var nestingSeparator interface{} + err = json.Unmarshal(*v, &nestingSeparator) + if err != nil { + return err + } + jf.NestingSeparator = nestingSeparator + } + case "encodingName": + if v != nil { + var encodingName interface{} + err = json.Unmarshal(*v, &encodingName) + if err != nil { + return err + } + jf.EncodingName = encodingName + } + case "jsonNodeReference": + if v != nil { + var JSONNodeReference interface{} + err = json.Unmarshal(*v, &JSONNodeReference) + if err != nil { + return err + } + jf.JSONNodeReference = JSONNodeReference + } + case "jsonPathDefinition": + if v != nil { + var JSONPathDefinition interface{} + err = json.Unmarshal(*v, &JSONPathDefinition) + if err != nil { + return err + } + jf.JSONPathDefinition = JSONPathDefinition + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if jf.AdditionalProperties == nil { + jf.AdditionalProperties = make(map[string]interface{}) + } + jf.AdditionalProperties[k] = additionalProperties + } + case "serializer": + if v != nil { + var serializer interface{} + err = json.Unmarshal(*v, &serializer) + if err != nil { + return err + } + jf.Serializer = serializer + } + case "deserializer": + if v != nil { + var deserializer interface{} + err = json.Unmarshal(*v, &deserializer) + if err != nil { + return err + } + jf.Deserializer = deserializer + } + case "type": + if v != nil { + var typeVar TypeBasicDatasetStorageFormat + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + jf.Type = typeVar + } + } + } + + return nil +} + +// LinkedIntegrationRuntime the linked integration runtime information. +type LinkedIntegrationRuntime struct { + // Name - READ-ONLY; The name of the linked integration runtime. + Name *string `json:"name,omitempty"` + // SubscriptionID - READ-ONLY; The subscription ID for which the linked integration runtime belong to. + SubscriptionID *string `json:"subscriptionId,omitempty"` + // DataFactoryName - READ-ONLY; The name of the data factory for which the linked integration runtime belong to. + DataFactoryName *string `json:"dataFactoryName,omitempty"` + // DataFactoryLocation - READ-ONLY; The location of the data factory for which the linked integration runtime belong to. + DataFactoryLocation *string `json:"dataFactoryLocation,omitempty"` + // CreateTime - READ-ONLY; The creating time of the linked integration runtime. + CreateTime *date.Time `json:"createTime,omitempty"` +} + +// LinkedIntegrationRuntimeKeyAuthorization the key authorization type integration runtime. +type LinkedIntegrationRuntimeKeyAuthorization struct { + // Key - The key used for authorization. + Key *SecureString `json:"key,omitempty"` + // AuthorizationType - Possible values include: 'AuthorizationTypeLinkedIntegrationRuntimeType', 'AuthorizationTypeRBAC', 'AuthorizationTypeKey' + AuthorizationType AuthorizationType `json:"authorizationType,omitempty"` +} + +// MarshalJSON is the custom marshaler for LinkedIntegrationRuntimeKeyAuthorization. +func (lirka LinkedIntegrationRuntimeKeyAuthorization) MarshalJSON() ([]byte, error) { + lirka.AuthorizationType = AuthorizationTypeKey + objectMap := make(map[string]interface{}) + if lirka.Key != nil { + objectMap["key"] = lirka.Key + } + if lirka.AuthorizationType != "" { + objectMap["authorizationType"] = lirka.AuthorizationType + } + return json.Marshal(objectMap) +} + +// AsLinkedIntegrationRuntimeRbacAuthorization is the BasicLinkedIntegrationRuntimeType implementation for LinkedIntegrationRuntimeKeyAuthorization. +func (lirka LinkedIntegrationRuntimeKeyAuthorization) AsLinkedIntegrationRuntimeRbacAuthorization() (*LinkedIntegrationRuntimeRbacAuthorization, bool) { + return nil, false +} + +// AsLinkedIntegrationRuntimeKeyAuthorization is the BasicLinkedIntegrationRuntimeType implementation for LinkedIntegrationRuntimeKeyAuthorization. +func (lirka LinkedIntegrationRuntimeKeyAuthorization) AsLinkedIntegrationRuntimeKeyAuthorization() (*LinkedIntegrationRuntimeKeyAuthorization, bool) { + return &lirka, true +} + +// AsLinkedIntegrationRuntimeType is the BasicLinkedIntegrationRuntimeType implementation for LinkedIntegrationRuntimeKeyAuthorization. +func (lirka LinkedIntegrationRuntimeKeyAuthorization) AsLinkedIntegrationRuntimeType() (*LinkedIntegrationRuntimeType, bool) { + return nil, false +} + +// AsBasicLinkedIntegrationRuntimeType is the BasicLinkedIntegrationRuntimeType implementation for LinkedIntegrationRuntimeKeyAuthorization. +func (lirka LinkedIntegrationRuntimeKeyAuthorization) AsBasicLinkedIntegrationRuntimeType() (BasicLinkedIntegrationRuntimeType, bool) { + return &lirka, true +} + +// LinkedIntegrationRuntimeRbacAuthorization the role based access control (RBAC) authorization type +// integration runtime. +type LinkedIntegrationRuntimeRbacAuthorization struct { + // ResourceID - The resource identifier of the integration runtime to be shared. + ResourceID *string `json:"resourceId,omitempty"` + // AuthorizationType - Possible values include: 'AuthorizationTypeLinkedIntegrationRuntimeType', 'AuthorizationTypeRBAC', 'AuthorizationTypeKey' + AuthorizationType AuthorizationType `json:"authorizationType,omitempty"` +} + +// MarshalJSON is the custom marshaler for LinkedIntegrationRuntimeRbacAuthorization. +func (lirra LinkedIntegrationRuntimeRbacAuthorization) MarshalJSON() ([]byte, error) { + lirra.AuthorizationType = AuthorizationTypeRBAC + objectMap := make(map[string]interface{}) + if lirra.ResourceID != nil { + objectMap["resourceId"] = lirra.ResourceID + } + if lirra.AuthorizationType != "" { + objectMap["authorizationType"] = lirra.AuthorizationType + } + return json.Marshal(objectMap) +} + +// AsLinkedIntegrationRuntimeRbacAuthorization is the BasicLinkedIntegrationRuntimeType implementation for LinkedIntegrationRuntimeRbacAuthorization. +func (lirra LinkedIntegrationRuntimeRbacAuthorization) AsLinkedIntegrationRuntimeRbacAuthorization() (*LinkedIntegrationRuntimeRbacAuthorization, bool) { + return &lirra, true +} + +// AsLinkedIntegrationRuntimeKeyAuthorization is the BasicLinkedIntegrationRuntimeType implementation for LinkedIntegrationRuntimeRbacAuthorization. +func (lirra LinkedIntegrationRuntimeRbacAuthorization) AsLinkedIntegrationRuntimeKeyAuthorization() (*LinkedIntegrationRuntimeKeyAuthorization, bool) { + return nil, false +} + +// AsLinkedIntegrationRuntimeType is the BasicLinkedIntegrationRuntimeType implementation for LinkedIntegrationRuntimeRbacAuthorization. +func (lirra LinkedIntegrationRuntimeRbacAuthorization) AsLinkedIntegrationRuntimeType() (*LinkedIntegrationRuntimeType, bool) { + return nil, false +} + +// AsBasicLinkedIntegrationRuntimeType is the BasicLinkedIntegrationRuntimeType implementation for LinkedIntegrationRuntimeRbacAuthorization. +func (lirra LinkedIntegrationRuntimeRbacAuthorization) AsBasicLinkedIntegrationRuntimeType() (BasicLinkedIntegrationRuntimeType, bool) { + return &lirra, true +} + +// LinkedIntegrationRuntimeRequest data factory name for linked integration runtime request. +type LinkedIntegrationRuntimeRequest struct { + // LinkedFactoryName - The data factory name for linked integration runtime. + LinkedFactoryName *string `json:"factoryName,omitempty"` +} + +// BasicLinkedIntegrationRuntimeType the base definition of a linked integration runtime. +type BasicLinkedIntegrationRuntimeType interface { + AsLinkedIntegrationRuntimeRbacAuthorization() (*LinkedIntegrationRuntimeRbacAuthorization, bool) + AsLinkedIntegrationRuntimeKeyAuthorization() (*LinkedIntegrationRuntimeKeyAuthorization, bool) + AsLinkedIntegrationRuntimeType() (*LinkedIntegrationRuntimeType, bool) +} + +// LinkedIntegrationRuntimeType the base definition of a linked integration runtime. +type LinkedIntegrationRuntimeType struct { + // AuthorizationType - Possible values include: 'AuthorizationTypeLinkedIntegrationRuntimeType', 'AuthorizationTypeRBAC', 'AuthorizationTypeKey' + AuthorizationType AuthorizationType `json:"authorizationType,omitempty"` +} + +func unmarshalBasicLinkedIntegrationRuntimeType(body []byte) (BasicLinkedIntegrationRuntimeType, error) { + var m map[string]interface{} + err := json.Unmarshal(body, &m) + if err != nil { + return nil, err + } + + switch m["authorizationType"] { + case string(AuthorizationTypeRBAC): + var lirra LinkedIntegrationRuntimeRbacAuthorization + err := json.Unmarshal(body, &lirra) + return lirra, err + case string(AuthorizationTypeKey): + var lirka LinkedIntegrationRuntimeKeyAuthorization + err := json.Unmarshal(body, &lirka) + return lirka, err + default: + var lirt LinkedIntegrationRuntimeType + err := json.Unmarshal(body, &lirt) + return lirt, err + } +} +func unmarshalBasicLinkedIntegrationRuntimeTypeArray(body []byte) ([]BasicLinkedIntegrationRuntimeType, error) { + var rawMessages []*json.RawMessage + err := json.Unmarshal(body, &rawMessages) + if err != nil { + return nil, err + } + + lirtArray := make([]BasicLinkedIntegrationRuntimeType, len(rawMessages)) + + for index, rawMessage := range rawMessages { + lirt, err := unmarshalBasicLinkedIntegrationRuntimeType(*rawMessage) + if err != nil { + return nil, err + } + lirtArray[index] = lirt + } + return lirtArray, nil +} + +// MarshalJSON is the custom marshaler for LinkedIntegrationRuntimeType. +func (lirt LinkedIntegrationRuntimeType) MarshalJSON() ([]byte, error) { + lirt.AuthorizationType = AuthorizationTypeLinkedIntegrationRuntimeType + objectMap := make(map[string]interface{}) + if lirt.AuthorizationType != "" { + objectMap["authorizationType"] = lirt.AuthorizationType + } + return json.Marshal(objectMap) +} + +// AsLinkedIntegrationRuntimeRbacAuthorization is the BasicLinkedIntegrationRuntimeType implementation for LinkedIntegrationRuntimeType. +func (lirt LinkedIntegrationRuntimeType) AsLinkedIntegrationRuntimeRbacAuthorization() (*LinkedIntegrationRuntimeRbacAuthorization, bool) { + return nil, false +} + +// AsLinkedIntegrationRuntimeKeyAuthorization is the BasicLinkedIntegrationRuntimeType implementation for LinkedIntegrationRuntimeType. +func (lirt LinkedIntegrationRuntimeType) AsLinkedIntegrationRuntimeKeyAuthorization() (*LinkedIntegrationRuntimeKeyAuthorization, bool) { + return nil, false +} + +// AsLinkedIntegrationRuntimeType is the BasicLinkedIntegrationRuntimeType implementation for LinkedIntegrationRuntimeType. +func (lirt LinkedIntegrationRuntimeType) AsLinkedIntegrationRuntimeType() (*LinkedIntegrationRuntimeType, bool) { + return &lirt, true +} + +// AsBasicLinkedIntegrationRuntimeType is the BasicLinkedIntegrationRuntimeType implementation for LinkedIntegrationRuntimeType. +func (lirt LinkedIntegrationRuntimeType) AsBasicLinkedIntegrationRuntimeType() (BasicLinkedIntegrationRuntimeType, bool) { + return &lirt, true +} + +// BasicLinkedService the Azure Data Factory nested object which contains the information and credential which can be +// used to connect with related store or compute resource. +type BasicLinkedService interface { + AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) + AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) + AsSapTableLinkedService() (*SapTableLinkedService, bool) + AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) + AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) + AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) + AsResponsysLinkedService() (*ResponsysLinkedService, bool) + AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) + AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) + AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) + AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) + AsNetezzaLinkedService() (*NetezzaLinkedService, bool) + AsVerticaLinkedService() (*VerticaLinkedService, bool) + AsZohoLinkedService() (*ZohoLinkedService, bool) + AsXeroLinkedService() (*XeroLinkedService, bool) + AsSquareLinkedService() (*SquareLinkedService, bool) + AsSparkLinkedService() (*SparkLinkedService, bool) + AsShopifyLinkedService() (*ShopifyLinkedService, bool) + AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) + AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) + AsPrestoLinkedService() (*PrestoLinkedService, bool) + AsPhoenixLinkedService() (*PhoenixLinkedService, bool) + AsPaypalLinkedService() (*PaypalLinkedService, bool) + AsMarketoLinkedService() (*MarketoLinkedService, bool) + AsMariaDBLinkedService() (*MariaDBLinkedService, bool) + AsMagentoLinkedService() (*MagentoLinkedService, bool) + AsJiraLinkedService() (*JiraLinkedService, bool) + AsImpalaLinkedService() (*ImpalaLinkedService, bool) + AsHubspotLinkedService() (*HubspotLinkedService, bool) + AsHiveLinkedService() (*HiveLinkedService, bool) + AsHBaseLinkedService() (*HBaseLinkedService, bool) + AsGreenplumLinkedService() (*GreenplumLinkedService, bool) + AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) + AsEloquaLinkedService() (*EloquaLinkedService, bool) + AsDrillLinkedService() (*DrillLinkedService, bool) + AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) + AsConcurLinkedService() (*ConcurLinkedService, bool) + AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) + AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) + AsSapHanaLinkedService() (*SapHanaLinkedService, bool) + AsSapBWLinkedService() (*SapBWLinkedService, bool) + AsSftpServerLinkedService() (*SftpServerLinkedService, bool) + AsFtpServerLinkedService() (*FtpServerLinkedService, bool) + AsHTTPLinkedService() (*HTTPLinkedService, bool) + AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) + AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) + AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) + AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) + AsRestServiceLinkedService() (*RestServiceLinkedService, bool) + AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) + AsSapEccLinkedService() (*SapEccLinkedService, bool) + AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) + AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) + AsSalesforceLinkedService() (*SalesforceLinkedService, bool) + AsOffice365LinkedService() (*Office365LinkedService, bool) + AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) + AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) + AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) + AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) + AsMongoDbLinkedService() (*MongoDbLinkedService, bool) + AsCassandraLinkedService() (*CassandraLinkedService, bool) + AsWebLinkedService() (*WebLinkedService, bool) + AsODataLinkedService() (*ODataLinkedService, bool) + AsHdfsLinkedService() (*HdfsLinkedService, bool) + AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) + AsInformixLinkedService() (*InformixLinkedService, bool) + AsOdbcLinkedService() (*OdbcLinkedService, bool) + AsAzureMLLinkedService() (*AzureMLLinkedService, bool) + AsTeradataLinkedService() (*TeradataLinkedService, bool) + AsDb2LinkedService() (*Db2LinkedService, bool) + AsSybaseLinkedService() (*SybaseLinkedService, bool) + AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) + AsMySQLLinkedService() (*MySQLLinkedService, bool) + AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) + AsOracleLinkedService() (*OracleLinkedService, bool) + AsFileServerLinkedService() (*FileServerLinkedService, bool) + AsHDInsightLinkedService() (*HDInsightLinkedService, bool) + AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) + AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) + AsDynamicsLinkedService() (*DynamicsLinkedService, bool) + AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) + AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) + AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) + AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) + AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) + AsSQLServerLinkedService() (*SQLServerLinkedService, bool) + AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) + AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) + AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) + AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) + AsLinkedService() (*LinkedService, bool) +} + +// LinkedService the Azure Data Factory nested object which contains the information and credential which can +// be used to connect with related store or compute resource. +type LinkedService struct { + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. + Description *string `json:"description,omitempty"` + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the linked service. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` +} + +func unmarshalBasicLinkedService(body []byte) (BasicLinkedService, error) { + var m map[string]interface{} + err := json.Unmarshal(body, &m) + if err != nil { + return nil, err + } + + switch m["type"] { + case string(TypeAzureFunction): + var afls AzureFunctionLinkedService + err := json.Unmarshal(body, &afls) + return afls, err + case string(TypeAzureDataExplorer): + var adels AzureDataExplorerLinkedService + err := json.Unmarshal(body, &adels) + return adels, err + case string(TypeSapTable): + var stls SapTableLinkedService + err := json.Unmarshal(body, &stls) + return stls, err + case string(TypeGoogleAdWords): + var gawls GoogleAdWordsLinkedService + err := json.Unmarshal(body, &gawls) + return gawls, err + case string(TypeOracleServiceCloud): + var oscls OracleServiceCloudLinkedService + err := json.Unmarshal(body, &oscls) + return oscls, err + case string(TypeDynamicsAX): + var dals DynamicsAXLinkedService + err := json.Unmarshal(body, &dals) + return dals, err + case string(TypeResponsys): + var rls ResponsysLinkedService + err := json.Unmarshal(body, &rls) + return rls, err + case string(TypeAzureDatabricks): + var adls AzureDatabricksLinkedService + err := json.Unmarshal(body, &adls) + return adls, err + case string(TypeAzureDataLakeAnalytics): + var adlals AzureDataLakeAnalyticsLinkedService + err := json.Unmarshal(body, &adlals) + return adlals, err + case string(TypeHDInsightOnDemand): + var hiodls HDInsightOnDemandLinkedService + err := json.Unmarshal(body, &hiodls) + return hiodls, err + case string(TypeSalesforceMarketingCloud): + var smcls SalesforceMarketingCloudLinkedService + err := json.Unmarshal(body, &smcls) + return smcls, err + case string(TypeNetezza): + var nls NetezzaLinkedService + err := json.Unmarshal(body, &nls) + return nls, err + case string(TypeVertica): + var vls VerticaLinkedService + err := json.Unmarshal(body, &vls) + return vls, err + case string(TypeZoho): + var zls ZohoLinkedService + err := json.Unmarshal(body, &zls) + return zls, err + case string(TypeXero): + var xls XeroLinkedService + err := json.Unmarshal(body, &xls) + return xls, err + case string(TypeSquare): + var sls SquareLinkedService + err := json.Unmarshal(body, &sls) + return sls, err + case string(TypeSpark): + var sls SparkLinkedService + err := json.Unmarshal(body, &sls) + return sls, err + case string(TypeShopify): + var sls ShopifyLinkedService + err := json.Unmarshal(body, &sls) + return sls, err + case string(TypeServiceNow): + var snls ServiceNowLinkedService + err := json.Unmarshal(body, &snls) + return snls, err + case string(TypeQuickBooks): + var qbls QuickBooksLinkedService + err := json.Unmarshal(body, &qbls) + return qbls, err + case string(TypePresto): + var pls PrestoLinkedService + err := json.Unmarshal(body, &pls) + return pls, err + case string(TypePhoenix): + var pls PhoenixLinkedService + err := json.Unmarshal(body, &pls) + return pls, err + case string(TypePaypal): + var pls PaypalLinkedService + err := json.Unmarshal(body, &pls) + return pls, err + case string(TypeMarketo): + var mls MarketoLinkedService + err := json.Unmarshal(body, &mls) + return mls, err + case string(TypeMariaDB): + var mdls MariaDBLinkedService + err := json.Unmarshal(body, &mdls) + return mdls, err + case string(TypeMagento): + var mls MagentoLinkedService + err := json.Unmarshal(body, &mls) + return mls, err + case string(TypeJira): + var jls JiraLinkedService + err := json.Unmarshal(body, &jls) + return jls, err + case string(TypeImpala): + var ils ImpalaLinkedService + err := json.Unmarshal(body, &ils) + return ils, err + case string(TypeHubspot): + var hls HubspotLinkedService + err := json.Unmarshal(body, &hls) + return hls, err + case string(TypeHive): + var hls HiveLinkedService + err := json.Unmarshal(body, &hls) + return hls, err + case string(TypeHBase): + var hbls HBaseLinkedService + err := json.Unmarshal(body, &hbls) + return hbls, err + case string(TypeGreenplum): + var gls GreenplumLinkedService + err := json.Unmarshal(body, &gls) + return gls, err + case string(TypeGoogleBigQuery): + var gbqls GoogleBigQueryLinkedService + err := json.Unmarshal(body, &gbqls) + return gbqls, err + case string(TypeEloqua): + var els EloquaLinkedService + err := json.Unmarshal(body, &els) + return els, err + case string(TypeDrill): + var dls DrillLinkedService + err := json.Unmarshal(body, &dls) + return dls, err + case string(TypeCouchbase): + var cls CouchbaseLinkedService + err := json.Unmarshal(body, &cls) + return cls, err + case string(TypeConcur): + var cls ConcurLinkedService + err := json.Unmarshal(body, &cls) + return cls, err + case string(TypeAzurePostgreSQL): + var apsls AzurePostgreSQLLinkedService + err := json.Unmarshal(body, &apsls) + return apsls, err + case string(TypeAmazonMWS): + var amls AmazonMWSLinkedService + err := json.Unmarshal(body, &amls) + return amls, err + case string(TypeSapHana): + var shls SapHanaLinkedService + err := json.Unmarshal(body, &shls) + return shls, err + case string(TypeSapBW): + var sbls SapBWLinkedService + err := json.Unmarshal(body, &sbls) + return sbls, err + case string(TypeSftp): + var ssls SftpServerLinkedService + err := json.Unmarshal(body, &ssls) + return ssls, err + case string(TypeFtpServer): + var fsls FtpServerLinkedService + err := json.Unmarshal(body, &fsls) + return fsls, err + case string(TypeHTTPServer): + var hls HTTPLinkedService + err := json.Unmarshal(body, &hls) + return hls, err + case string(TypeAzureSearch): + var asls AzureSearchLinkedService + err := json.Unmarshal(body, &asls) + return asls, err + case string(TypeCustomDataSource): + var cdsls CustomDataSourceLinkedService + err := json.Unmarshal(body, &cdsls) + return cdsls, err + case string(TypeAmazonRedshift): + var arls AmazonRedshiftLinkedService + err := json.Unmarshal(body, &arls) + return arls, err + case string(TypeAmazonS3): + var asls AmazonS3LinkedService + err := json.Unmarshal(body, &asls) + return asls, err + case string(TypeRestService): + var rsls RestServiceLinkedService + err := json.Unmarshal(body, &rsls) + return rsls, err + case string(TypeSapOpenHub): + var sohls SapOpenHubLinkedService + err := json.Unmarshal(body, &sohls) + return sohls, err + case string(TypeSapEcc): + var sels SapEccLinkedService + err := json.Unmarshal(body, &sels) + return sels, err + case string(TypeSapCloudForCustomer): + var scfcls SapCloudForCustomerLinkedService + err := json.Unmarshal(body, &scfcls) + return scfcls, err + case string(TypeSalesforceServiceCloud): + var sscls SalesforceServiceCloudLinkedService + err := json.Unmarshal(body, &sscls) + return sscls, err + case string(TypeSalesforce): + var sls SalesforceLinkedService + err := json.Unmarshal(body, &sls) + return sls, err + case string(TypeOffice365): + var o3ls Office365LinkedService + err := json.Unmarshal(body, &o3ls) + return o3ls, err + case string(TypeAzureBlobFS): + var abfls AzureBlobFSLinkedService + err := json.Unmarshal(body, &abfls) + return abfls, err + case string(TypeAzureDataLakeStore): + var adlsls AzureDataLakeStoreLinkedService + err := json.Unmarshal(body, &adlsls) + return adlsls, err + case string(TypeCosmosDbMongoDbAPI): + var cdmdals CosmosDbMongoDbAPILinkedService + err := json.Unmarshal(body, &cdmdals) + return cdmdals, err + case string(TypeMongoDbV2): + var mdvls MongoDbV2LinkedService + err := json.Unmarshal(body, &mdvls) + return mdvls, err + case string(TypeMongoDb): + var mdls MongoDbLinkedService + err := json.Unmarshal(body, &mdls) + return mdls, err + case string(TypeCassandra): + var cls CassandraLinkedService + err := json.Unmarshal(body, &cls) + return cls, err + case string(TypeWeb): + var wls WebLinkedService + err := json.Unmarshal(body, &wls) + return wls, err + case string(TypeOData): + var odls ODataLinkedService + err := json.Unmarshal(body, &odls) + return odls, err + case string(TypeHdfs): + var hls HdfsLinkedService + err := json.Unmarshal(body, &hls) + return hls, err + case string(TypeMicrosoftAccess): + var mals MicrosoftAccessLinkedService + err := json.Unmarshal(body, &mals) + return mals, err + case string(TypeInformix): + var ils InformixLinkedService + err := json.Unmarshal(body, &ils) + return ils, err + case string(TypeOdbc): + var ols OdbcLinkedService + err := json.Unmarshal(body, &ols) + return ols, err + case string(TypeAzureML): + var amls AzureMLLinkedService + err := json.Unmarshal(body, &amls) + return amls, err + case string(TypeTeradata): + var TLSVar TeradataLinkedService + err := json.Unmarshal(body, &TLSVar) + return TLSVar, err + case string(TypeDb2): + var d2ls Db2LinkedService + err := json.Unmarshal(body, &d2ls) + return d2ls, err + case string(TypeSybase): + var sls SybaseLinkedService + err := json.Unmarshal(body, &sls) + return sls, err + case string(TypePostgreSQL): + var psls PostgreSQLLinkedService + err := json.Unmarshal(body, &psls) + return psls, err + case string(TypeMySQL): + var msls MySQLLinkedService + err := json.Unmarshal(body, &msls) + return msls, err + case string(TypeAzureMySQL): + var amsls AzureMySQLLinkedService + err := json.Unmarshal(body, &amsls) + return amsls, err + case string(TypeOracle): + var ols OracleLinkedService + err := json.Unmarshal(body, &ols) + return ols, err + case string(TypeFileServer): + var fsls FileServerLinkedService + err := json.Unmarshal(body, &fsls) + return fsls, err + case string(TypeHDInsight): + var hils HDInsightLinkedService + err := json.Unmarshal(body, &hils) + return hils, err + case string(TypeCommonDataServiceForApps): + var cdsfals CommonDataServiceForAppsLinkedService + err := json.Unmarshal(body, &cdsfals) + return cdsfals, err + case string(TypeDynamicsCrm): + var dcls DynamicsCrmLinkedService + err := json.Unmarshal(body, &dcls) + return dcls, err + case string(TypeDynamics): + var dls DynamicsLinkedService + err := json.Unmarshal(body, &dls) + return dls, err + case string(TypeCosmosDb): + var cdls CosmosDbLinkedService + err := json.Unmarshal(body, &cdls) + return cdls, err + case string(TypeAzureKeyVault): + var akvls AzureKeyVaultLinkedService + err := json.Unmarshal(body, &akvls) + return akvls, err + case string(TypeAzureBatch): + var abls AzureBatchLinkedService + err := json.Unmarshal(body, &abls) + return abls, err + case string(TypeAzureSQLMI): + var asmls AzureSQLMILinkedService + err := json.Unmarshal(body, &asmls) + return asmls, err + case string(TypeAzureSQLDatabase): + var asdls AzureSQLDatabaseLinkedService + err := json.Unmarshal(body, &asdls) + return asdls, err + case string(TypeSQLServer): + var ssls SQLServerLinkedService + err := json.Unmarshal(body, &ssls) + return ssls, err + case string(TypeAzureSQLDW): + var asdls AzureSQLDWLinkedService + err := json.Unmarshal(body, &asdls) + return asdls, err + case string(TypeAzureTableStorage): + var atsls AzureTableStorageLinkedService + err := json.Unmarshal(body, &atsls) + return atsls, err + case string(TypeAzureBlobStorage): + var absls AzureBlobStorageLinkedService + err := json.Unmarshal(body, &absls) + return absls, err + case string(TypeAzureStorage): + var asls AzureStorageLinkedService + err := json.Unmarshal(body, &asls) + return asls, err + default: + var ls LinkedService + err := json.Unmarshal(body, &ls) + return ls, err + } +} +func unmarshalBasicLinkedServiceArray(body []byte) ([]BasicLinkedService, error) { + var rawMessages []*json.RawMessage + err := json.Unmarshal(body, &rawMessages) + if err != nil { + return nil, err + } + + lsArray := make([]BasicLinkedService, len(rawMessages)) + + for index, rawMessage := range rawMessages { + ls, err := unmarshalBasicLinkedService(*rawMessage) + if err != nil { + return nil, err + } + lsArray[index] = ls + } + return lsArray, nil +} + +// MarshalJSON is the custom marshaler for LinkedService. +func (ls LinkedService) MarshalJSON() ([]byte, error) { + ls.Type = TypeLinkedService + objectMap := make(map[string]interface{}) + if ls.ConnectVia != nil { + objectMap["connectVia"] = ls.ConnectVia + } + if ls.Description != nil { + objectMap["description"] = ls.Description + } + if ls.Parameters != nil { + objectMap["parameters"] = ls.Parameters + } + if ls.Annotations != nil { + objectMap["annotations"] = ls.Annotations + } + if ls.Type != "" { + objectMap["type"] = ls.Type + } + for k, v := range ls.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { + return nil, false +} + +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { + return nil, false +} + +// AsSapTableLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { + return nil, false +} + +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { + return nil, false +} + +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { + return nil, false +} + +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { + return nil, false +} + +// AsResponsysLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { + return nil, false +} + +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { + return nil, false +} + +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { + return nil, false +} + +// AsNetezzaLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + +// AsZohoLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { + return nil, false +} + +// AsXeroLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { + return nil, false +} + +// AsSquareLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { + return nil, false +} + +// AsSparkLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { + return nil, false +} + +// AsShopifyLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { + return nil, false +} + +// AsServiceNowLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { + return nil, false +} + +// AsQuickBooksLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { + return nil, false +} + +// AsPrestoLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { + return nil, false +} + +// AsPhoenixLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { + return nil, false +} + +// AsPaypalLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { + return nil, false +} + +// AsMarketoLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { + return nil, false +} + +// AsMariaDBLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { + return nil, false +} + +// AsMagentoLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { + return nil, false +} + +// AsJiraLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { + return nil, false +} + +// AsImpalaLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { + return nil, false +} + +// AsHubspotLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { + return nil, false +} + +// AsHiveLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { + return nil, false +} + +// AsHBaseLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { + return nil, false +} + +// AsGreenplumLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { + return nil, false +} + +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { + return nil, false +} + +// AsEloquaLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { + return nil, false +} + +// AsDrillLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { + return nil, false +} + +// AsCouchbaseLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { + return nil, false +} + +// AsConcurLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { + return nil, false +} + +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { + return nil, false +} + +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { + return nil, false +} + +// AsSapHanaLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { + return nil, false +} + +// AsSapBWLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { + return nil, false +} + +// AsSftpServerLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { + return nil, false +} + +// AsFtpServerLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { + return nil, false +} + +// AsHTTPLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { + return nil, false +} + +// AsAzureSearchLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { + return nil, false +} + +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { + return nil, false +} + +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { + return nil, false +} + +// AsAmazonS3LinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { + return nil, false +} + +// AsRestServiceLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { + return nil, false +} + +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { + return nil, false +} + +// AsSapEccLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { + return nil, false +} + +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { + return nil, false +} + +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + +// AsSalesforceLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { + return nil, false +} + +// AsOffice365LinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { + return nil, false +} + +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { + return nil, false +} + +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { + return nil, false +} + +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { + return nil, false +} + +// AsMongoDbLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { + return nil, false +} + +// AsCassandraLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { + return nil, false +} + +// AsWebLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsWebLinkedService() (*WebLinkedService, bool) { + return nil, false +} + +// AsODataLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { + return nil, false +} + +// AsHdfsLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { + return nil, false +} + +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + +// AsOdbcLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { + return nil, false +} + +// AsAzureMLLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { + return nil, false +} + +// AsTeradataLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { + return nil, false +} + +// AsDb2LinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return nil, false +} + +// AsSybaseLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { + return nil, false +} + +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { + return nil, false +} + +// AsMySQLLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { + return nil, false +} + +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { + return nil, false +} + +// AsOracleLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { + return nil, false +} + +// AsFileServerLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { + return nil, false +} + +// AsHDInsightLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + +// AsDynamicsLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false +} + +// AsCosmosDbLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false +} + +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false +} + +// AsAzureBatchLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} + +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsLinkedService() (*LinkedService, bool) { + return &ls, true +} + +// AsBasicLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &ls, true +} + +// UnmarshalJSON is the custom unmarshaler for LinkedService struct. +func (ls *LinkedService) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if ls.AdditionalProperties == nil { + ls.AdditionalProperties = make(map[string]interface{}) + } + ls.AdditionalProperties[k] = additionalProperties + } + case "connectVia": + if v != nil { + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) + if err != nil { + return err + } + ls.ConnectVia = &connectVia + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + ls.Description = &description + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + ls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + ls.Annotations = &annotations + } + case "type": + if v != nil { + var typeVar TypeBasicLinkedService + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + ls.Type = typeVar + } + } + } + + return nil +} + +// LinkedServiceListResponse a list of linked service resources. +type LinkedServiceListResponse struct { + autorest.Response `json:"-"` + // Value - List of linked services. + Value *[]LinkedServiceResource `json:"value,omitempty"` + // NextLink - The link to the next page of results, if any remaining results exist. + NextLink *string `json:"nextLink,omitempty"` +} + +// LinkedServiceListResponseIterator provides access to a complete listing of LinkedServiceResource values. +type LinkedServiceListResponseIterator struct { + i int + page LinkedServiceListResponsePage +} + +// NextWithContext advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +func (iter *LinkedServiceListResponseIterator) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/LinkedServiceListResponseIterator.NextWithContext") + defer func() { + sc := -1 + if iter.Response().Response.Response != nil { + sc = iter.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + iter.i++ + if iter.i < len(iter.page.Values()) { + return nil + } + err = iter.page.NextWithContext(ctx) + if err != nil { + iter.i-- + return err + } + iter.i = 0 + return nil +} + +// Next advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (iter *LinkedServiceListResponseIterator) Next() error { + return iter.NextWithContext(context.Background()) +} + +// NotDone returns true if the enumeration should be started or is not yet complete. +func (iter LinkedServiceListResponseIterator) NotDone() bool { + return iter.page.NotDone() && iter.i < len(iter.page.Values()) +} + +// Response returns the raw server response from the last page request. +func (iter LinkedServiceListResponseIterator) Response() LinkedServiceListResponse { + return iter.page.Response() +} + +// Value returns the current value or a zero-initialized value if the +// iterator has advanced beyond the end of the collection. +func (iter LinkedServiceListResponseIterator) Value() LinkedServiceResource { + if !iter.page.NotDone() { + return LinkedServiceResource{} + } + return iter.page.Values()[iter.i] +} + +// Creates a new instance of the LinkedServiceListResponseIterator type. +func NewLinkedServiceListResponseIterator(page LinkedServiceListResponsePage) LinkedServiceListResponseIterator { + return LinkedServiceListResponseIterator{page: page} +} + +// IsEmpty returns true if the ListResult contains no values. +func (lslr LinkedServiceListResponse) IsEmpty() bool { + return lslr.Value == nil || len(*lslr.Value) == 0 +} + +// linkedServiceListResponsePreparer prepares a request to retrieve the next set of results. +// It returns nil if no more results exist. +func (lslr LinkedServiceListResponse) linkedServiceListResponsePreparer(ctx context.Context) (*http.Request, error) { + if lslr.NextLink == nil || len(to.String(lslr.NextLink)) < 1 { + return nil, nil + } + return autorest.Prepare((&http.Request{}).WithContext(ctx), + autorest.AsJSON(), + autorest.AsGet(), + autorest.WithBaseURL(to.String(lslr.NextLink))) +} + +// LinkedServiceListResponsePage contains a page of LinkedServiceResource values. +type LinkedServiceListResponsePage struct { + fn func(context.Context, LinkedServiceListResponse) (LinkedServiceListResponse, error) + lslr LinkedServiceListResponse +} + +// NextWithContext advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +func (page *LinkedServiceListResponsePage) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/LinkedServiceListResponsePage.NextWithContext") + defer func() { + sc := -1 + if page.Response().Response.Response != nil { + sc = page.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + next, err := page.fn(ctx, page.lslr) + if err != nil { + return err + } + page.lslr = next + return nil +} + +// Next advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (page *LinkedServiceListResponsePage) Next() error { + return page.NextWithContext(context.Background()) +} + +// NotDone returns true if the page enumeration should be started or is not yet complete. +func (page LinkedServiceListResponsePage) NotDone() bool { + return !page.lslr.IsEmpty() +} + +// Response returns the raw server response from the last page request. +func (page LinkedServiceListResponsePage) Response() LinkedServiceListResponse { + return page.lslr +} + +// Values returns the slice of values for the current page or nil if there are no values. +func (page LinkedServiceListResponsePage) Values() []LinkedServiceResource { + if page.lslr.IsEmpty() { + return nil + } + return *page.lslr.Value +} + +// Creates a new instance of the LinkedServiceListResponsePage type. +func NewLinkedServiceListResponsePage(getNextPage func(context.Context, LinkedServiceListResponse) (LinkedServiceListResponse, error)) LinkedServiceListResponsePage { + return LinkedServiceListResponsePage{fn: getNextPage} +} + +// LinkedServiceReference linked service reference type. +type LinkedServiceReference struct { + // Type - Linked service reference type. + Type *string `json:"type,omitempty"` + // ReferenceName - Reference LinkedService name. + ReferenceName *string `json:"referenceName,omitempty"` + // Parameters - Arguments for LinkedService. + Parameters map[string]interface{} `json:"parameters"` +} + +// MarshalJSON is the custom marshaler for LinkedServiceReference. +func (lsr LinkedServiceReference) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if lsr.Type != nil { + objectMap["type"] = lsr.Type + } + if lsr.ReferenceName != nil { + objectMap["referenceName"] = lsr.ReferenceName + } + if lsr.Parameters != nil { + objectMap["parameters"] = lsr.Parameters + } + return json.Marshal(objectMap) +} + +// LinkedServiceResource linked service resource type. +type LinkedServiceResource struct { + autorest.Response `json:"-"` + // Properties - Properties of linked service. + Properties BasicLinkedService `json:"properties,omitempty"` + // ID - READ-ONLY; The resource identifier. + ID *string `json:"id,omitempty"` + // Name - READ-ONLY; The resource name. + Name *string `json:"name,omitempty"` + // Type - READ-ONLY; The resource type. + Type *string `json:"type,omitempty"` + // Etag - READ-ONLY; Etag identifies change in the resource. + Etag *string `json:"etag,omitempty"` +} + +// UnmarshalJSON is the custom unmarshaler for LinkedServiceResource struct. +func (lsr *LinkedServiceResource) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "properties": + if v != nil { + properties, err := unmarshalBasicLinkedService(*v) + if err != nil { + return err + } + lsr.Properties = properties + } + case "id": + if v != nil { + var ID string + err = json.Unmarshal(*v, &ID) + if err != nil { + return err + } + lsr.ID = &ID + } + case "name": + if v != nil { + var name string + err = json.Unmarshal(*v, &name) + if err != nil { + return err + } + lsr.Name = &name + } + case "type": + if v != nil { + var typeVar string + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + lsr.Type = &typeVar + } + case "etag": + if v != nil { + var etag string + err = json.Unmarshal(*v, &etag) + if err != nil { + return err + } + lsr.Etag = &etag + } + } + } + + return nil +} + +// LogStorageSettings log storage settings. +type LogStorageSettings struct { + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // LinkedServiceName - Log storage linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Path - The path to storage for storing detailed logs of activity execution. Type: string (or Expression with resultType string). + Path interface{} `json:"path,omitempty"` +} + +// MarshalJSON is the custom marshaler for LogStorageSettings. +func (lss LogStorageSettings) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if lss.LinkedServiceName != nil { + objectMap["linkedServiceName"] = lss.LinkedServiceName + } + if lss.Path != nil { + objectMap["path"] = lss.Path + } + for k, v := range lss.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for LogStorageSettings struct. +func (lss *LogStorageSettings) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if lss.AdditionalProperties == nil { + lss.AdditionalProperties = make(map[string]interface{}) + } + lss.AdditionalProperties[k] = additionalProperties + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + lss.LinkedServiceName = &linkedServiceName + } + case "path": + if v != nil { + var pathVar interface{} + err = json.Unmarshal(*v, &pathVar) + if err != nil { + return err + } + lss.Path = pathVar + } + } + } + + return nil +} + +// LookupActivity lookup activity. +type LookupActivity struct { + // LookupActivityTypeProperties - Lookup activity properties. + *LookupActivityTypeProperties `json:"typeProperties,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Policy - Activity policy. + Policy *ActivityPolicy `json:"policy,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Name - Activity name. + Name *string `json:"name,omitempty"` + // Description - Activity description. + Description *string `json:"description,omitempty"` + // DependsOn - Activity depends on condition. + DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` + // UserProperties - Activity user properties. + UserProperties *[]UserProperty `json:"userProperties,omitempty"` + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + Type TypeBasicActivity `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for LookupActivity. +func (la LookupActivity) MarshalJSON() ([]byte, error) { + la.Type = TypeLookup + objectMap := make(map[string]interface{}) + if la.LookupActivityTypeProperties != nil { + objectMap["typeProperties"] = la.LookupActivityTypeProperties + } + if la.LinkedServiceName != nil { + objectMap["linkedServiceName"] = la.LinkedServiceName + } + if la.Policy != nil { + objectMap["policy"] = la.Policy + } + if la.Name != nil { + objectMap["name"] = la.Name + } + if la.Description != nil { + objectMap["description"] = la.Description + } + if la.DependsOn != nil { + objectMap["dependsOn"] = la.DependsOn + } + if la.UserProperties != nil { + objectMap["userProperties"] = la.UserProperties + } + if la.Type != "" { + objectMap["type"] = la.Type + } + for k, v := range la.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAzureFunctionActivity is the BasicActivity implementation for LookupActivity. +func (la LookupActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { + return nil, false +} + +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for LookupActivity. +func (la LookupActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { + return nil, false +} + +// AsDatabricksSparkJarActivity is the BasicActivity implementation for LookupActivity. +func (la LookupActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { + return nil, false +} + +// AsDatabricksNotebookActivity is the BasicActivity implementation for LookupActivity. +func (la LookupActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { + return nil, false +} + +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for LookupActivity. +func (la LookupActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { + return nil, false +} + +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for LookupActivity. +func (la LookupActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { + return nil, false +} + +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for LookupActivity. +func (la LookupActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { + return nil, false +} + +// AsGetMetadataActivity is the BasicActivity implementation for LookupActivity. +func (la LookupActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { + return nil, false +} + +// AsWebActivity is the BasicActivity implementation for LookupActivity. +func (la LookupActivity) AsWebActivity() (*WebActivity, bool) { + return nil, false +} + +// AsLookupActivity is the BasicActivity implementation for LookupActivity. +func (la LookupActivity) AsLookupActivity() (*LookupActivity, bool) { + return &la, true +} + +// AsDeleteActivity is the BasicActivity implementation for LookupActivity. +func (la LookupActivity) AsDeleteActivity() (*DeleteActivity, bool) { + return nil, false +} + +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for LookupActivity. +func (la LookupActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { + return nil, false +} + +// AsCustomActivity is the BasicActivity implementation for LookupActivity. +func (la LookupActivity) AsCustomActivity() (*CustomActivity, bool) { + return nil, false +} + +// AsExecuteSSISPackageActivity is the BasicActivity implementation for LookupActivity. +func (la LookupActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { + return nil, false +} + +// AsHDInsightSparkActivity is the BasicActivity implementation for LookupActivity. +func (la LookupActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { + return nil, false +} + +// AsHDInsightStreamingActivity is the BasicActivity implementation for LookupActivity. +func (la LookupActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { + return nil, false +} + +// AsHDInsightMapReduceActivity is the BasicActivity implementation for LookupActivity. +func (la LookupActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { + return nil, false +} + +// AsHDInsightPigActivity is the BasicActivity implementation for LookupActivity. +func (la LookupActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { + return nil, false +} + +// AsHDInsightHiveActivity is the BasicActivity implementation for LookupActivity. +func (la LookupActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { + return nil, false +} + +// AsCopyActivity is the BasicActivity implementation for LookupActivity. +func (la LookupActivity) AsCopyActivity() (*CopyActivity, bool) { + return nil, false +} + +// AsExecutionActivity is the BasicActivity implementation for LookupActivity. +func (la LookupActivity) AsExecutionActivity() (*ExecutionActivity, bool) { + return nil, false +} + +// AsBasicExecutionActivity is the BasicActivity implementation for LookupActivity. +func (la LookupActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return &la, true +} + +// AsWebHookActivity is the BasicActivity implementation for LookupActivity. +func (la LookupActivity) AsWebHookActivity() (*WebHookActivity, bool) { + return nil, false +} + +// AsAppendVariableActivity is the BasicActivity implementation for LookupActivity. +func (la LookupActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { + return nil, false +} + +// AsSetVariableActivity is the BasicActivity implementation for LookupActivity. +func (la LookupActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { + return nil, false +} + +// AsFilterActivity is the BasicActivity implementation for LookupActivity. +func (la LookupActivity) AsFilterActivity() (*FilterActivity, bool) { + return nil, false +} + +// AsValidationActivity is the BasicActivity implementation for LookupActivity. +func (la LookupActivity) AsValidationActivity() (*ValidationActivity, bool) { + return nil, false +} + +// AsUntilActivity is the BasicActivity implementation for LookupActivity. +func (la LookupActivity) AsUntilActivity() (*UntilActivity, bool) { + return nil, false +} + +// AsWaitActivity is the BasicActivity implementation for LookupActivity. +func (la LookupActivity) AsWaitActivity() (*WaitActivity, bool) { + return nil, false +} + +// AsForEachActivity is the BasicActivity implementation for LookupActivity. +func (la LookupActivity) AsForEachActivity() (*ForEachActivity, bool) { + return nil, false +} + +// AsIfConditionActivity is the BasicActivity implementation for LookupActivity. +func (la LookupActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { + return nil, false +} + +// AsExecutePipelineActivity is the BasicActivity implementation for LookupActivity. +func (la LookupActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { + return nil, false +} + +// AsControlActivity is the BasicActivity implementation for LookupActivity. +func (la LookupActivity) AsControlActivity() (*ControlActivity, bool) { + return nil, false +} + +// AsBasicControlActivity is the BasicActivity implementation for LookupActivity. +func (la LookupActivity) AsBasicControlActivity() (BasicControlActivity, bool) { + return nil, false +} + +// AsActivity is the BasicActivity implementation for LookupActivity. +func (la LookupActivity) AsActivity() (*Activity, bool) { + return nil, false +} + +// AsBasicActivity is the BasicActivity implementation for LookupActivity. +func (la LookupActivity) AsBasicActivity() (BasicActivity, bool) { + return &la, true +} + +// UnmarshalJSON is the custom unmarshaler for LookupActivity struct. +func (la *LookupActivity) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "typeProperties": + if v != nil { + var lookupActivityTypeProperties LookupActivityTypeProperties + err = json.Unmarshal(*v, &lookupActivityTypeProperties) + if err != nil { + return err + } + la.LookupActivityTypeProperties = &lookupActivityTypeProperties + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + la.LinkedServiceName = &linkedServiceName + } + case "policy": + if v != nil { + var policy ActivityPolicy + err = json.Unmarshal(*v, &policy) + if err != nil { + return err + } + la.Policy = &policy + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if la.AdditionalProperties == nil { + la.AdditionalProperties = make(map[string]interface{}) + } + la.AdditionalProperties[k] = additionalProperties + } + case "name": + if v != nil { + var name string + err = json.Unmarshal(*v, &name) + if err != nil { + return err + } + la.Name = &name + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + la.Description = &description + } + case "dependsOn": + if v != nil { + var dependsOn []ActivityDependency + err = json.Unmarshal(*v, &dependsOn) + if err != nil { + return err + } + la.DependsOn = &dependsOn + } + case "userProperties": + if v != nil { + var userProperties []UserProperty + err = json.Unmarshal(*v, &userProperties) + if err != nil { + return err + } + la.UserProperties = &userProperties + } + case "type": + if v != nil { + var typeVar TypeBasicActivity + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + la.Type = typeVar + } + } + } + + return nil +} + +// LookupActivityTypeProperties lookup activity properties. +type LookupActivityTypeProperties struct { + // Source - Dataset-specific source properties, same as copy activity source. + Source BasicCopySource `json:"source,omitempty"` + // Dataset - Lookup activity dataset reference. + Dataset *DatasetReference `json:"dataset,omitempty"` + // FirstRowOnly - Whether to return first row or all rows. Default value is true. Type: boolean (or Expression with resultType boolean). + FirstRowOnly interface{} `json:"firstRowOnly,omitempty"` +} + +// UnmarshalJSON is the custom unmarshaler for LookupActivityTypeProperties struct. +func (latp *LookupActivityTypeProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "source": + if v != nil { + source, err := unmarshalBasicCopySource(*v) + if err != nil { + return err + } + latp.Source = source + } + case "dataset": + if v != nil { + var dataset DatasetReference + err = json.Unmarshal(*v, &dataset) + if err != nil { + return err + } + latp.Dataset = &dataset + } + case "firstRowOnly": + if v != nil { + var firstRowOnly interface{} + err = json.Unmarshal(*v, &firstRowOnly) + if err != nil { + return err + } + latp.FirstRowOnly = firstRowOnly + } + } + } + + return nil +} + +// MagentoLinkedService magento server linked service. +type MagentoLinkedService struct { + // MagentoLinkedServiceTypeProperties - Magento server linked service properties. + *MagentoLinkedServiceTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. + Description *string `json:"description,omitempty"` + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the linked service. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for MagentoLinkedService. +func (mls MagentoLinkedService) MarshalJSON() ([]byte, error) { + mls.Type = TypeMagento + objectMap := make(map[string]interface{}) + if mls.MagentoLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = mls.MagentoLinkedServiceTypeProperties + } + if mls.ConnectVia != nil { + objectMap["connectVia"] = mls.ConnectVia + } + if mls.Description != nil { + objectMap["description"] = mls.Description + } + if mls.Parameters != nil { + objectMap["parameters"] = mls.Parameters + } + if mls.Annotations != nil { + objectMap["annotations"] = mls.Annotations + } + if mls.Type != "" { + objectMap["type"] = mls.Type + } + for k, v := range mls.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { + return nil, false +} + +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { + return nil, false +} + +// AsSapTableLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { + return nil, false +} + +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { + return nil, false +} + +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { + return nil, false +} + +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { + return nil, false +} + +// AsResponsysLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { + return nil, false +} + +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { + return nil, false +} + +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { + return nil, false +} + +// AsNetezzaLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + +// AsZohoLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { + return nil, false +} + +// AsXeroLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { + return nil, false +} + +// AsSquareLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { + return nil, false +} + +// AsSparkLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { + return nil, false +} + +// AsShopifyLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { + return nil, false +} + +// AsServiceNowLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { + return nil, false +} + +// AsQuickBooksLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { + return nil, false +} + +// AsPrestoLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { + return nil, false +} + +// AsPhoenixLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { + return nil, false +} + +// AsPaypalLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { + return nil, false +} + +// AsMarketoLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { + return nil, false +} + +// AsMariaDBLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { + return nil, false +} + +// AsMagentoLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { + return &mls, true +} + +// AsJiraLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { + return nil, false +} + +// AsImpalaLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { + return nil, false +} + +// AsHubspotLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { + return nil, false +} + +// AsHiveLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { + return nil, false +} + +// AsHBaseLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { + return nil, false +} + +// AsGreenplumLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { + return nil, false +} + +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { + return nil, false +} + +// AsEloquaLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { + return nil, false +} + +// AsDrillLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { + return nil, false +} + +// AsCouchbaseLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { + return nil, false +} + +// AsConcurLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { + return nil, false +} + +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { + return nil, false +} + +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { + return nil, false +} + +// AsSapHanaLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { + return nil, false +} + +// AsSapBWLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { + return nil, false +} + +// AsSftpServerLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { + return nil, false +} + +// AsFtpServerLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { + return nil, false +} + +// AsHTTPLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { + return nil, false +} + +// AsAzureSearchLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { + return nil, false +} + +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { + return nil, false +} + +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { + return nil, false +} + +// AsAmazonS3LinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { + return nil, false +} + +// AsRestServiceLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { + return nil, false +} + +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { + return nil, false +} + +// AsSapEccLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { + return nil, false +} + +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { + return nil, false +} + +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + +// AsSalesforceLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { + return nil, false +} + +// AsOffice365LinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { + return nil, false +} + +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { + return nil, false +} + +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { + return nil, false +} + +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { + return nil, false +} + +// AsMongoDbLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { + return nil, false +} + +// AsCassandraLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { + return nil, false +} + +// AsWebLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { + return nil, false +} + +// AsODataLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { + return nil, false +} + +// AsHdfsLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { + return nil, false +} + +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + +// AsOdbcLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { + return nil, false +} + +// AsAzureMLLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { + return nil, false +} + +// AsTeradataLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { + return nil, false +} + +// AsDb2LinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return nil, false +} + +// AsSybaseLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { + return nil, false +} + +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { + return nil, false +} + +// AsMySQLLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { + return nil, false +} + +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { + return nil, false +} + +// AsOracleLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { + return nil, false +} + +// AsFileServerLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { + return nil, false +} + +// AsHDInsightLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + +// AsDynamicsLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false +} + +// AsCosmosDbLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false +} + +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false +} + +// AsAzureBatchLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} + +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &mls, true +} + +// UnmarshalJSON is the custom unmarshaler for MagentoLinkedService struct. +func (mls *MagentoLinkedService) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "typeProperties": + if v != nil { + var magentoLinkedServiceTypeProperties MagentoLinkedServiceTypeProperties + err = json.Unmarshal(*v, &magentoLinkedServiceTypeProperties) + if err != nil { + return err + } + mls.MagentoLinkedServiceTypeProperties = &magentoLinkedServiceTypeProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if mls.AdditionalProperties == nil { + mls.AdditionalProperties = make(map[string]interface{}) + } + mls.AdditionalProperties[k] = additionalProperties + } + case "connectVia": + if v != nil { + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) + if err != nil { + return err + } + mls.ConnectVia = &connectVia + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + mls.Description = &description + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + mls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + mls.Annotations = &annotations + } + case "type": + if v != nil { + var typeVar TypeBasicLinkedService + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + mls.Type = typeVar + } + } + } + + return nil +} + +// MagentoLinkedServiceTypeProperties magento server linked service properties. +type MagentoLinkedServiceTypeProperties struct { + // Host - The URL of the Magento instance. (i.e. 192.168.222.110/magento3) + Host interface{} `json:"host,omitempty"` + // AccessToken - The access token from Magento. + AccessToken BasicSecretBase `json:"accessToken,omitempty"` + // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. + UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"` + // UseHostVerification - 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. + UseHostVerification interface{} `json:"useHostVerification,omitempty"` + // UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. + UsePeerVerification interface{} `json:"usePeerVerification,omitempty"` + // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` +} + +// UnmarshalJSON is the custom unmarshaler for MagentoLinkedServiceTypeProperties struct. +func (mlstp *MagentoLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "host": + if v != nil { + var host interface{} + err = json.Unmarshal(*v, &host) + if err != nil { + return err + } + mlstp.Host = host + } + case "accessToken": + if v != nil { + accessToken, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + mlstp.AccessToken = accessToken + } + case "useEncryptedEndpoints": + if v != nil { + var useEncryptedEndpoints interface{} + err = json.Unmarshal(*v, &useEncryptedEndpoints) + if err != nil { + return err + } + mlstp.UseEncryptedEndpoints = useEncryptedEndpoints + } + case "useHostVerification": + if v != nil { + var useHostVerification interface{} + err = json.Unmarshal(*v, &useHostVerification) + if err != nil { + return err + } + mlstp.UseHostVerification = useHostVerification + } + case "usePeerVerification": + if v != nil { + var usePeerVerification interface{} + err = json.Unmarshal(*v, &usePeerVerification) + if err != nil { + return err + } + mlstp.UsePeerVerification = usePeerVerification + } + case "encryptedCredential": + if v != nil { + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) + if err != nil { + return err + } + mlstp.EncryptedCredential = encryptedCredential + } + } + } + + return nil +} + +// MagentoObjectDataset magento server dataset. +type MagentoObjectDataset struct { + // GenericDatasetTypeProperties - Properties specific to this dataset type. + *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Description - Dataset description. + Description *string `json:"description,omitempty"` + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for MagentoObjectDataset. +func (mod MagentoObjectDataset) MarshalJSON() ([]byte, error) { + mod.Type = TypeMagentoObject + objectMap := make(map[string]interface{}) + if mod.GenericDatasetTypeProperties != nil { + objectMap["typeProperties"] = mod.GenericDatasetTypeProperties + } + if mod.Description != nil { + objectMap["description"] = mod.Description + } + if mod.Structure != nil { + objectMap["structure"] = mod.Structure + } + if mod.Schema != nil { + objectMap["schema"] = mod.Schema + } + if mod.LinkedServiceName != nil { + objectMap["linkedServiceName"] = mod.LinkedServiceName + } + if mod.Parameters != nil { + objectMap["parameters"] = mod.Parameters + } + if mod.Annotations != nil { + objectMap["annotations"] = mod.Annotations + } + if mod.Folder != nil { + objectMap["folder"] = mod.Folder + } + if mod.Type != "" { + objectMap["type"] = mod.Type + } + for k, v := range mod.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { + return nil, false +} + +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { + return nil, false +} + +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { + return nil, false +} + +// AsDynamicsAXResourceDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { + return nil, false +} + +// AsResponsysObjectDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { + return nil, false +} + +// AsVerticaTableDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false +} + +// AsNetezzaTableDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false +} + +// AsZohoObjectDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { + return nil, false +} + +// AsXeroObjectDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { + return nil, false +} + +// AsSquareObjectDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { + return nil, false +} + +// AsSparkObjectDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { + return nil, false +} + +// AsShopifyObjectDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { + return nil, false +} + +// AsServiceNowObjectDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { + return nil, false +} + +// AsQuickBooksObjectDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { + return nil, false +} + +// AsPrestoObjectDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { + return nil, false +} + +// AsPhoenixObjectDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { + return nil, false +} + +// AsPaypalObjectDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { + return nil, false +} + +// AsMarketoObjectDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { + return nil, false +} + +// AsMariaDBTableDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { + return nil, false +} + +// AsMagentoObjectDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { + return &mod, true +} + +// AsJiraObjectDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { + return nil, false +} + +// AsImpalaObjectDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { + return nil, false +} + +// AsHubspotObjectDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { + return nil, false +} + +// AsHiveObjectDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { + return nil, false +} + +// AsHBaseObjectDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { + return nil, false +} + +// AsGreenplumTableDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { + return nil, false +} + +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { + return nil, false +} + +// AsEloquaObjectDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { + return nil, false +} + +// AsDrillTableDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { + return nil, false +} + +// AsCouchbaseTableDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { + return nil, false +} + +// AsConcurObjectDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { + return nil, false +} + +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { + return nil, false +} + +// AsAmazonMWSObjectDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { + return nil, false +} + +// AsHTTPDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { + return nil, false +} + +// AsAzureSearchIndexDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { + return nil, false +} + +// AsWebTableDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { + return nil, false +} + +// AsSapTableResourceDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { + return nil, false +} + +// AsRestResourceDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { + return nil, false +} + +// AsSQLServerTableDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { + return nil, false +} + +// AsSapOpenHubTableDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { + return nil, false +} + +// AsSapHanaTableDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { + return nil, false +} + +// AsSapEccResourceDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { + return nil, false +} + +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { + return nil, false +} + +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { + return nil, false +} + +// AsSalesforceObjectDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { + return nil, false +} + +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { + return nil, false +} + +// AsPostgreSQLTableDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { + return nil, false +} + +// AsMySQLTableDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { + return nil, false +} + +// AsOdbcTableDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { + return nil, false +} + +// AsInformixTableDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { + return nil, false +} + +// AsRelationalTableDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { + return nil, false +} + +// AsAzureMySQLTableDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { + return nil, false +} + +// AsTeradataTableDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { + return nil, false +} + +// AsOracleTableDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { + return nil, false +} + +// AsODataResourceDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { + return nil, false +} + +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { + return nil, false +} + +// AsMongoDbCollectionDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { + return nil, false +} + +// AsFileShareDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { + return nil, false +} + +// AsOffice365Dataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { + return nil, false +} + +// AsAzureBlobFSDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { + return nil, false +} + +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { + return nil, false +} + +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { + return nil, false +} + +// AsDynamicsEntityDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { + return nil, false +} + +// AsDocumentDbCollectionDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { + return nil, false +} + +// AsCustomDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsCustomDataset() (*CustomDataset, bool) { + return nil, false +} + +// AsCassandraTableDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { + return nil, false +} + +// AsAzureSQLDWTableDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { + return nil, false +} + +// AsAzureSQLMITableDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + +// AsAzureSQLTableDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { + return nil, false +} + +// AsAzureTableDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { + return nil, false +} + +// AsAzureBlobDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { + return nil, false +} + +// AsBinaryDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + +// AsDelimitedTextDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { + return nil, false +} + +// AsParquetDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsBasicDataset() (BasicDataset, bool) { + return &mod, true +} + +// UnmarshalJSON is the custom unmarshaler for MagentoObjectDataset struct. +func (mod *MagentoObjectDataset) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "typeProperties": + if v != nil { + var genericDatasetTypeProperties GenericDatasetTypeProperties + err = json.Unmarshal(*v, &genericDatasetTypeProperties) + if err != nil { + return err + } + mod.GenericDatasetTypeProperties = &genericDatasetTypeProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if mod.AdditionalProperties == nil { + mod.AdditionalProperties = make(map[string]interface{}) + } + mod.AdditionalProperties[k] = additionalProperties + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + mod.Description = &description + } + case "structure": + if v != nil { + var structure interface{} + err = json.Unmarshal(*v, &structure) + if err != nil { + return err + } + mod.Structure = structure + } + case "schema": + if v != nil { + var schema interface{} + err = json.Unmarshal(*v, &schema) + if err != nil { + return err + } + mod.Schema = schema + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + mod.LinkedServiceName = &linkedServiceName + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + mod.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + mod.Annotations = &annotations + } + case "folder": + if v != nil { + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) + if err != nil { + return err + } + mod.Folder = &folder + } + case "type": + if v != nil { + var typeVar TypeBasicDataset + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + mod.Type = typeVar + } + } + } + + return nil +} + +// MagentoSource a copy activity Magento server source. +type MagentoSource struct { + // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). + Query interface{} `json:"query,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + Type TypeBasicCopySource `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for MagentoSource. +func (ms MagentoSource) MarshalJSON() ([]byte, error) { + ms.Type = TypeMagentoSource + objectMap := make(map[string]interface{}) + if ms.Query != nil { + objectMap["query"] = ms.Query + } + if ms.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = ms.SourceRetryCount + } + if ms.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = ms.SourceRetryWait + } + if ms.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = ms.MaxConcurrentConnections + } + if ms.Type != "" { + objectMap["type"] = ms.Type + } + for k, v := range ms.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAmazonRedshiftSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { + return nil, false +} + +// AsGoogleAdWordsSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { + return nil, false +} + +// AsOracleServiceCloudSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { + return nil, false +} + +// AsDynamicsAXSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { + return nil, false +} + +// AsResponsysSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsResponsysSource() (*ResponsysSource, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { + return nil, false +} + +// AsVerticaSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false +} + +// AsNetezzaSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false +} + +// AsZohoSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsZohoSource() (*ZohoSource, bool) { + return nil, false +} + +// AsXeroSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsXeroSource() (*XeroSource, bool) { + return nil, false +} + +// AsSquareSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsSquareSource() (*SquareSource, bool) { + return nil, false +} + +// AsSparkSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsSparkSource() (*SparkSource, bool) { + return nil, false +} + +// AsShopifySource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsShopifySource() (*ShopifySource, bool) { + return nil, false +} + +// AsServiceNowSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsServiceNowSource() (*ServiceNowSource, bool) { + return nil, false +} + +// AsQuickBooksSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsQuickBooksSource() (*QuickBooksSource, bool) { + return nil, false +} + +// AsPrestoSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsPrestoSource() (*PrestoSource, bool) { + return nil, false +} + +// AsPhoenixSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsPhoenixSource() (*PhoenixSource, bool) { + return nil, false +} + +// AsPaypalSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsPaypalSource() (*PaypalSource, bool) { + return nil, false +} + +// AsMarketoSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsMarketoSource() (*MarketoSource, bool) { + return nil, false +} + +// AsMariaDBSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsMariaDBSource() (*MariaDBSource, bool) { + return nil, false +} + +// AsMagentoSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsMagentoSource() (*MagentoSource, bool) { + return &ms, true +} + +// AsJiraSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsJiraSource() (*JiraSource, bool) { + return nil, false +} + +// AsImpalaSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsImpalaSource() (*ImpalaSource, bool) { + return nil, false +} + +// AsHubspotSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsHubspotSource() (*HubspotSource, bool) { + return nil, false +} + +// AsHiveSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsHiveSource() (*HiveSource, bool) { + return nil, false +} + +// AsHBaseSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsHBaseSource() (*HBaseSource, bool) { + return nil, false +} + +// AsGreenplumSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsGreenplumSource() (*GreenplumSource, bool) { + return nil, false +} + +// AsGoogleBigQuerySource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { + return nil, false +} + +// AsEloquaSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsEloquaSource() (*EloquaSource, bool) { + return nil, false +} + +// AsDrillSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsDrillSource() (*DrillSource, bool) { + return nil, false +} + +// AsCouchbaseSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsCouchbaseSource() (*CouchbaseSource, bool) { + return nil, false +} + +// AsConcurSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsConcurSource() (*ConcurSource, bool) { + return nil, false +} + +// AsAzurePostgreSQLSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { + return nil, false +} + +// AsAmazonMWSSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { + return nil, false +} + +// AsHTTPSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsCassandraSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsCassandraSource() (*CassandraSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsTeradataSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsAzureMySQLSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsSQLDWSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsSQLDWSource() (*SQLDWSource, bool) { + return nil, false +} + +// AsSQLMISource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsSQLMISource() (*SQLMISource, bool) { + return nil, false +} + +// AsAzureSQLSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsAzureSQLSource() (*AzureSQLSource, bool) { + return nil, false +} + +// AsSQLServerSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsSQLServerSource() (*SQLServerSource, bool) { + return nil, false +} + +// AsSQLSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsSQLSource() (*SQLSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSapTableSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsSapTableSource() (*SapTableSource, bool) { + return nil, false +} + +// AsSapOpenHubSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { + return nil, false +} + +// AsSapHanaSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsSapHanaSource() (*SapHanaSource, bool) { + return nil, false +} + +// AsSapEccSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsSapEccSource() (*SapEccSource, bool) { + return nil, false +} + +// AsSapCloudForCustomerSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsSalesforceSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsSalesforceSource() (*SalesforceSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsSybaseSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsSybaseSource() (*SybaseSource, bool) { + return nil, false +} + +// AsPostgreSQLSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false +} + +// AsMySQLSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false +} + +// AsOdbcSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false +} + +// AsDb2Source is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsDb2Source() (*Db2Source, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + +// AsRelationalSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + +// AsDynamicsSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + +// AsAzureTableSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsBinarySource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsDelimitedTextSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false +} + +// AsParquetSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsBasicCopySource() (BasicCopySource, bool) { + return &ms, true +} + +// UnmarshalJSON is the custom unmarshaler for MagentoSource struct. +func (ms *MagentoSource) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "query": + if v != nil { + var query interface{} + err = json.Unmarshal(*v, &query) + if err != nil { + return err + } + ms.Query = query + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if ms.AdditionalProperties == nil { + ms.AdditionalProperties = make(map[string]interface{}) + } + ms.AdditionalProperties[k] = additionalProperties + } + case "sourceRetryCount": + if v != nil { + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) + if err != nil { + return err + } + ms.SourceRetryCount = sourceRetryCount + } + case "sourceRetryWait": + if v != nil { + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) + if err != nil { + return err + } + ms.SourceRetryWait = sourceRetryWait + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + ms.MaxConcurrentConnections = maxConcurrentConnections + } + case "type": + if v != nil { + var typeVar TypeBasicCopySource + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + ms.Type = typeVar + } + } + } + + return nil +} + +// ManagedIntegrationRuntime managed integration runtime, including managed elastic and managed dedicated +// integration runtimes. +type ManagedIntegrationRuntime struct { + // State - READ-ONLY; Integration runtime state, only valid for managed dedicated integration runtime. Possible values include: 'IntegrationRuntimeStateInitial', 'IntegrationRuntimeStateStopped', 'IntegrationRuntimeStateStarted', 'IntegrationRuntimeStateStarting', 'IntegrationRuntimeStateStopping', 'IntegrationRuntimeStateNeedRegistration', 'IntegrationRuntimeStateOnline', 'IntegrationRuntimeStateLimited', 'IntegrationRuntimeStateOffline', 'IntegrationRuntimeStateAccessDenied' + State IntegrationRuntimeState `json:"state,omitempty"` + // ManagedIntegrationRuntimeTypeProperties - Managed integration runtime properties. + *ManagedIntegrationRuntimeTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Description - Integration runtime description. + Description *string `json:"description,omitempty"` + // Type - Possible values include: 'TypeIntegrationRuntime', 'TypeSelfHosted', 'TypeManaged' + Type TypeBasicIntegrationRuntime `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for ManagedIntegrationRuntime. +func (mir ManagedIntegrationRuntime) MarshalJSON() ([]byte, error) { + mir.Type = TypeManaged + objectMap := make(map[string]interface{}) + if mir.ManagedIntegrationRuntimeTypeProperties != nil { + objectMap["typeProperties"] = mir.ManagedIntegrationRuntimeTypeProperties + } + if mir.Description != nil { + objectMap["description"] = mir.Description + } + if mir.Type != "" { + objectMap["type"] = mir.Type + } + for k, v := range mir.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsSelfHostedIntegrationRuntime is the BasicIntegrationRuntime implementation for ManagedIntegrationRuntime. +func (mir ManagedIntegrationRuntime) AsSelfHostedIntegrationRuntime() (*SelfHostedIntegrationRuntime, bool) { + return nil, false +} + +// AsManagedIntegrationRuntime is the BasicIntegrationRuntime implementation for ManagedIntegrationRuntime. +func (mir ManagedIntegrationRuntime) AsManagedIntegrationRuntime() (*ManagedIntegrationRuntime, bool) { + return &mir, true +} + +// AsIntegrationRuntime is the BasicIntegrationRuntime implementation for ManagedIntegrationRuntime. +func (mir ManagedIntegrationRuntime) AsIntegrationRuntime() (*IntegrationRuntime, bool) { + return nil, false +} + +// AsBasicIntegrationRuntime is the BasicIntegrationRuntime implementation for ManagedIntegrationRuntime. +func (mir ManagedIntegrationRuntime) AsBasicIntegrationRuntime() (BasicIntegrationRuntime, bool) { + return &mir, true +} + +// UnmarshalJSON is the custom unmarshaler for ManagedIntegrationRuntime struct. +func (mir *ManagedIntegrationRuntime) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "state": + if v != nil { + var state IntegrationRuntimeState + err = json.Unmarshal(*v, &state) + if err != nil { + return err + } + mir.State = state + } + case "typeProperties": + if v != nil { + var managedIntegrationRuntimeTypeProperties ManagedIntegrationRuntimeTypeProperties + err = json.Unmarshal(*v, &managedIntegrationRuntimeTypeProperties) + if err != nil { + return err + } + mir.ManagedIntegrationRuntimeTypeProperties = &managedIntegrationRuntimeTypeProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if mir.AdditionalProperties == nil { + mir.AdditionalProperties = make(map[string]interface{}) + } + mir.AdditionalProperties[k] = additionalProperties + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + mir.Description = &description + } + case "type": + if v != nil { + var typeVar TypeBasicIntegrationRuntime + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + mir.Type = typeVar + } + } + } + + return nil +} + +// ManagedIntegrationRuntimeError error definition for managed integration runtime. +type ManagedIntegrationRuntimeError struct { + // Time - READ-ONLY; The time when the error occurred. + Time *date.Time `json:"time,omitempty"` + // Code - READ-ONLY; Error code. + Code *string `json:"code,omitempty"` + // Parameters - READ-ONLY; Managed integration runtime error parameters. + Parameters *[]string `json:"parameters,omitempty"` + // Message - READ-ONLY; Error message. + Message *string `json:"message,omitempty"` +} + +// ManagedIntegrationRuntimeNode properties of integration runtime node. +type ManagedIntegrationRuntimeNode struct { + // NodeID - READ-ONLY; The managed integration runtime node id. + NodeID *string `json:"nodeId,omitempty"` + // Status - READ-ONLY; The managed integration runtime node status. Possible values include: 'Starting', 'Available', 'Recycling', 'Unavailable' + Status ManagedIntegrationRuntimeNodeStatus `json:"status,omitempty"` + // Errors - The errors that occurred on this integration runtime node. + Errors *[]ManagedIntegrationRuntimeError `json:"errors,omitempty"` +} + +// ManagedIntegrationRuntimeOperationResult properties of managed integration runtime operation result. +type ManagedIntegrationRuntimeOperationResult struct { + // Type - READ-ONLY; The operation type. Could be start or stop. + Type *string `json:"type,omitempty"` + // StartTime - READ-ONLY; The start time of the operation. + StartTime *date.Time `json:"startTime,omitempty"` + // Result - READ-ONLY; The operation result. + Result *string `json:"result,omitempty"` + // ErrorCode - READ-ONLY; The error code. + ErrorCode *string `json:"errorCode,omitempty"` + // Parameters - READ-ONLY; Managed integration runtime error parameters. + Parameters *[]string `json:"parameters,omitempty"` + // ActivityID - READ-ONLY; The activity id for the operation request. + ActivityID *string `json:"activityId,omitempty"` +} + +// ManagedIntegrationRuntimeStatus managed integration runtime status. +type ManagedIntegrationRuntimeStatus struct { + // ManagedIntegrationRuntimeStatusTypeProperties - Managed integration runtime status type properties. + *ManagedIntegrationRuntimeStatusTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // DataFactoryName - READ-ONLY; The data factory name which the integration runtime belong to. + DataFactoryName *string `json:"dataFactoryName,omitempty"` + // State - READ-ONLY; The state of integration runtime. Possible values include: 'IntegrationRuntimeStateInitial', 'IntegrationRuntimeStateStopped', 'IntegrationRuntimeStateStarted', 'IntegrationRuntimeStateStarting', 'IntegrationRuntimeStateStopping', 'IntegrationRuntimeStateNeedRegistration', 'IntegrationRuntimeStateOnline', 'IntegrationRuntimeStateLimited', 'IntegrationRuntimeStateOffline', 'IntegrationRuntimeStateAccessDenied' + State IntegrationRuntimeState `json:"state,omitempty"` + // Type - Possible values include: 'TypeBasicIntegrationRuntimeStatusTypeIntegrationRuntimeStatus', 'TypeBasicIntegrationRuntimeStatusTypeSelfHosted', 'TypeBasicIntegrationRuntimeStatusTypeManaged' + Type TypeBasicIntegrationRuntimeStatus `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for ManagedIntegrationRuntimeStatus. +func (mirs ManagedIntegrationRuntimeStatus) MarshalJSON() ([]byte, error) { + mirs.Type = TypeBasicIntegrationRuntimeStatusTypeManaged + objectMap := make(map[string]interface{}) + if mirs.ManagedIntegrationRuntimeStatusTypeProperties != nil { + objectMap["typeProperties"] = mirs.ManagedIntegrationRuntimeStatusTypeProperties + } + if mirs.Type != "" { + objectMap["type"] = mirs.Type + } + for k, v := range mirs.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsSelfHostedIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for ManagedIntegrationRuntimeStatus. +func (mirs ManagedIntegrationRuntimeStatus) AsSelfHostedIntegrationRuntimeStatus() (*SelfHostedIntegrationRuntimeStatus, bool) { + return nil, false +} + +// AsManagedIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for ManagedIntegrationRuntimeStatus. +func (mirs ManagedIntegrationRuntimeStatus) AsManagedIntegrationRuntimeStatus() (*ManagedIntegrationRuntimeStatus, bool) { + return &mirs, true +} + +// AsIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for ManagedIntegrationRuntimeStatus. +func (mirs ManagedIntegrationRuntimeStatus) AsIntegrationRuntimeStatus() (*IntegrationRuntimeStatus, bool) { + return nil, false +} + +// AsBasicIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for ManagedIntegrationRuntimeStatus. +func (mirs ManagedIntegrationRuntimeStatus) AsBasicIntegrationRuntimeStatus() (BasicIntegrationRuntimeStatus, bool) { + return &mirs, true +} + +// UnmarshalJSON is the custom unmarshaler for ManagedIntegrationRuntimeStatus struct. +func (mirs *ManagedIntegrationRuntimeStatus) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "typeProperties": + if v != nil { + var managedIntegrationRuntimeStatusTypeProperties ManagedIntegrationRuntimeStatusTypeProperties + err = json.Unmarshal(*v, &managedIntegrationRuntimeStatusTypeProperties) + if err != nil { + return err + } + mirs.ManagedIntegrationRuntimeStatusTypeProperties = &managedIntegrationRuntimeStatusTypeProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if mirs.AdditionalProperties == nil { + mirs.AdditionalProperties = make(map[string]interface{}) + } + mirs.AdditionalProperties[k] = additionalProperties + } + case "dataFactoryName": + if v != nil { + var dataFactoryName string + err = json.Unmarshal(*v, &dataFactoryName) + if err != nil { + return err + } + mirs.DataFactoryName = &dataFactoryName + } + case "state": + if v != nil { + var state IntegrationRuntimeState + err = json.Unmarshal(*v, &state) + if err != nil { + return err + } + mirs.State = state + } + case "type": + if v != nil { + var typeVar TypeBasicIntegrationRuntimeStatus + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + mirs.Type = typeVar + } + } + } + + return nil +} + +// ManagedIntegrationRuntimeStatusTypeProperties managed integration runtime status type properties. +type ManagedIntegrationRuntimeStatusTypeProperties struct { + // CreateTime - READ-ONLY; The time at which the integration runtime was created, in ISO8601 format. + CreateTime *date.Time `json:"createTime,omitempty"` + // Nodes - READ-ONLY; The list of nodes for managed integration runtime. + Nodes *[]ManagedIntegrationRuntimeNode `json:"nodes,omitempty"` + // OtherErrors - READ-ONLY; The errors that occurred on this integration runtime. + OtherErrors *[]ManagedIntegrationRuntimeError `json:"otherErrors,omitempty"` + // LastOperation - READ-ONLY; The last operation result that occurred on this integration runtime. + LastOperation *ManagedIntegrationRuntimeOperationResult `json:"lastOperation,omitempty"` +} + +// ManagedIntegrationRuntimeTypeProperties managed integration runtime type properties. +type ManagedIntegrationRuntimeTypeProperties struct { + // ComputeProperties - The compute resource for managed integration runtime. + ComputeProperties *IntegrationRuntimeComputeProperties `json:"computeProperties,omitempty"` + // SsisProperties - SSIS properties for managed integration runtime. + SsisProperties *IntegrationRuntimeSsisProperties `json:"ssisProperties,omitempty"` +} + +// MariaDBLinkedService mariaDB server linked service. +type MariaDBLinkedService struct { + // MariaDBLinkedServiceTypeProperties - MariaDB server linked service properties. + *MariaDBLinkedServiceTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. + Description *string `json:"description,omitempty"` + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the linked service. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for MariaDBLinkedService. +func (mdls MariaDBLinkedService) MarshalJSON() ([]byte, error) { + mdls.Type = TypeMariaDB + objectMap := make(map[string]interface{}) + if mdls.MariaDBLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = mdls.MariaDBLinkedServiceTypeProperties + } + if mdls.ConnectVia != nil { + objectMap["connectVia"] = mdls.ConnectVia + } + if mdls.Description != nil { + objectMap["description"] = mdls.Description + } + if mdls.Parameters != nil { + objectMap["parameters"] = mdls.Parameters + } + if mdls.Annotations != nil { + objectMap["annotations"] = mdls.Annotations + } + if mdls.Type != "" { + objectMap["type"] = mdls.Type + } + for k, v := range mdls.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { + return nil, false +} + +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { + return nil, false +} + +// AsSapTableLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { + return nil, false +} + +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { + return nil, false +} + +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { + return nil, false +} + +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { + return nil, false +} + +// AsResponsysLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { + return nil, false +} + +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { + return nil, false +} + +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { + return nil, false +} + +// AsNetezzaLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + +// AsZohoLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { + return nil, false +} + +// AsXeroLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { + return nil, false +} + +// AsSquareLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { + return nil, false +} + +// AsSparkLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { + return nil, false +} + +// AsShopifyLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { + return nil, false +} + +// AsServiceNowLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { + return nil, false +} + +// AsQuickBooksLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { + return nil, false +} + +// AsPrestoLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { + return nil, false +} + +// AsPhoenixLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { + return nil, false +} + +// AsPaypalLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { + return nil, false +} + +// AsMarketoLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { + return nil, false +} + +// AsMariaDBLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { + return &mdls, true +} + +// AsMagentoLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { + return nil, false +} + +// AsJiraLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { + return nil, false +} + +// AsImpalaLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { + return nil, false +} + +// AsHubspotLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { + return nil, false +} + +// AsHiveLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { + return nil, false +} + +// AsHBaseLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { + return nil, false +} + +// AsGreenplumLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { + return nil, false +} + +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { + return nil, false +} + +// AsEloquaLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { + return nil, false +} + +// AsDrillLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { + return nil, false +} + +// AsCouchbaseLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { + return nil, false +} + +// AsConcurLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { + return nil, false +} + +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { + return nil, false +} + +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { + return nil, false +} + +// AsSapHanaLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { + return nil, false +} + +// AsSapBWLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { + return nil, false +} + +// AsSftpServerLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { + return nil, false +} + +// AsFtpServerLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { + return nil, false +} + +// AsHTTPLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { + return nil, false +} + +// AsAzureSearchLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { + return nil, false +} + +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { + return nil, false +} + +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { + return nil, false +} + +// AsAmazonS3LinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { + return nil, false +} + +// AsRestServiceLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { + return nil, false +} + +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { + return nil, false +} + +// AsSapEccLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { + return nil, false +} + +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { + return nil, false +} + +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + +// AsSalesforceLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { + return nil, false +} + +// AsOffice365LinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { + return nil, false +} + +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { + return nil, false +} + +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { + return nil, false +} + +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { + return nil, false +} + +// AsMongoDbLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { + return nil, false +} + +// AsCassandraLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { + return nil, false +} + +// AsWebLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { + return nil, false +} + +// AsODataLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { + return nil, false +} + +// AsHdfsLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { + return nil, false +} + +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + +// AsOdbcLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { + return nil, false +} + +// AsAzureMLLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { + return nil, false +} + +// AsTeradataLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { + return nil, false +} + +// AsDb2LinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return nil, false +} + +// AsSybaseLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { + return nil, false +} + +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { + return nil, false +} + +// AsMySQLLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { + return nil, false +} + +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { + return nil, false +} + +// AsOracleLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { + return nil, false +} + +// AsFileServerLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { + return nil, false +} + +// AsHDInsightLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + +// AsDynamicsLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false +} + +// AsCosmosDbLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false +} + +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false +} + +// AsAzureBatchLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} + +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &mdls, true +} + +// UnmarshalJSON is the custom unmarshaler for MariaDBLinkedService struct. +func (mdls *MariaDBLinkedService) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "typeProperties": + if v != nil { + var mariaDBLinkedServiceTypeProperties MariaDBLinkedServiceTypeProperties + err = json.Unmarshal(*v, &mariaDBLinkedServiceTypeProperties) + if err != nil { + return err + } + mdls.MariaDBLinkedServiceTypeProperties = &mariaDBLinkedServiceTypeProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if mdls.AdditionalProperties == nil { + mdls.AdditionalProperties = make(map[string]interface{}) + } + mdls.AdditionalProperties[k] = additionalProperties + } + case "connectVia": + if v != nil { + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) + if err != nil { + return err + } + mdls.ConnectVia = &connectVia + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + mdls.Description = &description + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + mdls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + mdls.Annotations = &annotations + } + case "type": + if v != nil { + var typeVar TypeBasicLinkedService + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + mdls.Type = typeVar + } + } + } + + return nil +} + +// MariaDBLinkedServiceTypeProperties mariaDB server linked service properties. +type MariaDBLinkedServiceTypeProperties struct { + // ConnectionString - An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + ConnectionString interface{} `json:"connectionString,omitempty"` + // Pwd - The Azure key vault secret reference of password in connection string. + Pwd *AzureKeyVaultSecretReference `json:"pwd,omitempty"` + // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` +} + +// MariaDBSource a copy activity MariaDB server source. +type MariaDBSource struct { + // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). + Query interface{} `json:"query,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + Type TypeBasicCopySource `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for MariaDBSource. +func (mds MariaDBSource) MarshalJSON() ([]byte, error) { + mds.Type = TypeMariaDBSource + objectMap := make(map[string]interface{}) + if mds.Query != nil { + objectMap["query"] = mds.Query + } + if mds.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = mds.SourceRetryCount + } + if mds.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = mds.SourceRetryWait + } + if mds.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = mds.MaxConcurrentConnections + } + if mds.Type != "" { + objectMap["type"] = mds.Type + } + for k, v := range mds.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAmazonRedshiftSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { + return nil, false +} + +// AsGoogleAdWordsSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { + return nil, false +} + +// AsOracleServiceCloudSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { + return nil, false +} + +// AsDynamicsAXSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { + return nil, false +} + +// AsResponsysSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsResponsysSource() (*ResponsysSource, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { + return nil, false +} + +// AsVerticaSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false +} + +// AsNetezzaSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false +} + +// AsZohoSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsZohoSource() (*ZohoSource, bool) { + return nil, false +} + +// AsXeroSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsXeroSource() (*XeroSource, bool) { + return nil, false +} + +// AsSquareSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsSquareSource() (*SquareSource, bool) { + return nil, false +} + +// AsSparkSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsSparkSource() (*SparkSource, bool) { + return nil, false +} + +// AsShopifySource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsShopifySource() (*ShopifySource, bool) { + return nil, false +} + +// AsServiceNowSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsServiceNowSource() (*ServiceNowSource, bool) { + return nil, false +} + +// AsQuickBooksSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsQuickBooksSource() (*QuickBooksSource, bool) { + return nil, false +} + +// AsPrestoSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsPrestoSource() (*PrestoSource, bool) { + return nil, false +} + +// AsPhoenixSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsPhoenixSource() (*PhoenixSource, bool) { + return nil, false +} + +// AsPaypalSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsPaypalSource() (*PaypalSource, bool) { + return nil, false +} + +// AsMarketoSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsMarketoSource() (*MarketoSource, bool) { + return nil, false +} + +// AsMariaDBSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsMariaDBSource() (*MariaDBSource, bool) { + return &mds, true +} + +// AsMagentoSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsMagentoSource() (*MagentoSource, bool) { + return nil, false +} + +// AsJiraSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsJiraSource() (*JiraSource, bool) { + return nil, false +} + +// AsImpalaSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsImpalaSource() (*ImpalaSource, bool) { + return nil, false +} + +// AsHubspotSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsHubspotSource() (*HubspotSource, bool) { + return nil, false +} + +// AsHiveSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsHiveSource() (*HiveSource, bool) { + return nil, false +} + +// AsHBaseSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsHBaseSource() (*HBaseSource, bool) { + return nil, false +} + +// AsGreenplumSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsGreenplumSource() (*GreenplumSource, bool) { + return nil, false +} + +// AsGoogleBigQuerySource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { + return nil, false +} + +// AsEloquaSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsEloquaSource() (*EloquaSource, bool) { + return nil, false +} + +// AsDrillSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsDrillSource() (*DrillSource, bool) { + return nil, false +} + +// AsCouchbaseSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsCouchbaseSource() (*CouchbaseSource, bool) { + return nil, false +} + +// AsConcurSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsConcurSource() (*ConcurSource, bool) { + return nil, false +} + +// AsAzurePostgreSQLSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { + return nil, false +} + +// AsAmazonMWSSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { + return nil, false +} + +// AsHTTPSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsCassandraSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsCassandraSource() (*CassandraSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsTeradataSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsAzureMySQLSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsSQLDWSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsSQLDWSource() (*SQLDWSource, bool) { + return nil, false +} + +// AsSQLMISource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsSQLMISource() (*SQLMISource, bool) { + return nil, false +} + +// AsAzureSQLSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsAzureSQLSource() (*AzureSQLSource, bool) { + return nil, false +} + +// AsSQLServerSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsSQLServerSource() (*SQLServerSource, bool) { + return nil, false +} + +// AsSQLSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsSQLSource() (*SQLSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSapTableSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsSapTableSource() (*SapTableSource, bool) { + return nil, false +} + +// AsSapOpenHubSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { + return nil, false +} + +// AsSapHanaSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsSapHanaSource() (*SapHanaSource, bool) { + return nil, false +} + +// AsSapEccSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsSapEccSource() (*SapEccSource, bool) { + return nil, false +} + +// AsSapCloudForCustomerSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsSalesforceSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsSalesforceSource() (*SalesforceSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsSybaseSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsSybaseSource() (*SybaseSource, bool) { + return nil, false +} + +// AsPostgreSQLSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false +} + +// AsMySQLSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false +} + +// AsOdbcSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false +} + +// AsDb2Source is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsDb2Source() (*Db2Source, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + +// AsRelationalSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + +// AsDynamicsSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + +// AsAzureTableSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsBinarySource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsDelimitedTextSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false +} + +// AsParquetSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsBasicCopySource() (BasicCopySource, bool) { + return &mds, true +} + +// UnmarshalJSON is the custom unmarshaler for MariaDBSource struct. +func (mds *MariaDBSource) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "query": + if v != nil { + var query interface{} + err = json.Unmarshal(*v, &query) + if err != nil { + return err + } + mds.Query = query + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if mds.AdditionalProperties == nil { + mds.AdditionalProperties = make(map[string]interface{}) + } + mds.AdditionalProperties[k] = additionalProperties + } + case "sourceRetryCount": + if v != nil { + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) + if err != nil { + return err + } + mds.SourceRetryCount = sourceRetryCount + } + case "sourceRetryWait": + if v != nil { + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) + if err != nil { + return err + } + mds.SourceRetryWait = sourceRetryWait + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + mds.MaxConcurrentConnections = maxConcurrentConnections + } + case "type": + if v != nil { + var typeVar TypeBasicCopySource + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + mds.Type = typeVar + } + } + } + + return nil +} + +// MariaDBTableDataset mariaDB server dataset. +type MariaDBTableDataset struct { + // GenericDatasetTypeProperties - Properties specific to this dataset type. + *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Description - Dataset description. + Description *string `json:"description,omitempty"` + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) MarshalJSON() ([]byte, error) { + mdtd.Type = TypeMariaDBTable + objectMap := make(map[string]interface{}) + if mdtd.GenericDatasetTypeProperties != nil { + objectMap["typeProperties"] = mdtd.GenericDatasetTypeProperties + } + if mdtd.Description != nil { + objectMap["description"] = mdtd.Description + } + if mdtd.Structure != nil { + objectMap["structure"] = mdtd.Structure + } + if mdtd.Schema != nil { + objectMap["schema"] = mdtd.Schema + } + if mdtd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = mdtd.LinkedServiceName + } + if mdtd.Parameters != nil { + objectMap["parameters"] = mdtd.Parameters + } + if mdtd.Annotations != nil { + objectMap["annotations"] = mdtd.Annotations + } + if mdtd.Folder != nil { + objectMap["folder"] = mdtd.Folder + } + if mdtd.Type != "" { + objectMap["type"] = mdtd.Type + } + for k, v := range mdtd.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { + return nil, false +} + +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { + return nil, false +} + +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { + return nil, false +} + +// AsDynamicsAXResourceDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { + return nil, false +} + +// AsResponsysObjectDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { + return nil, false +} + +// AsVerticaTableDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false +} + +// AsNetezzaTableDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false +} + +// AsZohoObjectDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { + return nil, false +} + +// AsXeroObjectDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { + return nil, false +} + +// AsSquareObjectDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { + return nil, false +} + +// AsSparkObjectDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { + return nil, false +} + +// AsShopifyObjectDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { + return nil, false +} + +// AsServiceNowObjectDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { + return nil, false +} + +// AsQuickBooksObjectDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { + return nil, false +} + +// AsPrestoObjectDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { + return nil, false +} + +// AsPhoenixObjectDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { + return nil, false +} + +// AsPaypalObjectDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { + return nil, false +} + +// AsMarketoObjectDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { + return nil, false +} + +// AsMariaDBTableDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { + return &mdtd, true +} + +// AsMagentoObjectDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { + return nil, false +} + +// AsJiraObjectDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { + return nil, false +} + +// AsImpalaObjectDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { + return nil, false +} + +// AsHubspotObjectDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { + return nil, false +} + +// AsHiveObjectDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { + return nil, false +} + +// AsHBaseObjectDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { + return nil, false +} + +// AsGreenplumTableDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { + return nil, false +} + +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { + return nil, false +} + +// AsEloquaObjectDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { + return nil, false +} + +// AsDrillTableDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { + return nil, false +} + +// AsCouchbaseTableDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { + return nil, false +} + +// AsConcurObjectDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { + return nil, false +} + +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { + return nil, false +} + +// AsAmazonMWSObjectDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { + return nil, false +} + +// AsHTTPDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { + return nil, false +} + +// AsAzureSearchIndexDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { + return nil, false +} + +// AsWebTableDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { + return nil, false +} + +// AsSapTableResourceDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { + return nil, false +} + +// AsRestResourceDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { + return nil, false +} + +// AsSQLServerTableDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { + return nil, false +} + +// AsSapOpenHubTableDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { + return nil, false +} + +// AsSapHanaTableDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { + return nil, false +} + +// AsSapEccResourceDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { + return nil, false +} + +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { + return nil, false +} + +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { + return nil, false +} + +// AsSalesforceObjectDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { + return nil, false +} + +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { + return nil, false +} + +// AsPostgreSQLTableDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { + return nil, false +} + +// AsMySQLTableDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { + return nil, false +} + +// AsOdbcTableDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { + return nil, false +} + +// AsInformixTableDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { + return nil, false +} + +// AsRelationalTableDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { + return nil, false +} + +// AsAzureMySQLTableDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { + return nil, false +} + +// AsTeradataTableDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { + return nil, false +} + +// AsOracleTableDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { + return nil, false +} + +// AsODataResourceDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { + return nil, false +} + +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { + return nil, false +} + +// AsMongoDbCollectionDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { + return nil, false +} + +// AsFileShareDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { + return nil, false +} + +// AsOffice365Dataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { + return nil, false +} + +// AsAzureBlobFSDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { + return nil, false +} + +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { + return nil, false +} + +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { + return nil, false +} + +// AsDynamicsEntityDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { + return nil, false +} + +// AsDocumentDbCollectionDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { + return nil, false +} + +// AsCustomDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsCustomDataset() (*CustomDataset, bool) { + return nil, false +} + +// AsCassandraTableDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { + return nil, false +} + +// AsAzureSQLDWTableDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { + return nil, false +} + +// AsAzureSQLMITableDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + +// AsAzureSQLTableDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { + return nil, false +} + +// AsAzureTableDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { + return nil, false +} + +// AsAzureBlobDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { + return nil, false +} + +// AsBinaryDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + +// AsDelimitedTextDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { + return nil, false +} + +// AsParquetDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsDataset() (*Dataset, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for IntegrationRuntimeSsisCatalogInfo. -func (irsci IntegrationRuntimeSsisCatalogInfo) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if irsci.CatalogServerEndpoint != nil { - objectMap["catalogServerEndpoint"] = irsci.CatalogServerEndpoint - } - if irsci.CatalogAdminUserName != nil { - objectMap["catalogAdminUserName"] = irsci.CatalogAdminUserName - } - if irsci.CatalogAdminPassword != nil { - objectMap["catalogAdminPassword"] = irsci.CatalogAdminPassword - } - if irsci.CatalogPricingTier != "" { - objectMap["catalogPricingTier"] = irsci.CatalogPricingTier - } - for k, v := range irsci.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsBasicDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsBasicDataset() (BasicDataset, bool) { + return &mdtd, true } -// UnmarshalJSON is the custom unmarshaler for IntegrationRuntimeSsisCatalogInfo struct. -func (irsci *IntegrationRuntimeSsisCatalogInfo) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for MariaDBTableDataset struct. +func (mdtd *MariaDBTableDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -82442,165 +106522,98 @@ func (irsci *IntegrationRuntimeSsisCatalogInfo) UnmarshalJSON(body []byte) error } for k, v := range m { switch k { - default: + case "typeProperties": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var genericDatasetTypeProperties GenericDatasetTypeProperties + err = json.Unmarshal(*v, &genericDatasetTypeProperties) if err != nil { return err } - if irsci.AdditionalProperties == nil { - irsci.AdditionalProperties = make(map[string]interface{}) - } - irsci.AdditionalProperties[k] = additionalProperties + mdtd.GenericDatasetTypeProperties = &genericDatasetTypeProperties } - case "catalogServerEndpoint": + default: if v != nil { - var catalogServerEndpoint string - err = json.Unmarshal(*v, &catalogServerEndpoint) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - irsci.CatalogServerEndpoint = &catalogServerEndpoint - } - case "catalogAdminUserName": - if v != nil { - var catalogAdminUserName string - err = json.Unmarshal(*v, &catalogAdminUserName) - if err != nil { - return err + if mdtd.AdditionalProperties == nil { + mdtd.AdditionalProperties = make(map[string]interface{}) } - irsci.CatalogAdminUserName = &catalogAdminUserName + mdtd.AdditionalProperties[k] = additionalProperties } - case "catalogAdminPassword": + case "description": if v != nil { - var catalogAdminPassword SecureString - err = json.Unmarshal(*v, &catalogAdminPassword) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - irsci.CatalogAdminPassword = &catalogAdminPassword + mdtd.Description = &description } - case "catalogPricingTier": + case "structure": if v != nil { - var catalogPricingTier IntegrationRuntimeSsisCatalogPricingTier - err = json.Unmarshal(*v, &catalogPricingTier) + var structure interface{} + err = json.Unmarshal(*v, &structure) if err != nil { return err } - irsci.CatalogPricingTier = catalogPricingTier + mdtd.Structure = structure } - } - } - - return nil -} - -// IntegrationRuntimeSsisProperties SSIS properties for managed integration runtime. -type IntegrationRuntimeSsisProperties struct { - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // CatalogInfo - Catalog information for managed dedicated integration runtime. - CatalogInfo *IntegrationRuntimeSsisCatalogInfo `json:"catalogInfo,omitempty"` - // LicenseType - License type for bringing your own license scenario. Possible values include: 'BasePrice', 'LicenseIncluded' - LicenseType IntegrationRuntimeLicenseType `json:"licenseType,omitempty"` - // CustomSetupScriptProperties - Custom setup script properties for a managed dedicated integration runtime. - CustomSetupScriptProperties *IntegrationRuntimeCustomSetupScriptProperties `json:"customSetupScriptProperties,omitempty"` - // DataProxyProperties - Data proxy properties for a managed dedicated integration runtime. - DataProxyProperties *IntegrationRuntimeDataProxyProperties `json:"dataProxyProperties,omitempty"` - // Edition - The edition for the SSIS Integration Runtime. Possible values include: 'Standard', 'Enterprise' - Edition IntegrationRuntimeEdition `json:"edition,omitempty"` -} - -// MarshalJSON is the custom marshaler for IntegrationRuntimeSsisProperties. -func (irsp IntegrationRuntimeSsisProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if irsp.CatalogInfo != nil { - objectMap["catalogInfo"] = irsp.CatalogInfo - } - if irsp.LicenseType != "" { - objectMap["licenseType"] = irsp.LicenseType - } - if irsp.CustomSetupScriptProperties != nil { - objectMap["customSetupScriptProperties"] = irsp.CustomSetupScriptProperties - } - if irsp.DataProxyProperties != nil { - objectMap["dataProxyProperties"] = irsp.DataProxyProperties - } - if irsp.Edition != "" { - objectMap["edition"] = irsp.Edition - } - for k, v := range irsp.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for IntegrationRuntimeSsisProperties struct. -func (irsp *IntegrationRuntimeSsisProperties) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - default: + case "schema": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var schema interface{} + err = json.Unmarshal(*v, &schema) if err != nil { return err } - if irsp.AdditionalProperties == nil { - irsp.AdditionalProperties = make(map[string]interface{}) - } - irsp.AdditionalProperties[k] = additionalProperties + mdtd.Schema = schema } - case "catalogInfo": + case "linkedServiceName": if v != nil { - var catalogInfo IntegrationRuntimeSsisCatalogInfo - err = json.Unmarshal(*v, &catalogInfo) + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) if err != nil { return err } - irsp.CatalogInfo = &catalogInfo + mdtd.LinkedServiceName = &linkedServiceName } - case "licenseType": + case "parameters": if v != nil { - var licenseType IntegrationRuntimeLicenseType - err = json.Unmarshal(*v, &licenseType) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - irsp.LicenseType = licenseType + mdtd.Parameters = parameters } - case "customSetupScriptProperties": + case "annotations": if v != nil { - var customSetupScriptProperties IntegrationRuntimeCustomSetupScriptProperties - err = json.Unmarshal(*v, &customSetupScriptProperties) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - irsp.CustomSetupScriptProperties = &customSetupScriptProperties + mdtd.Annotations = &annotations } - case "dataProxyProperties": + case "folder": if v != nil { - var dataProxyProperties IntegrationRuntimeDataProxyProperties - err = json.Unmarshal(*v, &dataProxyProperties) + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) if err != nil { return err } - irsp.DataProxyProperties = &dataProxyProperties + mdtd.Folder = &folder } - case "edition": + case "type": if v != nil { - var edition IntegrationRuntimeEdition - err = json.Unmarshal(*v, &edition) + var typeVar TypeBasicDataset + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - irsp.Edition = edition + mdtd.Type = typeVar } } } @@ -82608,153 +106621,514 @@ func (irsp *IntegrationRuntimeSsisProperties) UnmarshalJSON(body []byte) error { return nil } -// IntegrationRuntimesStartFuture an abstraction for monitoring and retrieving the results of a -// long-running operation. -type IntegrationRuntimesStartFuture struct { - azure.Future +// MarketoLinkedService marketo server linked service. +type MarketoLinkedService struct { + // MarketoLinkedServiceTypeProperties - Marketo server linked service properties. + *MarketoLinkedServiceTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. + Description *string `json:"description,omitempty"` + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the linked service. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` } -// Result returns the result of the asynchronous operation. -// If the operation has not completed it will return an error. -func (future *IntegrationRuntimesStartFuture) Result(client IntegrationRuntimesClient) (irsr IntegrationRuntimeStatusResponse, err error) { - var done bool - done, err = future.DoneWithContext(context.Background(), client) - if err != nil { - err = autorest.NewErrorWithError(err, "datafactory.IntegrationRuntimesStartFuture", "Result", future.Response(), "Polling failure") - return +// MarshalJSON is the custom marshaler for MarketoLinkedService. +func (mls MarketoLinkedService) MarshalJSON() ([]byte, error) { + mls.Type = TypeMarketo + objectMap := make(map[string]interface{}) + if mls.MarketoLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = mls.MarketoLinkedServiceTypeProperties } - if !done { - err = azure.NewAsyncOpIncompleteError("datafactory.IntegrationRuntimesStartFuture") - return + if mls.ConnectVia != nil { + objectMap["connectVia"] = mls.ConnectVia } - sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) - if irsr.Response.Response, err = future.GetResult(sender); err == nil && irsr.Response.Response.StatusCode != http.StatusNoContent { - irsr, err = client.StartResponder(irsr.Response.Response) - if err != nil { - err = autorest.NewErrorWithError(err, "datafactory.IntegrationRuntimesStartFuture", "Result", irsr.Response.Response, "Failure responding to request") - } + if mls.Description != nil { + objectMap["description"] = mls.Description } - return + if mls.Parameters != nil { + objectMap["parameters"] = mls.Parameters + } + if mls.Annotations != nil { + objectMap["annotations"] = mls.Annotations + } + if mls.Type != "" { + objectMap["type"] = mls.Type + } + for k, v := range mls.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// IntegrationRuntimesStopFuture an abstraction for monitoring and retrieving the results of a long-running -// operation. -type IntegrationRuntimesStopFuture struct { - azure.Future +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { + return nil, false } -// Result returns the result of the asynchronous operation. -// If the operation has not completed it will return an error. -func (future *IntegrationRuntimesStopFuture) Result(client IntegrationRuntimesClient) (ar autorest.Response, err error) { - var done bool - done, err = future.DoneWithContext(context.Background(), client) - if err != nil { - err = autorest.NewErrorWithError(err, "datafactory.IntegrationRuntimesStopFuture", "Result", future.Response(), "Polling failure") - return - } - if !done { - err = azure.NewAsyncOpIncompleteError("datafactory.IntegrationRuntimesStopFuture") - return - } - ar.Response = future.Response() - return +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { + return nil, false } -// BasicIntegrationRuntimeStatus integration runtime status. -type BasicIntegrationRuntimeStatus interface { - AsSelfHostedIntegrationRuntimeStatus() (*SelfHostedIntegrationRuntimeStatus, bool) - AsManagedIntegrationRuntimeStatus() (*ManagedIntegrationRuntimeStatus, bool) - AsIntegrationRuntimeStatus() (*IntegrationRuntimeStatus, bool) +// AsSapTableLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { + return nil, false } -// IntegrationRuntimeStatus integration runtime status. -type IntegrationRuntimeStatus struct { - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // DataFactoryName - READ-ONLY; The data factory name which the integration runtime belong to. - DataFactoryName *string `json:"dataFactoryName,omitempty"` - // State - READ-ONLY; The state of integration runtime. Possible values include: 'Initial', 'Stopped', 'Started', 'Starting', 'Stopping', 'NeedRegistration', 'Online', 'Limited', 'Offline', 'AccessDenied' - State IntegrationRuntimeState `json:"state,omitempty"` - // Type - Possible values include: 'TypeBasicIntegrationRuntimeStatusTypeIntegrationRuntimeStatus', 'TypeBasicIntegrationRuntimeStatusTypeSelfHosted', 'TypeBasicIntegrationRuntimeStatusTypeManaged' - Type TypeBasicIntegrationRuntimeStatus `json:"type,omitempty"` +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { + return nil, false } -func unmarshalBasicIntegrationRuntimeStatus(body []byte) (BasicIntegrationRuntimeStatus, error) { - var m map[string]interface{} - err := json.Unmarshal(body, &m) - if err != nil { - return nil, err - } +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { + return nil, false +} - switch m["type"] { - case string(TypeBasicIntegrationRuntimeStatusTypeSelfHosted): - var shirs SelfHostedIntegrationRuntimeStatus - err := json.Unmarshal(body, &shirs) - return shirs, err - case string(TypeBasicIntegrationRuntimeStatusTypeManaged): - var mirs ManagedIntegrationRuntimeStatus - err := json.Unmarshal(body, &mirs) - return mirs, err - default: - var irs IntegrationRuntimeStatus - err := json.Unmarshal(body, &irs) - return irs, err - } +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { + return nil, false } -func unmarshalBasicIntegrationRuntimeStatusArray(body []byte) ([]BasicIntegrationRuntimeStatus, error) { - var rawMessages []*json.RawMessage - err := json.Unmarshal(body, &rawMessages) - if err != nil { - return nil, err - } - irsArray := make([]BasicIntegrationRuntimeStatus, len(rawMessages)) +// AsResponsysLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { + return nil, false +} - for index, rawMessage := range rawMessages { - irs, err := unmarshalBasicIntegrationRuntimeStatus(*rawMessage) - if err != nil { - return nil, err - } - irsArray[index] = irs - } - return irsArray, nil +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for IntegrationRuntimeStatus. -func (irs IntegrationRuntimeStatus) MarshalJSON() ([]byte, error) { - irs.Type = TypeBasicIntegrationRuntimeStatusTypeIntegrationRuntimeStatus - objectMap := make(map[string]interface{}) - if irs.Type != "" { - objectMap["type"] = irs.Type - } - for k, v := range irs.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { + return nil, false } -// AsSelfHostedIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for IntegrationRuntimeStatus. -func (irs IntegrationRuntimeStatus) AsSelfHostedIntegrationRuntimeStatus() (*SelfHostedIntegrationRuntimeStatus, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsManagedIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for IntegrationRuntimeStatus. -func (irs IntegrationRuntimeStatus) AsManagedIntegrationRuntimeStatus() (*ManagedIntegrationRuntimeStatus, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for IntegrationRuntimeStatus. -func (irs IntegrationRuntimeStatus) AsIntegrationRuntimeStatus() (*IntegrationRuntimeStatus, bool) { - return &irs, true +// AsNetezzaLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false } -// AsBasicIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for IntegrationRuntimeStatus. -func (irs IntegrationRuntimeStatus) AsBasicIntegrationRuntimeStatus() (BasicIntegrationRuntimeStatus, bool) { - return &irs, true +// AsVerticaLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for IntegrationRuntimeStatus struct. -func (irs *IntegrationRuntimeStatus) UnmarshalJSON(body []byte) error { +// AsZohoLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { + return nil, false +} + +// AsXeroLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { + return nil, false +} + +// AsSquareLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { + return nil, false +} + +// AsSparkLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { + return nil, false +} + +// AsShopifyLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { + return nil, false +} + +// AsServiceNowLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { + return nil, false +} + +// AsQuickBooksLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { + return nil, false +} + +// AsPrestoLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { + return nil, false +} + +// AsPhoenixLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { + return nil, false +} + +// AsPaypalLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { + return nil, false +} + +// AsMarketoLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { + return &mls, true +} + +// AsMariaDBLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { + return nil, false +} + +// AsMagentoLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { + return nil, false +} + +// AsJiraLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { + return nil, false +} + +// AsImpalaLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { + return nil, false +} + +// AsHubspotLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { + return nil, false +} + +// AsHiveLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { + return nil, false +} + +// AsHBaseLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { + return nil, false +} + +// AsGreenplumLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { + return nil, false +} + +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { + return nil, false +} + +// AsEloquaLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { + return nil, false +} + +// AsDrillLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { + return nil, false +} + +// AsCouchbaseLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { + return nil, false +} + +// AsConcurLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { + return nil, false +} + +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { + return nil, false +} + +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { + return nil, false +} + +// AsSapHanaLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { + return nil, false +} + +// AsSapBWLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { + return nil, false +} + +// AsSftpServerLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { + return nil, false +} + +// AsFtpServerLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { + return nil, false +} + +// AsHTTPLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { + return nil, false +} + +// AsAzureSearchLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { + return nil, false +} + +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { + return nil, false +} + +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { + return nil, false +} + +// AsAmazonS3LinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { + return nil, false +} + +// AsRestServiceLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { + return nil, false +} + +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { + return nil, false +} + +// AsSapEccLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { + return nil, false +} + +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { + return nil, false +} + +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + +// AsSalesforceLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { + return nil, false +} + +// AsOffice365LinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { + return nil, false +} + +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { + return nil, false +} + +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { + return nil, false +} + +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { + return nil, false +} + +// AsMongoDbLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { + return nil, false +} + +// AsCassandraLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { + return nil, false +} + +// AsWebLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { + return nil, false +} + +// AsODataLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { + return nil, false +} + +// AsHdfsLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { + return nil, false +} + +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + +// AsOdbcLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { + return nil, false +} + +// AsAzureMLLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { + return nil, false +} + +// AsTeradataLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { + return nil, false +} + +// AsDb2LinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return nil, false +} + +// AsSybaseLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { + return nil, false +} + +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { + return nil, false +} + +// AsMySQLLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { + return nil, false +} + +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { + return nil, false +} + +// AsOracleLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { + return nil, false +} + +// AsFileServerLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { + return nil, false +} + +// AsHDInsightLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + +// AsDynamicsLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false +} + +// AsCosmosDbLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false +} + +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false +} + +// AsAzureBatchLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} + +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &mls, true +} + +// UnmarshalJSON is the custom unmarshaler for MarketoLinkedService struct. +func (mls *MarketoLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -82762,6 +107136,15 @@ func (irs *IntegrationRuntimeStatus) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { + case "typeProperties": + if v != nil { + var marketoLinkedServiceTypeProperties MarketoLinkedServiceTypeProperties + err = json.Unmarshal(*v, &marketoLinkedServiceTypeProperties) + if err != nil { + return err + } + mls.MarketoLinkedServiceTypeProperties = &marketoLinkedServiceTypeProperties + } default: if v != nil { var additionalProperties interface{} @@ -82769,37 +107152,55 @@ func (irs *IntegrationRuntimeStatus) UnmarshalJSON(body []byte) error { if err != nil { return err } - if irs.AdditionalProperties == nil { - irs.AdditionalProperties = make(map[string]interface{}) + if mls.AdditionalProperties == nil { + mls.AdditionalProperties = make(map[string]interface{}) } - irs.AdditionalProperties[k] = additionalProperties + mls.AdditionalProperties[k] = additionalProperties } - case "dataFactoryName": + case "connectVia": if v != nil { - var dataFactoryName string - err = json.Unmarshal(*v, &dataFactoryName) + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) if err != nil { return err } - irs.DataFactoryName = &dataFactoryName + mls.ConnectVia = &connectVia } - case "state": + case "description": if v != nil { - var state IntegrationRuntimeState - err = json.Unmarshal(*v, &state) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - irs.State = state + mls.Description = &description + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + mls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + mls.Annotations = &annotations } case "type": if v != nil { - var typeVar TypeBasicIntegrationRuntimeStatus + var typeVar TypeBasicLinkedService err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - irs.Type = typeVar + mls.Type = typeVar } } } @@ -82807,25 +107208,26 @@ func (irs *IntegrationRuntimeStatus) UnmarshalJSON(body []byte) error { return nil } -// IntegrationRuntimeStatusListResponse a list of integration runtime status. -type IntegrationRuntimeStatusListResponse struct { - // Value - List of integration runtime status. - Value *[]IntegrationRuntimeStatusResponse `json:"value,omitempty"` - // NextLink - The link to the next page of results, if any remaining results exist. - NextLink *string `json:"nextLink,omitempty"` -} - -// IntegrationRuntimeStatusResponse integration runtime status response. -type IntegrationRuntimeStatusResponse struct { - autorest.Response `json:"-"` - // Name - READ-ONLY; The integration runtime name. - Name *string `json:"name,omitempty"` - // Properties - Integration runtime properties. - Properties BasicIntegrationRuntimeStatus `json:"properties,omitempty"` +// MarketoLinkedServiceTypeProperties marketo server linked service properties. +type MarketoLinkedServiceTypeProperties struct { + // Endpoint - The endpoint of the Marketo server. (i.e. 123-ABC-321.mktorest.com) + Endpoint interface{} `json:"endpoint,omitempty"` + // ClientID - The client Id of your Marketo service. + ClientID interface{} `json:"clientId,omitempty"` + // ClientSecret - The client secret of your Marketo service. + ClientSecret BasicSecretBase `json:"clientSecret,omitempty"` + // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. + UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"` + // UseHostVerification - 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. + UseHostVerification interface{} `json:"useHostVerification,omitempty"` + // UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. + UsePeerVerification interface{} `json:"usePeerVerification,omitempty"` + // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` } -// UnmarshalJSON is the custom unmarshaler for IntegrationRuntimeStatusResponse struct. -func (irsr *IntegrationRuntimeStatusResponse) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for MarketoLinkedServiceTypeProperties struct. +func (mlstp *MarketoLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -82833,92 +107235,67 @@ func (irsr *IntegrationRuntimeStatusResponse) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "name": + case "endpoint": if v != nil { - var name string - err = json.Unmarshal(*v, &name) + var endpoint interface{} + err = json.Unmarshal(*v, &endpoint) if err != nil { return err } - irsr.Name = &name + mlstp.Endpoint = endpoint } - case "properties": + case "clientId": if v != nil { - properties, err := unmarshalBasicIntegrationRuntimeStatus(*v) + var clientID interface{} + err = json.Unmarshal(*v, &clientID) if err != nil { return err } - irsr.Properties = properties + mlstp.ClientID = clientID } - } - } - - return nil -} - -// IntegrationRuntimeVNetProperties vNet properties for managed integration runtime. -type IntegrationRuntimeVNetProperties struct { - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // VNetID - The ID of the VNet that this integration runtime will join. - VNetID *string `json:"vNetId,omitempty"` - // Subnet - The name of the subnet this integration runtime will join. - Subnet *string `json:"subnet,omitempty"` -} - -// MarshalJSON is the custom marshaler for IntegrationRuntimeVNetProperties. -func (irvnp IntegrationRuntimeVNetProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if irvnp.VNetID != nil { - objectMap["vNetId"] = irvnp.VNetID - } - if irvnp.Subnet != nil { - objectMap["subnet"] = irvnp.Subnet - } - for k, v := range irvnp.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for IntegrationRuntimeVNetProperties struct. -func (irvnp *IntegrationRuntimeVNetProperties) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - default: + case "clientSecret": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + clientSecret, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - if irvnp.AdditionalProperties == nil { - irvnp.AdditionalProperties = make(map[string]interface{}) + mlstp.ClientSecret = clientSecret + } + case "useEncryptedEndpoints": + if v != nil { + var useEncryptedEndpoints interface{} + err = json.Unmarshal(*v, &useEncryptedEndpoints) + if err != nil { + return err } - irvnp.AdditionalProperties[k] = additionalProperties + mlstp.UseEncryptedEndpoints = useEncryptedEndpoints } - case "vNetId": + case "useHostVerification": if v != nil { - var vNetID string - err = json.Unmarshal(*v, &vNetID) + var useHostVerification interface{} + err = json.Unmarshal(*v, &useHostVerification) if err != nil { return err } - irvnp.VNetID = &vNetID + mlstp.UseHostVerification = useHostVerification } - case "subnet": + case "usePeerVerification": if v != nil { - var subnet string - err = json.Unmarshal(*v, &subnet) + var usePeerVerification interface{} + err = json.Unmarshal(*v, &usePeerVerification) if err != nil { return err } - irvnp.Subnet = &subnet + mlstp.UsePeerVerification = usePeerVerification + } + case "encryptedCredential": + if v != nil { + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) + if err != nil { + return err + } + mlstp.EncryptedCredential = encryptedCredential } } } @@ -82926,484 +107303,469 @@ func (irvnp *IntegrationRuntimeVNetProperties) UnmarshalJSON(body []byte) error return nil } -// JiraLinkedService jira Service linked service. -type JiraLinkedService struct { - // JiraLinkedServiceTypeProperties - Jira Service linked service properties. - *JiraLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// MarketoObjectDataset marketo server dataset. +type MarketoObjectDataset struct { + // GenericDatasetTypeProperties - Properties specific to this dataset type. + *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. + // Description - Dataset description. Description *string `json:"description,omitempty"` - // Parameters - Parameters for linked service. + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the linked service. + // Annotations - List of tags that can be used for describing the Dataset. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for JiraLinkedService. -func (jls JiraLinkedService) MarshalJSON() ([]byte, error) { - jls.Type = TypeJira +// MarshalJSON is the custom marshaler for MarketoObjectDataset. +func (mod MarketoObjectDataset) MarshalJSON() ([]byte, error) { + mod.Type = TypeMarketoObject objectMap := make(map[string]interface{}) - if jls.JiraLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = jls.JiraLinkedServiceTypeProperties + if mod.GenericDatasetTypeProperties != nil { + objectMap["typeProperties"] = mod.GenericDatasetTypeProperties } - if jls.ConnectVia != nil { - objectMap["connectVia"] = jls.ConnectVia + if mod.Description != nil { + objectMap["description"] = mod.Description } - if jls.Description != nil { - objectMap["description"] = jls.Description + if mod.Structure != nil { + objectMap["structure"] = mod.Structure } - if jls.Parameters != nil { - objectMap["parameters"] = jls.Parameters + if mod.Schema != nil { + objectMap["schema"] = mod.Schema } - if jls.Annotations != nil { - objectMap["annotations"] = jls.Annotations + if mod.LinkedServiceName != nil { + objectMap["linkedServiceName"] = mod.LinkedServiceName } - if jls.Type != "" { - objectMap["type"] = jls.Type + if mod.Parameters != nil { + objectMap["parameters"] = mod.Parameters } - for k, v := range jls.AdditionalProperties { - objectMap[k] = v + if mod.Annotations != nil { + objectMap["annotations"] = mod.Annotations } - return json.Marshal(objectMap) -} - -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { - return nil, false -} - -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { - return nil, false -} - -// AsSapTableLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { - return nil, false -} - -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { - return nil, false -} - -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { - return nil, false + if mod.Folder != nil { + objectMap["folder"] = mod.Folder + } + if mod.Type != "" { + objectMap["type"] = mod.Type + } + for k, v := range mod.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { - return nil, false +// AsMarketoObjectDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { + return &mod, true } -// AsMariaDBLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { - return &jls, true -} - -// AsImpalaLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsDrillTableDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsHTTPDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsWebTableDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsRestResourceDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsInformixTableDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsOracleTableDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsODataResourceDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsFileShareDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsOffice365Dataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsCustomDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsAzureTableDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsBinaryDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsParquetDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAmazonS3Dataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsDataset() (*Dataset, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &jls, true +// AsBasicDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsBasicDataset() (BasicDataset, bool) { + return &mod, true } -// UnmarshalJSON is the custom unmarshaler for JiraLinkedService struct. -func (jls *JiraLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for MarketoObjectDataset struct. +func (mod *MarketoObjectDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -83413,12 +107775,12 @@ func (jls *JiraLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var jiraLinkedServiceTypeProperties JiraLinkedServiceTypeProperties - err = json.Unmarshal(*v, &jiraLinkedServiceTypeProperties) + var genericDatasetTypeProperties GenericDatasetTypeProperties + err = json.Unmarshal(*v, &genericDatasetTypeProperties) if err != nil { return err } - jls.JiraLinkedServiceTypeProperties = &jiraLinkedServiceTypeProperties + mod.GenericDatasetTypeProperties = &genericDatasetTypeProperties } default: if v != nil { @@ -83427,19 +107789,10 @@ func (jls *JiraLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if jls.AdditionalProperties == nil { - jls.AdditionalProperties = make(map[string]interface{}) - } - jls.AdditionalProperties[k] = additionalProperties - } - case "connectVia": - if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) - if err != nil { - return err + if mod.AdditionalProperties == nil { + mod.AdditionalProperties = make(map[string]interface{}) } - jls.ConnectVia = &connectVia + mod.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -83448,140 +107801,70 @@ func (jls *JiraLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - jls.Description = &description - } - case "parameters": - if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) - if err != nil { - return err - } - jls.Parameters = parameters - } - case "annotations": - if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) - if err != nil { - return err - } - jls.Annotations = &annotations - } - case "type": - if v != nil { - var typeVar TypeBasicLinkedService - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - jls.Type = typeVar - } - } - } - - return nil -} - -// JiraLinkedServiceTypeProperties jira Service linked service properties. -type JiraLinkedServiceTypeProperties struct { - // Host - The IP address or host name of the Jira service. (e.g. jira.example.com) - Host interface{} `json:"host,omitempty"` - // Port - The TCP port that the Jira server uses to listen for client connections. The default value is 443 if connecting through HTTPS, or 8080 if connecting through HTTP. - Port interface{} `json:"port,omitempty"` - // Username - The user name that you use to access Jira Service. - Username interface{} `json:"username,omitempty"` - // Password - The password corresponding to the user name that you provided in the username field. - Password BasicSecretBase `json:"password,omitempty"` - // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. - UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"` - // UseHostVerification - 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. - UseHostVerification interface{} `json:"useHostVerification,omitempty"` - // UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. - UsePeerVerification interface{} `json:"usePeerVerification,omitempty"` - // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). - EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` -} - -// UnmarshalJSON is the custom unmarshaler for JiraLinkedServiceTypeProperties struct. -func (jlstp *JiraLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "host": - if v != nil { - var host interface{} - err = json.Unmarshal(*v, &host) - if err != nil { - return err - } - jlstp.Host = host + mod.Description = &description } - case "port": + case "structure": if v != nil { - var port interface{} - err = json.Unmarshal(*v, &port) + var structure interface{} + err = json.Unmarshal(*v, &structure) if err != nil { return err } - jlstp.Port = port + mod.Structure = structure } - case "username": + case "schema": if v != nil { - var username interface{} - err = json.Unmarshal(*v, &username) + var schema interface{} + err = json.Unmarshal(*v, &schema) if err != nil { return err } - jlstp.Username = username + mod.Schema = schema } - case "password": + case "linkedServiceName": if v != nil { - password, err := unmarshalBasicSecretBase(*v) + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) if err != nil { return err } - jlstp.Password = password + mod.LinkedServiceName = &linkedServiceName } - case "useEncryptedEndpoints": + case "parameters": if v != nil { - var useEncryptedEndpoints interface{} - err = json.Unmarshal(*v, &useEncryptedEndpoints) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - jlstp.UseEncryptedEndpoints = useEncryptedEndpoints + mod.Parameters = parameters } - case "useHostVerification": + case "annotations": if v != nil { - var useHostVerification interface{} - err = json.Unmarshal(*v, &useHostVerification) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - jlstp.UseHostVerification = useHostVerification + mod.Annotations = &annotations } - case "usePeerVerification": + case "folder": if v != nil { - var usePeerVerification interface{} - err = json.Unmarshal(*v, &usePeerVerification) + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) if err != nil { return err } - jlstp.UsePeerVerification = usePeerVerification + mod.Folder = &folder } - case "encryptedCredential": + case "type": if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) + var typeVar TypeBasicDataset + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - jlstp.EncryptedCredential = encryptedCredential + mod.Type = typeVar } } } @@ -83589,414 +107872,459 @@ func (jlstp *JiraLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { return nil } -// JiraObjectDataset jira Service dataset. -type JiraObjectDataset struct { - // GenericDatasetTypeProperties - Properties specific to this dataset type. - *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` +// MarketoSource a copy activity Marketo server source. +type MarketoSource struct { + // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). + Query interface{} `json:"query,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Description - Dataset description. - Description *string `json:"description,omitempty"` - // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. - Structure interface{} `json:"structure,omitempty"` - // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - Schema interface{} `json:"schema,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Parameters - Parameters for dataset. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the Dataset. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' - Type TypeBasicDataset `json:"type,omitempty"` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for JiraObjectDataset. -func (jod JiraObjectDataset) MarshalJSON() ([]byte, error) { - jod.Type = TypeJiraObject +// MarshalJSON is the custom marshaler for MarketoSource. +func (ms MarketoSource) MarshalJSON() ([]byte, error) { + ms.Type = TypeMarketoSource objectMap := make(map[string]interface{}) - if jod.GenericDatasetTypeProperties != nil { - objectMap["typeProperties"] = jod.GenericDatasetTypeProperties - } - if jod.Description != nil { - objectMap["description"] = jod.Description - } - if jod.Structure != nil { - objectMap["structure"] = jod.Structure - } - if jod.Schema != nil { - objectMap["schema"] = jod.Schema - } - if jod.LinkedServiceName != nil { - objectMap["linkedServiceName"] = jod.LinkedServiceName + if ms.Query != nil { + objectMap["query"] = ms.Query } - if jod.Parameters != nil { - objectMap["parameters"] = jod.Parameters + if ms.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = ms.SourceRetryCount } - if jod.Annotations != nil { - objectMap["annotations"] = jod.Annotations + if ms.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = ms.SourceRetryWait } - if jod.Folder != nil { - objectMap["folder"] = jod.Folder + if ms.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = ms.MaxConcurrentConnections } - if jod.Type != "" { - objectMap["type"] = jod.Type + if ms.Type != "" { + objectMap["type"] = ms.Type } - for k, v := range jod.AdditionalProperties { + for k, v := range ms.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsResponsysSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsVerticaSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsNetezzaSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsZohoSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsXeroSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsSquareSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsSparkSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsShopifySource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsServiceNowSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsPrestoSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsPhoenixSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsPaypalSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsMarketoSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsMarketoSource() (*MarketoSource, bool) { + return &ms, true +} + +// AsMariaDBSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsMagentoSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsJiraSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { - return &jod, true +// AsImpalaSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsImpalaSource() (*ImpalaSource, bool) { + return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsHubspotSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsHiveSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsHBaseSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsGreenplumSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsEloquaSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsDrillSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsConcurSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsHTTPSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsOffice365Source is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsMongoDbSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsCassandraSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsWebSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsTeradataSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsOracleSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsHdfsSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsFileSystemSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsSQLDWSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsSQLMISource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsSQLServerSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsSQLSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsRestSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsSapTableSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsSapHanaSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsSapEccSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsSalesforceSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsODataSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsSybaseSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsMySQLSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsOdbcSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsDb2Source is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsDataset() (*Dataset, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsBasicDataset() (BasicDataset, bool) { - return &jod, true +// AsInformixSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsInformixSource() (*InformixSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for JiraObjectDataset struct. -func (jod *JiraObjectDataset) UnmarshalJSON(body []byte) error { +// AsRelationalSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + +// AsDynamicsSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + +// AsAzureTableSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsBinarySource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsDelimitedTextSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false +} + +// AsParquetSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsBasicCopySource() (BasicCopySource, bool) { + return &ms, true +} + +// UnmarshalJSON is the custom unmarshaler for MarketoSource struct. +func (ms *MarketoSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -84004,14 +108332,14 @@ func (jod *JiraObjectDataset) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": + case "query": if v != nil { - var genericDatasetTypeProperties GenericDatasetTypeProperties - err = json.Unmarshal(*v, &genericDatasetTypeProperties) + var query interface{} + err = json.Unmarshal(*v, &query) if err != nil { return err } - jod.GenericDatasetTypeProperties = &genericDatasetTypeProperties + ms.Query = query } default: if v != nil { @@ -84020,472 +108348,561 @@ func (jod *JiraObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if jod.AdditionalProperties == nil { - jod.AdditionalProperties = make(map[string]interface{}) - } - jod.AdditionalProperties[k] = additionalProperties - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - jod.Description = &description - } - case "structure": - if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) - if err != nil { - return err - } - jod.Structure = structure - } - case "schema": - if v != nil { - var schema interface{} - err = json.Unmarshal(*v, &schema) - if err != nil { - return err - } - jod.Schema = schema - } - case "linkedServiceName": - if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) - if err != nil { - return err + if ms.AdditionalProperties == nil { + ms.AdditionalProperties = make(map[string]interface{}) } - jod.LinkedServiceName = &linkedServiceName + ms.AdditionalProperties[k] = additionalProperties } - case "parameters": + case "sourceRetryCount": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) if err != nil { return err } - jod.Parameters = parameters + ms.SourceRetryCount = sourceRetryCount } - case "annotations": + case "sourceRetryWait": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) if err != nil { return err } - jod.Annotations = &annotations + ms.SourceRetryWait = sourceRetryWait } - case "folder": + case "maxConcurrentConnections": if v != nil { - var folder DatasetFolder - err = json.Unmarshal(*v, &folder) + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) if err != nil { return err } - jod.Folder = &folder + ms.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicDataset + var typeVar TypeBasicCopySource err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - jod.Type = typeVar + ms.Type = typeVar } } } - return nil + return nil +} + +// MicrosoftAccessLinkedService microsoft Access linked service. +type MicrosoftAccessLinkedService struct { + // MicrosoftAccessLinkedServiceTypeProperties - Microsoft Access linked service properties. + *MicrosoftAccessLinkedServiceTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. + Description *string `json:"description,omitempty"` + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the linked service. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) MarshalJSON() ([]byte, error) { + mals.Type = TypeMicrosoftAccess + objectMap := make(map[string]interface{}) + if mals.MicrosoftAccessLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = mals.MicrosoftAccessLinkedServiceTypeProperties + } + if mals.ConnectVia != nil { + objectMap["connectVia"] = mals.ConnectVia + } + if mals.Description != nil { + objectMap["description"] = mals.Description + } + if mals.Parameters != nil { + objectMap["parameters"] = mals.Parameters + } + if mals.Annotations != nil { + objectMap["annotations"] = mals.Annotations + } + if mals.Type != "" { + objectMap["type"] = mals.Type + } + for k, v := range mals.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { + return nil, false +} + +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { + return nil, false +} + +// AsSapTableLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { + return nil, false +} + +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { + return nil, false +} + +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { + return nil, false +} + +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { + return nil, false +} + +// AsResponsysLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { + return nil, false +} + +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { + return nil, false +} + +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { + return nil, false +} + +// AsNetezzaLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + +// AsZohoLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { + return nil, false +} + +// AsXeroLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { + return nil, false +} + +// AsSquareLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { + return nil, false +} + +// AsSparkLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { + return nil, false +} + +// AsShopifyLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { + return nil, false +} + +// AsServiceNowLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { + return nil, false +} + +// AsQuickBooksLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { + return nil, false } -// JiraSource a copy activity Jira Service source. -type JiraSource struct { - // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). - Query interface{} `json:"query,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). - SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` - // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' - Type TypeBasicCopySource `json:"type,omitempty"` +// AsPrestoLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for JiraSource. -func (js JiraSource) MarshalJSON() ([]byte, error) { - js.Type = TypeJiraSource - objectMap := make(map[string]interface{}) - if js.Query != nil { - objectMap["query"] = js.Query - } - if js.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = js.SourceRetryCount - } - if js.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = js.SourceRetryWait - } - if js.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = js.MaxConcurrentConnections - } - if js.Type != "" { - objectMap["type"] = js.Type - } - for k, v := range js.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsPhoenixLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { + return nil, false } -// AsAmazonRedshiftSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsVerticaSource() (*VerticaSource, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsZohoSource() (*ZohoSource, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsXeroSource() (*XeroSource, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsSquareSource() (*SquareSource, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsSparkSource() (*SparkSource, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsShopifySource() (*ShopifySource, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsPrestoSource() (*PrestoSource, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsPaypalSource() (*PaypalSource, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsMarketoSource() (*MarketoSource, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsMagentoSource() (*MagentoSource, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsJiraSource() (*JiraSource, bool) { - return &js, true +// AsHTTPLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { + return nil, false } -// AsImpalaSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsHubspotSource() (*HubspotSource, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsHiveSource() (*HiveSource, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsHBaseSource() (*HBaseSource, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsEloquaSource() (*EloquaSource, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsDrillSource() (*DrillSource, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsConcurSource() (*ConcurSource, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsHTTPSource() (*HTTPSource, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsOffice365Source() (*Office365Source, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsCassandraSource() (*CassandraSource, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsWebSource() (*WebSource, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return &mals, true +} + +// AsInformixLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsOracleSource() (*OracleSource, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsHdfsSource() (*HdfsSource, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsSQLSource() (*SQLSource, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsRestSource() (*RestSource, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsSapTableSource() (*SapTableSource, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsSapEccSource() (*SapEccSource, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsRelationalSource() (*RelationalSource, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsBlobSource() (*BlobSource, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsParquetSource() (*ParquetSource, bool) { +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsCopySource() (*CopySource, bool) { +// AsAzureStorageLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsBasicCopySource() (BasicCopySource, bool) { - return &js, true +// AsLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for JiraSource struct. -func (js *JiraSource) UnmarshalJSON(body []byte) error { +// AsBasicLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &mals, true +} + +// UnmarshalJSON is the custom unmarshaler for MicrosoftAccessLinkedService struct. +func (mals *MicrosoftAccessLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -84493,14 +108910,14 @@ func (js *JiraSource) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "query": + case "typeProperties": if v != nil { - var query interface{} - err = json.Unmarshal(*v, &query) + var microsoftAccessLinkedServiceTypeProperties MicrosoftAccessLinkedServiceTypeProperties + err = json.Unmarshal(*v, µsoftAccessLinkedServiceTypeProperties) if err != nil { return err } - js.Query = query + mals.MicrosoftAccessLinkedServiceTypeProperties = µsoftAccessLinkedServiceTypeProperties } default: if v != nil { @@ -84509,46 +108926,55 @@ func (js *JiraSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - if js.AdditionalProperties == nil { - js.AdditionalProperties = make(map[string]interface{}) + if mals.AdditionalProperties == nil { + mals.AdditionalProperties = make(map[string]interface{}) } - js.AdditionalProperties[k] = additionalProperties + mals.AdditionalProperties[k] = additionalProperties } - case "sourceRetryCount": + case "connectVia": if v != nil { - var sourceRetryCount interface{} - err = json.Unmarshal(*v, &sourceRetryCount) + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) if err != nil { return err } - js.SourceRetryCount = sourceRetryCount + mals.ConnectVia = &connectVia } - case "sourceRetryWait": + case "description": if v != nil { - var sourceRetryWait interface{} - err = json.Unmarshal(*v, &sourceRetryWait) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - js.SourceRetryWait = sourceRetryWait + mals.Description = &description } - case "maxConcurrentConnections": + case "parameters": if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - js.MaxConcurrentConnections = maxConcurrentConnections + mals.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + mals.Annotations = &annotations } case "type": if v != nil { - var typeVar TypeBasicCopySource + var typeVar TypeBasicLinkedService err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - js.Type = typeVar + mals.Type = typeVar } } } @@ -84556,99 +108982,24 @@ func (js *JiraSource) UnmarshalJSON(body []byte) error { return nil } -// JSONFormat the data stored in JSON format. -type JSONFormat struct { - // FilePattern - File pattern of JSON. To be more specific, the way of separating a collection of JSON objects. The default value is 'setOfObjects'. It is case-sensitive. - FilePattern interface{} `json:"filePattern,omitempty"` - // NestingSeparator - The character used to separate nesting levels. Default value is '.' (dot). Type: string (or Expression with resultType string). - NestingSeparator interface{} `json:"nestingSeparator,omitempty"` - // EncodingName - 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). - EncodingName interface{} `json:"encodingName,omitempty"` - // JSONNodeReference - The JSONPath of the JSON array element to be flattened. Example: "$.ArrayPath". Type: string (or Expression with resultType string). - JSONNodeReference interface{} `json:"jsonNodeReference,omitempty"` - // JSONPathDefinition - 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). - JSONPathDefinition interface{} `json:"jsonPathDefinition,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Serializer - Serializer. Type: string (or Expression with resultType string). - Serializer interface{} `json:"serializer,omitempty"` - // Deserializer - Deserializer. Type: string (or Expression with resultType string). - Deserializer interface{} `json:"deserializer,omitempty"` - // Type - Possible values include: 'TypeDatasetStorageFormat', 'TypeParquetFormat', 'TypeOrcFormat', 'TypeAvroFormat', 'TypeJSONFormat', 'TypeTextFormat' - Type TypeBasicDatasetStorageFormat `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for JSONFormat. -func (jf JSONFormat) MarshalJSON() ([]byte, error) { - jf.Type = TypeJSONFormat - objectMap := make(map[string]interface{}) - if jf.FilePattern != nil { - objectMap["filePattern"] = jf.FilePattern - } - if jf.NestingSeparator != nil { - objectMap["nestingSeparator"] = jf.NestingSeparator - } - if jf.EncodingName != nil { - objectMap["encodingName"] = jf.EncodingName - } - if jf.JSONNodeReference != nil { - objectMap["jsonNodeReference"] = jf.JSONNodeReference - } - if jf.JSONPathDefinition != nil { - objectMap["jsonPathDefinition"] = jf.JSONPathDefinition - } - if jf.Serializer != nil { - objectMap["serializer"] = jf.Serializer - } - if jf.Deserializer != nil { - objectMap["deserializer"] = jf.Deserializer - } - if jf.Type != "" { - objectMap["type"] = jf.Type - } - for k, v := range jf.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) -} - -// AsParquetFormat is the BasicDatasetStorageFormat implementation for JSONFormat. -func (jf JSONFormat) AsParquetFormat() (*ParquetFormat, bool) { - return nil, false -} - -// AsOrcFormat is the BasicDatasetStorageFormat implementation for JSONFormat. -func (jf JSONFormat) AsOrcFormat() (*OrcFormat, bool) { - return nil, false -} - -// AsAvroFormat is the BasicDatasetStorageFormat implementation for JSONFormat. -func (jf JSONFormat) AsAvroFormat() (*AvroFormat, bool) { - return nil, false -} - -// AsJSONFormat is the BasicDatasetStorageFormat implementation for JSONFormat. -func (jf JSONFormat) AsJSONFormat() (*JSONFormat, bool) { - return &jf, true -} - -// AsTextFormat is the BasicDatasetStorageFormat implementation for JSONFormat. -func (jf JSONFormat) AsTextFormat() (*TextFormat, bool) { - return nil, false -} - -// AsDatasetStorageFormat is the BasicDatasetStorageFormat implementation for JSONFormat. -func (jf JSONFormat) AsDatasetStorageFormat() (*DatasetStorageFormat, bool) { - return nil, false -} - -// AsBasicDatasetStorageFormat is the BasicDatasetStorageFormat implementation for JSONFormat. -func (jf JSONFormat) AsBasicDatasetStorageFormat() (BasicDatasetStorageFormat, bool) { - return &jf, true +// MicrosoftAccessLinkedServiceTypeProperties microsoft Access linked service properties. +type MicrosoftAccessLinkedServiceTypeProperties struct { + // ConnectionString - The non-access credential portion of the connection string as well as an optional encrypted credential. Type: string, SecureString or AzureKeyVaultSecretReference. + ConnectionString interface{} `json:"connectionString,omitempty"` + // AuthenticationType - Type of authentication used to connect to the Microsoft Access as ODBC data store. Possible values are: Anonymous and Basic. Type: string (or Expression with resultType string). + AuthenticationType interface{} `json:"authenticationType,omitempty"` + // Credential - The access credential portion of the connection string specified in driver-specific property-value format. + Credential BasicSecretBase `json:"credential,omitempty"` + // UserName - User name for Basic authentication. Type: string (or Expression with resultType string). + UserName interface{} `json:"userName,omitempty"` + // Password - Password for Basic authentication. + Password BasicSecretBase `json:"password,omitempty"` + // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` } -// UnmarshalJSON is the custom unmarshaler for JSONFormat struct. -func (jf *JSONFormat) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for MicrosoftAccessLinkedServiceTypeProperties struct. +func (malstp *MicrosoftAccessLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -84656,89 +109007,57 @@ func (jf *JSONFormat) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "filePattern": - if v != nil { - var filePattern interface{} - err = json.Unmarshal(*v, &filePattern) - if err != nil { - return err - } - jf.FilePattern = filePattern - } - case "nestingSeparator": - if v != nil { - var nestingSeparator interface{} - err = json.Unmarshal(*v, &nestingSeparator) - if err != nil { - return err - } - jf.NestingSeparator = nestingSeparator - } - case "encodingName": - if v != nil { - var encodingName interface{} - err = json.Unmarshal(*v, &encodingName) - if err != nil { - return err - } - jf.EncodingName = encodingName - } - case "jsonNodeReference": + case "connectionString": if v != nil { - var JSONNodeReference interface{} - err = json.Unmarshal(*v, &JSONNodeReference) + var connectionString interface{} + err = json.Unmarshal(*v, &connectionString) if err != nil { return err } - jf.JSONNodeReference = JSONNodeReference + malstp.ConnectionString = connectionString } - case "jsonPathDefinition": + case "authenticationType": if v != nil { - var JSONPathDefinition interface{} - err = json.Unmarshal(*v, &JSONPathDefinition) + var authenticationType interface{} + err = json.Unmarshal(*v, &authenticationType) if err != nil { return err } - jf.JSONPathDefinition = JSONPathDefinition + malstp.AuthenticationType = authenticationType } - default: + case "credential": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + credential, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - if jf.AdditionalProperties == nil { - jf.AdditionalProperties = make(map[string]interface{}) - } - jf.AdditionalProperties[k] = additionalProperties + malstp.Credential = credential } - case "serializer": + case "userName": if v != nil { - var serializer interface{} - err = json.Unmarshal(*v, &serializer) + var userName interface{} + err = json.Unmarshal(*v, &userName) if err != nil { return err } - jf.Serializer = serializer + malstp.UserName = userName } - case "deserializer": + case "password": if v != nil { - var deserializer interface{} - err = json.Unmarshal(*v, &deserializer) + password, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - jf.Deserializer = deserializer + malstp.Password = password } - case "type": + case "encryptedCredential": if v != nil { - var typeVar TypeBasicDatasetStorageFormat - err = json.Unmarshal(*v, &typeVar) + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) if err != nil { return err } - jf.Type = typeVar + malstp.EncryptedCredential = encryptedCredential } } } @@ -84746,1126 +109065,1288 @@ func (jf *JSONFormat) UnmarshalJSON(body []byte) error { return nil } -// LinkedIntegrationRuntime the linked integration runtime information. -type LinkedIntegrationRuntime struct { - // Name - READ-ONLY; The name of the linked integration runtime. - Name *string `json:"name,omitempty"` - // SubscriptionID - READ-ONLY; The subscription ID for which the linked integration runtime belong to. - SubscriptionID *string `json:"subscriptionId,omitempty"` - // DataFactoryName - READ-ONLY; The name of the data factory for which the linked integration runtime belong to. - DataFactoryName *string `json:"dataFactoryName,omitempty"` - // DataFactoryLocation - READ-ONLY; The location of the data factory for which the linked integration runtime belong to. - DataFactoryLocation *string `json:"dataFactoryLocation,omitempty"` - // CreateTime - READ-ONLY; The creating time of the linked integration runtime. - CreateTime *date.Time `json:"createTime,omitempty"` -} - -// LinkedIntegrationRuntimeKeyAuthorization the key authorization type integration runtime. -type LinkedIntegrationRuntimeKeyAuthorization struct { - // Key - The key used for authorization. - Key *SecureString `json:"key,omitempty"` - // AuthorizationType - Possible values include: 'AuthorizationTypeLinkedIntegrationRuntimeType', 'AuthorizationTypeRBAC', 'AuthorizationTypeKey' - AuthorizationType AuthorizationType `json:"authorizationType,omitempty"` +// MicrosoftAccessSink a copy activity Microsoft Access sink. +type MicrosoftAccessSink struct { + // PreCopyScript - A query to execute before starting the copy. Type: string (or Expression with resultType string). + PreCopyScript interface{} `json:"preCopyScript,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + WriteBatchSize interface{} `json:"writeBatchSize,omitempty"` + // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"` + // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer). + SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"` + // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink' + Type TypeBasicCopySink `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for LinkedIntegrationRuntimeKeyAuthorization. -func (lirka LinkedIntegrationRuntimeKeyAuthorization) MarshalJSON() ([]byte, error) { - lirka.AuthorizationType = AuthorizationTypeKey +// MarshalJSON is the custom marshaler for MicrosoftAccessSink. +func (mas MicrosoftAccessSink) MarshalJSON() ([]byte, error) { + mas.Type = TypeMicrosoftAccessSink objectMap := make(map[string]interface{}) - if lirka.Key != nil { - objectMap["key"] = lirka.Key + if mas.PreCopyScript != nil { + objectMap["preCopyScript"] = mas.PreCopyScript } - if lirka.AuthorizationType != "" { - objectMap["authorizationType"] = lirka.AuthorizationType + if mas.WriteBatchSize != nil { + objectMap["writeBatchSize"] = mas.WriteBatchSize + } + if mas.WriteBatchTimeout != nil { + objectMap["writeBatchTimeout"] = mas.WriteBatchTimeout + } + if mas.SinkRetryCount != nil { + objectMap["sinkRetryCount"] = mas.SinkRetryCount + } + if mas.SinkRetryWait != nil { + objectMap["sinkRetryWait"] = mas.SinkRetryWait + } + if mas.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = mas.MaxConcurrentConnections + } + if mas.Type != "" { + objectMap["type"] = mas.Type + } + for k, v := range mas.AdditionalProperties { + objectMap[k] = v } return json.Marshal(objectMap) } -// AsLinkedIntegrationRuntimeRbacAuthorization is the BasicLinkedIntegrationRuntimeType implementation for LinkedIntegrationRuntimeKeyAuthorization. -func (lirka LinkedIntegrationRuntimeKeyAuthorization) AsLinkedIntegrationRuntimeRbacAuthorization() (*LinkedIntegrationRuntimeRbacAuthorization, bool) { +// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for MicrosoftAccessSink. +func (mas MicrosoftAccessSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { return nil, false } -// AsLinkedIntegrationRuntimeKeyAuthorization is the BasicLinkedIntegrationRuntimeType implementation for LinkedIntegrationRuntimeKeyAuthorization. -func (lirka LinkedIntegrationRuntimeKeyAuthorization) AsLinkedIntegrationRuntimeKeyAuthorization() (*LinkedIntegrationRuntimeKeyAuthorization, bool) { - return &lirka, true -} - -// AsLinkedIntegrationRuntimeType is the BasicLinkedIntegrationRuntimeType implementation for LinkedIntegrationRuntimeKeyAuthorization. -func (lirka LinkedIntegrationRuntimeKeyAuthorization) AsLinkedIntegrationRuntimeType() (*LinkedIntegrationRuntimeType, bool) { +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for MicrosoftAccessSink. +func (mas MicrosoftAccessSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { return nil, false } -// AsBasicLinkedIntegrationRuntimeType is the BasicLinkedIntegrationRuntimeType implementation for LinkedIntegrationRuntimeKeyAuthorization. -func (lirka LinkedIntegrationRuntimeKeyAuthorization) AsBasicLinkedIntegrationRuntimeType() (BasicLinkedIntegrationRuntimeType, bool) { - return &lirka, true -} - -// LinkedIntegrationRuntimeRbacAuthorization the role based access control (RBAC) authorization type -// integration runtime. -type LinkedIntegrationRuntimeRbacAuthorization struct { - // ResourceID - The resource identifier of the integration runtime to be shared. - ResourceID *string `json:"resourceId,omitempty"` - // AuthorizationType - Possible values include: 'AuthorizationTypeLinkedIntegrationRuntimeType', 'AuthorizationTypeRBAC', 'AuthorizationTypeKey' - AuthorizationType AuthorizationType `json:"authorizationType,omitempty"` -} - -// MarshalJSON is the custom marshaler for LinkedIntegrationRuntimeRbacAuthorization. -func (lirra LinkedIntegrationRuntimeRbacAuthorization) MarshalJSON() ([]byte, error) { - lirra.AuthorizationType = AuthorizationTypeRBAC - objectMap := make(map[string]interface{}) - if lirra.ResourceID != nil { - objectMap["resourceId"] = lirra.ResourceID - } - if lirra.AuthorizationType != "" { - objectMap["authorizationType"] = lirra.AuthorizationType - } - return json.Marshal(objectMap) -} - -// AsLinkedIntegrationRuntimeRbacAuthorization is the BasicLinkedIntegrationRuntimeType implementation for LinkedIntegrationRuntimeRbacAuthorization. -func (lirra LinkedIntegrationRuntimeRbacAuthorization) AsLinkedIntegrationRuntimeRbacAuthorization() (*LinkedIntegrationRuntimeRbacAuthorization, bool) { - return &lirra, true +// AsSalesforceSink is the BasicCopySink implementation for MicrosoftAccessSink. +func (mas MicrosoftAccessSink) AsSalesforceSink() (*SalesforceSink, bool) { + return nil, false } -// AsLinkedIntegrationRuntimeKeyAuthorization is the BasicLinkedIntegrationRuntimeType implementation for LinkedIntegrationRuntimeRbacAuthorization. -func (lirra LinkedIntegrationRuntimeRbacAuthorization) AsLinkedIntegrationRuntimeKeyAuthorization() (*LinkedIntegrationRuntimeKeyAuthorization, bool) { +// AsAzureDataExplorerSink is the BasicCopySink implementation for MicrosoftAccessSink. +func (mas MicrosoftAccessSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { return nil, false } -// AsLinkedIntegrationRuntimeType is the BasicLinkedIntegrationRuntimeType implementation for LinkedIntegrationRuntimeRbacAuthorization. -func (lirra LinkedIntegrationRuntimeRbacAuthorization) AsLinkedIntegrationRuntimeType() (*LinkedIntegrationRuntimeType, bool) { +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for MicrosoftAccessSink. +func (mas MicrosoftAccessSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { return nil, false } -// AsBasicLinkedIntegrationRuntimeType is the BasicLinkedIntegrationRuntimeType implementation for LinkedIntegrationRuntimeRbacAuthorization. -func (lirra LinkedIntegrationRuntimeRbacAuthorization) AsBasicLinkedIntegrationRuntimeType() (BasicLinkedIntegrationRuntimeType, bool) { - return &lirra, true +// AsDynamicsCrmSink is the BasicCopySink implementation for MicrosoftAccessSink. +func (mas MicrosoftAccessSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { + return nil, false } -// LinkedIntegrationRuntimeRequest data factory name for linked integration runtime request. -type LinkedIntegrationRuntimeRequest struct { - // LinkedFactoryName - The data factory name for linked integration runtime. - LinkedFactoryName *string `json:"factoryName,omitempty"` +// AsDynamicsSink is the BasicCopySink implementation for MicrosoftAccessSink. +func (mas MicrosoftAccessSink) AsDynamicsSink() (*DynamicsSink, bool) { + return nil, false } -// BasicLinkedIntegrationRuntimeType the base definition of a linked integration runtime. -type BasicLinkedIntegrationRuntimeType interface { - AsLinkedIntegrationRuntimeRbacAuthorization() (*LinkedIntegrationRuntimeRbacAuthorization, bool) - AsLinkedIntegrationRuntimeKeyAuthorization() (*LinkedIntegrationRuntimeKeyAuthorization, bool) - AsLinkedIntegrationRuntimeType() (*LinkedIntegrationRuntimeType, bool) +// AsMicrosoftAccessSink is the BasicCopySink implementation for MicrosoftAccessSink. +func (mas MicrosoftAccessSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { + return &mas, true } -// LinkedIntegrationRuntimeType the base definition of a linked integration runtime. -type LinkedIntegrationRuntimeType struct { - // AuthorizationType - Possible values include: 'AuthorizationTypeLinkedIntegrationRuntimeType', 'AuthorizationTypeRBAC', 'AuthorizationTypeKey' - AuthorizationType AuthorizationType `json:"authorizationType,omitempty"` +// AsInformixSink is the BasicCopySink implementation for MicrosoftAccessSink. +func (mas MicrosoftAccessSink) AsInformixSink() (*InformixSink, bool) { + return nil, false } -func unmarshalBasicLinkedIntegrationRuntimeType(body []byte) (BasicLinkedIntegrationRuntimeType, error) { - var m map[string]interface{} - err := json.Unmarshal(body, &m) - if err != nil { - return nil, err - } - - switch m["authorizationType"] { - case string(AuthorizationTypeRBAC): - var lirra LinkedIntegrationRuntimeRbacAuthorization - err := json.Unmarshal(body, &lirra) - return lirra, err - case string(AuthorizationTypeKey): - var lirka LinkedIntegrationRuntimeKeyAuthorization - err := json.Unmarshal(body, &lirka) - return lirka, err - default: - var lirt LinkedIntegrationRuntimeType - err := json.Unmarshal(body, &lirt) - return lirt, err - } +// AsOdbcSink is the BasicCopySink implementation for MicrosoftAccessSink. +func (mas MicrosoftAccessSink) AsOdbcSink() (*OdbcSink, bool) { + return nil, false } -func unmarshalBasicLinkedIntegrationRuntimeTypeArray(body []byte) ([]BasicLinkedIntegrationRuntimeType, error) { - var rawMessages []*json.RawMessage - err := json.Unmarshal(body, &rawMessages) - if err != nil { - return nil, err - } - - lirtArray := make([]BasicLinkedIntegrationRuntimeType, len(rawMessages)) - for index, rawMessage := range rawMessages { - lirt, err := unmarshalBasicLinkedIntegrationRuntimeType(*rawMessage) - if err != nil { - return nil, err - } - lirtArray[index] = lirt - } - return lirtArray, nil +// AsAzureSearchIndexSink is the BasicCopySink implementation for MicrosoftAccessSink. +func (mas MicrosoftAccessSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for LinkedIntegrationRuntimeType. -func (lirt LinkedIntegrationRuntimeType) MarshalJSON() ([]byte, error) { - lirt.AuthorizationType = AuthorizationTypeLinkedIntegrationRuntimeType - objectMap := make(map[string]interface{}) - if lirt.AuthorizationType != "" { - objectMap["authorizationType"] = lirt.AuthorizationType - } - return json.Marshal(objectMap) +// AsAzureBlobFSSink is the BasicCopySink implementation for MicrosoftAccessSink. +func (mas MicrosoftAccessSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { + return nil, false } -// AsLinkedIntegrationRuntimeRbacAuthorization is the BasicLinkedIntegrationRuntimeType implementation for LinkedIntegrationRuntimeType. -func (lirt LinkedIntegrationRuntimeType) AsLinkedIntegrationRuntimeRbacAuthorization() (*LinkedIntegrationRuntimeRbacAuthorization, bool) { +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for MicrosoftAccessSink. +func (mas MicrosoftAccessSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { return nil, false } -// AsLinkedIntegrationRuntimeKeyAuthorization is the BasicLinkedIntegrationRuntimeType implementation for LinkedIntegrationRuntimeType. -func (lirt LinkedIntegrationRuntimeType) AsLinkedIntegrationRuntimeKeyAuthorization() (*LinkedIntegrationRuntimeKeyAuthorization, bool) { +// AsOracleSink is the BasicCopySink implementation for MicrosoftAccessSink. +func (mas MicrosoftAccessSink) AsOracleSink() (*OracleSink, bool) { return nil, false } -// AsLinkedIntegrationRuntimeType is the BasicLinkedIntegrationRuntimeType implementation for LinkedIntegrationRuntimeType. -func (lirt LinkedIntegrationRuntimeType) AsLinkedIntegrationRuntimeType() (*LinkedIntegrationRuntimeType, bool) { - return &lirt, true +// AsSQLDWSink is the BasicCopySink implementation for MicrosoftAccessSink. +func (mas MicrosoftAccessSink) AsSQLDWSink() (*SQLDWSink, bool) { + return nil, false } -// AsBasicLinkedIntegrationRuntimeType is the BasicLinkedIntegrationRuntimeType implementation for LinkedIntegrationRuntimeType. -func (lirt LinkedIntegrationRuntimeType) AsBasicLinkedIntegrationRuntimeType() (BasicLinkedIntegrationRuntimeType, bool) { - return &lirt, true +// AsSQLMISink is the BasicCopySink implementation for MicrosoftAccessSink. +func (mas MicrosoftAccessSink) AsSQLMISink() (*SQLMISink, bool) { + return nil, false } -// BasicLinkedService the Azure Data Factory nested object which contains the information and credential which can be -// used to connect with related store or compute resource. -type BasicLinkedService interface { - AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) - AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) - AsSapTableLinkedService() (*SapTableLinkedService, bool) - AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) - AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) - AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) - AsResponsysLinkedService() (*ResponsysLinkedService, bool) - AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) - AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) - AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) - AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) - AsNetezzaLinkedService() (*NetezzaLinkedService, bool) - AsVerticaLinkedService() (*VerticaLinkedService, bool) - AsZohoLinkedService() (*ZohoLinkedService, bool) - AsXeroLinkedService() (*XeroLinkedService, bool) - AsSquareLinkedService() (*SquareLinkedService, bool) - AsSparkLinkedService() (*SparkLinkedService, bool) - AsShopifyLinkedService() (*ShopifyLinkedService, bool) - AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) - AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) - AsPrestoLinkedService() (*PrestoLinkedService, bool) - AsPhoenixLinkedService() (*PhoenixLinkedService, bool) - AsPaypalLinkedService() (*PaypalLinkedService, bool) - AsMarketoLinkedService() (*MarketoLinkedService, bool) - AsMariaDBLinkedService() (*MariaDBLinkedService, bool) - AsMagentoLinkedService() (*MagentoLinkedService, bool) - AsJiraLinkedService() (*JiraLinkedService, bool) - AsImpalaLinkedService() (*ImpalaLinkedService, bool) - AsHubspotLinkedService() (*HubspotLinkedService, bool) - AsHiveLinkedService() (*HiveLinkedService, bool) - AsHBaseLinkedService() (*HBaseLinkedService, bool) - AsGreenplumLinkedService() (*GreenplumLinkedService, bool) - AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) - AsEloquaLinkedService() (*EloquaLinkedService, bool) - AsDrillLinkedService() (*DrillLinkedService, bool) - AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) - AsConcurLinkedService() (*ConcurLinkedService, bool) - AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) - AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) - AsSapHanaLinkedService() (*SapHanaLinkedService, bool) - AsSapBWLinkedService() (*SapBWLinkedService, bool) - AsSftpServerLinkedService() (*SftpServerLinkedService, bool) - AsFtpServerLinkedService() (*FtpServerLinkedService, bool) - AsHTTPLinkedService() (*HTTPLinkedService, bool) - AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) - AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) - AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) - AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) - AsRestServiceLinkedService() (*RestServiceLinkedService, bool) - AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) - AsSapEccLinkedService() (*SapEccLinkedService, bool) - AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) - AsSalesforceLinkedService() (*SalesforceLinkedService, bool) - AsOffice365LinkedService() (*Office365LinkedService, bool) - AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) - AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) - AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) - AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) - AsMongoDbLinkedService() (*MongoDbLinkedService, bool) - AsCassandraLinkedService() (*CassandraLinkedService, bool) - AsWebLinkedService() (*WebLinkedService, bool) - AsODataLinkedService() (*ODataLinkedService, bool) - AsHdfsLinkedService() (*HdfsLinkedService, bool) - AsOdbcLinkedService() (*OdbcLinkedService, bool) - AsAzureMLLinkedService() (*AzureMLLinkedService, bool) - AsTeradataLinkedService() (*TeradataLinkedService, bool) - AsDb2LinkedService() (*Db2LinkedService, bool) - AsSybaseLinkedService() (*SybaseLinkedService, bool) - AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) - AsMySQLLinkedService() (*MySQLLinkedService, bool) - AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) - AsOracleLinkedService() (*OracleLinkedService, bool) - AsFileServerLinkedService() (*FileServerLinkedService, bool) - AsHDInsightLinkedService() (*HDInsightLinkedService, bool) - AsDynamicsLinkedService() (*DynamicsLinkedService, bool) - AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) - AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) - AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) - AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) - AsSQLServerLinkedService() (*SQLServerLinkedService, bool) - AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) - AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) - AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) - AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) - AsLinkedService() (*LinkedService, bool) +// AsAzureSQLSink is the BasicCopySink implementation for MicrosoftAccessSink. +func (mas MicrosoftAccessSink) AsAzureSQLSink() (*AzureSQLSink, bool) { + return nil, false } -// LinkedService the Azure Data Factory nested object which contains the information and credential which can -// be used to connect with related store or compute resource. -type LinkedService struct { - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. - Description *string `json:"description,omitempty"` - // Parameters - Parameters for linked service. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the linked service. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` +// AsSQLServerSink is the BasicCopySink implementation for MicrosoftAccessSink. +func (mas MicrosoftAccessSink) AsSQLServerSink() (*SQLServerSink, bool) { + return nil, false } -func unmarshalBasicLinkedService(body []byte) (BasicLinkedService, error) { - var m map[string]interface{} - err := json.Unmarshal(body, &m) - if err != nil { - return nil, err - } - - switch m["type"] { - case string(TypeAzureFunction): - var afls AzureFunctionLinkedService - err := json.Unmarshal(body, &afls) - return afls, err - case string(TypeAzureDataExplorer): - var adels AzureDataExplorerLinkedService - err := json.Unmarshal(body, &adels) - return adels, err - case string(TypeSapTable): - var stls SapTableLinkedService - err := json.Unmarshal(body, &stls) - return stls, err - case string(TypeGoogleAdWords): - var gawls GoogleAdWordsLinkedService - err := json.Unmarshal(body, &gawls) - return gawls, err - case string(TypeOracleServiceCloud): - var oscls OracleServiceCloudLinkedService - err := json.Unmarshal(body, &oscls) - return oscls, err - case string(TypeDynamicsAX): - var dals DynamicsAXLinkedService - err := json.Unmarshal(body, &dals) - return dals, err - case string(TypeResponsys): - var rls ResponsysLinkedService - err := json.Unmarshal(body, &rls) - return rls, err - case string(TypeAzureDatabricks): - var adls AzureDatabricksLinkedService - err := json.Unmarshal(body, &adls) - return adls, err - case string(TypeAzureDataLakeAnalytics): - var adlals AzureDataLakeAnalyticsLinkedService - err := json.Unmarshal(body, &adlals) - return adlals, err - case string(TypeHDInsightOnDemand): - var hiodls HDInsightOnDemandLinkedService - err := json.Unmarshal(body, &hiodls) - return hiodls, err - case string(TypeSalesforceMarketingCloud): - var smcls SalesforceMarketingCloudLinkedService - err := json.Unmarshal(body, &smcls) - return smcls, err - case string(TypeNetezza): - var nls NetezzaLinkedService - err := json.Unmarshal(body, &nls) - return nls, err - case string(TypeVertica): - var vls VerticaLinkedService - err := json.Unmarshal(body, &vls) - return vls, err - case string(TypeZoho): - var zls ZohoLinkedService - err := json.Unmarshal(body, &zls) - return zls, err - case string(TypeXero): - var xls XeroLinkedService - err := json.Unmarshal(body, &xls) - return xls, err - case string(TypeSquare): - var sls SquareLinkedService - err := json.Unmarshal(body, &sls) - return sls, err - case string(TypeSpark): - var sls SparkLinkedService - err := json.Unmarshal(body, &sls) - return sls, err - case string(TypeShopify): - var sls ShopifyLinkedService - err := json.Unmarshal(body, &sls) - return sls, err - case string(TypeServiceNow): - var snls ServiceNowLinkedService - err := json.Unmarshal(body, &snls) - return snls, err - case string(TypeQuickBooks): - var qbls QuickBooksLinkedService - err := json.Unmarshal(body, &qbls) - return qbls, err - case string(TypePresto): - var pls PrestoLinkedService - err := json.Unmarshal(body, &pls) - return pls, err - case string(TypePhoenix): - var pls PhoenixLinkedService - err := json.Unmarshal(body, &pls) - return pls, err - case string(TypePaypal): - var pls PaypalLinkedService - err := json.Unmarshal(body, &pls) - return pls, err - case string(TypeMarketo): - var mls MarketoLinkedService - err := json.Unmarshal(body, &mls) - return mls, err - case string(TypeMariaDB): - var mdls MariaDBLinkedService - err := json.Unmarshal(body, &mdls) - return mdls, err - case string(TypeMagento): - var mls MagentoLinkedService - err := json.Unmarshal(body, &mls) - return mls, err - case string(TypeJira): - var jls JiraLinkedService - err := json.Unmarshal(body, &jls) - return jls, err - case string(TypeImpala): - var ils ImpalaLinkedService - err := json.Unmarshal(body, &ils) - return ils, err - case string(TypeHubspot): - var hls HubspotLinkedService - err := json.Unmarshal(body, &hls) - return hls, err - case string(TypeHive): - var hls HiveLinkedService - err := json.Unmarshal(body, &hls) - return hls, err - case string(TypeHBase): - var hbls HBaseLinkedService - err := json.Unmarshal(body, &hbls) - return hbls, err - case string(TypeGreenplum): - var gls GreenplumLinkedService - err := json.Unmarshal(body, &gls) - return gls, err - case string(TypeGoogleBigQuery): - var gbqls GoogleBigQueryLinkedService - err := json.Unmarshal(body, &gbqls) - return gbqls, err - case string(TypeEloqua): - var els EloquaLinkedService - err := json.Unmarshal(body, &els) - return els, err - case string(TypeDrill): - var dls DrillLinkedService - err := json.Unmarshal(body, &dls) - return dls, err - case string(TypeCouchbase): - var cls CouchbaseLinkedService - err := json.Unmarshal(body, &cls) - return cls, err - case string(TypeConcur): - var cls ConcurLinkedService - err := json.Unmarshal(body, &cls) - return cls, err - case string(TypeAzurePostgreSQL): - var apsls AzurePostgreSQLLinkedService - err := json.Unmarshal(body, &apsls) - return apsls, err - case string(TypeAmazonMWS): - var amls AmazonMWSLinkedService - err := json.Unmarshal(body, &amls) - return amls, err - case string(TypeSapHana): - var shls SapHanaLinkedService - err := json.Unmarshal(body, &shls) - return shls, err - case string(TypeSapBW): - var sbls SapBWLinkedService - err := json.Unmarshal(body, &sbls) - return sbls, err - case string(TypeSftp): - var ssls SftpServerLinkedService - err := json.Unmarshal(body, &ssls) - return ssls, err - case string(TypeFtpServer): - var fsls FtpServerLinkedService - err := json.Unmarshal(body, &fsls) - return fsls, err - case string(TypeHTTPServer): - var hls HTTPLinkedService - err := json.Unmarshal(body, &hls) - return hls, err - case string(TypeAzureSearch): - var asls AzureSearchLinkedService - err := json.Unmarshal(body, &asls) - return asls, err - case string(TypeCustomDataSource): - var cdsls CustomDataSourceLinkedService - err := json.Unmarshal(body, &cdsls) - return cdsls, err - case string(TypeAmazonRedshift): - var arls AmazonRedshiftLinkedService - err := json.Unmarshal(body, &arls) - return arls, err - case string(TypeAmazonS3): - var asls AmazonS3LinkedService - err := json.Unmarshal(body, &asls) - return asls, err - case string(TypeRestService): - var rsls RestServiceLinkedService - err := json.Unmarshal(body, &rsls) - return rsls, err - case string(TypeSapOpenHub): - var sohls SapOpenHubLinkedService - err := json.Unmarshal(body, &sohls) - return sohls, err - case string(TypeSapEcc): - var sels SapEccLinkedService - err := json.Unmarshal(body, &sels) - return sels, err - case string(TypeSapCloudForCustomer): - var scfcls SapCloudForCustomerLinkedService - err := json.Unmarshal(body, &scfcls) - return scfcls, err - case string(TypeSalesforce): - var sls SalesforceLinkedService - err := json.Unmarshal(body, &sls) - return sls, err - case string(TypeOffice365): - var o3ls Office365LinkedService - err := json.Unmarshal(body, &o3ls) - return o3ls, err - case string(TypeAzureBlobFS): - var abfls AzureBlobFSLinkedService - err := json.Unmarshal(body, &abfls) - return abfls, err - case string(TypeAzureDataLakeStore): - var adlsls AzureDataLakeStoreLinkedService - err := json.Unmarshal(body, &adlsls) - return adlsls, err - case string(TypeCosmosDbMongoDbAPI): - var cdmdals CosmosDbMongoDbAPILinkedService - err := json.Unmarshal(body, &cdmdals) - return cdmdals, err - case string(TypeMongoDbV2): - var mdvls MongoDbV2LinkedService - err := json.Unmarshal(body, &mdvls) - return mdvls, err - case string(TypeMongoDb): - var mdls MongoDbLinkedService - err := json.Unmarshal(body, &mdls) - return mdls, err - case string(TypeCassandra): - var cls CassandraLinkedService - err := json.Unmarshal(body, &cls) - return cls, err - case string(TypeWeb): - var wls WebLinkedService - err := json.Unmarshal(body, &wls) - return wls, err - case string(TypeOData): - var odls ODataLinkedService - err := json.Unmarshal(body, &odls) - return odls, err - case string(TypeHdfs): - var hls HdfsLinkedService - err := json.Unmarshal(body, &hls) - return hls, err - case string(TypeOdbc): - var ols OdbcLinkedService - err := json.Unmarshal(body, &ols) - return ols, err - case string(TypeAzureML): - var amls AzureMLLinkedService - err := json.Unmarshal(body, &amls) - return amls, err - case string(TypeTeradata): - var TLSVar TeradataLinkedService - err := json.Unmarshal(body, &TLSVar) - return TLSVar, err - case string(TypeDb2): - var d2ls Db2LinkedService - err := json.Unmarshal(body, &d2ls) - return d2ls, err - case string(TypeSybase): - var sls SybaseLinkedService - err := json.Unmarshal(body, &sls) - return sls, err - case string(TypePostgreSQL): - var psls PostgreSQLLinkedService - err := json.Unmarshal(body, &psls) - return psls, err - case string(TypeMySQL): - var msls MySQLLinkedService - err := json.Unmarshal(body, &msls) - return msls, err - case string(TypeAzureMySQL): - var amsls AzureMySQLLinkedService - err := json.Unmarshal(body, &amsls) - return amsls, err - case string(TypeOracle): - var ols OracleLinkedService - err := json.Unmarshal(body, &ols) - return ols, err - case string(TypeFileServer): - var fsls FileServerLinkedService - err := json.Unmarshal(body, &fsls) - return fsls, err - case string(TypeHDInsight): - var hils HDInsightLinkedService - err := json.Unmarshal(body, &hils) - return hils, err - case string(TypeDynamics): - var dls DynamicsLinkedService - err := json.Unmarshal(body, &dls) - return dls, err - case string(TypeCosmosDb): - var cdls CosmosDbLinkedService - err := json.Unmarshal(body, &cdls) - return cdls, err - case string(TypeAzureKeyVault): - var akvls AzureKeyVaultLinkedService - err := json.Unmarshal(body, &akvls) - return akvls, err - case string(TypeAzureBatch): - var abls AzureBatchLinkedService - err := json.Unmarshal(body, &abls) - return abls, err - case string(TypeAzureSQLDatabase): - var asdls AzureSQLDatabaseLinkedService - err := json.Unmarshal(body, &asdls) - return asdls, err - case string(TypeSQLServer): - var ssls SQLServerLinkedService - err := json.Unmarshal(body, &ssls) - return ssls, err - case string(TypeAzureSQLDW): - var asdls AzureSQLDWLinkedService - err := json.Unmarshal(body, &asdls) - return asdls, err - case string(TypeAzureTableStorage): - var atsls AzureTableStorageLinkedService - err := json.Unmarshal(body, &atsls) - return atsls, err - case string(TypeAzureBlobStorage): - var absls AzureBlobStorageLinkedService - err := json.Unmarshal(body, &absls) - return absls, err - case string(TypeAzureStorage): - var asls AzureStorageLinkedService - err := json.Unmarshal(body, &asls) - return asls, err - default: - var ls LinkedService - err := json.Unmarshal(body, &ls) - return ls, err - } +// AsSQLSink is the BasicCopySink implementation for MicrosoftAccessSink. +func (mas MicrosoftAccessSink) AsSQLSink() (*SQLSink, bool) { + return nil, false } -func unmarshalBasicLinkedServiceArray(body []byte) ([]BasicLinkedService, error) { - var rawMessages []*json.RawMessage - err := json.Unmarshal(body, &rawMessages) - if err != nil { - return nil, err - } - lsArray := make([]BasicLinkedService, len(rawMessages)) +// AsDocumentDbCollectionSink is the BasicCopySink implementation for MicrosoftAccessSink. +func (mas MicrosoftAccessSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { + return nil, false +} - for index, rawMessage := range rawMessages { - ls, err := unmarshalBasicLinkedService(*rawMessage) - if err != nil { - return nil, err +// AsFileSystemSink is the BasicCopySink implementation for MicrosoftAccessSink. +func (mas MicrosoftAccessSink) AsFileSystemSink() (*FileSystemSink, bool) { + return nil, false +} + +// AsBlobSink is the BasicCopySink implementation for MicrosoftAccessSink. +func (mas MicrosoftAccessSink) AsBlobSink() (*BlobSink, bool) { + return nil, false +} + +// AsBinarySink is the BasicCopySink implementation for MicrosoftAccessSink. +func (mas MicrosoftAccessSink) AsBinarySink() (*BinarySink, bool) { + return nil, false +} + +// AsParquetSink is the BasicCopySink implementation for MicrosoftAccessSink. +func (mas MicrosoftAccessSink) AsParquetSink() (*ParquetSink, bool) { + return nil, false +} + +// AsAzureTableSink is the BasicCopySink implementation for MicrosoftAccessSink. +func (mas MicrosoftAccessSink) AsAzureTableSink() (*AzureTableSink, bool) { + return nil, false +} + +// AsAzureQueueSink is the BasicCopySink implementation for MicrosoftAccessSink. +func (mas MicrosoftAccessSink) AsAzureQueueSink() (*AzureQueueSink, bool) { + return nil, false +} + +// AsSapCloudForCustomerSink is the BasicCopySink implementation for MicrosoftAccessSink. +func (mas MicrosoftAccessSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { + return nil, false +} + +// AsAzurePostgreSQLSink is the BasicCopySink implementation for MicrosoftAccessSink. +func (mas MicrosoftAccessSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { + return nil, false +} + +// AsDelimitedTextSink is the BasicCopySink implementation for MicrosoftAccessSink. +func (mas MicrosoftAccessSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { + return nil, false +} + +// AsCopySink is the BasicCopySink implementation for MicrosoftAccessSink. +func (mas MicrosoftAccessSink) AsCopySink() (*CopySink, bool) { + return nil, false +} + +// AsBasicCopySink is the BasicCopySink implementation for MicrosoftAccessSink. +func (mas MicrosoftAccessSink) AsBasicCopySink() (BasicCopySink, bool) { + return &mas, true +} + +// UnmarshalJSON is the custom unmarshaler for MicrosoftAccessSink struct. +func (mas *MicrosoftAccessSink) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "preCopyScript": + if v != nil { + var preCopyScript interface{} + err = json.Unmarshal(*v, &preCopyScript) + if err != nil { + return err + } + mas.PreCopyScript = preCopyScript + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if mas.AdditionalProperties == nil { + mas.AdditionalProperties = make(map[string]interface{}) + } + mas.AdditionalProperties[k] = additionalProperties + } + case "writeBatchSize": + if v != nil { + var writeBatchSize interface{} + err = json.Unmarshal(*v, &writeBatchSize) + if err != nil { + return err + } + mas.WriteBatchSize = writeBatchSize + } + case "writeBatchTimeout": + if v != nil { + var writeBatchTimeout interface{} + err = json.Unmarshal(*v, &writeBatchTimeout) + if err != nil { + return err + } + mas.WriteBatchTimeout = writeBatchTimeout + } + case "sinkRetryCount": + if v != nil { + var sinkRetryCount interface{} + err = json.Unmarshal(*v, &sinkRetryCount) + if err != nil { + return err + } + mas.SinkRetryCount = sinkRetryCount + } + case "sinkRetryWait": + if v != nil { + var sinkRetryWait interface{} + err = json.Unmarshal(*v, &sinkRetryWait) + if err != nil { + return err + } + mas.SinkRetryWait = sinkRetryWait + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + mas.MaxConcurrentConnections = maxConcurrentConnections + } + case "type": + if v != nil { + var typeVar TypeBasicCopySink + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + mas.Type = typeVar + } } - lsArray[index] = ls } - return lsArray, nil + + return nil } -// MarshalJSON is the custom marshaler for LinkedService. -func (ls LinkedService) MarshalJSON() ([]byte, error) { - ls.Type = TypeLinkedService +// MicrosoftAccessSource a copy activity source for Microsoft Access. +type MicrosoftAccessSource struct { + // Query - Database query. Type: string (or Expression with resultType string). + Query interface{} `json:"query,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + Type TypeBasicCopySource `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) MarshalJSON() ([]byte, error) { + mas.Type = TypeMicrosoftAccessSource objectMap := make(map[string]interface{}) - if ls.ConnectVia != nil { - objectMap["connectVia"] = ls.ConnectVia + if mas.Query != nil { + objectMap["query"] = mas.Query } - if ls.Description != nil { - objectMap["description"] = ls.Description + if mas.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = mas.SourceRetryCount } - if ls.Parameters != nil { - objectMap["parameters"] = ls.Parameters + if mas.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = mas.SourceRetryWait } - if ls.Annotations != nil { - objectMap["annotations"] = ls.Annotations + if mas.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = mas.MaxConcurrentConnections } - if ls.Type != "" { - objectMap["type"] = ls.Type + if mas.Type != "" { + objectMap["type"] = mas.Type } - for k, v := range ls.AdditionalProperties { + for k, v := range mas.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsSapTableLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsResponsysSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsVerticaSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsNetezzaSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsZohoSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsXeroSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsSquareSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsSparkSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsShopifySource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsServiceNowSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsPrestoSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsPhoenixSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsPaypalSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsMarketoSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsMariaDBSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsMagentoSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsJiraSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsImpalaSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsHubspotSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsHiveSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsHBaseSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsGreenplumSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsEloquaSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsDrillSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsConcurSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsHTTPSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsOffice365Source is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsMongoDbSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsCassandraSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsWebSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsTeradataSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsOracleSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsHdfsSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsFileSystemSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsSQLDWSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSQLMISource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsSQLServerSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsSQLSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsRestSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsSapTableSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsSapHanaSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsSapEccSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsSalesforceSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsODataSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsSybaseSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsMySQLSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsOdbcSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsDb2Source is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return &mas, true +} + +// AsInformixSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsRelationalSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsDynamicsSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsBlobSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsAzureTableSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsBinarySource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsDelimitedTextSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsParquetSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsCopySource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsCopySource() (*CopySource, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsBasicCopySource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsBasicCopySource() (BasicCopySource, bool) { + return &mas, true +} + +// UnmarshalJSON is the custom unmarshaler for MicrosoftAccessSource struct. +func (mas *MicrosoftAccessSource) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "query": + if v != nil { + var query interface{} + err = json.Unmarshal(*v, &query) + if err != nil { + return err + } + mas.Query = query + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if mas.AdditionalProperties == nil { + mas.AdditionalProperties = make(map[string]interface{}) + } + mas.AdditionalProperties[k] = additionalProperties + } + case "sourceRetryCount": + if v != nil { + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) + if err != nil { + return err + } + mas.SourceRetryCount = sourceRetryCount + } + case "sourceRetryWait": + if v != nil { + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) + if err != nil { + return err + } + mas.SourceRetryWait = sourceRetryWait + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + mas.MaxConcurrentConnections = maxConcurrentConnections + } + case "type": + if v != nil { + var typeVar TypeBasicCopySource + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + mas.Type = typeVar + } + } + } + + return nil +} + +// MicrosoftAccessTableDataset the Microsoft Access table dataset. +type MicrosoftAccessTableDataset struct { + // MicrosoftAccessTableDatasetTypeProperties - Microsoft Access table dataset properties. + *MicrosoftAccessTableDatasetTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Description - Dataset description. + Description *string `json:"description,omitempty"` + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) MarshalJSON() ([]byte, error) { + matd.Type = TypeMicrosoftAccessTable + objectMap := make(map[string]interface{}) + if matd.MicrosoftAccessTableDatasetTypeProperties != nil { + objectMap["typeProperties"] = matd.MicrosoftAccessTableDatasetTypeProperties + } + if matd.Description != nil { + objectMap["description"] = matd.Description + } + if matd.Structure != nil { + objectMap["structure"] = matd.Structure + } + if matd.Schema != nil { + objectMap["schema"] = matd.Schema + } + if matd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = matd.LinkedServiceName + } + if matd.Parameters != nil { + objectMap["parameters"] = matd.Parameters + } + if matd.Annotations != nil { + objectMap["annotations"] = matd.Annotations + } + if matd.Folder != nil { + objectMap["folder"] = matd.Folder + } + if matd.Type != "" { + objectMap["type"] = matd.Type + } + for k, v := range matd.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsLinkedService() (*LinkedService, bool) { - return &ls, true +// AsResponsysObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { + return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for LinkedService. -func (ls LinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &ls, true +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for LinkedService struct. -func (ls *LinkedService) UnmarshalJSON(body []byte) error { +// AsVerticaTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false +} + +// AsNetezzaTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false +} + +// AsZohoObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { + return nil, false +} + +// AsXeroObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { + return nil, false +} + +// AsSquareObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { + return nil, false +} + +// AsSparkObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { + return nil, false +} + +// AsShopifyObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { + return nil, false +} + +// AsServiceNowObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { + return nil, false +} + +// AsQuickBooksObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { + return nil, false +} + +// AsPrestoObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { + return nil, false +} + +// AsPhoenixObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { + return nil, false +} + +// AsPaypalObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { + return nil, false +} + +// AsMarketoObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { + return nil, false +} + +// AsMariaDBTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { + return nil, false +} + +// AsMagentoObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { + return nil, false +} + +// AsJiraObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { + return nil, false +} + +// AsImpalaObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { + return nil, false +} + +// AsHubspotObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { + return nil, false +} + +// AsHiveObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { + return nil, false +} + +// AsHBaseObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { + return nil, false +} + +// AsGreenplumTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { + return nil, false +} + +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { + return nil, false +} + +// AsEloquaObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { + return nil, false +} + +// AsDrillTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { + return nil, false +} + +// AsCouchbaseTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { + return nil, false +} + +// AsConcurObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { + return nil, false +} + +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { + return nil, false +} + +// AsAmazonMWSObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { + return nil, false +} + +// AsHTTPDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { + return nil, false +} + +// AsAzureSearchIndexDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { + return nil, false +} + +// AsWebTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { + return nil, false +} + +// AsSapTableResourceDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { + return nil, false +} + +// AsRestResourceDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { + return nil, false +} + +// AsSQLServerTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { + return nil, false +} + +// AsSapOpenHubTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { + return nil, false +} + +// AsSapHanaTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { + return nil, false +} + +// AsSapEccResourceDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { + return nil, false +} + +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { + return nil, false +} + +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { + return nil, false +} + +// AsSalesforceObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { + return nil, false +} + +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { + return &matd, true +} + +// AsPostgreSQLTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { + return nil, false +} + +// AsMySQLTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { + return nil, false +} + +// AsOdbcTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { + return nil, false +} + +// AsInformixTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { + return nil, false +} + +// AsRelationalTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { + return nil, false +} + +// AsAzureMySQLTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { + return nil, false +} + +// AsTeradataTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { + return nil, false +} + +// AsOracleTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { + return nil, false +} + +// AsODataResourceDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { + return nil, false +} + +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { + return nil, false +} + +// AsMongoDbCollectionDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { + return nil, false +} + +// AsFileShareDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { + return nil, false +} + +// AsOffice365Dataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { + return nil, false +} + +// AsAzureBlobFSDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { + return nil, false +} + +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { + return nil, false +} + +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { + return nil, false +} + +// AsDynamicsEntityDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { + return nil, false +} + +// AsDocumentDbCollectionDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { + return nil, false +} + +// AsCustomDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsCustomDataset() (*CustomDataset, bool) { + return nil, false +} + +// AsCassandraTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { + return nil, false +} + +// AsAzureSQLDWTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { + return nil, false +} + +// AsAzureSQLMITableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + +// AsAzureSQLTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { + return nil, false +} + +// AsAzureTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { + return nil, false +} + +// AsAzureBlobDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { + return nil, false +} + +// AsBinaryDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + +// AsDelimitedTextDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { + return nil, false +} + +// AsParquetDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsBasicDataset() (BasicDataset, bool) { + return &matd, true +} + +// UnmarshalJSON is the custom unmarshaler for MicrosoftAccessTableDataset struct. +func (matd *MicrosoftAccessTableDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -85873,6 +110354,15 @@ func (ls *LinkedService) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { + case "typeProperties": + if v != nil { + var microsoftAccessTableDatasetTypeProperties MicrosoftAccessTableDatasetTypeProperties + err = json.Unmarshal(*v, µsoftAccessTableDatasetTypeProperties) + if err != nil { + return err + } + matd.MicrosoftAccessTableDatasetTypeProperties = µsoftAccessTableDatasetTypeProperties + } default: if v != nil { var additionalProperties interface{} @@ -85880,28 +110370,46 @@ func (ls *LinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if ls.AdditionalProperties == nil { - ls.AdditionalProperties = make(map[string]interface{}) + if matd.AdditionalProperties == nil { + matd.AdditionalProperties = make(map[string]interface{}) } - ls.AdditionalProperties[k] = additionalProperties + matd.AdditionalProperties[k] = additionalProperties } - case "connectVia": + case "description": if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - ls.ConnectVia = &connectVia + matd.Description = &description } - case "description": + case "structure": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var structure interface{} + err = json.Unmarshal(*v, &structure) if err != nil { return err } - ls.Description = &description + matd.Structure = structure + } + case "schema": + if v != nil { + var schema interface{} + err = json.Unmarshal(*v, &schema) + if err != nil { + return err + } + matd.Schema = schema + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + matd.LinkedServiceName = &linkedServiceName } case "parameters": if v != nil { @@ -85910,7 +110418,7 @@ func (ls *LinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - ls.Parameters = parameters + matd.Parameters = parameters } case "annotations": if v != nil { @@ -85919,16 +110427,25 @@ func (ls *LinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - ls.Annotations = &annotations + matd.Annotations = &annotations + } + case "folder": + if v != nil { + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) + if err != nil { + return err + } + matd.Folder = &folder } case "type": if v != nil { - var typeVar TypeBasicLinkedService + var typeVar TypeBasicDataset err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - ls.Type = typeVar + matd.Type = typeVar } } } @@ -85936,559 +110453,475 @@ func (ls *LinkedService) UnmarshalJSON(body []byte) error { return nil } -// LinkedServiceListResponse a list of linked service resources. -type LinkedServiceListResponse struct { - autorest.Response `json:"-"` - // Value - List of linked services. - Value *[]LinkedServiceResource `json:"value,omitempty"` - // NextLink - The link to the next page of results, if any remaining results exist. - NextLink *string `json:"nextLink,omitempty"` +// MicrosoftAccessTableDatasetTypeProperties microsoft Access table dataset properties. +type MicrosoftAccessTableDatasetTypeProperties struct { + // TableName - The Microsoft Access table name. Type: string (or Expression with resultType string). + TableName interface{} `json:"tableName,omitempty"` } -// LinkedServiceListResponseIterator provides access to a complete listing of LinkedServiceResource values. -type LinkedServiceListResponseIterator struct { - i int - page LinkedServiceListResponsePage +// MongoDbCollectionDataset the MongoDB database dataset. +type MongoDbCollectionDataset struct { + // MongoDbCollectionDatasetTypeProperties - MongoDB database dataset properties. + *MongoDbCollectionDatasetTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Description - Dataset description. + Description *string `json:"description,omitempty"` + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// NextWithContext advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -func (iter *LinkedServiceListResponseIterator) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/LinkedServiceListResponseIterator.NextWithContext") - defer func() { - sc := -1 - if iter.Response().Response.Response != nil { - sc = iter.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() +// MarshalJSON is the custom marshaler for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) MarshalJSON() ([]byte, error) { + mdcd.Type = TypeMongoDbCollection + objectMap := make(map[string]interface{}) + if mdcd.MongoDbCollectionDatasetTypeProperties != nil { + objectMap["typeProperties"] = mdcd.MongoDbCollectionDatasetTypeProperties } - iter.i++ - if iter.i < len(iter.page.Values()) { - return nil + if mdcd.Description != nil { + objectMap["description"] = mdcd.Description } - err = iter.page.NextWithContext(ctx) - if err != nil { - iter.i-- - return err + if mdcd.Structure != nil { + objectMap["structure"] = mdcd.Structure } - iter.i = 0 - return nil + if mdcd.Schema != nil { + objectMap["schema"] = mdcd.Schema + } + if mdcd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = mdcd.LinkedServiceName + } + if mdcd.Parameters != nil { + objectMap["parameters"] = mdcd.Parameters + } + if mdcd.Annotations != nil { + objectMap["annotations"] = mdcd.Annotations + } + if mdcd.Folder != nil { + objectMap["folder"] = mdcd.Folder + } + if mdcd.Type != "" { + objectMap["type"] = mdcd.Type + } + for k, v := range mdcd.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// Next advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (iter *LinkedServiceListResponseIterator) Next() error { - return iter.NextWithContext(context.Background()) +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { + return nil, false } -// NotDone returns true if the enumeration should be started or is not yet complete. -func (iter LinkedServiceListResponseIterator) NotDone() bool { - return iter.page.NotDone() && iter.i < len(iter.page.Values()) +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { + return nil, false } -// Response returns the raw server response from the last page request. -func (iter LinkedServiceListResponseIterator) Response() LinkedServiceListResponse { - return iter.page.Response() +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { + return nil, false } -// Value returns the current value or a zero-initialized value if the -// iterator has advanced beyond the end of the collection. -func (iter LinkedServiceListResponseIterator) Value() LinkedServiceResource { - if !iter.page.NotDone() { - return LinkedServiceResource{} - } - return iter.page.Values()[iter.i] +// AsDynamicsAXResourceDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { + return nil, false } -// Creates a new instance of the LinkedServiceListResponseIterator type. -func NewLinkedServiceListResponseIterator(page LinkedServiceListResponsePage) LinkedServiceListResponseIterator { - return LinkedServiceListResponseIterator{page: page} +// AsResponsysObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { + return nil, false } -// IsEmpty returns true if the ListResult contains no values. -func (lslr LinkedServiceListResponse) IsEmpty() bool { - return lslr.Value == nil || len(*lslr.Value) == 0 +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { + return nil, false } -// linkedServiceListResponsePreparer prepares a request to retrieve the next set of results. -// It returns nil if no more results exist. -func (lslr LinkedServiceListResponse) linkedServiceListResponsePreparer(ctx context.Context) (*http.Request, error) { - if lslr.NextLink == nil || len(to.String(lslr.NextLink)) < 1 { - return nil, nil - } - return autorest.Prepare((&http.Request{}).WithContext(ctx), - autorest.AsJSON(), - autorest.AsGet(), - autorest.WithBaseURL(to.String(lslr.NextLink))) +// AsVerticaTableDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false } -// LinkedServiceListResponsePage contains a page of LinkedServiceResource values. -type LinkedServiceListResponsePage struct { - fn func(context.Context, LinkedServiceListResponse) (LinkedServiceListResponse, error) - lslr LinkedServiceListResponse +// AsNetezzaTableDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false } -// NextWithContext advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -func (page *LinkedServiceListResponsePage) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/LinkedServiceListResponsePage.NextWithContext") - defer func() { - sc := -1 - if page.Response().Response.Response != nil { - sc = page.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - next, err := page.fn(ctx, page.lslr) - if err != nil { - return err - } - page.lslr = next - return nil +// AsZohoObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { + return nil, false } -// Next advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (page *LinkedServiceListResponsePage) Next() error { - return page.NextWithContext(context.Background()) +// AsXeroObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { + return nil, false } -// NotDone returns true if the page enumeration should be started or is not yet complete. -func (page LinkedServiceListResponsePage) NotDone() bool { - return !page.lslr.IsEmpty() +// AsSquareObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { + return nil, false } -// Response returns the raw server response from the last page request. -func (page LinkedServiceListResponsePage) Response() LinkedServiceListResponse { - return page.lslr +// AsSparkObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { + return nil, false } -// Values returns the slice of values for the current page or nil if there are no values. -func (page LinkedServiceListResponsePage) Values() []LinkedServiceResource { - if page.lslr.IsEmpty() { - return nil - } - return *page.lslr.Value +// AsShopifyObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { + return nil, false } -// Creates a new instance of the LinkedServiceListResponsePage type. -func NewLinkedServiceListResponsePage(getNextPage func(context.Context, LinkedServiceListResponse) (LinkedServiceListResponse, error)) LinkedServiceListResponsePage { - return LinkedServiceListResponsePage{fn: getNextPage} +// AsServiceNowObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { + return nil, false } -// LinkedServiceReference linked service reference type. -type LinkedServiceReference struct { - // Type - Linked service reference type. - Type *string `json:"type,omitempty"` - // ReferenceName - Reference LinkedService name. - ReferenceName *string `json:"referenceName,omitempty"` - // Parameters - Arguments for LinkedService. - Parameters map[string]interface{} `json:"parameters"` +// AsQuickBooksObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for LinkedServiceReference. -func (lsr LinkedServiceReference) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if lsr.Type != nil { - objectMap["type"] = lsr.Type - } - if lsr.ReferenceName != nil { - objectMap["referenceName"] = lsr.ReferenceName - } - if lsr.Parameters != nil { - objectMap["parameters"] = lsr.Parameters - } - return json.Marshal(objectMap) +// AsPrestoObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { + return nil, false +} + +// AsPhoenixObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { + return nil, false +} + +// AsPaypalObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { + return nil, false +} + +// AsMarketoObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { + return nil, false +} + +// AsMariaDBTableDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { + return nil, false +} + +// AsMagentoObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { + return nil, false +} + +// AsJiraObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { + return nil, false +} + +// AsImpalaObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { + return nil, false +} + +// AsHubspotObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { + return nil, false +} + +// AsHiveObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { + return nil, false +} + +// AsHBaseObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { + return nil, false +} + +// AsGreenplumTableDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { + return nil, false +} + +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { + return nil, false +} + +// AsEloquaObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { + return nil, false +} + +// AsDrillTableDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { + return nil, false +} + +// AsCouchbaseTableDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { + return nil, false +} + +// AsConcurObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { + return nil, false +} + +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { + return nil, false +} + +// AsAmazonMWSObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { + return nil, false +} + +// AsHTTPDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsHTTPDataset() (*HTTPDataset, bool) { + return nil, false } -// LinkedServiceResource linked service resource type. -type LinkedServiceResource struct { - autorest.Response `json:"-"` - // Properties - Properties of linked service. - Properties BasicLinkedService `json:"properties,omitempty"` - // ID - READ-ONLY; The resource identifier. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; The resource name. - Name *string `json:"name,omitempty"` - // Type - READ-ONLY; The resource type. - Type *string `json:"type,omitempty"` - // Etag - READ-ONLY; Etag identifies change in the resource. - Etag *string `json:"etag,omitempty"` +// AsAzureSearchIndexDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for LinkedServiceResource struct. -func (lsr *LinkedServiceResource) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - properties, err := unmarshalBasicLinkedService(*v) - if err != nil { - return err - } - lsr.Properties = properties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - lsr.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - lsr.Name = &name - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - lsr.Type = &typeVar - } - case "etag": - if v != nil { - var etag string - err = json.Unmarshal(*v, &etag) - if err != nil { - return err - } - lsr.Etag = &etag - } - } - } - - return nil +// AsWebTableDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsWebTableDataset() (*WebTableDataset, bool) { + return nil, false } -// LogStorageSettings log storage settings. -type LogStorageSettings struct { - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // LinkedServiceName - Log storage linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Path - The path to storage for storing detailed logs of activity execution. Type: string (or Expression with resultType string). - Path interface{} `json:"path,omitempty"` +// AsSapTableResourceDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for LogStorageSettings. -func (lss LogStorageSettings) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if lss.LinkedServiceName != nil { - objectMap["linkedServiceName"] = lss.LinkedServiceName - } - if lss.Path != nil { - objectMap["path"] = lss.Path - } - for k, v := range lss.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsRestResourceDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for LogStorageSettings struct. -func (lss *LogStorageSettings) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if lss.AdditionalProperties == nil { - lss.AdditionalProperties = make(map[string]interface{}) - } - lss.AdditionalProperties[k] = additionalProperties - } - case "linkedServiceName": - if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) - if err != nil { - return err - } - lss.LinkedServiceName = &linkedServiceName - } - case "path": - if v != nil { - var pathVar interface{} - err = json.Unmarshal(*v, &pathVar) - if err != nil { - return err - } - lss.Path = pathVar - } - } - } +// AsSQLServerTableDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { + return nil, false +} - return nil +// AsSapOpenHubTableDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { + return nil, false } -// LookupActivity lookup activity. -type LookupActivity struct { - // LookupActivityTypeProperties - Lookup activity properties. - *LookupActivityTypeProperties `json:"typeProperties,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Policy - Activity policy. - Policy *ActivityPolicy `json:"policy,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Name - Activity name. - Name *string `json:"name,omitempty"` - // Description - Activity description. - Description *string `json:"description,omitempty"` - // DependsOn - Activity depends on condition. - DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // UserProperties - Activity user properties. - UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' - Type TypeBasicActivity `json:"type,omitempty"` +// AsSapHanaTableDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for LookupActivity. -func (la LookupActivity) MarshalJSON() ([]byte, error) { - la.Type = TypeLookup - objectMap := make(map[string]interface{}) - if la.LookupActivityTypeProperties != nil { - objectMap["typeProperties"] = la.LookupActivityTypeProperties - } - if la.LinkedServiceName != nil { - objectMap["linkedServiceName"] = la.LinkedServiceName - } - if la.Policy != nil { - objectMap["policy"] = la.Policy - } - if la.Name != nil { - objectMap["name"] = la.Name - } - if la.Description != nil { - objectMap["description"] = la.Description - } - if la.DependsOn != nil { - objectMap["dependsOn"] = la.DependsOn - } - if la.UserProperties != nil { - objectMap["userProperties"] = la.UserProperties - } - if la.Type != "" { - objectMap["type"] = la.Type - } - for k, v := range la.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsSapEccResourceDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { + return nil, false } -// AsAzureFunctionActivity is the BasicActivity implementation for LookupActivity. -func (la LookupActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for LookupActivity. -func (la LookupActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for LookupActivity. -func (la LookupActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for LookupActivity. -func (la LookupActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for LookupActivity. -func (la LookupActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for LookupActivity. -func (la LookupActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for LookupActivity. -func (la LookupActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for LookupActivity. -func (la LookupActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsInformixTableDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for LookupActivity. -func (la LookupActivity) AsWebActivity() (*WebActivity, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for LookupActivity. -func (la LookupActivity) AsLookupActivity() (*LookupActivity, bool) { - return &la, true +// AsAzureMySQLTableDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { + return nil, false } -// AsDeleteActivity is the BasicActivity implementation for LookupActivity. -func (la LookupActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for LookupActivity. -func (la LookupActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsOracleTableDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for LookupActivity. -func (la LookupActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsODataResourceDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for LookupActivity. -func (la LookupActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for LookupActivity. -func (la LookupActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for LookupActivity. -func (la LookupActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { + return &mdcd, true +} + +// AsFileShareDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for LookupActivity. -func (la LookupActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsOffice365Dataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for LookupActivity. -func (la LookupActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for LookupActivity. -func (la LookupActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for LookupActivity. -func (la LookupActivity) AsCopyActivity() (*CopyActivity, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for LookupActivity. -func (la LookupActivity) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for LookupActivity. -func (la LookupActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { - return &la, true +// AsDynamicsEntityDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { + return nil, false } -// AsWebHookActivity is the BasicActivity implementation for LookupActivity. -func (la LookupActivity) AsWebHookActivity() (*WebHookActivity, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for LookupActivity. -func (la LookupActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsCustomDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for LookupActivity. -func (la LookupActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for LookupActivity. -func (la LookupActivity) AsFilterActivity() (*FilterActivity, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsValidationActivity is the BasicActivity implementation for LookupActivity. -func (la LookupActivity) AsValidationActivity() (*ValidationActivity, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for LookupActivity. -func (la LookupActivity) AsUntilActivity() (*UntilActivity, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for LookupActivity. -func (la LookupActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsAzureTableDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for LookupActivity. -func (la LookupActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for LookupActivity. -func (la LookupActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsBinaryDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for LookupActivity. -func (la LookupActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for LookupActivity. -func (la LookupActivity) AsControlActivity() (*ControlActivity, bool) { +// AsParquetDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for LookupActivity. -func (la LookupActivity) AsBasicControlActivity() (BasicControlActivity, bool) { +// AsAmazonS3Dataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false } -// AsActivity is the BasicActivity implementation for LookupActivity. -func (la LookupActivity) AsActivity() (*Activity, bool) { +// AsDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsDataset() (*Dataset, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for LookupActivity. -func (la LookupActivity) AsBasicActivity() (BasicActivity, bool) { - return &la, true +// AsBasicDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsBasicDataset() (BasicDataset, bool) { + return &mdcd, true } -// UnmarshalJSON is the custom unmarshaler for LookupActivity struct. -func (la *LookupActivity) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for MongoDbCollectionDataset struct. +func (mdcd *MongoDbCollectionDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -86498,87 +110931,96 @@ func (la *LookupActivity) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var lookupActivityTypeProperties LookupActivityTypeProperties - err = json.Unmarshal(*v, &lookupActivityTypeProperties) + var mongoDbCollectionDatasetTypeProperties MongoDbCollectionDatasetTypeProperties + err = json.Unmarshal(*v, &mongoDbCollectionDatasetTypeProperties) if err != nil { return err } - la.LookupActivityTypeProperties = &lookupActivityTypeProperties + mdcd.MongoDbCollectionDatasetTypeProperties = &mongoDbCollectionDatasetTypeProperties } - case "linkedServiceName": + default: if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - la.LinkedServiceName = &linkedServiceName + if mdcd.AdditionalProperties == nil { + mdcd.AdditionalProperties = make(map[string]interface{}) + } + mdcd.AdditionalProperties[k] = additionalProperties } - case "policy": + case "description": if v != nil { - var policy ActivityPolicy - err = json.Unmarshal(*v, &policy) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - la.Policy = &policy + mdcd.Description = &description } - default: + case "structure": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var structure interface{} + err = json.Unmarshal(*v, &structure) if err != nil { return err } - if la.AdditionalProperties == nil { - la.AdditionalProperties = make(map[string]interface{}) + mdcd.Structure = structure + } + case "schema": + if v != nil { + var schema interface{} + err = json.Unmarshal(*v, &schema) + if err != nil { + return err } - la.AdditionalProperties[k] = additionalProperties + mdcd.Schema = schema } - case "name": + case "linkedServiceName": if v != nil { - var name string - err = json.Unmarshal(*v, &name) + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) if err != nil { return err } - la.Name = &name + mdcd.LinkedServiceName = &linkedServiceName } - case "description": + case "parameters": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - la.Description = &description + mdcd.Parameters = parameters } - case "dependsOn": + case "annotations": if v != nil { - var dependsOn []ActivityDependency - err = json.Unmarshal(*v, &dependsOn) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - la.DependsOn = &dependsOn + mdcd.Annotations = &annotations } - case "userProperties": + case "folder": if v != nil { - var userProperties []UserProperty - err = json.Unmarshal(*v, &userProperties) + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) if err != nil { return err } - la.UserProperties = &userProperties + mdcd.Folder = &folder } case "type": if v != nil { - var typeVar TypeBasicActivity + var typeVar TypeBasicDataset err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - la.Type = typeVar + mdcd.Type = typeVar } } } @@ -86586,18 +111028,49 @@ func (la *LookupActivity) UnmarshalJSON(body []byte) error { return nil } -// LookupActivityTypeProperties lookup activity properties. -type LookupActivityTypeProperties struct { - // Source - Dataset-specific source properties, same as copy activity source. - Source BasicCopySource `json:"source,omitempty"` - // Dataset - Lookup activity dataset reference. - Dataset *DatasetReference `json:"dataset,omitempty"` - // FirstRowOnly - Whether to return first row or all rows. Default value is true. Type: boolean (or Expression with resultType boolean). - FirstRowOnly interface{} `json:"firstRowOnly,omitempty"` +// MongoDbCollectionDatasetTypeProperties mongoDB database dataset properties. +type MongoDbCollectionDatasetTypeProperties struct { + // CollectionName - The table name of the MongoDB database. Type: string (or Expression with resultType string). + CollectionName interface{} `json:"collectionName,omitempty"` } -// UnmarshalJSON is the custom unmarshaler for LookupActivityTypeProperties struct. -func (latp *LookupActivityTypeProperties) UnmarshalJSON(body []byte) error { +// MongoDbCursorMethodsProperties cursor methods for Mongodb query +type MongoDbCursorMethodsProperties struct { + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Project - Specifies the fields to return in the documents that match the query filter. To return all fields in the matching documents, omit this parameter. Type: string (or Expression with resultType string). + Project interface{} `json:"project,omitempty"` + // Sort - Specifies the order in which the query returns matching documents. Type: string (or Expression with resultType string). Type: string (or Expression with resultType string). + Sort interface{} `json:"sort,omitempty"` + // Skip - 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). + Skip interface{} `json:"skip,omitempty"` + // Limit - 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). + Limit interface{} `json:"limit,omitempty"` +} + +// MarshalJSON is the custom marshaler for MongoDbCursorMethodsProperties. +func (mdcmp MongoDbCursorMethodsProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if mdcmp.Project != nil { + objectMap["project"] = mdcmp.Project + } + if mdcmp.Sort != nil { + objectMap["sort"] = mdcmp.Sort + } + if mdcmp.Skip != nil { + objectMap["skip"] = mdcmp.Skip + } + if mdcmp.Limit != nil { + objectMap["limit"] = mdcmp.Limit + } + for k, v := range mdcmp.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for MongoDbCursorMethodsProperties struct. +func (mdcmp *MongoDbCursorMethodsProperties) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -86605,31 +111078,53 @@ func (latp *LookupActivityTypeProperties) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "source": + default: if v != nil { - source, err := unmarshalBasicCopySource(*v) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - latp.Source = source + if mdcmp.AdditionalProperties == nil { + mdcmp.AdditionalProperties = make(map[string]interface{}) + } + mdcmp.AdditionalProperties[k] = additionalProperties } - case "dataset": + case "project": if v != nil { - var dataset DatasetReference - err = json.Unmarshal(*v, &dataset) + var project interface{} + err = json.Unmarshal(*v, &project) if err != nil { return err } - latp.Dataset = &dataset + mdcmp.Project = project } - case "firstRowOnly": + case "sort": if v != nil { - var firstRowOnly interface{} - err = json.Unmarshal(*v, &firstRowOnly) + var sortVar interface{} + err = json.Unmarshal(*v, &sortVar) if err != nil { return err } - latp.FirstRowOnly = firstRowOnly + mdcmp.Sort = sortVar + } + case "skip": + if v != nil { + var skip interface{} + err = json.Unmarshal(*v, &skip) + if err != nil { + return err + } + mdcmp.Skip = skip + } + case "limit": + if v != nil { + var limit interface{} + err = json.Unmarshal(*v, &limit) + if err != nil { + return err + } + mdcmp.Limit = limit } } } @@ -86637,10 +111132,10 @@ func (latp *LookupActivityTypeProperties) UnmarshalJSON(body []byte) error { return nil } -// MagentoLinkedService magento server linked service. -type MagentoLinkedService struct { - // MagentoLinkedServiceTypeProperties - Magento server linked service properties. - *MagentoLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// MongoDbLinkedService linked service for MongoDb data source. +type MongoDbLinkedService struct { + // MongoDbLinkedServiceTypeProperties - MongoDB linked service properties. + *MongoDbLinkedServiceTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // ConnectVia - The integration runtime reference. @@ -86651,470 +111146,500 @@ type MagentoLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for MagentoLinkedService. -func (mls MagentoLinkedService) MarshalJSON() ([]byte, error) { - mls.Type = TypeMagento +// MarshalJSON is the custom marshaler for MongoDbLinkedService. +func (mdls MongoDbLinkedService) MarshalJSON() ([]byte, error) { + mdls.Type = TypeMongoDb objectMap := make(map[string]interface{}) - if mls.MagentoLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = mls.MagentoLinkedServiceTypeProperties + if mdls.MongoDbLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = mdls.MongoDbLinkedServiceTypeProperties } - if mls.ConnectVia != nil { - objectMap["connectVia"] = mls.ConnectVia + if mdls.ConnectVia != nil { + objectMap["connectVia"] = mdls.ConnectVia } - if mls.Description != nil { - objectMap["description"] = mls.Description + if mdls.Description != nil { + objectMap["description"] = mdls.Description } - if mls.Parameters != nil { - objectMap["parameters"] = mls.Parameters + if mdls.Parameters != nil { + objectMap["parameters"] = mdls.Parameters } - if mls.Annotations != nil { - objectMap["annotations"] = mls.Annotations + if mdls.Annotations != nil { + objectMap["annotations"] = mdls.Annotations } - if mls.Type != "" { - objectMap["type"] = mls.Type + if mdls.Type != "" { + objectMap["type"] = mdls.Type } - for k, v := range mls.AdditionalProperties { + for k, v := range mdls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsSapTableLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { - return &mls, true +// AsMagentoLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { + return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { + return &mdls, true +} + +// AsCassandraLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for MagentoLinkedService. -func (mls MagentoLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &mls, true +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for MagentoLinkedService struct. -func (mls *MagentoLinkedService) UnmarshalJSON(body []byte) error { +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &mdls, true +} + +// UnmarshalJSON is the custom unmarshaler for MongoDbLinkedService struct. +func (mdls *MongoDbLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -87124,12 +111649,12 @@ func (mls *MagentoLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var magentoLinkedServiceTypeProperties MagentoLinkedServiceTypeProperties - err = json.Unmarshal(*v, &magentoLinkedServiceTypeProperties) + var mongoDbLinkedServiceTypeProperties MongoDbLinkedServiceTypeProperties + err = json.Unmarshal(*v, &mongoDbLinkedServiceTypeProperties) if err != nil { return err } - mls.MagentoLinkedServiceTypeProperties = &magentoLinkedServiceTypeProperties + mdls.MongoDbLinkedServiceTypeProperties = &mongoDbLinkedServiceTypeProperties } default: if v != nil { @@ -87138,10 +111663,10 @@ func (mls *MagentoLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if mls.AdditionalProperties == nil { - mls.AdditionalProperties = make(map[string]interface{}) + if mdls.AdditionalProperties == nil { + mdls.AdditionalProperties = make(map[string]interface{}) } - mls.AdditionalProperties[k] = additionalProperties + mdls.AdditionalProperties[k] = additionalProperties } case "connectVia": if v != nil { @@ -87150,7 +111675,7 @@ func (mls *MagentoLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - mls.ConnectVia = &connectVia + mdls.ConnectVia = &connectVia } case "description": if v != nil { @@ -87159,7 +111684,7 @@ func (mls *MagentoLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - mls.Description = &description + mdls.Description = &description } case "parameters": if v != nil { @@ -87168,7 +111693,7 @@ func (mls *MagentoLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - mls.Parameters = parameters + mdls.Parameters = parameters } case "annotations": if v != nil { @@ -87177,7 +111702,7 @@ func (mls *MagentoLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - mls.Annotations = &annotations + mdls.Annotations = &annotations } case "type": if v != nil { @@ -87186,7 +111711,7 @@ func (mls *MagentoLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - mls.Type = typeVar + mdls.Type = typeVar } } } @@ -87194,24 +111719,32 @@ func (mls *MagentoLinkedService) UnmarshalJSON(body []byte) error { return nil } -// MagentoLinkedServiceTypeProperties magento server linked service properties. -type MagentoLinkedServiceTypeProperties struct { - // Host - The URL of the Magento instance. (i.e. 192.168.222.110/magento3) - Host interface{} `json:"host,omitempty"` - // AccessToken - The access token from Magento. - AccessToken BasicSecretBase `json:"accessToken,omitempty"` - // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. - UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"` - // UseHostVerification - 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. - UseHostVerification interface{} `json:"useHostVerification,omitempty"` - // UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. - UsePeerVerification interface{} `json:"usePeerVerification,omitempty"` +// MongoDbLinkedServiceTypeProperties mongoDB linked service properties. +type MongoDbLinkedServiceTypeProperties struct { + // Server - The IP address or server name of the MongoDB server. Type: string (or Expression with resultType string). + Server interface{} `json:"server,omitempty"` + // AuthenticationType - The authentication type to be used to connect to the MongoDB database. Possible values include: 'MongoDbAuthenticationTypeBasic', 'MongoDbAuthenticationTypeAnonymous' + AuthenticationType MongoDbAuthenticationType `json:"authenticationType,omitempty"` + // DatabaseName - The name of the MongoDB database that you want to access. Type: string (or Expression with resultType string). + DatabaseName interface{} `json:"databaseName,omitempty"` + // Username - Username for authentication. Type: string (or Expression with resultType string). + Username interface{} `json:"username,omitempty"` + // Password - Password for authentication. + Password BasicSecretBase `json:"password,omitempty"` + // AuthSource - Database to verify the username and password. Type: string (or Expression with resultType string). + AuthSource interface{} `json:"authSource,omitempty"` + // Port - The TCP port number that the MongoDB server uses to listen for client connections. The default value is 27017. Type: integer (or Expression with resultType integer), minimum: 0. + Port interface{} `json:"port,omitempty"` + // EnableSsl - Specifies whether the connections to the server are encrypted using SSL. The default value is false. Type: boolean (or Expression with resultType boolean). + EnableSsl interface{} `json:"enableSsl,omitempty"` + // AllowSelfSignedServerCert - Specifies whether to allow self-signed certificates from the server. The default value is false. Type: boolean (or Expression with resultType boolean). + AllowSelfSignedServerCert interface{} `json:"allowSelfSignedServerCert,omitempty"` // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` } -// UnmarshalJSON is the custom unmarshaler for MagentoLinkedServiceTypeProperties struct. -func (mlstp *MagentoLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for MongoDbLinkedServiceTypeProperties struct. +func (mdlstp *MongoDbLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -87219,49 +111752,85 @@ func (mlstp *MagentoLinkedServiceTypeProperties) UnmarshalJSON(body []byte) erro } for k, v := range m { switch k { - case "host": + case "server": + if v != nil { + var server interface{} + err = json.Unmarshal(*v, &server) + if err != nil { + return err + } + mdlstp.Server = server + } + case "authenticationType": + if v != nil { + var authenticationType MongoDbAuthenticationType + err = json.Unmarshal(*v, &authenticationType) + if err != nil { + return err + } + mdlstp.AuthenticationType = authenticationType + } + case "databaseName": + if v != nil { + var databaseName interface{} + err = json.Unmarshal(*v, &databaseName) + if err != nil { + return err + } + mdlstp.DatabaseName = databaseName + } + case "username": + if v != nil { + var username interface{} + err = json.Unmarshal(*v, &username) + if err != nil { + return err + } + mdlstp.Username = username + } + case "password": if v != nil { - var host interface{} - err = json.Unmarshal(*v, &host) + password, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - mlstp.Host = host + mdlstp.Password = password } - case "accessToken": + case "authSource": if v != nil { - accessToken, err := unmarshalBasicSecretBase(*v) + var authSource interface{} + err = json.Unmarshal(*v, &authSource) if err != nil { return err } - mlstp.AccessToken = accessToken + mdlstp.AuthSource = authSource } - case "useEncryptedEndpoints": + case "port": if v != nil { - var useEncryptedEndpoints interface{} - err = json.Unmarshal(*v, &useEncryptedEndpoints) + var port interface{} + err = json.Unmarshal(*v, &port) if err != nil { return err } - mlstp.UseEncryptedEndpoints = useEncryptedEndpoints + mdlstp.Port = port } - case "useHostVerification": + case "enableSsl": if v != nil { - var useHostVerification interface{} - err = json.Unmarshal(*v, &useHostVerification) + var enableSsl interface{} + err = json.Unmarshal(*v, &enableSsl) if err != nil { return err } - mlstp.UseHostVerification = useHostVerification + mdlstp.EnableSsl = enableSsl } - case "usePeerVerification": + case "allowSelfSignedServerCert": if v != nil { - var usePeerVerification interface{} - err = json.Unmarshal(*v, &usePeerVerification) + var allowSelfSignedServerCert interface{} + err = json.Unmarshal(*v, &allowSelfSignedServerCert) if err != nil { return err } - mlstp.UsePeerVerification = usePeerVerification + mdlstp.AllowSelfSignedServerCert = allowSelfSignedServerCert } case "encryptedCredential": if v != nil { @@ -87270,7 +111839,7 @@ func (mlstp *MagentoLinkedServiceTypeProperties) UnmarshalJSON(body []byte) erro if err != nil { return err } - mlstp.EncryptedCredential = encryptedCredential + mdlstp.EncryptedCredential = encryptedCredential } } } @@ -87278,414 +111847,459 @@ func (mlstp *MagentoLinkedServiceTypeProperties) UnmarshalJSON(body []byte) erro return nil } -// MagentoObjectDataset magento server dataset. -type MagentoObjectDataset struct { - // GenericDatasetTypeProperties - Properties specific to this dataset type. - *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` +// MongoDbSource a copy activity source for a MongoDB database. +type MongoDbSource struct { + // Query - Database query. Should be a SQL-92 query expression. Type: string (or Expression with resultType string). + Query interface{} `json:"query,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Description - Dataset description. - Description *string `json:"description,omitempty"` - // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. - Structure interface{} `json:"structure,omitempty"` - // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - Schema interface{} `json:"schema,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Parameters - Parameters for dataset. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the Dataset. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' - Type TypeBasicDataset `json:"type,omitempty"` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for MagentoObjectDataset. -func (mod MagentoObjectDataset) MarshalJSON() ([]byte, error) { - mod.Type = TypeMagentoObject +// MarshalJSON is the custom marshaler for MongoDbSource. +func (mds MongoDbSource) MarshalJSON() ([]byte, error) { + mds.Type = TypeMongoDbSource objectMap := make(map[string]interface{}) - if mod.GenericDatasetTypeProperties != nil { - objectMap["typeProperties"] = mod.GenericDatasetTypeProperties - } - if mod.Description != nil { - objectMap["description"] = mod.Description - } - if mod.Structure != nil { - objectMap["structure"] = mod.Structure - } - if mod.Schema != nil { - objectMap["schema"] = mod.Schema - } - if mod.LinkedServiceName != nil { - objectMap["linkedServiceName"] = mod.LinkedServiceName + if mds.Query != nil { + objectMap["query"] = mds.Query } - if mod.Parameters != nil { - objectMap["parameters"] = mod.Parameters + if mds.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = mds.SourceRetryCount } - if mod.Annotations != nil { - objectMap["annotations"] = mod.Annotations + if mds.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = mds.SourceRetryWait } - if mod.Folder != nil { - objectMap["folder"] = mod.Folder + if mds.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = mds.MaxConcurrentConnections } - if mod.Type != "" { - objectMap["type"] = mod.Type + if mds.Type != "" { + objectMap["type"] = mds.Type } - for k, v := range mod.AdditionalProperties { + for k, v := range mds.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsResponsysSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsVerticaSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsNetezzaSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsZohoSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsXeroSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsSquareSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsSparkSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsShopifySource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsServiceNowSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsPrestoSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsPhoenixSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsPaypalSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsMarketoSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsMariaDBSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { - return &mod, true +// AsMagentoSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsMagentoSource() (*MagentoSource, bool) { + return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsJiraSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsImpalaSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsHubspotSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsHiveSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsHBaseSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsGreenplumSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsEloquaSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsDrillSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsConcurSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsHTTPSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsOffice365Source is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsMongoDbSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsMongoDbSource() (*MongoDbSource, bool) { + return &mds, true +} + +// AsCassandraSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsWebSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsTeradataSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsOracleSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsHdfsSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsFileSystemSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsSQLDWSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsSQLMISource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsSQLServerSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsSQLSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsRestSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsSapTableSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsSapHanaSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsSapEccSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsSalesforceSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsODataSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsSybaseSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsMySQLSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsOdbcSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsDb2Source is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsDataset() (*Dataset, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for MagentoObjectDataset. -func (mod MagentoObjectDataset) AsBasicDataset() (BasicDataset, bool) { - return &mod, true +// AsInformixSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsInformixSource() (*InformixSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for MagentoObjectDataset struct. -func (mod *MagentoObjectDataset) UnmarshalJSON(body []byte) error { +// AsRelationalSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + +// AsDynamicsSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + +// AsAzureTableSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsBinarySource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsDelimitedTextSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false +} + +// AsParquetSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsBasicCopySource() (BasicCopySource, bool) { + return &mds, true +} + +// UnmarshalJSON is the custom unmarshaler for MongoDbSource struct. +func (mds *MongoDbSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -87693,14 +112307,14 @@ func (mod *MagentoObjectDataset) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": + case "query": if v != nil { - var genericDatasetTypeProperties GenericDatasetTypeProperties - err = json.Unmarshal(*v, &genericDatasetTypeProperties) + var query interface{} + err = json.Unmarshal(*v, &query) if err != nil { return err } - mod.GenericDatasetTypeProperties = &genericDatasetTypeProperties + mds.Query = query } default: if v != nil { @@ -87709,82 +112323,46 @@ func (mod *MagentoObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if mod.AdditionalProperties == nil { - mod.AdditionalProperties = make(map[string]interface{}) - } - mod.AdditionalProperties[k] = additionalProperties - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - mod.Description = &description - } - case "structure": - if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) - if err != nil { - return err - } - mod.Structure = structure - } - case "schema": - if v != nil { - var schema interface{} - err = json.Unmarshal(*v, &schema) - if err != nil { - return err - } - mod.Schema = schema - } - case "linkedServiceName": - if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) - if err != nil { - return err + if mds.AdditionalProperties == nil { + mds.AdditionalProperties = make(map[string]interface{}) } - mod.LinkedServiceName = &linkedServiceName + mds.AdditionalProperties[k] = additionalProperties } - case "parameters": + case "sourceRetryCount": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) if err != nil { return err } - mod.Parameters = parameters + mds.SourceRetryCount = sourceRetryCount } - case "annotations": + case "sourceRetryWait": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) if err != nil { return err } - mod.Annotations = &annotations + mds.SourceRetryWait = sourceRetryWait } - case "folder": + case "maxConcurrentConnections": if v != nil { - var folder DatasetFolder - err = json.Unmarshal(*v, &folder) + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) if err != nil { return err } - mod.Folder = &folder + mds.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicDataset + var typeVar TypeBasicCopySource err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - mod.Type = typeVar + mds.Type = typeVar } } } @@ -87792,666 +112370,469 @@ func (mod *MagentoObjectDataset) UnmarshalJSON(body []byte) error { return nil } -// MagentoSource a copy activity Magento server source. -type MagentoSource struct { - // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). - Query interface{} `json:"query,omitempty"` +// MongoDbV2CollectionDataset the MongoDB database dataset. +type MongoDbV2CollectionDataset struct { + // MongoDbV2CollectionDatasetTypeProperties - MongoDB database dataset properties. + *MongoDbV2CollectionDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). - SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` - // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' - Type TypeBasicCopySource `json:"type,omitempty"` + // Description - Dataset description. + Description *string `json:"description,omitempty"` + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for MagentoSource. -func (ms MagentoSource) MarshalJSON() ([]byte, error) { - ms.Type = TypeMagentoSource +// MarshalJSON is the custom marshaler for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) MarshalJSON() ([]byte, error) { + mdvcd.Type = TypeMongoDbV2Collection objectMap := make(map[string]interface{}) - if ms.Query != nil { - objectMap["query"] = ms.Query + if mdvcd.MongoDbV2CollectionDatasetTypeProperties != nil { + objectMap["typeProperties"] = mdvcd.MongoDbV2CollectionDatasetTypeProperties } - if ms.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = ms.SourceRetryCount + if mdvcd.Description != nil { + objectMap["description"] = mdvcd.Description } - if ms.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = ms.SourceRetryWait + if mdvcd.Structure != nil { + objectMap["structure"] = mdvcd.Structure } - if ms.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = ms.MaxConcurrentConnections + if mdvcd.Schema != nil { + objectMap["schema"] = mdvcd.Schema } - if ms.Type != "" { - objectMap["type"] = ms.Type + if mdvcd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = mdvcd.LinkedServiceName } - for k, v := range ms.AdditionalProperties { + if mdvcd.Parameters != nil { + objectMap["parameters"] = mdvcd.Parameters + } + if mdvcd.Annotations != nil { + objectMap["annotations"] = mdvcd.Annotations + } + if mdvcd.Folder != nil { + objectMap["folder"] = mdvcd.Folder + } + if mdvcd.Type != "" { + objectMap["type"] = mdvcd.Type + } + for k, v := range mdvcd.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsVerticaSource() (*VerticaSource, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsZohoSource() (*ZohoSource, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsXeroSource() (*XeroSource, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsSquareSource() (*SquareSource, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsSparkSource() (*SparkSource, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsShopifySource() (*ShopifySource, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsPrestoSource() (*PrestoSource, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsPaypalSource() (*PaypalSource, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsMarketoSource() (*MarketoSource, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsMagentoSource() (*MagentoSource, bool) { - return &ms, true -} - -// AsJiraSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsJiraSource() (*JiraSource, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsHubspotSource() (*HubspotSource, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsHiveSource() (*HiveSource, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsHBaseSource() (*HBaseSource, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsEloquaSource() (*EloquaSource, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsDrillSource() (*DrillSource, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsDrillTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsConcurSource() (*ConcurSource, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsHTTPSource() (*HTTPSource, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsHTTPDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsOffice365Source() (*Office365Source, bool) { +// AsWebTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsRestResourceDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsCassandraSource() (*CassandraSource, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsWebSource() (*WebSource, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsOracleSource() (*OracleSource, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsHdfsSource() (*HdfsSource, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsSQLSource() (*SQLSource, bool) { +// AsInformixTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsRestSource() (*RestSource, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsSapTableSource() (*SapTableSource, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsOracleTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsSapEccSource() (*SapEccSource, bool) { +// AsODataResourceDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsSalesforceSource() (*SalesforceSource, bool) { - return nil, false +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { + return &mdvcd, true } -// AsRelationalSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsRelationalSource() (*RelationalSource, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsFileShareDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsOffice365Dataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsBlobSource() (*BlobSource, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsParquetSource() (*ParquetSource, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsCopySource() (*CopySource, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsBasicCopySource() (BasicCopySource, bool) { - return &ms, true -} - -// UnmarshalJSON is the custom unmarshaler for MagentoSource struct. -func (ms *MagentoSource) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "query": - if v != nil { - var query interface{} - err = json.Unmarshal(*v, &query) - if err != nil { - return err - } - ms.Query = query - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if ms.AdditionalProperties == nil { - ms.AdditionalProperties = make(map[string]interface{}) - } - ms.AdditionalProperties[k] = additionalProperties - } - case "sourceRetryCount": - if v != nil { - var sourceRetryCount interface{} - err = json.Unmarshal(*v, &sourceRetryCount) - if err != nil { - return err - } - ms.SourceRetryCount = sourceRetryCount - } - case "sourceRetryWait": - if v != nil { - var sourceRetryWait interface{} - err = json.Unmarshal(*v, &sourceRetryWait) - if err != nil { - return err - } - ms.SourceRetryWait = sourceRetryWait - } - case "maxConcurrentConnections": - if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) - if err != nil { - return err - } - ms.MaxConcurrentConnections = maxConcurrentConnections - } - case "type": - if v != nil { - var typeVar TypeBasicCopySource - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - ms.Type = typeVar - } - } - } - - return nil -} - -// ManagedIntegrationRuntime managed integration runtime, including managed elastic and managed dedicated -// integration runtimes. -type ManagedIntegrationRuntime struct { - // State - READ-ONLY; Integration runtime state, only valid for managed dedicated integration runtime. Possible values include: 'Initial', 'Stopped', 'Started', 'Starting', 'Stopping', 'NeedRegistration', 'Online', 'Limited', 'Offline', 'AccessDenied' - State IntegrationRuntimeState `json:"state,omitempty"` - // ManagedIntegrationRuntimeTypeProperties - Managed integration runtime properties. - *ManagedIntegrationRuntimeTypeProperties `json:"typeProperties,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Description - Integration runtime description. - Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeIntegrationRuntime', 'TypeSelfHosted', 'TypeManaged' - Type TypeBasicIntegrationRuntime `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for ManagedIntegrationRuntime. -func (mir ManagedIntegrationRuntime) MarshalJSON() ([]byte, error) { - mir.Type = TypeManaged - objectMap := make(map[string]interface{}) - if mir.ManagedIntegrationRuntimeTypeProperties != nil { - objectMap["typeProperties"] = mir.ManagedIntegrationRuntimeTypeProperties - } - if mir.Description != nil { - objectMap["description"] = mir.Description - } - if mir.Type != "" { - objectMap["type"] = mir.Type - } - for k, v := range mir.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) -} - -// AsSelfHostedIntegrationRuntime is the BasicIntegrationRuntime implementation for ManagedIntegrationRuntime. -func (mir ManagedIntegrationRuntime) AsSelfHostedIntegrationRuntime() (*SelfHostedIntegrationRuntime, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsManagedIntegrationRuntime is the BasicIntegrationRuntime implementation for ManagedIntegrationRuntime. -func (mir ManagedIntegrationRuntime) AsManagedIntegrationRuntime() (*ManagedIntegrationRuntime, bool) { - return &mir, true +// AsCustomDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsCustomDataset() (*CustomDataset, bool) { + return nil, false } -// AsIntegrationRuntime is the BasicIntegrationRuntime implementation for ManagedIntegrationRuntime. -func (mir ManagedIntegrationRuntime) AsIntegrationRuntime() (*IntegrationRuntime, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsBasicIntegrationRuntime is the BasicIntegrationRuntime implementation for ManagedIntegrationRuntime. -func (mir ManagedIntegrationRuntime) AsBasicIntegrationRuntime() (BasicIntegrationRuntime, bool) { - return &mir, true +// AsAzureSQLDWTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for ManagedIntegrationRuntime struct. -func (mir *ManagedIntegrationRuntime) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "state": - if v != nil { - var state IntegrationRuntimeState - err = json.Unmarshal(*v, &state) - if err != nil { - return err - } - mir.State = state - } - case "typeProperties": - if v != nil { - var managedIntegrationRuntimeTypeProperties ManagedIntegrationRuntimeTypeProperties - err = json.Unmarshal(*v, &managedIntegrationRuntimeTypeProperties) - if err != nil { - return err - } - mir.ManagedIntegrationRuntimeTypeProperties = &managedIntegrationRuntimeTypeProperties - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if mir.AdditionalProperties == nil { - mir.AdditionalProperties = make(map[string]interface{}) - } - mir.AdditionalProperties[k] = additionalProperties - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - mir.Description = &description - } - case "type": - if v != nil { - var typeVar TypeBasicIntegrationRuntime - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - mir.Type = typeVar - } - } - } - - return nil +// AsAzureSQLMITableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false } -// ManagedIntegrationRuntimeError error definition for managed integration runtime. -type ManagedIntegrationRuntimeError struct { - // Time - READ-ONLY; The time when the error occurred. - Time *date.Time `json:"time,omitempty"` - // Code - READ-ONLY; Error code. - Code *string `json:"code,omitempty"` - // Parameters - READ-ONLY; Managed integration runtime error parameters. - Parameters *[]string `json:"parameters,omitempty"` - // Message - READ-ONLY; Error message. - Message *string `json:"message,omitempty"` +// AsAzureSQLTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { + return nil, false } -// ManagedIntegrationRuntimeNode properties of integration runtime node. -type ManagedIntegrationRuntimeNode struct { - // NodeID - READ-ONLY; The managed integration runtime node id. - NodeID *string `json:"nodeId,omitempty"` - // Status - READ-ONLY; The managed integration runtime node status. Possible values include: 'ManagedIntegrationRuntimeNodeStatusStarting', 'ManagedIntegrationRuntimeNodeStatusAvailable', 'ManagedIntegrationRuntimeNodeStatusRecycling', 'ManagedIntegrationRuntimeNodeStatusUnavailable' - Status ManagedIntegrationRuntimeNodeStatus `json:"status,omitempty"` - // Errors - The errors that occurred on this integration runtime node. - Errors *[]ManagedIntegrationRuntimeError `json:"errors,omitempty"` +// AsAzureTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { + return nil, false } -// ManagedIntegrationRuntimeOperationResult properties of managed integration runtime operation result. -type ManagedIntegrationRuntimeOperationResult struct { - // Type - READ-ONLY; The operation type. Could be start or stop. - Type *string `json:"type,omitempty"` - // StartTime - READ-ONLY; The start time of the operation. - StartTime *date.Time `json:"startTime,omitempty"` - // Result - READ-ONLY; The operation result. - Result *string `json:"result,omitempty"` - // ErrorCode - READ-ONLY; The error code. - ErrorCode *string `json:"errorCode,omitempty"` - // Parameters - READ-ONLY; Managed integration runtime error parameters. - Parameters *[]string `json:"parameters,omitempty"` - // ActivityID - READ-ONLY; The activity id for the operation request. - ActivityID *string `json:"activityId,omitempty"` +// AsAzureBlobDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { + return nil, false } -// ManagedIntegrationRuntimeStatus managed integration runtime status. -type ManagedIntegrationRuntimeStatus struct { - // ManagedIntegrationRuntimeStatusTypeProperties - Managed integration runtime status type properties. - *ManagedIntegrationRuntimeStatusTypeProperties `json:"typeProperties,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // DataFactoryName - READ-ONLY; The data factory name which the integration runtime belong to. - DataFactoryName *string `json:"dataFactoryName,omitempty"` - // State - READ-ONLY; The state of integration runtime. Possible values include: 'Initial', 'Stopped', 'Started', 'Starting', 'Stopping', 'NeedRegistration', 'Online', 'Limited', 'Offline', 'AccessDenied' - State IntegrationRuntimeState `json:"state,omitempty"` - // Type - Possible values include: 'TypeBasicIntegrationRuntimeStatusTypeIntegrationRuntimeStatus', 'TypeBasicIntegrationRuntimeStatusTypeSelfHosted', 'TypeBasicIntegrationRuntimeStatusTypeManaged' - Type TypeBasicIntegrationRuntimeStatus `json:"type,omitempty"` +// AsBinaryDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for ManagedIntegrationRuntimeStatus. -func (mirs ManagedIntegrationRuntimeStatus) MarshalJSON() ([]byte, error) { - mirs.Type = TypeBasicIntegrationRuntimeStatusTypeManaged - objectMap := make(map[string]interface{}) - if mirs.ManagedIntegrationRuntimeStatusTypeProperties != nil { - objectMap["typeProperties"] = mirs.ManagedIntegrationRuntimeStatusTypeProperties - } - if mirs.Type != "" { - objectMap["type"] = mirs.Type - } - for k, v := range mirs.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsDelimitedTextDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { + return nil, false } -// AsSelfHostedIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for ManagedIntegrationRuntimeStatus. -func (mirs ManagedIntegrationRuntimeStatus) AsSelfHostedIntegrationRuntimeStatus() (*SelfHostedIntegrationRuntimeStatus, bool) { +// AsParquetDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } -// AsManagedIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for ManagedIntegrationRuntimeStatus. -func (mirs ManagedIntegrationRuntimeStatus) AsManagedIntegrationRuntimeStatus() (*ManagedIntegrationRuntimeStatus, bool) { - return &mirs, true +// AsAmazonS3Dataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false } -// AsIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for ManagedIntegrationRuntimeStatus. -func (mirs ManagedIntegrationRuntimeStatus) AsIntegrationRuntimeStatus() (*IntegrationRuntimeStatus, bool) { +// AsDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsDataset() (*Dataset, bool) { return nil, false } -// AsBasicIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for ManagedIntegrationRuntimeStatus. -func (mirs ManagedIntegrationRuntimeStatus) AsBasicIntegrationRuntimeStatus() (BasicIntegrationRuntimeStatus, bool) { - return &mirs, true +// AsBasicDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsBasicDataset() (BasicDataset, bool) { + return &mdvcd, true } -// UnmarshalJSON is the custom unmarshaler for ManagedIntegrationRuntimeStatus struct. -func (mirs *ManagedIntegrationRuntimeStatus) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for MongoDbV2CollectionDataset struct. +func (mdvcd *MongoDbV2CollectionDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -88461,12 +112842,12 @@ func (mirs *ManagedIntegrationRuntimeStatus) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var managedIntegrationRuntimeStatusTypeProperties ManagedIntegrationRuntimeStatusTypeProperties - err = json.Unmarshal(*v, &managedIntegrationRuntimeStatusTypeProperties) + var mongoDbV2CollectionDatasetTypeProperties MongoDbV2CollectionDatasetTypeProperties + err = json.Unmarshal(*v, &mongoDbV2CollectionDatasetTypeProperties) if err != nil { return err } - mirs.ManagedIntegrationRuntimeStatusTypeProperties = &managedIntegrationRuntimeStatusTypeProperties + mdvcd.MongoDbV2CollectionDatasetTypeProperties = &mongoDbV2CollectionDatasetTypeProperties } default: if v != nil { @@ -88475,37 +112856,82 @@ func (mirs *ManagedIntegrationRuntimeStatus) UnmarshalJSON(body []byte) error { if err != nil { return err } - if mirs.AdditionalProperties == nil { - mirs.AdditionalProperties = make(map[string]interface{}) + if mdvcd.AdditionalProperties == nil { + mdvcd.AdditionalProperties = make(map[string]interface{}) } - mirs.AdditionalProperties[k] = additionalProperties + mdvcd.AdditionalProperties[k] = additionalProperties } - case "dataFactoryName": + case "description": if v != nil { - var dataFactoryName string - err = json.Unmarshal(*v, &dataFactoryName) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - mirs.DataFactoryName = &dataFactoryName + mdvcd.Description = &description } - case "state": + case "structure": if v != nil { - var state IntegrationRuntimeState - err = json.Unmarshal(*v, &state) + var structure interface{} + err = json.Unmarshal(*v, &structure) if err != nil { return err } - mirs.State = state + mdvcd.Structure = structure + } + case "schema": + if v != nil { + var schema interface{} + err = json.Unmarshal(*v, &schema) + if err != nil { + return err + } + mdvcd.Schema = schema + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + mdvcd.LinkedServiceName = &linkedServiceName + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + mdvcd.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + mdvcd.Annotations = &annotations + } + case "folder": + if v != nil { + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) + if err != nil { + return err + } + mdvcd.Folder = &folder } case "type": if v != nil { - var typeVar TypeBasicIntegrationRuntimeStatus + var typeVar TypeBasicDataset err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - mirs.Type = typeVar + mdvcd.Type = typeVar } } } @@ -88513,30 +112939,16 @@ func (mirs *ManagedIntegrationRuntimeStatus) UnmarshalJSON(body []byte) error { return nil } -// ManagedIntegrationRuntimeStatusTypeProperties managed integration runtime status type properties. -type ManagedIntegrationRuntimeStatusTypeProperties struct { - // CreateTime - READ-ONLY; The time at which the integration runtime was created, in ISO8601 format. - CreateTime *date.Time `json:"createTime,omitempty"` - // Nodes - READ-ONLY; The list of nodes for managed integration runtime. - Nodes *[]ManagedIntegrationRuntimeNode `json:"nodes,omitempty"` - // OtherErrors - READ-ONLY; The errors that occurred on this integration runtime. - OtherErrors *[]ManagedIntegrationRuntimeError `json:"otherErrors,omitempty"` - // LastOperation - READ-ONLY; The last operation result that occurred on this integration runtime. - LastOperation *ManagedIntegrationRuntimeOperationResult `json:"lastOperation,omitempty"` -} - -// ManagedIntegrationRuntimeTypeProperties managed integration runtime type properties. -type ManagedIntegrationRuntimeTypeProperties struct { - // ComputeProperties - The compute resource for managed integration runtime. - ComputeProperties *IntegrationRuntimeComputeProperties `json:"computeProperties,omitempty"` - // SsisProperties - SSIS properties for managed integration runtime. - SsisProperties *IntegrationRuntimeSsisProperties `json:"ssisProperties,omitempty"` +// MongoDbV2CollectionDatasetTypeProperties mongoDB database dataset properties. +type MongoDbV2CollectionDatasetTypeProperties struct { + // Collection - The collection name of the MongoDB database. Type: string (or Expression with resultType string). + Collection interface{} `json:"collection,omitempty"` } -// MariaDBLinkedService mariaDB server linked service. -type MariaDBLinkedService struct { - // MariaDBLinkedServiceTypeProperties - MariaDB server linked service properties. - *MariaDBLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// MongoDbV2LinkedService linked service for MongoDB data source. +type MongoDbV2LinkedService struct { + // MongoDbV2LinkedServiceTypeProperties - MongoDB linked service properties. + *MongoDbV2LinkedServiceTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // ConnectVia - The integration runtime reference. @@ -88547,470 +112959,500 @@ type MariaDBLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for MariaDBLinkedService. -func (mdls MariaDBLinkedService) MarshalJSON() ([]byte, error) { - mdls.Type = TypeMariaDB +// MarshalJSON is the custom marshaler for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) MarshalJSON() ([]byte, error) { + mdvls.Type = TypeMongoDbV2 objectMap := make(map[string]interface{}) - if mdls.MariaDBLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = mdls.MariaDBLinkedServiceTypeProperties + if mdvls.MongoDbV2LinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = mdvls.MongoDbV2LinkedServiceTypeProperties } - if mdls.ConnectVia != nil { - objectMap["connectVia"] = mdls.ConnectVia + if mdvls.ConnectVia != nil { + objectMap["connectVia"] = mdvls.ConnectVia } - if mdls.Description != nil { - objectMap["description"] = mdls.Description + if mdvls.Description != nil { + objectMap["description"] = mdvls.Description } - if mdls.Parameters != nil { - objectMap["parameters"] = mdls.Parameters + if mdvls.Parameters != nil { + objectMap["parameters"] = mdvls.Parameters } - if mdls.Annotations != nil { - objectMap["annotations"] = mdls.Annotations + if mdvls.Annotations != nil { + objectMap["annotations"] = mdvls.Annotations } - if mdls.Type != "" { - objectMap["type"] = mdls.Type + if mdvls.Type != "" { + objectMap["type"] = mdvls.Type } - for k, v := range mdls.AdditionalProperties { + for k, v := range mdvls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsSapTableLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { - return &mdls, true +// AsMariaDBLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { + return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { + return &mdvls, true +} + +// AsMongoDbLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. -func (mdls MariaDBLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &mdls, true +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for MariaDBLinkedService struct. -func (mdls *MariaDBLinkedService) UnmarshalJSON(body []byte) error { +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &mdvls, true +} + +// UnmarshalJSON is the custom unmarshaler for MongoDbV2LinkedService struct. +func (mdvls *MongoDbV2LinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -89020,12 +113462,12 @@ func (mdls *MariaDBLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var mariaDBLinkedServiceTypeProperties MariaDBLinkedServiceTypeProperties - err = json.Unmarshal(*v, &mariaDBLinkedServiceTypeProperties) + var mongoDbV2LinkedServiceTypeProperties MongoDbV2LinkedServiceTypeProperties + err = json.Unmarshal(*v, &mongoDbV2LinkedServiceTypeProperties) if err != nil { return err } - mdls.MariaDBLinkedServiceTypeProperties = &mariaDBLinkedServiceTypeProperties + mdvls.MongoDbV2LinkedServiceTypeProperties = &mongoDbV2LinkedServiceTypeProperties } default: if v != nil { @@ -89034,10 +113476,10 @@ func (mdls *MariaDBLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if mdls.AdditionalProperties == nil { - mdls.AdditionalProperties = make(map[string]interface{}) + if mdvls.AdditionalProperties == nil { + mdvls.AdditionalProperties = make(map[string]interface{}) } - mdls.AdditionalProperties[k] = additionalProperties + mdvls.AdditionalProperties[k] = additionalProperties } case "connectVia": if v != nil { @@ -89046,7 +113488,7 @@ func (mdls *MariaDBLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - mdls.ConnectVia = &connectVia + mdvls.ConnectVia = &connectVia } case "description": if v != nil { @@ -89055,7 +113497,7 @@ func (mdls *MariaDBLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - mdls.Description = &description + mdvls.Description = &description } case "parameters": if v != nil { @@ -89064,7 +113506,7 @@ func (mdls *MariaDBLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - mdls.Parameters = parameters + mdvls.Parameters = parameters } case "annotations": if v != nil { @@ -89073,7 +113515,7 @@ func (mdls *MariaDBLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - mdls.Annotations = &annotations + mdvls.Annotations = &annotations } case "type": if v != nil { @@ -89082,7 +113524,7 @@ func (mdls *MariaDBLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - mdls.Type = typeVar + mdvls.Type = typeVar } } } @@ -89090,20 +113532,22 @@ func (mdls *MariaDBLinkedService) UnmarshalJSON(body []byte) error { return nil } -// MariaDBLinkedServiceTypeProperties mariaDB server linked service properties. -type MariaDBLinkedServiceTypeProperties struct { - // ConnectionString - An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. +// MongoDbV2LinkedServiceTypeProperties mongoDB linked service properties. +type MongoDbV2LinkedServiceTypeProperties struct { + // ConnectionString - The MongoDB connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference. ConnectionString interface{} `json:"connectionString,omitempty"` - // Pwd - The Azure key vault secret reference of password in connection string. - Pwd *AzureKeyVaultSecretReference `json:"pwd,omitempty"` - // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). - EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` + // Database - The name of the MongoDB database that you want to access. Type: string (or Expression with resultType string). + Database interface{} `json:"database,omitempty"` } -// MariaDBSource a copy activity MariaDB server source. -type MariaDBSource struct { - // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). - Query interface{} `json:"query,omitempty"` +// MongoDbV2Source a copy activity source for a MongoDB database. +type MongoDbV2Source struct { + // Filter - Specifies selection filter using query operators. To return all documents in a collection, omit this parameter or pass an empty document ({}). Type: string (or Expression with resultType string). + Filter interface{} `json:"filter,omitempty"` + // CursorMethods - Cursor methods for Mongodb query + CursorMethods *MongoDbCursorMethodsProperties `json:"cursorMethods,omitempty"` + // BatchSize - 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). + BatchSize interface{} `json:"batchSize,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -89112,377 +113556,679 @@ type MariaDBSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for MariaDBSource. -func (mds MariaDBSource) MarshalJSON() ([]byte, error) { - mds.Type = TypeMariaDBSource +// MarshalJSON is the custom marshaler for MongoDbV2Source. +func (mdvs MongoDbV2Source) MarshalJSON() ([]byte, error) { + mdvs.Type = TypeMongoDbV2Source objectMap := make(map[string]interface{}) - if mds.Query != nil { - objectMap["query"] = mds.Query + if mdvs.Filter != nil { + objectMap["filter"] = mdvs.Filter } - if mds.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = mds.SourceRetryCount + if mdvs.CursorMethods != nil { + objectMap["cursorMethods"] = mdvs.CursorMethods } - if mds.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = mds.SourceRetryWait + if mdvs.BatchSize != nil { + objectMap["batchSize"] = mdvs.BatchSize } - if mds.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = mds.MaxConcurrentConnections + if mdvs.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = mdvs.SourceRetryCount } - if mds.Type != "" { - objectMap["type"] = mds.Type + if mdvs.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = mdvs.SourceRetryWait } - for k, v := range mds.AdditionalProperties { + if mdvs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = mdvs.MaxConcurrentConnections + } + if mdvs.Type != "" { + objectMap["type"] = mdvs.Type + } + for k, v := range mdvs.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsResponsysSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsVerticaSource() (*VerticaSource, bool) { +// AsVerticaSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsNetezzaSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsZohoSource() (*ZohoSource, bool) { +// AsZohoSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsXeroSource() (*XeroSource, bool) { +// AsXeroSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsSquareSource() (*SquareSource, bool) { +// AsSquareSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsSparkSource() (*SparkSource, bool) { +// AsSparkSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsShopifySource() (*ShopifySource, bool) { +// AsShopifySource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsServiceNowSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsPrestoSource() (*PrestoSource, bool) { +// AsPrestoSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsPhoenixSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsPaypalSource() (*PaypalSource, bool) { +// AsPaypalSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsMarketoSource() (*MarketoSource, bool) { +// AsMarketoSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsMariaDBSource() (*MariaDBSource, bool) { - return &mds, true +// AsMariaDBSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsMariaDBSource() (*MariaDBSource, bool) { + return nil, false } -// AsMagentoSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsMagentoSource() (*MagentoSource, bool) { +// AsMagentoSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsJiraSource() (*JiraSource, bool) { +// AsJiraSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsImpalaSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsHubspotSource() (*HubspotSource, bool) { +// AsHubspotSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsHiveSource() (*HiveSource, bool) { +// AsHiveSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsHBaseSource() (*HBaseSource, bool) { +// AsHBaseSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsGreenplumSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsEloquaSource() (*EloquaSource, bool) { +// AsEloquaSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsDrillSource() (*DrillSource, bool) { +// AsDrillSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsConcurSource() (*ConcurSource, bool) { +// AsConcurSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsHTTPSource() (*HTTPSource, bool) { +// AsHTTPSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsOffice365Source() (*Office365Source, bool) { +// AsOffice365Source is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return &mdvs, true +} + +// AsMongoDbSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsCassandraSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsCassandraSource() (*CassandraSource, bool) { +// AsWebSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsWebSource() (*WebSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsWebSource() (*WebSource, bool) { +// AsTeradataSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsOracleSource() (*OracleSource, bool) { +// AsOracleSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsHdfsSource() (*HdfsSource, bool) { +// AsHdfsSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsFileSystemSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsSQLDWSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsSQLMISource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsAzureSQLSource() (*AzureSQLSource, bool) { + return nil, false +} + +// AsSQLServerSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsSQLSource() (*SQLSource, bool) { - return nil, false +// AsSQLSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsSQLSource() (*SQLSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSapTableSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsSapTableSource() (*SapTableSource, bool) { + return nil, false +} + +// AsSapOpenHubSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsSapOpenHubSource() (*SapOpenHubSource, bool) { + return nil, false +} + +// AsSapHanaSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsSapHanaSource() (*SapHanaSource, bool) { + return nil, false +} + +// AsSapEccSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsSapEccSource() (*SapEccSource, bool) { + return nil, false +} + +// AsSapCloudForCustomerSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsSalesforceSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsSalesforceSource() (*SalesforceSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsSybaseSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsSybaseSource() (*SybaseSource, bool) { + return nil, false +} + +// AsPostgreSQLSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false +} + +// AsMySQLSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsMySQLSource() (*MySQLSource, bool) { + return nil, false +} + +// AsOdbcSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsOdbcSource() (*OdbcSource, bool) { + return nil, false +} + +// AsDb2Source is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsDb2Source() (*Db2Source, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + +// AsRelationalSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsRelationalSource() (*RelationalSource, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + +// AsDynamicsSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + +// AsAzureTableSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsBinarySource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsDelimitedTextSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false +} + +// AsParquetSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsBasicCopySource() (BasicCopySource, bool) { + return &mdvs, true +} + +// UnmarshalJSON is the custom unmarshaler for MongoDbV2Source struct. +func (mdvs *MongoDbV2Source) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "filter": + if v != nil { + var filter interface{} + err = json.Unmarshal(*v, &filter) + if err != nil { + return err + } + mdvs.Filter = filter + } + case "cursorMethods": + if v != nil { + var cursorMethods MongoDbCursorMethodsProperties + err = json.Unmarshal(*v, &cursorMethods) + if err != nil { + return err + } + mdvs.CursorMethods = &cursorMethods + } + case "batchSize": + if v != nil { + var batchSize interface{} + err = json.Unmarshal(*v, &batchSize) + if err != nil { + return err + } + mdvs.BatchSize = batchSize + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if mdvs.AdditionalProperties == nil { + mdvs.AdditionalProperties = make(map[string]interface{}) + } + mdvs.AdditionalProperties[k] = additionalProperties + } + case "sourceRetryCount": + if v != nil { + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) + if err != nil { + return err + } + mdvs.SourceRetryCount = sourceRetryCount + } + case "sourceRetryWait": + if v != nil { + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) + if err != nil { + return err + } + mdvs.SourceRetryWait = sourceRetryWait + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + mdvs.MaxConcurrentConnections = maxConcurrentConnections + } + case "type": + if v != nil { + var typeVar TypeBasicCopySource + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + mdvs.Type = typeVar + } + } + } + + return nil } -// AsRestSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsRestSource() (*RestSource, bool) { - return nil, false +// BasicMultiplePipelineTrigger base class for all triggers that support one to many model for trigger to pipeline. +type BasicMultiplePipelineTrigger interface { + AsBlobEventsTrigger() (*BlobEventsTrigger, bool) + AsBlobTrigger() (*BlobTrigger, bool) + AsScheduleTrigger() (*ScheduleTrigger, bool) + AsMultiplePipelineTrigger() (*MultiplePipelineTrigger, bool) } -// AsSapTableSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsSapTableSource() (*SapTableSource, bool) { - return nil, false +// MultiplePipelineTrigger base class for all triggers that support one to many model for trigger to pipeline. +type MultiplePipelineTrigger struct { + // Pipelines - Pipelines that need to be started. + Pipelines *[]TriggerPipelineReference `json:"pipelines,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Description - Trigger description. + Description *string `json:"description,omitempty"` + // RuntimeState - READ-ONLY; Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: 'Started', 'Stopped', 'Disabled' + RuntimeState TriggerRuntimeState `json:"runtimeState,omitempty"` + // Annotations - List of tags that can be used for describing the trigger. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeTrigger', 'TypeRerunTumblingWindowTrigger', 'TypeTumblingWindowTrigger', 'TypeBlobEventsTrigger', 'TypeBlobTrigger', 'TypeScheduleTrigger', 'TypeMultiplePipelineTrigger' + Type TypeBasicTrigger `json:"type,omitempty"` } -// AsSapOpenHubSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { - return nil, false -} +func unmarshalBasicMultiplePipelineTrigger(body []byte) (BasicMultiplePipelineTrigger, error) { + var m map[string]interface{} + err := json.Unmarshal(body, &m) + if err != nil { + return nil, err + } -// AsSapHanaSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsSapHanaSource() (*SapHanaSource, bool) { - return nil, false + switch m["type"] { + case string(TypeBlobEventsTrigger): + var bet BlobEventsTrigger + err := json.Unmarshal(body, &bet) + return bet, err + case string(TypeBlobTrigger): + var bt BlobTrigger + err := json.Unmarshal(body, &bt) + return bt, err + case string(TypeScheduleTrigger): + var st ScheduleTrigger + err := json.Unmarshal(body, &st) + return st, err + default: + var mpt MultiplePipelineTrigger + err := json.Unmarshal(body, &mpt) + return mpt, err + } } +func unmarshalBasicMultiplePipelineTriggerArray(body []byte) ([]BasicMultiplePipelineTrigger, error) { + var rawMessages []*json.RawMessage + err := json.Unmarshal(body, &rawMessages) + if err != nil { + return nil, err + } -// AsSapEccSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsSapEccSource() (*SapEccSource, bool) { - return nil, false -} + mptArray := make([]BasicMultiplePipelineTrigger, len(rawMessages)) -// AsSapCloudForCustomerSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { - return nil, false + for index, rawMessage := range rawMessages { + mpt, err := unmarshalBasicMultiplePipelineTrigger(*rawMessage) + if err != nil { + return nil, err + } + mptArray[index] = mpt + } + return mptArray, nil } -// AsSalesforceSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsSalesforceSource() (*SalesforceSource, bool) { - return nil, false +// MarshalJSON is the custom marshaler for MultiplePipelineTrigger. +func (mpt MultiplePipelineTrigger) MarshalJSON() ([]byte, error) { + mpt.Type = TypeMultiplePipelineTrigger + objectMap := make(map[string]interface{}) + if mpt.Pipelines != nil { + objectMap["pipelines"] = mpt.Pipelines + } + if mpt.Description != nil { + objectMap["description"] = mpt.Description + } + if mpt.Annotations != nil { + objectMap["annotations"] = mpt.Annotations + } + if mpt.Type != "" { + objectMap["type"] = mpt.Type + } + for k, v := range mpt.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// AsRelationalSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsRelationalSource() (*RelationalSource, bool) { +// AsRerunTumblingWindowTrigger is the BasicTrigger implementation for MultiplePipelineTrigger. +func (mpt MultiplePipelineTrigger) AsRerunTumblingWindowTrigger() (*RerunTumblingWindowTrigger, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsTumblingWindowTrigger is the BasicTrigger implementation for MultiplePipelineTrigger. +func (mpt MultiplePipelineTrigger) AsTumblingWindowTrigger() (*TumblingWindowTrigger, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsBlobEventsTrigger is the BasicTrigger implementation for MultiplePipelineTrigger. +func (mpt MultiplePipelineTrigger) AsBlobEventsTrigger() (*BlobEventsTrigger, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsBlobSource() (*BlobSource, bool) { +// AsBlobTrigger is the BasicTrigger implementation for MultiplePipelineTrigger. +func (mpt MultiplePipelineTrigger) AsBlobTrigger() (*BlobTrigger, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsScheduleTrigger is the BasicTrigger implementation for MultiplePipelineTrigger. +func (mpt MultiplePipelineTrigger) AsScheduleTrigger() (*ScheduleTrigger, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { - return nil, false +// AsMultiplePipelineTrigger is the BasicTrigger implementation for MultiplePipelineTrigger. +func (mpt MultiplePipelineTrigger) AsMultiplePipelineTrigger() (*MultiplePipelineTrigger, bool) { + return &mpt, true } -// AsParquetSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsParquetSource() (*ParquetSource, bool) { - return nil, false +// AsBasicMultiplePipelineTrigger is the BasicTrigger implementation for MultiplePipelineTrigger. +func (mpt MultiplePipelineTrigger) AsBasicMultiplePipelineTrigger() (BasicMultiplePipelineTrigger, bool) { + return &mpt, true } -// AsCopySource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsCopySource() (*CopySource, bool) { +// AsTrigger is the BasicTrigger implementation for MultiplePipelineTrigger. +func (mpt MultiplePipelineTrigger) AsTrigger() (*Trigger, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsBasicCopySource() (BasicCopySource, bool) { - return &mds, true +// AsBasicTrigger is the BasicTrigger implementation for MultiplePipelineTrigger. +func (mpt MultiplePipelineTrigger) AsBasicTrigger() (BasicTrigger, bool) { + return &mpt, true } -// UnmarshalJSON is the custom unmarshaler for MariaDBSource struct. -func (mds *MariaDBSource) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for MultiplePipelineTrigger struct. +func (mpt *MultiplePipelineTrigger) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -89490,14 +114236,14 @@ func (mds *MariaDBSource) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "query": + case "pipelines": if v != nil { - var query interface{} - err = json.Unmarshal(*v, &query) + var pipelines []TriggerPipelineReference + err = json.Unmarshal(*v, &pipelines) if err != nil { return err } - mds.Query = query + mpt.Pipelines = &pipelines } default: if v != nil { @@ -89506,46 +114252,46 @@ func (mds *MariaDBSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - if mds.AdditionalProperties == nil { - mds.AdditionalProperties = make(map[string]interface{}) + if mpt.AdditionalProperties == nil { + mpt.AdditionalProperties = make(map[string]interface{}) } - mds.AdditionalProperties[k] = additionalProperties + mpt.AdditionalProperties[k] = additionalProperties } - case "sourceRetryCount": + case "description": if v != nil { - var sourceRetryCount interface{} - err = json.Unmarshal(*v, &sourceRetryCount) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - mds.SourceRetryCount = sourceRetryCount + mpt.Description = &description } - case "sourceRetryWait": + case "runtimeState": if v != nil { - var sourceRetryWait interface{} - err = json.Unmarshal(*v, &sourceRetryWait) + var runtimeState TriggerRuntimeState + err = json.Unmarshal(*v, &runtimeState) if err != nil { return err } - mds.SourceRetryWait = sourceRetryWait + mpt.RuntimeState = runtimeState } - case "maxConcurrentConnections": + case "annotations": if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - mds.MaxConcurrentConnections = maxConcurrentConnections + mpt.Annotations = &annotations } case "type": if v != nil { - var typeVar TypeBasicCopySource + var typeVar TypeBasicTrigger err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - mds.Type = typeVar + mpt.Type = typeVar } } } @@ -89553,414 +114299,514 @@ func (mds *MariaDBSource) UnmarshalJSON(body []byte) error { return nil } -// MariaDBTableDataset mariaDB server dataset. -type MariaDBTableDataset struct { - // GenericDatasetTypeProperties - Properties specific to this dataset type. - *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` +// MySQLLinkedService linked service for MySQL data source. +type MySQLLinkedService struct { + // MySQLLinkedServiceTypeProperties - MySQL linked service properties. + *MySQLLinkedServiceTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Description - Dataset description. + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. Description *string `json:"description,omitempty"` - // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. - Structure interface{} `json:"structure,omitempty"` - // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - Schema interface{} `json:"schema,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Parameters - Parameters for dataset. + // Parameters - Parameters for linked service. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the Dataset. + // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' - Type TypeBasicDataset `json:"type,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) MarshalJSON() ([]byte, error) { - mdtd.Type = TypeMariaDBTable +// MarshalJSON is the custom marshaler for MySQLLinkedService. +func (msls MySQLLinkedService) MarshalJSON() ([]byte, error) { + msls.Type = TypeMySQL objectMap := make(map[string]interface{}) - if mdtd.GenericDatasetTypeProperties != nil { - objectMap["typeProperties"] = mdtd.GenericDatasetTypeProperties - } - if mdtd.Description != nil { - objectMap["description"] = mdtd.Description - } - if mdtd.Structure != nil { - objectMap["structure"] = mdtd.Structure - } - if mdtd.Schema != nil { - objectMap["schema"] = mdtd.Schema + if msls.MySQLLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = msls.MySQLLinkedServiceTypeProperties } - if mdtd.LinkedServiceName != nil { - objectMap["linkedServiceName"] = mdtd.LinkedServiceName + if msls.ConnectVia != nil { + objectMap["connectVia"] = msls.ConnectVia } - if mdtd.Parameters != nil { - objectMap["parameters"] = mdtd.Parameters + if msls.Description != nil { + objectMap["description"] = msls.Description } - if mdtd.Annotations != nil { - objectMap["annotations"] = mdtd.Annotations + if msls.Parameters != nil { + objectMap["parameters"] = msls.Parameters } - if mdtd.Folder != nil { - objectMap["folder"] = mdtd.Folder + if msls.Annotations != nil { + objectMap["annotations"] = msls.Annotations } - if mdtd.Type != "" { - objectMap["type"] = mdtd.Type + if msls.Type != "" { + objectMap["type"] = msls.Type } - for k, v := range mdtd.AdditionalProperties { + for k, v := range msls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { - return &mdtd, true +// AsQuickBooksLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { + return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsDataset() (*Dataset, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for MariaDBTableDataset. -func (mdtd MariaDBTableDataset) AsBasicDataset() (BasicDataset, bool) { - return &mdtd, true +// AsTeradataLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for MariaDBTableDataset struct. -func (mdtd *MariaDBTableDataset) UnmarshalJSON(body []byte) error { +// AsDb2LinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return nil, false +} + +// AsSybaseLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { + return nil, false +} + +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { + return nil, false +} + +// AsMySQLLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { + return &msls, true +} + +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { + return nil, false +} + +// AsOracleLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { + return nil, false +} + +// AsFileServerLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { + return nil, false +} + +// AsHDInsightLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + +// AsDynamicsLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false +} + +// AsCosmosDbLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false +} + +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false +} + +// AsAzureBatchLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} + +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &msls, true +} + +// UnmarshalJSON is the custom unmarshaler for MySQLLinkedService struct. +func (msls *MySQLLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -89970,12 +114816,12 @@ func (mdtd *MariaDBTableDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var genericDatasetTypeProperties GenericDatasetTypeProperties - err = json.Unmarshal(*v, &genericDatasetTypeProperties) + var mySQLLinkedServiceTypeProperties MySQLLinkedServiceTypeProperties + err = json.Unmarshal(*v, &mySQLLinkedServiceTypeProperties) if err != nil { return err } - mdtd.GenericDatasetTypeProperties = &genericDatasetTypeProperties + msls.MySQLLinkedServiceTypeProperties = &mySQLLinkedServiceTypeProperties } default: if v != nil { @@ -89984,82 +114830,106 @@ func (mdtd *MariaDBTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if mdtd.AdditionalProperties == nil { - mdtd.AdditionalProperties = make(map[string]interface{}) + if msls.AdditionalProperties == nil { + msls.AdditionalProperties = make(map[string]interface{}) } - mdtd.AdditionalProperties[k] = additionalProperties + msls.AdditionalProperties[k] = additionalProperties } - case "description": + case "connectVia": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) if err != nil { return err } - mdtd.Description = &description + msls.ConnectVia = &connectVia } - case "structure": + case "description": if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - mdtd.Structure = structure + msls.Description = &description } - case "schema": + case "parameters": if v != nil { - var schema interface{} - err = json.Unmarshal(*v, &schema) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - mdtd.Schema = schema + msls.Parameters = parameters } - case "linkedServiceName": + case "annotations": if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - mdtd.LinkedServiceName = &linkedServiceName + msls.Annotations = &annotations } - case "parameters": + case "type": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var typeVar TypeBasicLinkedService + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - mdtd.Parameters = parameters + msls.Type = typeVar } - case "annotations": + } + } + + return nil +} + +// MySQLLinkedServiceTypeProperties mySQL linked service properties. +type MySQLLinkedServiceTypeProperties struct { + // ConnectionString - The connection string. + ConnectionString BasicSecretBase `json:"connectionString,omitempty"` + // Password - The Azure key vault secret reference of password in connection string. + Password *AzureKeyVaultSecretReference `json:"password,omitempty"` + // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` +} + +// UnmarshalJSON is the custom unmarshaler for MySQLLinkedServiceTypeProperties struct. +func (mslstp *MySQLLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "connectionString": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + connectionString, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - mdtd.Annotations = &annotations + mslstp.ConnectionString = connectionString } - case "folder": + case "password": if v != nil { - var folder DatasetFolder - err = json.Unmarshal(*v, &folder) + var password AzureKeyVaultSecretReference + err = json.Unmarshal(*v, &password) if err != nil { return err } - mdtd.Folder = &folder + mslstp.Password = &password } - case "type": + case "encryptedCredential": if v != nil { - var typeVar TypeBasicDataset - err = json.Unmarshal(*v, &typeVar) + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) if err != nil { return err } - mdtd.Type = typeVar + mslstp.EncryptedCredential = encryptedCredential } } } @@ -90067,484 +114937,459 @@ func (mdtd *MariaDBTableDataset) UnmarshalJSON(body []byte) error { return nil } -// MarketoLinkedService marketo server linked service. -type MarketoLinkedService struct { - // MarketoLinkedServiceTypeProperties - Marketo server linked service properties. - *MarketoLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// MySQLSource a copy activity source for MySQL databases. +type MySQLSource struct { + // Query - Database query. Type: string (or Expression with resultType string). + Query interface{} `json:"query,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. - Description *string `json:"description,omitempty"` - // Parameters - Parameters for linked service. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the linked service. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for MarketoLinkedService. -func (mls MarketoLinkedService) MarshalJSON() ([]byte, error) { - mls.Type = TypeMarketo +// MarshalJSON is the custom marshaler for MySQLSource. +func (mss MySQLSource) MarshalJSON() ([]byte, error) { + mss.Type = TypeMySQLSource objectMap := make(map[string]interface{}) - if mls.MarketoLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = mls.MarketoLinkedServiceTypeProperties - } - if mls.ConnectVia != nil { - objectMap["connectVia"] = mls.ConnectVia + if mss.Query != nil { + objectMap["query"] = mss.Query } - if mls.Description != nil { - objectMap["description"] = mls.Description + if mss.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = mss.SourceRetryCount } - if mls.Parameters != nil { - objectMap["parameters"] = mls.Parameters + if mss.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = mss.SourceRetryWait } - if mls.Annotations != nil { - objectMap["annotations"] = mls.Annotations + if mss.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = mss.MaxConcurrentConnections } - if mls.Type != "" { - objectMap["type"] = mls.Type + if mss.Type != "" { + objectMap["type"] = mss.Type } - for k, v := range mls.AdditionalProperties { + for k, v := range mss.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { - return nil, false -} - -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { - return nil, false -} - -// AsSapTableLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { - return nil, false -} - -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsResponsysSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsVerticaSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsNetezzaSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsZohoSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsXeroSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsSquareSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsSparkSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsShopifySource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsServiceNowSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsPrestoSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsPhoenixSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPaypalSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsMarketoSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsMariaDBSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { - return &mls, true -} - -// AsMariaDBLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsMagentoSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsJiraSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsImpalaSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsHubspotSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsHiveSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHBaseSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsGreenplumSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsEloquaSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsDrillSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsConcurSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsHTTPSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsOffice365Source is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsMongoDbSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsCassandraSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsWebSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsTeradataSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsOracleSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsHdfsSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsFileSystemSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsSQLDWSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsSQLMISource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsSQLServerSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsSQLSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsRestSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsSapTableSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsSapHanaSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsSapEccSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsSalesforceSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsODataSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsSybaseSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { - return nil, false +// AsMySQLSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsMySQLSource() (*MySQLSource, bool) { + return &mss, true } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsOdbcSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } - -// AsOracleLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { + +// AsDb2Source is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsInformixSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsRelationalSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsDynamicsSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsBlobSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsAzureTableSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsBinarySource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsDelimitedTextSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsParquetSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsCopySource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsCopySource() (*CopySource, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for MarketoLinkedService. -func (mls MarketoLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &mls, true +// AsBasicCopySource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsBasicCopySource() (BasicCopySource, bool) { + return &mss, true } -// UnmarshalJSON is the custom unmarshaler for MarketoLinkedService struct. -func (mls *MarketoLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for MySQLSource struct. +func (mss *MySQLSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -90552,14 +115397,14 @@ func (mls *MarketoLinkedService) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": + case "query": if v != nil { - var marketoLinkedServiceTypeProperties MarketoLinkedServiceTypeProperties - err = json.Unmarshal(*v, &marketoLinkedServiceTypeProperties) + var query interface{} + err = json.Unmarshal(*v, &query) if err != nil { return err } - mls.MarketoLinkedServiceTypeProperties = &marketoLinkedServiceTypeProperties + mss.Query = query } default: if v != nil { @@ -90568,150 +115413,46 @@ func (mls *MarketoLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if mls.AdditionalProperties == nil { - mls.AdditionalProperties = make(map[string]interface{}) - } - mls.AdditionalProperties[k] = additionalProperties - } - case "connectVia": - if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) - if err != nil { - return err + if mss.AdditionalProperties == nil { + mss.AdditionalProperties = make(map[string]interface{}) } - mls.ConnectVia = &connectVia + mss.AdditionalProperties[k] = additionalProperties } - case "description": + case "sourceRetryCount": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) if err != nil { return err } - mls.Description = &description + mss.SourceRetryCount = sourceRetryCount } - case "parameters": + case "sourceRetryWait": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) if err != nil { return err } - mls.Parameters = parameters + mss.SourceRetryWait = sourceRetryWait } - case "annotations": + case "maxConcurrentConnections": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) if err != nil { return err } - mls.Annotations = &annotations + mss.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicLinkedService + var typeVar TypeBasicCopySource err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - mls.Type = typeVar - } - } - } - - return nil -} - -// MarketoLinkedServiceTypeProperties marketo server linked service properties. -type MarketoLinkedServiceTypeProperties struct { - // Endpoint - The endpoint of the Marketo server. (i.e. 123-ABC-321.mktorest.com) - Endpoint interface{} `json:"endpoint,omitempty"` - // ClientID - The client Id of your Marketo service. - ClientID interface{} `json:"clientId,omitempty"` - // ClientSecret - The client secret of your Marketo service. - ClientSecret BasicSecretBase `json:"clientSecret,omitempty"` - // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. - UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"` - // UseHostVerification - 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. - UseHostVerification interface{} `json:"useHostVerification,omitempty"` - // UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. - UsePeerVerification interface{} `json:"usePeerVerification,omitempty"` - // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). - EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` -} - -// UnmarshalJSON is the custom unmarshaler for MarketoLinkedServiceTypeProperties struct. -func (mlstp *MarketoLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "endpoint": - if v != nil { - var endpoint interface{} - err = json.Unmarshal(*v, &endpoint) - if err != nil { - return err - } - mlstp.Endpoint = endpoint - } - case "clientId": - if v != nil { - var clientID interface{} - err = json.Unmarshal(*v, &clientID) - if err != nil { - return err - } - mlstp.ClientID = clientID - } - case "clientSecret": - if v != nil { - clientSecret, err := unmarshalBasicSecretBase(*v) - if err != nil { - return err - } - mlstp.ClientSecret = clientSecret - } - case "useEncryptedEndpoints": - if v != nil { - var useEncryptedEndpoints interface{} - err = json.Unmarshal(*v, &useEncryptedEndpoints) - if err != nil { - return err - } - mlstp.UseEncryptedEndpoints = useEncryptedEndpoints - } - case "useHostVerification": - if v != nil { - var useHostVerification interface{} - err = json.Unmarshal(*v, &useHostVerification) - if err != nil { - return err - } - mlstp.UseHostVerification = useHostVerification - } - case "usePeerVerification": - if v != nil { - var usePeerVerification interface{} - err = json.Unmarshal(*v, &usePeerVerification) - if err != nil { - return err - } - mlstp.UsePeerVerification = usePeerVerification - } - case "encryptedCredential": - if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) - if err != nil { - return err - } - mlstp.EncryptedCredential = encryptedCredential + mss.Type = typeVar } } } @@ -90719,10 +115460,10 @@ func (mlstp *MarketoLinkedServiceTypeProperties) UnmarshalJSON(body []byte) erro return nil } -// MarketoObjectDataset marketo server dataset. -type MarketoObjectDataset struct { - // GenericDatasetTypeProperties - Properties specific to this dataset type. - *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` +// MySQLTableDataset the MySQL table dataset. +type MySQLTableDataset struct { + // MySQLTableDatasetTypeProperties - MySQL table dataset properties. + *MySQLTableDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // Description - Dataset description. @@ -90739,394 +115480,449 @@ type MarketoObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for MarketoObjectDataset. -func (mod MarketoObjectDataset) MarshalJSON() ([]byte, error) { - mod.Type = TypeMarketoObject +// MarshalJSON is the custom marshaler for MySQLTableDataset. +func (mstd MySQLTableDataset) MarshalJSON() ([]byte, error) { + mstd.Type = TypeMySQLTable objectMap := make(map[string]interface{}) - if mod.GenericDatasetTypeProperties != nil { - objectMap["typeProperties"] = mod.GenericDatasetTypeProperties + if mstd.MySQLTableDatasetTypeProperties != nil { + objectMap["typeProperties"] = mstd.MySQLTableDatasetTypeProperties } - if mod.Description != nil { - objectMap["description"] = mod.Description + if mstd.Description != nil { + objectMap["description"] = mstd.Description } - if mod.Structure != nil { - objectMap["structure"] = mod.Structure + if mstd.Structure != nil { + objectMap["structure"] = mstd.Structure } - if mod.Schema != nil { - objectMap["schema"] = mod.Schema + if mstd.Schema != nil { + objectMap["schema"] = mstd.Schema } - if mod.LinkedServiceName != nil { - objectMap["linkedServiceName"] = mod.LinkedServiceName + if mstd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = mstd.LinkedServiceName } - if mod.Parameters != nil { - objectMap["parameters"] = mod.Parameters + if mstd.Parameters != nil { + objectMap["parameters"] = mstd.Parameters } - if mod.Annotations != nil { - objectMap["annotations"] = mod.Annotations + if mstd.Annotations != nil { + objectMap["annotations"] = mstd.Annotations } - if mod.Folder != nil { - objectMap["folder"] = mod.Folder + if mstd.Folder != nil { + objectMap["folder"] = mstd.Folder } - if mod.Type != "" { - objectMap["type"] = mod.Type + if mstd.Type != "" { + objectMap["type"] = mstd.Type } - for k, v := range mod.AdditionalProperties { + for k, v := range mstd.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { - return &mod, true +// AsMarketoObjectDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { + return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsDrillTableDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsHTTPDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsWebTableDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsRestResourceDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { + return &mstd, true +} + +// AsOdbcTableDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsInformixTableDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsOracleTableDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsODataResourceDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsFileShareDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsOffice365Dataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsCustomDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsDataset() (*Dataset, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for MarketoObjectDataset. -func (mod MarketoObjectDataset) AsBasicDataset() (BasicDataset, bool) { - return &mod, true +// AsAzureSQLDWTableDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for MarketoObjectDataset struct. -func (mod *MarketoObjectDataset) UnmarshalJSON(body []byte) error { +// AsAzureSQLMITableDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + +// AsAzureSQLTableDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { + return nil, false +} + +// AsAzureTableDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { + return nil, false +} + +// AsAzureBlobDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { + return nil, false +} + +// AsBinaryDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + +// AsDelimitedTextDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { + return nil, false +} + +// AsParquetDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsBasicDataset() (BasicDataset, bool) { + return &mstd, true +} + +// UnmarshalJSON is the custom unmarshaler for MySQLTableDataset struct. +func (mstd *MySQLTableDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -91136,12 +115932,12 @@ func (mod *MarketoObjectDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var genericDatasetTypeProperties GenericDatasetTypeProperties - err = json.Unmarshal(*v, &genericDatasetTypeProperties) + var mySQLTableDatasetTypeProperties MySQLTableDatasetTypeProperties + err = json.Unmarshal(*v, &mySQLTableDatasetTypeProperties) if err != nil { return err } - mod.GenericDatasetTypeProperties = &genericDatasetTypeProperties + mstd.MySQLTableDatasetTypeProperties = &mySQLTableDatasetTypeProperties } default: if v != nil { @@ -91150,10 +115946,10 @@ func (mod *MarketoObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if mod.AdditionalProperties == nil { - mod.AdditionalProperties = make(map[string]interface{}) + if mstd.AdditionalProperties == nil { + mstd.AdditionalProperties = make(map[string]interface{}) } - mod.AdditionalProperties[k] = additionalProperties + mstd.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -91162,7 +115958,7 @@ func (mod *MarketoObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - mod.Description = &description + mstd.Description = &description } case "structure": if v != nil { @@ -91171,7 +115967,7 @@ func (mod *MarketoObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - mod.Structure = structure + mstd.Structure = structure } case "schema": if v != nil { @@ -91180,7 +115976,7 @@ func (mod *MarketoObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - mod.Schema = schema + mstd.Schema = schema } case "linkedServiceName": if v != nil { @@ -91189,7 +115985,7 @@ func (mod *MarketoObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - mod.LinkedServiceName = &linkedServiceName + mstd.LinkedServiceName = &linkedServiceName } case "parameters": if v != nil { @@ -91198,7 +115994,7 @@ func (mod *MarketoObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - mod.Parameters = parameters + mstd.Parameters = parameters } case "annotations": if v != nil { @@ -91207,7 +116003,7 @@ func (mod *MarketoObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - mod.Annotations = &annotations + mstd.Annotations = &annotations } case "folder": if v != nil { @@ -91216,7 +116012,7 @@ func (mod *MarketoObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - mod.Folder = &folder + mstd.Folder = &folder } case "type": if v != nil { @@ -91225,7 +116021,7 @@ func (mod *MarketoObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - mod.Type = typeVar + mstd.Type = typeVar } } } @@ -91233,389 +116029,520 @@ func (mod *MarketoObjectDataset) UnmarshalJSON(body []byte) error { return nil } -// MarketoSource a copy activity Marketo server source. -type MarketoSource struct { - // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). - Query interface{} `json:"query,omitempty"` +// MySQLTableDatasetTypeProperties mySql table dataset properties. +type MySQLTableDatasetTypeProperties struct { + // TableName - The MySQL table name. Type: string (or Expression with resultType string). + TableName interface{} `json:"tableName,omitempty"` +} + +// NetezzaLinkedService netezza linked service. +type NetezzaLinkedService struct { + // NetezzaLinkedServiceTypeProperties - Netezza linked service properties. + *NetezzaLinkedServiceTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). - SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` - // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' - Type TypeBasicCopySource `json:"type,omitempty"` + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. + Description *string `json:"description,omitempty"` + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the linked service. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for MarketoSource. -func (ms MarketoSource) MarshalJSON() ([]byte, error) { - ms.Type = TypeMarketoSource +// MarshalJSON is the custom marshaler for NetezzaLinkedService. +func (nls NetezzaLinkedService) MarshalJSON() ([]byte, error) { + nls.Type = TypeNetezza objectMap := make(map[string]interface{}) - if ms.Query != nil { - objectMap["query"] = ms.Query + if nls.NetezzaLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = nls.NetezzaLinkedServiceTypeProperties } - if ms.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = ms.SourceRetryCount + if nls.ConnectVia != nil { + objectMap["connectVia"] = nls.ConnectVia } - if ms.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = ms.SourceRetryWait + if nls.Description != nil { + objectMap["description"] = nls.Description } - if ms.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = ms.MaxConcurrentConnections + if nls.Parameters != nil { + objectMap["parameters"] = nls.Parameters } - if ms.Type != "" { - objectMap["type"] = ms.Type + if nls.Annotations != nil { + objectMap["annotations"] = nls.Annotations } - for k, v := range ms.AdditionalProperties { + if nls.Type != "" { + objectMap["type"] = nls.Type + } + for k, v := range nls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsVerticaSource() (*VerticaSource, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsZohoSource() (*ZohoSource, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsXeroSource() (*XeroSource, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsSquareSource() (*SquareSource, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsSparkSource() (*SparkSource, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return &nls, true +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsShopifySource() (*ShopifySource, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsPrestoSource() (*PrestoSource, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsPaypalSource() (*PaypalSource, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsMarketoSource() (*MarketoSource, bool) { - return &ms, true +// AsQuickBooksLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { + return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsMagentoSource() (*MagentoSource, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsJiraSource() (*JiraSource, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsHubspotSource() (*HubspotSource, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsHiveSource() (*HiveSource, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsHBaseSource() (*HBaseSource, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsEloquaSource() (*EloquaSource, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsDrillSource() (*DrillSource, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsConcurSource() (*ConcurSource, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsHTTPSource() (*HTTPSource, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsOffice365Source() (*Office365Source, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsCassandraSource() (*CassandraSource, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsWebSource() (*WebSource, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsOracleSource() (*OracleSource, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsHdfsSource() (*HdfsSource, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsSQLSource() (*SQLSource, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsRestSource() (*RestSource, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsSapTableSource() (*SapTableSource, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsSapEccSource() (*SapEccSource, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsRelationalSource() (*RelationalSource, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsBlobSource() (*BlobSource, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsParquetSource() (*ParquetSource, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsCopySource() (*CopySource, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsBasicCopySource() (BasicCopySource, bool) { - return &ms, true +// AsTeradataLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for MarketoSource struct. -func (ms *MarketoSource) UnmarshalJSON(body []byte) error { +// AsDb2LinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return nil, false +} + +// AsSybaseLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { + return nil, false +} + +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { + return nil, false +} + +// AsMySQLLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { + return nil, false +} + +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { + return nil, false +} + +// AsOracleLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { + return nil, false +} + +// AsFileServerLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { + return nil, false +} + +// AsHDInsightLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + +// AsDynamicsLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false +} + +// AsCosmosDbLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false +} + +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false +} + +// AsAzureBatchLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} + +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &nls, true +} + +// UnmarshalJSON is the custom unmarshaler for NetezzaLinkedService struct. +func (nls *NetezzaLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -91623,14 +116550,14 @@ func (ms *MarketoSource) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "query": + case "typeProperties": if v != nil { - var query interface{} - err = json.Unmarshal(*v, &query) + var netezzaLinkedServiceTypeProperties NetezzaLinkedServiceTypeProperties + err = json.Unmarshal(*v, &netezzaLinkedServiceTypeProperties) if err != nil { return err } - ms.Query = query + nls.NetezzaLinkedServiceTypeProperties = &netezzaLinkedServiceTypeProperties } default: if v != nil { @@ -91639,46 +116566,55 @@ func (ms *MarketoSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - if ms.AdditionalProperties == nil { - ms.AdditionalProperties = make(map[string]interface{}) + if nls.AdditionalProperties == nil { + nls.AdditionalProperties = make(map[string]interface{}) } - ms.AdditionalProperties[k] = additionalProperties + nls.AdditionalProperties[k] = additionalProperties } - case "sourceRetryCount": + case "connectVia": if v != nil { - var sourceRetryCount interface{} - err = json.Unmarshal(*v, &sourceRetryCount) + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) if err != nil { return err } - ms.SourceRetryCount = sourceRetryCount + nls.ConnectVia = &connectVia } - case "sourceRetryWait": + case "description": if v != nil { - var sourceRetryWait interface{} - err = json.Unmarshal(*v, &sourceRetryWait) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - ms.SourceRetryWait = sourceRetryWait + nls.Description = &description } - case "maxConcurrentConnections": + case "parameters": if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - ms.MaxConcurrentConnections = maxConcurrentConnections + nls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + nls.Annotations = &annotations } case "type": if v != nil { - var typeVar TypeBasicCopySource + var typeVar TypeBasicLinkedService err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - ms.Type = typeVar + nls.Type = typeVar } } } @@ -91686,414 +116622,489 @@ func (ms *MarketoSource) UnmarshalJSON(body []byte) error { return nil } -// MongoDbCollectionDataset the MongoDB database dataset. -type MongoDbCollectionDataset struct { - // MongoDbCollectionDatasetTypeProperties - MongoDB database dataset properties. - *MongoDbCollectionDatasetTypeProperties `json:"typeProperties,omitempty"` +// NetezzaLinkedServiceTypeProperties netezza linked service properties. +type NetezzaLinkedServiceTypeProperties struct { + // ConnectionString - An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + ConnectionString interface{} `json:"connectionString,omitempty"` + // Pwd - The Azure key vault secret reference of password in connection string. + Pwd *AzureKeyVaultSecretReference `json:"pwd,omitempty"` + // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` +} + +// NetezzaPartitionSettings the settings that will be leveraged for Netezza source partitioning. +type NetezzaPartitionSettings struct { + // PartitionColumnName - The name of the column in integer type that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). + PartitionColumnName interface{} `json:"partitionColumnName,omitempty"` + // PartitionUpperBound - The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). + PartitionUpperBound interface{} `json:"partitionUpperBound,omitempty"` + // PartitionLowerBound - The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). + PartitionLowerBound interface{} `json:"partitionLowerBound,omitempty"` +} + +// NetezzaSource a copy activity Netezza source. +type NetezzaSource struct { + // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). + Query interface{} `json:"query,omitempty"` + // PartitionOption - The partition mechanism that will be used for Netezza read in parallel. Possible values include: 'NetezzaPartitionOptionNone', 'NetezzaPartitionOptionDataSlice', 'NetezzaPartitionOptionDynamicRange' + PartitionOption NetezzaPartitionOption `json:"partitionOption,omitempty"` + // PartitionSettings - The settings that will be leveraged for Netezza source partitioning. + PartitionSettings *NetezzaPartitionSettings `json:"partitionSettings,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Description - Dataset description. - Description *string `json:"description,omitempty"` - // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. - Structure interface{} `json:"structure,omitempty"` - // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - Schema interface{} `json:"schema,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Parameters - Parameters for dataset. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the Dataset. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' - Type TypeBasicDataset `json:"type,omitempty"` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) MarshalJSON() ([]byte, error) { - mdcd.Type = TypeMongoDbCollection +// MarshalJSON is the custom marshaler for NetezzaSource. +func (ns NetezzaSource) MarshalJSON() ([]byte, error) { + ns.Type = TypeNetezzaSource objectMap := make(map[string]interface{}) - if mdcd.MongoDbCollectionDatasetTypeProperties != nil { - objectMap["typeProperties"] = mdcd.MongoDbCollectionDatasetTypeProperties - } - if mdcd.Description != nil { - objectMap["description"] = mdcd.Description - } - if mdcd.Structure != nil { - objectMap["structure"] = mdcd.Structure + if ns.Query != nil { + objectMap["query"] = ns.Query } - if mdcd.Schema != nil { - objectMap["schema"] = mdcd.Schema + if ns.PartitionOption != "" { + objectMap["partitionOption"] = ns.PartitionOption } - if mdcd.LinkedServiceName != nil { - objectMap["linkedServiceName"] = mdcd.LinkedServiceName + if ns.PartitionSettings != nil { + objectMap["partitionSettings"] = ns.PartitionSettings } - if mdcd.Parameters != nil { - objectMap["parameters"] = mdcd.Parameters + if ns.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = ns.SourceRetryCount } - if mdcd.Annotations != nil { - objectMap["annotations"] = mdcd.Annotations + if ns.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = ns.SourceRetryWait } - if mdcd.Folder != nil { - objectMap["folder"] = mdcd.Folder + if ns.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = ns.MaxConcurrentConnections } - if mdcd.Type != "" { - objectMap["type"] = mdcd.Type + if ns.Type != "" { + objectMap["type"] = ns.Type } - for k, v := range mdcd.AdditionalProperties { + for k, v := range ns.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { + return nil, false +} + +// AsGoogleAdWordsSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { + return nil, false +} + +// AsOracleServiceCloudSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { + return nil, false +} + +// AsDynamicsAXSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { + return nil, false +} + +// AsResponsysSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsResponsysSource() (*ResponsysSource, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { + return nil, false +} + +// AsVerticaSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false +} + +// AsNetezzaSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsNetezzaSource() (*NetezzaSource, bool) { + return &ns, true +} + +// AsZohoSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsZohoSource() (*ZohoSource, bool) { + return nil, false +} + +// AsXeroSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsXeroSource() (*XeroSource, bool) { + return nil, false +} + +// AsSquareSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsSquareSource() (*SquareSource, bool) { + return nil, false +} + +// AsSparkSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsSparkSource() (*SparkSource, bool) { + return nil, false +} + +// AsShopifySource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsShopifySource() (*ShopifySource, bool) { + return nil, false +} + +// AsServiceNowSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsPrestoSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsPhoenixSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsPaypalSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsMarketoSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsMariaDBSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsMagentoSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsJiraSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsImpalaSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsHubspotSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsHiveSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsHBaseSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsGreenplumSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsEloquaSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsDrillSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsConcurSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsHTTPSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsOffice365Source is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsMongoDbSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsCassandraSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsWebSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsTeradataSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsOracleSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsHdfsSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsFileSystemSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsSQLDWSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsSQLMISource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsSQLServerSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsSQLSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsRestSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsSapTableSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsSapHanaSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsSapEccSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsSalesforceSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsODataSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsSybaseSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { - return &mdcd, true +// AsPostgreSQLSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false } -// AsFileShareDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsMySQLSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsOdbcSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsDb2Source is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsInformixSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsRelationalSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsDynamicsSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsBlobSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsAzureTableSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsBinarySource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsDelimitedTextSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsParquetSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsDataset() (*Dataset, bool) { +// AsCopySource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsCopySource() (*CopySource, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for MongoDbCollectionDataset. -func (mdcd MongoDbCollectionDataset) AsBasicDataset() (BasicDataset, bool) { - return &mdcd, true +// AsBasicCopySource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsBasicCopySource() (BasicCopySource, bool) { + return &ns, true } -// UnmarshalJSON is the custom unmarshaler for MongoDbCollectionDataset struct. -func (mdcd *MongoDbCollectionDataset) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for NetezzaSource struct. +func (ns *NetezzaSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -92101,155 +117112,33 @@ func (mdcd *MongoDbCollectionDataset) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": - if v != nil { - var mongoDbCollectionDatasetTypeProperties MongoDbCollectionDatasetTypeProperties - err = json.Unmarshal(*v, &mongoDbCollectionDatasetTypeProperties) - if err != nil { - return err - } - mdcd.MongoDbCollectionDatasetTypeProperties = &mongoDbCollectionDatasetTypeProperties - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if mdcd.AdditionalProperties == nil { - mdcd.AdditionalProperties = make(map[string]interface{}) - } - mdcd.AdditionalProperties[k] = additionalProperties - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - mdcd.Description = &description - } - case "structure": - if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) - if err != nil { - return err - } - mdcd.Structure = structure - } - case "schema": - if v != nil { - var schema interface{} - err = json.Unmarshal(*v, &schema) - if err != nil { - return err - } - mdcd.Schema = schema - } - case "linkedServiceName": - if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) - if err != nil { - return err - } - mdcd.LinkedServiceName = &linkedServiceName - } - case "parameters": - if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) - if err != nil { - return err - } - mdcd.Parameters = parameters - } - case "annotations": + case "query": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var query interface{} + err = json.Unmarshal(*v, &query) if err != nil { return err } - mdcd.Annotations = &annotations + ns.Query = query } - case "folder": + case "partitionOption": if v != nil { - var folder DatasetFolder - err = json.Unmarshal(*v, &folder) + var partitionOption NetezzaPartitionOption + err = json.Unmarshal(*v, &partitionOption) if err != nil { return err } - mdcd.Folder = &folder + ns.PartitionOption = partitionOption } - case "type": + case "partitionSettings": if v != nil { - var typeVar TypeBasicDataset - err = json.Unmarshal(*v, &typeVar) + var partitionSettings NetezzaPartitionSettings + err = json.Unmarshal(*v, &partitionSettings) if err != nil { return err } - mdcd.Type = typeVar + ns.PartitionSettings = &partitionSettings } - } - } - - return nil -} - -// MongoDbCollectionDatasetTypeProperties mongoDB database dataset properties. -type MongoDbCollectionDatasetTypeProperties struct { - // CollectionName - The table name of the MongoDB database. Type: string (or Expression with resultType string). - CollectionName interface{} `json:"collectionName,omitempty"` -} - -// MongoDbCursorMethodsProperties cursor methods for Mongodb query -type MongoDbCursorMethodsProperties struct { - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Project - Specifies the fields to return in the documents that match the query filter. To return all fields in the matching documents, omit this parameter. Type: string (or Expression with resultType string). - Project interface{} `json:"project,omitempty"` - // Sort - Specifies the order in which the query returns matching documents. Type: string (or Expression with resultType string). Type: string (or Expression with resultType string). - Sort interface{} `json:"sort,omitempty"` - // Skip - 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). - Skip interface{} `json:"skip,omitempty"` - // Limit - 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). - Limit interface{} `json:"limit,omitempty"` -} - -// MarshalJSON is the custom marshaler for MongoDbCursorMethodsProperties. -func (mdcmp MongoDbCursorMethodsProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if mdcmp.Project != nil { - objectMap["project"] = mdcmp.Project - } - if mdcmp.Sort != nil { - objectMap["sort"] = mdcmp.Sort - } - if mdcmp.Skip != nil { - objectMap["skip"] = mdcmp.Skip - } - if mdcmp.Limit != nil { - objectMap["limit"] = mdcmp.Limit - } - for k, v := range mdcmp.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for MongoDbCursorMethodsProperties struct. -func (mdcmp *MongoDbCursorMethodsProperties) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { default: if v != nil { var additionalProperties interface{} @@ -92257,46 +117146,46 @@ func (mdcmp *MongoDbCursorMethodsProperties) UnmarshalJSON(body []byte) error { if err != nil { return err } - if mdcmp.AdditionalProperties == nil { - mdcmp.AdditionalProperties = make(map[string]interface{}) + if ns.AdditionalProperties == nil { + ns.AdditionalProperties = make(map[string]interface{}) } - mdcmp.AdditionalProperties[k] = additionalProperties + ns.AdditionalProperties[k] = additionalProperties } - case "project": + case "sourceRetryCount": if v != nil { - var project interface{} - err = json.Unmarshal(*v, &project) + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) if err != nil { return err } - mdcmp.Project = project + ns.SourceRetryCount = sourceRetryCount } - case "sort": + case "sourceRetryWait": if v != nil { - var sortVar interface{} - err = json.Unmarshal(*v, &sortVar) + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) if err != nil { return err } - mdcmp.Sort = sortVar + ns.SourceRetryWait = sourceRetryWait } - case "skip": + case "maxConcurrentConnections": if v != nil { - var skip interface{} - err = json.Unmarshal(*v, &skip) + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) if err != nil { return err } - mdcmp.Skip = skip + ns.MaxConcurrentConnections = maxConcurrentConnections } - case "limit": + case "type": if v != nil { - var limit interface{} - err = json.Unmarshal(*v, &limit) + var typeVar TypeBasicCopySource + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - mdcmp.Limit = limit + ns.Type = typeVar } } } @@ -92304,484 +117193,469 @@ func (mdcmp *MongoDbCursorMethodsProperties) UnmarshalJSON(body []byte) error { return nil } -// MongoDbLinkedService linked service for MongoDb data source. -type MongoDbLinkedService struct { - // MongoDbLinkedServiceTypeProperties - MongoDB linked service properties. - *MongoDbLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// NetezzaTableDataset netezza dataset. +type NetezzaTableDataset struct { + // GenericDatasetTypeProperties - Properties specific to this dataset type. + *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. + // Description - Dataset description. Description *string `json:"description,omitempty"` - // Parameters - Parameters for linked service. + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the linked service. + // Annotations - List of tags that can be used for describing the Dataset. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for MongoDbLinkedService. -func (mdls MongoDbLinkedService) MarshalJSON() ([]byte, error) { - mdls.Type = TypeMongoDb +// MarshalJSON is the custom marshaler for NetezzaTableDataset. +func (ntd NetezzaTableDataset) MarshalJSON() ([]byte, error) { + ntd.Type = TypeNetezzaTable objectMap := make(map[string]interface{}) - if mdls.MongoDbLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = mdls.MongoDbLinkedServiceTypeProperties + if ntd.GenericDatasetTypeProperties != nil { + objectMap["typeProperties"] = ntd.GenericDatasetTypeProperties } - if mdls.ConnectVia != nil { - objectMap["connectVia"] = mdls.ConnectVia + if ntd.Description != nil { + objectMap["description"] = ntd.Description } - if mdls.Description != nil { - objectMap["description"] = mdls.Description + if ntd.Structure != nil { + objectMap["structure"] = ntd.Structure } - if mdls.Parameters != nil { - objectMap["parameters"] = mdls.Parameters + if ntd.Schema != nil { + objectMap["schema"] = ntd.Schema } - if mdls.Annotations != nil { - objectMap["annotations"] = mdls.Annotations + if ntd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = ntd.LinkedServiceName } - if mdls.Type != "" { - objectMap["type"] = mdls.Type + if ntd.Parameters != nil { + objectMap["parameters"] = ntd.Parameters } - for k, v := range mdls.AdditionalProperties { + if ntd.Annotations != nil { + objectMap["annotations"] = ntd.Annotations + } + if ntd.Folder != nil { + objectMap["folder"] = ntd.Folder + } + if ntd.Type != "" { + objectMap["type"] = ntd.Type + } + for k, v := range ntd.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { - return nil, false -} - -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { - return nil, false -} - -// AsSapTableLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { - return nil, false -} - -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { - return nil, false -} - -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { - return nil, false -} - -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { - return nil, false +// AsNetezzaTableDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return &ntd, true } -// AsZohoLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsDrillTableDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsHTTPDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsWebTableDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsRestResourceDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsInformixTableDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { - return &mdls, true -} - -// AsCassandraLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsOracleTableDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsODataResourceDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsFileShareDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsOffice365Dataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsCustomDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsAzureTableDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsBinaryDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsParquetDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAmazonS3Dataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsDataset() (*Dataset, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. -func (mdls MongoDbLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &mdls, true +// AsBasicDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsBasicDataset() (BasicDataset, bool) { + return &ntd, true } -// UnmarshalJSON is the custom unmarshaler for MongoDbLinkedService struct. -func (mdls *MongoDbLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for NetezzaTableDataset struct. +func (ntd *NetezzaTableDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -92791,12 +117665,12 @@ func (mdls *MongoDbLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var mongoDbLinkedServiceTypeProperties MongoDbLinkedServiceTypeProperties - err = json.Unmarshal(*v, &mongoDbLinkedServiceTypeProperties) + var genericDatasetTypeProperties GenericDatasetTypeProperties + err = json.Unmarshal(*v, &genericDatasetTypeProperties) if err != nil { return err } - mdls.MongoDbLinkedServiceTypeProperties = &mongoDbLinkedServiceTypeProperties + ntd.GenericDatasetTypeProperties = &genericDatasetTypeProperties } default: if v != nil { @@ -92805,19 +117679,10 @@ func (mdls *MongoDbLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if mdls.AdditionalProperties == nil { - mdls.AdditionalProperties = make(map[string]interface{}) - } - mdls.AdditionalProperties[k] = additionalProperties - } - case "connectVia": - if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) - if err != nil { - return err + if ntd.AdditionalProperties == nil { + ntd.AdditionalProperties = make(map[string]interface{}) } - mdls.ConnectVia = &connectVia + ntd.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -92826,162 +117691,70 @@ func (mdls *MongoDbLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - mdls.Description = &description - } - case "parameters": - if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) - if err != nil { - return err - } - mdls.Parameters = parameters - } - case "annotations": - if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) - if err != nil { - return err - } - mdls.Annotations = &annotations - } - case "type": - if v != nil { - var typeVar TypeBasicLinkedService - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - mdls.Type = typeVar - } - } - } - - return nil -} - -// MongoDbLinkedServiceTypeProperties mongoDB linked service properties. -type MongoDbLinkedServiceTypeProperties struct { - // Server - The IP address or server name of the MongoDB server. Type: string (or Expression with resultType string). - Server interface{} `json:"server,omitempty"` - // AuthenticationType - The authentication type to be used to connect to the MongoDB database. Possible values include: 'MongoDbAuthenticationTypeBasic', 'MongoDbAuthenticationTypeAnonymous' - AuthenticationType MongoDbAuthenticationType `json:"authenticationType,omitempty"` - // DatabaseName - The name of the MongoDB database that you want to access. Type: string (or Expression with resultType string). - DatabaseName interface{} `json:"databaseName,omitempty"` - // Username - Username for authentication. Type: string (or Expression with resultType string). - Username interface{} `json:"username,omitempty"` - // Password - Password for authentication. - Password BasicSecretBase `json:"password,omitempty"` - // AuthSource - Database to verify the username and password. Type: string (or Expression with resultType string). - AuthSource interface{} `json:"authSource,omitempty"` - // Port - The TCP port number that the MongoDB server uses to listen for client connections. The default value is 27017. Type: integer (or Expression with resultType integer), minimum: 0. - Port interface{} `json:"port,omitempty"` - // EnableSsl - Specifies whether the connections to the server are encrypted using SSL. The default value is false. Type: boolean (or Expression with resultType boolean). - EnableSsl interface{} `json:"enableSsl,omitempty"` - // AllowSelfSignedServerCert - Specifies whether to allow self-signed certificates from the server. The default value is false. Type: boolean (or Expression with resultType boolean). - AllowSelfSignedServerCert interface{} `json:"allowSelfSignedServerCert,omitempty"` - // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). - EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` -} - -// UnmarshalJSON is the custom unmarshaler for MongoDbLinkedServiceTypeProperties struct. -func (mdlstp *MongoDbLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "server": - if v != nil { - var server interface{} - err = json.Unmarshal(*v, &server) - if err != nil { - return err - } - mdlstp.Server = server - } - case "authenticationType": - if v != nil { - var authenticationType MongoDbAuthenticationType - err = json.Unmarshal(*v, &authenticationType) - if err != nil { - return err - } - mdlstp.AuthenticationType = authenticationType - } - case "databaseName": - if v != nil { - var databaseName interface{} - err = json.Unmarshal(*v, &databaseName) - if err != nil { - return err - } - mdlstp.DatabaseName = databaseName + ntd.Description = &description } - case "username": + case "structure": if v != nil { - var username interface{} - err = json.Unmarshal(*v, &username) + var structure interface{} + err = json.Unmarshal(*v, &structure) if err != nil { return err } - mdlstp.Username = username + ntd.Structure = structure } - case "password": + case "schema": if v != nil { - password, err := unmarshalBasicSecretBase(*v) + var schema interface{} + err = json.Unmarshal(*v, &schema) if err != nil { return err } - mdlstp.Password = password + ntd.Schema = schema } - case "authSource": + case "linkedServiceName": if v != nil { - var authSource interface{} - err = json.Unmarshal(*v, &authSource) + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) if err != nil { return err } - mdlstp.AuthSource = authSource + ntd.LinkedServiceName = &linkedServiceName } - case "port": + case "parameters": if v != nil { - var port interface{} - err = json.Unmarshal(*v, &port) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - mdlstp.Port = port + ntd.Parameters = parameters } - case "enableSsl": + case "annotations": if v != nil { - var enableSsl interface{} - err = json.Unmarshal(*v, &enableSsl) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - mdlstp.EnableSsl = enableSsl + ntd.Annotations = &annotations } - case "allowSelfSignedServerCert": + case "folder": if v != nil { - var allowSelfSignedServerCert interface{} - err = json.Unmarshal(*v, &allowSelfSignedServerCert) + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) if err != nil { return err } - mdlstp.AllowSelfSignedServerCert = allowSelfSignedServerCert + ntd.Folder = &folder } - case "encryptedCredential": + case "type": if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) + var typeVar TypeBasicDataset + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - mdlstp.EncryptedCredential = encryptedCredential + ntd.Type = typeVar } } } @@ -92989,389 +117762,514 @@ func (mdlstp *MongoDbLinkedServiceTypeProperties) UnmarshalJSON(body []byte) err return nil } -// MongoDbSource a copy activity source for a MongoDB database. -type MongoDbSource struct { - // Query - Database query. Should be a SQL-92 query expression. Type: string (or Expression with resultType string). - Query interface{} `json:"query,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). - SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` - // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' - Type TypeBasicCopySource `json:"type,omitempty"` +// ODataLinkedService open Data Protocol (OData) linked service. +type ODataLinkedService struct { + // ODataLinkedServiceTypeProperties - OData linked service properties. + *ODataLinkedServiceTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. + Description *string `json:"description,omitempty"` + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the linked service. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for MongoDbSource. -func (mds MongoDbSource) MarshalJSON() ([]byte, error) { - mds.Type = TypeMongoDbSource +// MarshalJSON is the custom marshaler for ODataLinkedService. +func (odls ODataLinkedService) MarshalJSON() ([]byte, error) { + odls.Type = TypeOData objectMap := make(map[string]interface{}) - if mds.Query != nil { - objectMap["query"] = mds.Query + if odls.ODataLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = odls.ODataLinkedServiceTypeProperties } - if mds.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = mds.SourceRetryCount + if odls.ConnectVia != nil { + objectMap["connectVia"] = odls.ConnectVia } - if mds.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = mds.SourceRetryWait + if odls.Description != nil { + objectMap["description"] = odls.Description } - if mds.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = mds.MaxConcurrentConnections + if odls.Parameters != nil { + objectMap["parameters"] = odls.Parameters } - if mds.Type != "" { - objectMap["type"] = mds.Type + if odls.Annotations != nil { + objectMap["annotations"] = odls.Annotations } - for k, v := range mds.AdditionalProperties { + if odls.Type != "" { + objectMap["type"] = odls.Type + } + for k, v := range odls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsVerticaSource() (*VerticaSource, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsZohoSource() (*ZohoSource, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsXeroSource() (*XeroSource, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsSquareSource() (*SquareSource, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsSparkSource() (*SparkSource, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsShopifySource() (*ShopifySource, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsPrestoSource() (*PrestoSource, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsPaypalSource() (*PaypalSource, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsMarketoSource() (*MarketoSource, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsMagentoSource() (*MagentoSource, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsJiraSource() (*JiraSource, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsHubspotSource() (*HubspotSource, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsHiveSource() (*HiveSource, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsHBaseSource() (*HBaseSource, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsEloquaSource() (*EloquaSource, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsDrillSource() (*DrillSource, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsConcurSource() (*ConcurSource, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsHTTPSource() (*HTTPSource, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsOffice365Source() (*Office365Source, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsMongoDbSource() (*MongoDbSource, bool) { - return &mds, true +// AsSapBWLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { + return nil, false } -// AsCassandraSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsCassandraSource() (*CassandraSource, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsWebSource() (*WebSource, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsOracleSource() (*OracleSource, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsHdfsSource() (*HdfsSource, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsSQLSource() (*SQLSource, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsRestSource() (*RestSource, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsSapTableSource() (*SapTableSource, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsSapEccSource() (*SapEccSource, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsRelationalSource() (*RelationalSource, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsBlobSource() (*BlobSource, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { + return &odls, true +} + +// AsHdfsLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsParquetSource() (*ParquetSource, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsCopySource() (*CopySource, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsBasicCopySource() (BasicCopySource, bool) { - return &mds, true +// AsTeradataLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for MongoDbSource struct. -func (mds *MongoDbSource) UnmarshalJSON(body []byte) error { +// AsDb2LinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return nil, false +} + +// AsSybaseLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { + return nil, false +} + +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { + return nil, false +} + +// AsMySQLLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { + return nil, false +} + +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { + return nil, false +} + +// AsOracleLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { + return nil, false +} + +// AsFileServerLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { + return nil, false +} + +// AsHDInsightLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + +// AsDynamicsLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false +} + +// AsCosmosDbLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false +} + +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false +} + +// AsAzureBatchLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} + +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &odls, true +} + +// UnmarshalJSON is the custom unmarshaler for ODataLinkedService struct. +func (odls *ODataLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -93379,14 +118277,14 @@ func (mds *MongoDbSource) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "query": + case "typeProperties": if v != nil { - var query interface{} - err = json.Unmarshal(*v, &query) + var oDataLinkedServiceTypeProperties ODataLinkedServiceTypeProperties + err = json.Unmarshal(*v, &oDataLinkedServiceTypeProperties) if err != nil { return err } - mds.Query = query + odls.ODataLinkedServiceTypeProperties = &oDataLinkedServiceTypeProperties } default: if v != nil { @@ -93395,46 +118293,55 @@ func (mds *MongoDbSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - if mds.AdditionalProperties == nil { - mds.AdditionalProperties = make(map[string]interface{}) + if odls.AdditionalProperties == nil { + odls.AdditionalProperties = make(map[string]interface{}) } - mds.AdditionalProperties[k] = additionalProperties + odls.AdditionalProperties[k] = additionalProperties } - case "sourceRetryCount": + case "connectVia": if v != nil { - var sourceRetryCount interface{} - err = json.Unmarshal(*v, &sourceRetryCount) + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) if err != nil { return err } - mds.SourceRetryCount = sourceRetryCount + odls.ConnectVia = &connectVia } - case "sourceRetryWait": + case "description": if v != nil { - var sourceRetryWait interface{} - err = json.Unmarshal(*v, &sourceRetryWait) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - mds.SourceRetryWait = sourceRetryWait + odls.Description = &description } - case "maxConcurrentConnections": + case "parameters": if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - mds.MaxConcurrentConnections = maxConcurrentConnections + odls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + odls.Annotations = &annotations } case "type": if v != nil { - var typeVar TypeBasicCopySource + var typeVar TypeBasicLinkedService err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - mds.Type = typeVar + odls.Type = typeVar } } } @@ -93442,10 +118349,157 @@ func (mds *MongoDbSource) UnmarshalJSON(body []byte) error { return nil } -// MongoDbV2CollectionDataset the MongoDB database dataset. -type MongoDbV2CollectionDataset struct { - // MongoDbV2CollectionDatasetTypeProperties - MongoDB database dataset properties. - *MongoDbV2CollectionDatasetTypeProperties `json:"typeProperties,omitempty"` +// ODataLinkedServiceTypeProperties oData linked service properties. +type ODataLinkedServiceTypeProperties struct { + // URL - The URL of the OData service endpoint. Type: string (or Expression with resultType string). + URL interface{} `json:"url,omitempty"` + // AuthenticationType - Type of authentication used to connect to the OData service. Possible values include: 'ODataAuthenticationTypeBasic', 'ODataAuthenticationTypeAnonymous', 'ODataAuthenticationTypeWindows', 'ODataAuthenticationTypeAadServicePrincipal', 'ODataAuthenticationTypeManagedServiceIdentity' + AuthenticationType ODataAuthenticationType `json:"authenticationType,omitempty"` + // UserName - User name of the OData service. Type: string (or Expression with resultType string). + UserName interface{} `json:"userName,omitempty"` + // Password - Password of the OData service. + Password BasicSecretBase `json:"password,omitempty"` + // Tenant - Specify the tenant information (domain name or tenant ID) under which your application resides. Type: string (or Expression with resultType string). + Tenant interface{} `json:"tenant,omitempty"` + // ServicePrincipalID - Specify the application id of your application registered in Azure Active Directory. Type: string (or Expression with resultType string). + ServicePrincipalID interface{} `json:"servicePrincipalId,omitempty"` + // AadResourceID - Specify the resource you are requesting authorization to use Directory. Type: string (or Expression with resultType string). + AadResourceID interface{} `json:"aadResourceId,omitempty"` + // AadServicePrincipalCredentialType - Specify the credential type (key or cert) is used for service principal. Possible values include: 'ServicePrincipalKey', 'ServicePrincipalCert' + AadServicePrincipalCredentialType ODataAadServicePrincipalCredentialType `json:"aadServicePrincipalCredentialType,omitempty"` + // ServicePrincipalKey - Specify the secret of your application registered in Azure Active Directory. Type: string (or Expression with resultType string). + ServicePrincipalKey BasicSecretBase `json:"servicePrincipalKey,omitempty"` + // ServicePrincipalEmbeddedCert - Specify the base64 encoded certificate of your application registered in Azure Active Directory. Type: string (or Expression with resultType string). + ServicePrincipalEmbeddedCert BasicSecretBase `json:"servicePrincipalEmbeddedCert,omitempty"` + // ServicePrincipalEmbeddedCertPassword - 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). + ServicePrincipalEmbeddedCertPassword BasicSecretBase `json:"servicePrincipalEmbeddedCertPassword,omitempty"` + // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` +} + +// UnmarshalJSON is the custom unmarshaler for ODataLinkedServiceTypeProperties struct. +func (odlstp *ODataLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "url": + if v != nil { + var URL interface{} + err = json.Unmarshal(*v, &URL) + if err != nil { + return err + } + odlstp.URL = URL + } + case "authenticationType": + if v != nil { + var authenticationType ODataAuthenticationType + err = json.Unmarshal(*v, &authenticationType) + if err != nil { + return err + } + odlstp.AuthenticationType = authenticationType + } + case "userName": + if v != nil { + var userName interface{} + err = json.Unmarshal(*v, &userName) + if err != nil { + return err + } + odlstp.UserName = userName + } + case "password": + if v != nil { + password, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + odlstp.Password = password + } + case "tenant": + if v != nil { + var tenant interface{} + err = json.Unmarshal(*v, &tenant) + if err != nil { + return err + } + odlstp.Tenant = tenant + } + case "servicePrincipalId": + if v != nil { + var servicePrincipalID interface{} + err = json.Unmarshal(*v, &servicePrincipalID) + if err != nil { + return err + } + odlstp.ServicePrincipalID = servicePrincipalID + } + case "aadResourceId": + if v != nil { + var aadResourceID interface{} + err = json.Unmarshal(*v, &aadResourceID) + if err != nil { + return err + } + odlstp.AadResourceID = aadResourceID + } + case "aadServicePrincipalCredentialType": + if v != nil { + var aadServicePrincipalCredentialType ODataAadServicePrincipalCredentialType + err = json.Unmarshal(*v, &aadServicePrincipalCredentialType) + if err != nil { + return err + } + odlstp.AadServicePrincipalCredentialType = aadServicePrincipalCredentialType + } + case "servicePrincipalKey": + if v != nil { + servicePrincipalKey, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + odlstp.ServicePrincipalKey = servicePrincipalKey + } + case "servicePrincipalEmbeddedCert": + if v != nil { + servicePrincipalEmbeddedCert, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + odlstp.ServicePrincipalEmbeddedCert = servicePrincipalEmbeddedCert + } + case "servicePrincipalEmbeddedCertPassword": + if v != nil { + servicePrincipalEmbeddedCertPassword, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + odlstp.ServicePrincipalEmbeddedCertPassword = servicePrincipalEmbeddedCertPassword + } + case "encryptedCredential": + if v != nil { + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) + if err != nil { + return err + } + odlstp.EncryptedCredential = encryptedCredential + } + } + } + + return nil +} + +// ODataResourceDataset the Open Data Protocol (OData) resource dataset. +type ODataResourceDataset struct { + // ODataResourceDatasetTypeProperties - OData dataset properties. + *ODataResourceDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // Description - Dataset description. @@ -93462,394 +118516,449 @@ type MongoDbV2CollectionDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) MarshalJSON() ([]byte, error) { - mdvcd.Type = TypeMongoDbV2Collection +// MarshalJSON is the custom marshaler for ODataResourceDataset. +func (odrd ODataResourceDataset) MarshalJSON() ([]byte, error) { + odrd.Type = TypeODataResource objectMap := make(map[string]interface{}) - if mdvcd.MongoDbV2CollectionDatasetTypeProperties != nil { - objectMap["typeProperties"] = mdvcd.MongoDbV2CollectionDatasetTypeProperties + if odrd.ODataResourceDatasetTypeProperties != nil { + objectMap["typeProperties"] = odrd.ODataResourceDatasetTypeProperties } - if mdvcd.Description != nil { - objectMap["description"] = mdvcd.Description + if odrd.Description != nil { + objectMap["description"] = odrd.Description } - if mdvcd.Structure != nil { - objectMap["structure"] = mdvcd.Structure + if odrd.Structure != nil { + objectMap["structure"] = odrd.Structure } - if mdvcd.Schema != nil { - objectMap["schema"] = mdvcd.Schema + if odrd.Schema != nil { + objectMap["schema"] = odrd.Schema } - if mdvcd.LinkedServiceName != nil { - objectMap["linkedServiceName"] = mdvcd.LinkedServiceName + if odrd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = odrd.LinkedServiceName } - if mdvcd.Parameters != nil { - objectMap["parameters"] = mdvcd.Parameters + if odrd.Parameters != nil { + objectMap["parameters"] = odrd.Parameters } - if mdvcd.Annotations != nil { - objectMap["annotations"] = mdvcd.Annotations + if odrd.Annotations != nil { + objectMap["annotations"] = odrd.Annotations } - if mdvcd.Folder != nil { - objectMap["folder"] = mdvcd.Folder + if odrd.Folder != nil { + objectMap["folder"] = odrd.Folder } - if mdvcd.Type != "" { - objectMap["type"] = mdvcd.Type + if odrd.Type != "" { + objectMap["type"] = odrd.Type } - for k, v := range mdvcd.AdditionalProperties { + for k, v := range odrd.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsDrillTableDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsHTTPDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsWebTableDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsRestResourceDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { - return &mdvcd, true +// AsInformixTableDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { + return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsOracleTableDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsODataResourceDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { + return &odrd, true +} + +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsFileShareDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsOffice365Dataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsCustomDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsDataset() (*Dataset, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. -func (mdvcd MongoDbV2CollectionDataset) AsBasicDataset() (BasicDataset, bool) { - return &mdvcd, true +// AsAzureSQLDWTableDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for MongoDbV2CollectionDataset struct. -func (mdvcd *MongoDbV2CollectionDataset) UnmarshalJSON(body []byte) error { +// AsAzureSQLMITableDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + +// AsAzureSQLTableDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { + return nil, false +} + +// AsAzureTableDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { + return nil, false +} + +// AsAzureBlobDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { + return nil, false +} + +// AsBinaryDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + +// AsDelimitedTextDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { + return nil, false +} + +// AsParquetDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsBasicDataset() (BasicDataset, bool) { + return &odrd, true +} + +// UnmarshalJSON is the custom unmarshaler for ODataResourceDataset struct. +func (odrd *ODataResourceDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -93859,12 +118968,12 @@ func (mdvcd *MongoDbV2CollectionDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var mongoDbV2CollectionDatasetTypeProperties MongoDbV2CollectionDatasetTypeProperties - err = json.Unmarshal(*v, &mongoDbV2CollectionDatasetTypeProperties) + var oDataResourceDatasetTypeProperties ODataResourceDatasetTypeProperties + err = json.Unmarshal(*v, &oDataResourceDatasetTypeProperties) if err != nil { return err } - mdvcd.MongoDbV2CollectionDatasetTypeProperties = &mongoDbV2CollectionDatasetTypeProperties + odrd.ODataResourceDatasetTypeProperties = &oDataResourceDatasetTypeProperties } default: if v != nil { @@ -93873,10 +118982,10 @@ func (mdvcd *MongoDbV2CollectionDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if mdvcd.AdditionalProperties == nil { - mdvcd.AdditionalProperties = make(map[string]interface{}) + if odrd.AdditionalProperties == nil { + odrd.AdditionalProperties = make(map[string]interface{}) } - mdvcd.AdditionalProperties[k] = additionalProperties + odrd.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -93885,7 +118994,7 @@ func (mdvcd *MongoDbV2CollectionDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - mdvcd.Description = &description + odrd.Description = &description } case "structure": if v != nil { @@ -93894,7 +119003,7 @@ func (mdvcd *MongoDbV2CollectionDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - mdvcd.Structure = structure + odrd.Structure = structure } case "schema": if v != nil { @@ -93903,7 +119012,7 @@ func (mdvcd *MongoDbV2CollectionDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - mdvcd.Schema = schema + odrd.Schema = schema } case "linkedServiceName": if v != nil { @@ -93912,7 +119021,7 @@ func (mdvcd *MongoDbV2CollectionDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - mdvcd.LinkedServiceName = &linkedServiceName + odrd.LinkedServiceName = &linkedServiceName } case "parameters": if v != nil { @@ -93921,7 +119030,7 @@ func (mdvcd *MongoDbV2CollectionDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - mdvcd.Parameters = parameters + odrd.Parameters = parameters } case "annotations": if v != nil { @@ -93930,7 +119039,7 @@ func (mdvcd *MongoDbV2CollectionDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - mdvcd.Annotations = &annotations + odrd.Annotations = &annotations } case "folder": if v != nil { @@ -93939,7 +119048,7 @@ func (mdvcd *MongoDbV2CollectionDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - mdvcd.Folder = &folder + odrd.Folder = &folder } case "type": if v != nil { @@ -93948,7 +119057,7 @@ func (mdvcd *MongoDbV2CollectionDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - mdvcd.Type = typeVar + odrd.Type = typeVar } } } @@ -93956,490 +119065,465 @@ func (mdvcd *MongoDbV2CollectionDataset) UnmarshalJSON(body []byte) error { return nil } -// MongoDbV2CollectionDatasetTypeProperties mongoDB database dataset properties. -type MongoDbV2CollectionDatasetTypeProperties struct { - // Collection - The collection name of the MongoDB database. Type: string (or Expression with resultType string). - Collection interface{} `json:"collection,omitempty"` +// ODataResourceDatasetTypeProperties oData dataset properties. +type ODataResourceDatasetTypeProperties struct { + // Path - The OData resource path. Type: string (or Expression with resultType string). + Path interface{} `json:"path,omitempty"` } -// MongoDbV2LinkedService linked service for MongoDB data source. -type MongoDbV2LinkedService struct { - // MongoDbV2LinkedServiceTypeProperties - MongoDB linked service properties. - *MongoDbV2LinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// ODataSource a copy activity source for OData source. +type ODataSource struct { + // Query - OData query. For example, "$top=1". Type: string (or Expression with resultType string). + Query interface{} `json:"query,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. - Description *string `json:"description,omitempty"` - // Parameters - Parameters for linked service. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the linked service. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) MarshalJSON() ([]byte, error) { - mdvls.Type = TypeMongoDbV2 +// MarshalJSON is the custom marshaler for ODataSource. +func (ods ODataSource) MarshalJSON() ([]byte, error) { + ods.Type = TypeODataSource objectMap := make(map[string]interface{}) - if mdvls.MongoDbV2LinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = mdvls.MongoDbV2LinkedServiceTypeProperties - } - if mdvls.ConnectVia != nil { - objectMap["connectVia"] = mdvls.ConnectVia + if ods.Query != nil { + objectMap["query"] = ods.Query } - if mdvls.Description != nil { - objectMap["description"] = mdvls.Description + if ods.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = ods.SourceRetryCount } - if mdvls.Parameters != nil { - objectMap["parameters"] = mdvls.Parameters + if ods.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = ods.SourceRetryWait } - if mdvls.Annotations != nil { - objectMap["annotations"] = mdvls.Annotations + if ods.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = ods.MaxConcurrentConnections } - if mdvls.Type != "" { - objectMap["type"] = mdvls.Type + if ods.Type != "" { + objectMap["type"] = ods.Type } - for k, v := range mdvls.AdditionalProperties { + for k, v := range ods.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { - return nil, false -} - -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { - return nil, false -} - -// AsSapTableLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { - return nil, false -} - -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsResponsysSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsVerticaSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsNetezzaSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsZohoSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsXeroSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsSquareSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsSparkSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsShopifySource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsServiceNowSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsPrestoSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsPhoenixSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPaypalSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsMarketoSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsMariaDBSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsMagentoSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsJiraSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsImpalaSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsHubspotSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsHiveSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsHBaseSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsGreenplumSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsEloquaSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsDrillSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsConcurSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsHTTPSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsOffice365Source is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsMongoDbSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsCassandraSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsWebSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsTeradataSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsOracleSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsHdfsSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsFileSystemSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsSQLDWSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsSQLMISource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsSQLServerSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsSQLSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { - return &mdvls, true -} - -// AsMongoDbLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsRestSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsSapTableSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsSapHanaSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsSapEccSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsSalesforceSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { - return nil, false +// AsODataSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsODataSource() (*ODataSource, bool) { + return &ods, true } -// AsSybaseLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsSybaseSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsMySQLSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsOdbcSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsDb2Source is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsInformixSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsRelationalSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsDynamicsSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsBlobSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsAzureTableSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsBinarySource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsDelimitedTextSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsParquetSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsLinkedService() (*LinkedService, bool) { +// AsCopySource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsCopySource() (*CopySource, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. -func (mdvls MongoDbV2LinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &mdvls, true +// AsBasicCopySource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsBasicCopySource() (BasicCopySource, bool) { + return &ods, true } -// UnmarshalJSON is the custom unmarshaler for MongoDbV2LinkedService struct. -func (mdvls *MongoDbV2LinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for ODataSource struct. +func (ods *ODataSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -94447,14 +119531,14 @@ func (mdvls *MongoDbV2LinkedService) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": + case "query": if v != nil { - var mongoDbV2LinkedServiceTypeProperties MongoDbV2LinkedServiceTypeProperties - err = json.Unmarshal(*v, &mongoDbV2LinkedServiceTypeProperties) + var query interface{} + err = json.Unmarshal(*v, &query) if err != nil { return err } - mdvls.MongoDbV2LinkedServiceTypeProperties = &mongoDbV2LinkedServiceTypeProperties + ods.Query = query } default: if v != nil { @@ -94463,55 +119547,46 @@ func (mdvls *MongoDbV2LinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if mdvls.AdditionalProperties == nil { - mdvls.AdditionalProperties = make(map[string]interface{}) - } - mdvls.AdditionalProperties[k] = additionalProperties - } - case "connectVia": - if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) - if err != nil { - return err + if ods.AdditionalProperties == nil { + ods.AdditionalProperties = make(map[string]interface{}) } - mdvls.ConnectVia = &connectVia + ods.AdditionalProperties[k] = additionalProperties } - case "description": + case "sourceRetryCount": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) if err != nil { return err } - mdvls.Description = &description + ods.SourceRetryCount = sourceRetryCount } - case "parameters": + case "sourceRetryWait": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) if err != nil { return err } - mdvls.Parameters = parameters + ods.SourceRetryWait = sourceRetryWait } - case "annotations": + case "maxConcurrentConnections": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) if err != nil { return err } - mdvls.Annotations = &annotations + ods.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicLinkedService + var typeVar TypeBasicCopySource err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - mdvls.Type = typeVar + ods.Type = typeVar } } } @@ -94519,407 +119594,514 @@ func (mdvls *MongoDbV2LinkedService) UnmarshalJSON(body []byte) error { return nil } -// MongoDbV2LinkedServiceTypeProperties mongoDB linked service properties. -type MongoDbV2LinkedServiceTypeProperties struct { - // ConnectionString - The MongoDB connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference. - ConnectionString interface{} `json:"connectionString,omitempty"` - // Database - The name of the MongoDB database that you want to access. Type: string (or Expression with resultType string). - Database interface{} `json:"database,omitempty"` -} - -// MongoDbV2Source a copy activity source for a MongoDB database. -type MongoDbV2Source struct { - // Filter - Specifies selection filter using query operators. To return all documents in a collection, omit this parameter or pass an empty document ({}). Type: string (or Expression with resultType string). - Filter interface{} `json:"filter,omitempty"` - // CursorMethods - Cursor methods for Mongodb query - CursorMethods *MongoDbCursorMethodsProperties `json:"cursorMethods,omitempty"` - // BatchSize - 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). - BatchSize interface{} `json:"batchSize,omitempty"` +// OdbcLinkedService open Database Connectivity (ODBC) linked service. +type OdbcLinkedService struct { + // OdbcLinkedServiceTypeProperties - ODBC linked service properties. + *OdbcLinkedServiceTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). - SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` - // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' - Type TypeBasicCopySource `json:"type,omitempty"` + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. + Description *string `json:"description,omitempty"` + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the linked service. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for MongoDbV2Source. -func (mdvs MongoDbV2Source) MarshalJSON() ([]byte, error) { - mdvs.Type = TypeMongoDbV2Source +// MarshalJSON is the custom marshaler for OdbcLinkedService. +func (ols OdbcLinkedService) MarshalJSON() ([]byte, error) { + ols.Type = TypeOdbc objectMap := make(map[string]interface{}) - if mdvs.Filter != nil { - objectMap["filter"] = mdvs.Filter - } - if mdvs.CursorMethods != nil { - objectMap["cursorMethods"] = mdvs.CursorMethods + if ols.OdbcLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = ols.OdbcLinkedServiceTypeProperties } - if mdvs.BatchSize != nil { - objectMap["batchSize"] = mdvs.BatchSize + if ols.ConnectVia != nil { + objectMap["connectVia"] = ols.ConnectVia } - if mdvs.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = mdvs.SourceRetryCount + if ols.Description != nil { + objectMap["description"] = ols.Description } - if mdvs.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = mdvs.SourceRetryWait + if ols.Parameters != nil { + objectMap["parameters"] = ols.Parameters } - if mdvs.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = mdvs.MaxConcurrentConnections + if ols.Annotations != nil { + objectMap["annotations"] = ols.Annotations } - if mdvs.Type != "" { - objectMap["type"] = mdvs.Type + if ols.Type != "" { + objectMap["type"] = ols.Type } - for k, v := range mdvs.AdditionalProperties { + for k, v := range ols.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsResponsysSource() (*ResponsysSource, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsVerticaSource() (*VerticaSource, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsNetezzaSource() (*NetezzaSource, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsZohoSource() (*ZohoSource, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsXeroSource() (*XeroSource, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsSquareSource() (*SquareSource, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsSparkSource() (*SparkSource, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsShopifySource() (*ShopifySource, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsPrestoSource() (*PrestoSource, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsPhoenixSource() (*PhoenixSource, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsPaypalSource() (*PaypalSource, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsMarketoSource() (*MarketoSource, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsMariaDBSource() (*MariaDBSource, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsMagentoSource() (*MagentoSource, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsJiraSource() (*JiraSource, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsImpalaSource() (*ImpalaSource, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsHubspotSource() (*HubspotSource, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsHiveSource() (*HiveSource, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsHBaseSource() (*HBaseSource, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsGreenplumSource() (*GreenplumSource, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsEloquaSource() (*EloquaSource, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsDrillSource() (*DrillSource, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsConcurSource() (*ConcurSource, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsHTTPSource() (*HTTPSource, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsOffice365Source() (*Office365Source, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsMongoDbV2Source() (*MongoDbV2Source, bool) { - return &mdvs, true +// AsSapHanaLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { + return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsMongoDbSource() (*MongoDbSource, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsCassandraSource() (*CassandraSource, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsWebSource() (*WebSource, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsOracleSource() (*OracleSource, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsHdfsSource() (*HdfsSource, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsFileSystemSource() (*FileSystemSource, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsSQLDWSource() (*SQLDWSource, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsSQLServerSource() (*SQLServerSource, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsSQLSource() (*SQLSource, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsRestSource() (*RestSource, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsSapTableSource() (*SapTableSource, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsSapHanaSource() (*SapHanaSource, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsSapEccSource() (*SapEccSource, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsSalesforceSource() (*SalesforceSource, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsRelationalSource() (*RelationalSource, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsDynamicsSource() (*DynamicsSource, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsBlobSource() (*BlobSource, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsAzureTableSource() (*AzureTableSource, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsParquetSource() (*ParquetSource, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsCopySource() (*CopySource, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { + return &ols, true +} + +// AsAzureMLLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsBasicCopySource() (BasicCopySource, bool) { - return &mdvs, true +// AsTeradataLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for MongoDbV2Source struct. -func (mdvs *MongoDbV2Source) UnmarshalJSON(body []byte) error { +// AsDb2LinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return nil, false +} + +// AsSybaseLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { + return nil, false +} + +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { + return nil, false +} + +// AsMySQLLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { + return nil, false +} + +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { + return nil, false +} + +// AsOracleLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { + return nil, false +} + +// AsFileServerLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { + return nil, false +} + +// AsHDInsightLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + +// AsDynamicsLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false +} + +// AsCosmosDbLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false +} + +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false +} + +// AsAzureBatchLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} + +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &ols, true +} + +// UnmarshalJSON is the custom unmarshaler for OdbcLinkedService struct. +func (ols *OdbcLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -94927,80 +120109,154 @@ func (mdvs *MongoDbV2Source) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "filter": + case "typeProperties": if v != nil { - var filter interface{} - err = json.Unmarshal(*v, &filter) + var odbcLinkedServiceTypeProperties OdbcLinkedServiceTypeProperties + err = json.Unmarshal(*v, &odbcLinkedServiceTypeProperties) if err != nil { return err } - mdvs.Filter = filter + ols.OdbcLinkedServiceTypeProperties = &odbcLinkedServiceTypeProperties } - case "cursorMethods": + default: if v != nil { - var cursorMethods MongoDbCursorMethodsProperties - err = json.Unmarshal(*v, &cursorMethods) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - mdvs.CursorMethods = &cursorMethods + if ols.AdditionalProperties == nil { + ols.AdditionalProperties = make(map[string]interface{}) + } + ols.AdditionalProperties[k] = additionalProperties } - case "batchSize": + case "connectVia": if v != nil { - var batchSize interface{} - err = json.Unmarshal(*v, &batchSize) + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) if err != nil { return err } - mdvs.BatchSize = batchSize + ols.ConnectVia = &connectVia } - default: + case "description": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - if mdvs.AdditionalProperties == nil { - mdvs.AdditionalProperties = make(map[string]interface{}) + ols.Description = &description + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err } - mdvs.AdditionalProperties[k] = additionalProperties + ols.Parameters = parameters } - case "sourceRetryCount": + case "annotations": if v != nil { - var sourceRetryCount interface{} - err = json.Unmarshal(*v, &sourceRetryCount) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - mdvs.SourceRetryCount = sourceRetryCount + ols.Annotations = &annotations } - case "sourceRetryWait": + case "type": if v != nil { - var sourceRetryWait interface{} - err = json.Unmarshal(*v, &sourceRetryWait) + var typeVar TypeBasicLinkedService + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - mdvs.SourceRetryWait = sourceRetryWait + ols.Type = typeVar } - case "maxConcurrentConnections": + } + } + + return nil +} + +// OdbcLinkedServiceTypeProperties ODBC linked service properties. +type OdbcLinkedServiceTypeProperties struct { + // ConnectionString - The non-access credential portion of the connection string as well as an optional encrypted credential. Type: string, SecureString or AzureKeyVaultSecretReference. + ConnectionString interface{} `json:"connectionString,omitempty"` + // AuthenticationType - Type of authentication used to connect to the ODBC data store. Possible values are: Anonymous and Basic. Type: string (or Expression with resultType string). + AuthenticationType interface{} `json:"authenticationType,omitempty"` + // Credential - The access credential portion of the connection string specified in driver-specific property-value format. + Credential BasicSecretBase `json:"credential,omitempty"` + // UserName - User name for Basic authentication. Type: string (or Expression with resultType string). + UserName interface{} `json:"userName,omitempty"` + // Password - Password for Basic authentication. + Password BasicSecretBase `json:"password,omitempty"` + // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` +} + +// UnmarshalJSON is the custom unmarshaler for OdbcLinkedServiceTypeProperties struct. +func (olstp *OdbcLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "connectionString": if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) + var connectionString interface{} + err = json.Unmarshal(*v, &connectionString) if err != nil { return err } - mdvs.MaxConcurrentConnections = maxConcurrentConnections + olstp.ConnectionString = connectionString } - case "type": + case "authenticationType": if v != nil { - var typeVar TypeBasicCopySource - err = json.Unmarshal(*v, &typeVar) + var authenticationType interface{} + err = json.Unmarshal(*v, &authenticationType) if err != nil { return err } - mdvs.Type = typeVar + olstp.AuthenticationType = authenticationType + } + case "credential": + if v != nil { + credential, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + olstp.Credential = credential + } + case "userName": + if v != nil { + var userName interface{} + err = json.Unmarshal(*v, &userName) + if err != nil { + return err + } + olstp.UserName = userName + } + case "password": + if v != nil { + password, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + olstp.Password = password + } + case "encryptedCredential": + if v != nil { + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) + if err != nil { + return err + } + olstp.EncryptedCredential = encryptedCredential } } } @@ -95008,144 +120264,214 @@ func (mdvs *MongoDbV2Source) UnmarshalJSON(body []byte) error { return nil } -// BasicMultiplePipelineTrigger base class for all triggers that support one to many model for trigger to pipeline. -type BasicMultiplePipelineTrigger interface { - AsBlobEventsTrigger() (*BlobEventsTrigger, bool) - AsBlobTrigger() (*BlobTrigger, bool) - AsScheduleTrigger() (*ScheduleTrigger, bool) - AsMultiplePipelineTrigger() (*MultiplePipelineTrigger, bool) -} - -// MultiplePipelineTrigger base class for all triggers that support one to many model for trigger to pipeline. -type MultiplePipelineTrigger struct { - // Pipelines - Pipelines that need to be started. - Pipelines *[]TriggerPipelineReference `json:"pipelines,omitempty"` +// OdbcSink a copy activity ODBC sink. +type OdbcSink struct { + // PreCopyScript - A query to execute before starting the copy. Type: string (or Expression with resultType string). + PreCopyScript interface{} `json:"preCopyScript,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Description - Trigger description. - Description *string `json:"description,omitempty"` - // RuntimeState - READ-ONLY; Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: 'TriggerRuntimeStateStarted', 'TriggerRuntimeStateStopped', 'TriggerRuntimeStateDisabled' - RuntimeState TriggerRuntimeState `json:"runtimeState,omitempty"` - // Annotations - List of tags that can be used for describing the trigger. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeTrigger', 'TypeRerunTumblingWindowTrigger', 'TypeTumblingWindowTrigger', 'TypeBlobEventsTrigger', 'TypeBlobTrigger', 'TypeScheduleTrigger', 'TypeMultiplePipelineTrigger' - Type TypeBasicTrigger `json:"type,omitempty"` + // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + WriteBatchSize interface{} `json:"writeBatchSize,omitempty"` + // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"` + // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer). + SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"` + // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink' + Type TypeBasicCopySink `json:"type,omitempty"` } -func unmarshalBasicMultiplePipelineTrigger(body []byte) (BasicMultiplePipelineTrigger, error) { - var m map[string]interface{} - err := json.Unmarshal(body, &m) - if err != nil { - return nil, err +// MarshalJSON is the custom marshaler for OdbcSink. +func (osVar OdbcSink) MarshalJSON() ([]byte, error) { + osVar.Type = TypeOdbcSink + objectMap := make(map[string]interface{}) + if osVar.PreCopyScript != nil { + objectMap["preCopyScript"] = osVar.PreCopyScript + } + if osVar.WriteBatchSize != nil { + objectMap["writeBatchSize"] = osVar.WriteBatchSize + } + if osVar.WriteBatchTimeout != nil { + objectMap["writeBatchTimeout"] = osVar.WriteBatchTimeout + } + if osVar.SinkRetryCount != nil { + objectMap["sinkRetryCount"] = osVar.SinkRetryCount + } + if osVar.SinkRetryWait != nil { + objectMap["sinkRetryWait"] = osVar.SinkRetryWait + } + if osVar.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = osVar.MaxConcurrentConnections + } + if osVar.Type != "" { + objectMap["type"] = osVar.Type } + for k, v := range osVar.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { + return nil, false +} + +// AsSalesforceSink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsSalesforceSink() (*SalesforceSink, bool) { + return nil, false +} + +// AsAzureDataExplorerSink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { + return nil, false +} + +// AsDynamicsCrmSink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { + return nil, false +} + +// AsDynamicsSink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsDynamicsSink() (*DynamicsSink, bool) { + return nil, false +} + +// AsMicrosoftAccessSink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { + return nil, false +} + +// AsInformixSink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsInformixSink() (*InformixSink, bool) { + return nil, false +} + +// AsOdbcSink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsOdbcSink() (*OdbcSink, bool) { + return &osVar, true +} + +// AsAzureSearchIndexSink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { + return nil, false +} + +// AsAzureBlobFSSink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { + return nil, false +} + +// AsOracleSink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsOracleSink() (*OracleSink, bool) { + return nil, false +} + +// AsSQLDWSink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsSQLDWSink() (*SQLDWSink, bool) { + return nil, false +} + +// AsSQLMISink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsSQLMISink() (*SQLMISink, bool) { + return nil, false +} + +// AsAzureSQLSink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsAzureSQLSink() (*AzureSQLSink, bool) { + return nil, false +} + +// AsSQLServerSink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsSQLServerSink() (*SQLServerSink, bool) { + return nil, false +} - switch m["type"] { - case string(TypeBlobEventsTrigger): - var bet BlobEventsTrigger - err := json.Unmarshal(body, &bet) - return bet, err - case string(TypeBlobTrigger): - var bt BlobTrigger - err := json.Unmarshal(body, &bt) - return bt, err - case string(TypeScheduleTrigger): - var st ScheduleTrigger - err := json.Unmarshal(body, &st) - return st, err - default: - var mpt MultiplePipelineTrigger - err := json.Unmarshal(body, &mpt) - return mpt, err - } +// AsSQLSink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsSQLSink() (*SQLSink, bool) { + return nil, false } -func unmarshalBasicMultiplePipelineTriggerArray(body []byte) ([]BasicMultiplePipelineTrigger, error) { - var rawMessages []*json.RawMessage - err := json.Unmarshal(body, &rawMessages) - if err != nil { - return nil, err - } - mptArray := make([]BasicMultiplePipelineTrigger, len(rawMessages)) +// AsDocumentDbCollectionSink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { + return nil, false +} - for index, rawMessage := range rawMessages { - mpt, err := unmarshalBasicMultiplePipelineTrigger(*rawMessage) - if err != nil { - return nil, err - } - mptArray[index] = mpt - } - return mptArray, nil +// AsFileSystemSink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsFileSystemSink() (*FileSystemSink, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for MultiplePipelineTrigger. -func (mpt MultiplePipelineTrigger) MarshalJSON() ([]byte, error) { - mpt.Type = TypeMultiplePipelineTrigger - objectMap := make(map[string]interface{}) - if mpt.Pipelines != nil { - objectMap["pipelines"] = mpt.Pipelines - } - if mpt.Description != nil { - objectMap["description"] = mpt.Description - } - if mpt.Annotations != nil { - objectMap["annotations"] = mpt.Annotations - } - if mpt.Type != "" { - objectMap["type"] = mpt.Type - } - for k, v := range mpt.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsBlobSink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsBlobSink() (*BlobSink, bool) { + return nil, false } -// AsRerunTumblingWindowTrigger is the BasicTrigger implementation for MultiplePipelineTrigger. -func (mpt MultiplePipelineTrigger) AsRerunTumblingWindowTrigger() (*RerunTumblingWindowTrigger, bool) { +// AsBinarySink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsBinarySink() (*BinarySink, bool) { return nil, false } -// AsTumblingWindowTrigger is the BasicTrigger implementation for MultiplePipelineTrigger. -func (mpt MultiplePipelineTrigger) AsTumblingWindowTrigger() (*TumblingWindowTrigger, bool) { +// AsParquetSink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsParquetSink() (*ParquetSink, bool) { return nil, false } -// AsBlobEventsTrigger is the BasicTrigger implementation for MultiplePipelineTrigger. -func (mpt MultiplePipelineTrigger) AsBlobEventsTrigger() (*BlobEventsTrigger, bool) { +// AsAzureTableSink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsAzureTableSink() (*AzureTableSink, bool) { return nil, false } -// AsBlobTrigger is the BasicTrigger implementation for MultiplePipelineTrigger. -func (mpt MultiplePipelineTrigger) AsBlobTrigger() (*BlobTrigger, bool) { +// AsAzureQueueSink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsAzureQueueSink() (*AzureQueueSink, bool) { return nil, false } -// AsScheduleTrigger is the BasicTrigger implementation for MultiplePipelineTrigger. -func (mpt MultiplePipelineTrigger) AsScheduleTrigger() (*ScheduleTrigger, bool) { +// AsSapCloudForCustomerSink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { return nil, false } -// AsMultiplePipelineTrigger is the BasicTrigger implementation for MultiplePipelineTrigger. -func (mpt MultiplePipelineTrigger) AsMultiplePipelineTrigger() (*MultiplePipelineTrigger, bool) { - return &mpt, true +// AsAzurePostgreSQLSink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { + return nil, false } -// AsBasicMultiplePipelineTrigger is the BasicTrigger implementation for MultiplePipelineTrigger. -func (mpt MultiplePipelineTrigger) AsBasicMultiplePipelineTrigger() (BasicMultiplePipelineTrigger, bool) { - return &mpt, true +// AsDelimitedTextSink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { + return nil, false } -// AsTrigger is the BasicTrigger implementation for MultiplePipelineTrigger. -func (mpt MultiplePipelineTrigger) AsTrigger() (*Trigger, bool) { +// AsCopySink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsCopySink() (*CopySink, bool) { return nil, false } -// AsBasicTrigger is the BasicTrigger implementation for MultiplePipelineTrigger. -func (mpt MultiplePipelineTrigger) AsBasicTrigger() (BasicTrigger, bool) { - return &mpt, true +// AsBasicCopySink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsBasicCopySink() (BasicCopySink, bool) { + return &osVar, true } -// UnmarshalJSON is the custom unmarshaler for MultiplePipelineTrigger struct. -func (mpt *MultiplePipelineTrigger) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for OdbcSink struct. +func (osVar *OdbcSink) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -95153,14 +120479,14 @@ func (mpt *MultiplePipelineTrigger) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "pipelines": + case "preCopyScript": if v != nil { - var pipelines []TriggerPipelineReference - err = json.Unmarshal(*v, &pipelines) + var preCopyScript interface{} + err = json.Unmarshal(*v, &preCopyScript) if err != nil { return err } - mpt.Pipelines = &pipelines + osVar.PreCopyScript = preCopyScript } default: if v != nil { @@ -95169,46 +120495,64 @@ func (mpt *MultiplePipelineTrigger) UnmarshalJSON(body []byte) error { if err != nil { return err } - if mpt.AdditionalProperties == nil { - mpt.AdditionalProperties = make(map[string]interface{}) + if osVar.AdditionalProperties == nil { + osVar.AdditionalProperties = make(map[string]interface{}) } - mpt.AdditionalProperties[k] = additionalProperties + osVar.AdditionalProperties[k] = additionalProperties } - case "description": + case "writeBatchSize": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var writeBatchSize interface{} + err = json.Unmarshal(*v, &writeBatchSize) if err != nil { return err } - mpt.Description = &description + osVar.WriteBatchSize = writeBatchSize } - case "runtimeState": + case "writeBatchTimeout": if v != nil { - var runtimeState TriggerRuntimeState - err = json.Unmarshal(*v, &runtimeState) + var writeBatchTimeout interface{} + err = json.Unmarshal(*v, &writeBatchTimeout) if err != nil { return err } - mpt.RuntimeState = runtimeState + osVar.WriteBatchTimeout = writeBatchTimeout } - case "annotations": + case "sinkRetryCount": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var sinkRetryCount interface{} + err = json.Unmarshal(*v, &sinkRetryCount) if err != nil { return err } - mpt.Annotations = &annotations + osVar.SinkRetryCount = sinkRetryCount + } + case "sinkRetryWait": + if v != nil { + var sinkRetryWait interface{} + err = json.Unmarshal(*v, &sinkRetryWait) + if err != nil { + return err + } + osVar.SinkRetryWait = sinkRetryWait + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + osVar.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicTrigger + var typeVar TypeBasicCopySink err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - mpt.Type = typeVar + osVar.Type = typeVar } } } @@ -95216,484 +120560,459 @@ func (mpt *MultiplePipelineTrigger) UnmarshalJSON(body []byte) error { return nil } -// MySQLLinkedService linked service for MySQL data source. -type MySQLLinkedService struct { - // MySQLLinkedServiceTypeProperties - MySQL linked service properties. - *MySQLLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// OdbcSource a copy activity source for ODBC databases. +type OdbcSource struct { + // Query - Database query. Type: string (or Expression with resultType string). + Query interface{} `json:"query,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. - Description *string `json:"description,omitempty"` - // Parameters - Parameters for linked service. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the linked service. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for MySQLLinkedService. -func (msls MySQLLinkedService) MarshalJSON() ([]byte, error) { - msls.Type = TypeMySQL +// MarshalJSON is the custom marshaler for OdbcSource. +func (osVar OdbcSource) MarshalJSON() ([]byte, error) { + osVar.Type = TypeOdbcSource objectMap := make(map[string]interface{}) - if msls.MySQLLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = msls.MySQLLinkedServiceTypeProperties - } - if msls.ConnectVia != nil { - objectMap["connectVia"] = msls.ConnectVia + if osVar.Query != nil { + objectMap["query"] = osVar.Query } - if msls.Description != nil { - objectMap["description"] = msls.Description + if osVar.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = osVar.SourceRetryCount } - if msls.Parameters != nil { - objectMap["parameters"] = msls.Parameters + if osVar.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = osVar.SourceRetryWait } - if msls.Annotations != nil { - objectMap["annotations"] = msls.Annotations + if osVar.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = osVar.MaxConcurrentConnections } - if msls.Type != "" { - objectMap["type"] = msls.Type + if osVar.Type != "" { + objectMap["type"] = osVar.Type } - for k, v := range msls.AdditionalProperties { + for k, v := range osVar.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { - return nil, false -} - -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { - return nil, false -} - -// AsSapTableLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { - return nil, false -} - -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsResponsysSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsVerticaSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsNetezzaSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsZohoSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsXeroSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsSquareSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsSparkSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsShopifySource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsServiceNowSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsPrestoSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsPhoenixSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPaypalSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsMarketoSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsMariaDBSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsMagentoSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsJiraSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsImpalaSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsHubspotSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsHiveSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsHBaseSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsGreenplumSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsEloquaSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsDrillSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsConcurSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsHTTPSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsOffice365Source is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsMongoDbSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsCassandraSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsWebSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsTeradataSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsOracleSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsHdfsSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsFileSystemSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsSQLDWSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsSQLMISource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsSQLServerSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsSQLSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsRestSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsSapTableSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsSapHanaSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsSapEccSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsSalesforceSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsODataSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsSybaseSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsMySQLSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { - return &msls, true -} - -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { - return nil, false +// AsOdbcSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsOdbcSource() (*OdbcSource, bool) { + return &osVar, true } -// AsOracleLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsDb2Source is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsInformixSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsRelationalSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsDynamicsSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsBlobSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsAzureTableSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsBinarySource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsDelimitedTextSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsParquetSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsCopySource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsCopySource() (*CopySource, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for MySQLLinkedService. -func (msls MySQLLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &msls, true +// AsBasicCopySource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsBasicCopySource() (BasicCopySource, bool) { + return &osVar, true } -// UnmarshalJSON is the custom unmarshaler for MySQLLinkedService struct. -func (msls *MySQLLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for OdbcSource struct. +func (osVar *OdbcSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -95701,14 +121020,14 @@ func (msls *MySQLLinkedService) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": + case "query": if v != nil { - var mySQLLinkedServiceTypeProperties MySQLLinkedServiceTypeProperties - err = json.Unmarshal(*v, &mySQLLinkedServiceTypeProperties) + var query interface{} + err = json.Unmarshal(*v, &query) if err != nil { return err } - msls.MySQLLinkedServiceTypeProperties = &mySQLLinkedServiceTypeProperties + osVar.Query = query } default: if v != nil { @@ -95717,106 +121036,46 @@ func (msls *MySQLLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if msls.AdditionalProperties == nil { - msls.AdditionalProperties = make(map[string]interface{}) - } - msls.AdditionalProperties[k] = additionalProperties - } - case "connectVia": - if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) - if err != nil { - return err + if osVar.AdditionalProperties == nil { + osVar.AdditionalProperties = make(map[string]interface{}) } - msls.ConnectVia = &connectVia + osVar.AdditionalProperties[k] = additionalProperties } - case "description": + case "sourceRetryCount": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) if err != nil { return err } - msls.Description = &description + osVar.SourceRetryCount = sourceRetryCount } - case "parameters": + case "sourceRetryWait": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) if err != nil { return err } - msls.Parameters = parameters + osVar.SourceRetryWait = sourceRetryWait } - case "annotations": + case "maxConcurrentConnections": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) if err != nil { return err } - msls.Annotations = &annotations + osVar.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicLinkedService + var typeVar TypeBasicCopySource err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - msls.Type = typeVar - } - } - } - - return nil -} - -// MySQLLinkedServiceTypeProperties mySQL linked service properties. -type MySQLLinkedServiceTypeProperties struct { - // ConnectionString - The connection string. - ConnectionString BasicSecretBase `json:"connectionString,omitempty"` - // Password - The Azure key vault secret reference of password in connection string. - Password *AzureKeyVaultSecretReference `json:"password,omitempty"` - // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). - EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` -} - -// UnmarshalJSON is the custom unmarshaler for MySQLLinkedServiceTypeProperties struct. -func (mslstp *MySQLLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "connectionString": - if v != nil { - connectionString, err := unmarshalBasicSecretBase(*v) - if err != nil { - return err - } - mslstp.ConnectionString = connectionString - } - case "password": - if v != nil { - var password AzureKeyVaultSecretReference - err = json.Unmarshal(*v, &password) - if err != nil { - return err - } - mslstp.Password = &password - } - case "encryptedCredential": - if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) - if err != nil { - return err - } - mslstp.EncryptedCredential = encryptedCredential + osVar.Type = typeVar } } } @@ -95824,484 +121083,469 @@ func (mslstp *MySQLLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error return nil } -// NetezzaLinkedService netezza linked service. -type NetezzaLinkedService struct { - // NetezzaLinkedServiceTypeProperties - Netezza linked service properties. - *NetezzaLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// OdbcTableDataset the ODBC table dataset. +type OdbcTableDataset struct { + // OdbcTableDatasetTypeProperties - ODBC table dataset properties. + *OdbcTableDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. + // Description - Dataset description. Description *string `json:"description,omitempty"` - // Parameters - Parameters for linked service. + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the linked service. + // Annotations - List of tags that can be used for describing the Dataset. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for NetezzaLinkedService. -func (nls NetezzaLinkedService) MarshalJSON() ([]byte, error) { - nls.Type = TypeNetezza +// MarshalJSON is the custom marshaler for OdbcTableDataset. +func (otd OdbcTableDataset) MarshalJSON() ([]byte, error) { + otd.Type = TypeOdbcTable objectMap := make(map[string]interface{}) - if nls.NetezzaLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = nls.NetezzaLinkedServiceTypeProperties + if otd.OdbcTableDatasetTypeProperties != nil { + objectMap["typeProperties"] = otd.OdbcTableDatasetTypeProperties } - if nls.ConnectVia != nil { - objectMap["connectVia"] = nls.ConnectVia + if otd.Description != nil { + objectMap["description"] = otd.Description } - if nls.Description != nil { - objectMap["description"] = nls.Description + if otd.Structure != nil { + objectMap["structure"] = otd.Structure } - if nls.Parameters != nil { - objectMap["parameters"] = nls.Parameters + if otd.Schema != nil { + objectMap["schema"] = otd.Schema } - if nls.Annotations != nil { - objectMap["annotations"] = nls.Annotations + if otd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = otd.LinkedServiceName } - if nls.Type != "" { - objectMap["type"] = nls.Type + if otd.Parameters != nil { + objectMap["parameters"] = otd.Parameters } - for k, v := range nls.AdditionalProperties { + if otd.Annotations != nil { + objectMap["annotations"] = otd.Annotations + } + if otd.Folder != nil { + objectMap["folder"] = otd.Folder + } + if otd.Type != "" { + objectMap["type"] = otd.Type + } + for k, v := range otd.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { - return nil, false -} - -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { - return nil, false -} - -// AsSapTableLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { - return nil, false -} - -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { - return nil, false -} - -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { - return nil, false -} - -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { - return &nls, true -} - -// AsVerticaLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsDrillTableDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsHTTPDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsWebTableDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsRestResourceDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { - return nil, false +// AsOdbcTableDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { + return &otd, true } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsInformixTableDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsOracleTableDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsODataResourceDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsFileShareDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsOffice365Dataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsCustomDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsAzureTableDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsBinaryDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsParquetDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAmazonS3Dataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsDataset() (*Dataset, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. -func (nls NetezzaLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &nls, true +// AsBasicDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsBasicDataset() (BasicDataset, bool) { + return &otd, true } -// UnmarshalJSON is the custom unmarshaler for NetezzaLinkedService struct. -func (nls *NetezzaLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for OdbcTableDataset struct. +func (otd *OdbcTableDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -96311,12 +121555,12 @@ func (nls *NetezzaLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var netezzaLinkedServiceTypeProperties NetezzaLinkedServiceTypeProperties - err = json.Unmarshal(*v, &netezzaLinkedServiceTypeProperties) + var odbcTableDatasetTypeProperties OdbcTableDatasetTypeProperties + err = json.Unmarshal(*v, &odbcTableDatasetTypeProperties) if err != nil { return err } - nls.NetezzaLinkedServiceTypeProperties = &netezzaLinkedServiceTypeProperties + otd.OdbcTableDatasetTypeProperties = &odbcTableDatasetTypeProperties } default: if v != nil { @@ -96325,28 +121569,46 @@ func (nls *NetezzaLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if nls.AdditionalProperties == nil { - nls.AdditionalProperties = make(map[string]interface{}) + if otd.AdditionalProperties == nil { + otd.AdditionalProperties = make(map[string]interface{}) } - nls.AdditionalProperties[k] = additionalProperties + otd.AdditionalProperties[k] = additionalProperties } - case "connectVia": + case "description": if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - nls.ConnectVia = &connectVia + otd.Description = &description } - case "description": + case "structure": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var structure interface{} + err = json.Unmarshal(*v, &structure) if err != nil { return err } - nls.Description = &description + otd.Structure = structure + } + case "schema": + if v != nil { + var schema interface{} + err = json.Unmarshal(*v, &schema) + if err != nil { + return err + } + otd.Schema = schema + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + otd.LinkedServiceName = &linkedServiceName } case "parameters": if v != nil { @@ -96355,7 +121617,7 @@ func (nls *NetezzaLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - nls.Parameters = parameters + otd.Parameters = parameters } case "annotations": if v != nil { @@ -96364,16 +121626,25 @@ func (nls *NetezzaLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - nls.Annotations = &annotations + otd.Annotations = &annotations + } + case "folder": + if v != nil { + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) + if err != nil { + return err + } + otd.Folder = &folder } case "type": if v != nil { - var typeVar TypeBasicLinkedService + var typeVar TypeBasicDataset err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - nls.Type = typeVar + otd.Type = typeVar } } } @@ -96381,399 +121652,475 @@ func (nls *NetezzaLinkedService) UnmarshalJSON(body []byte) error { return nil } -// NetezzaLinkedServiceTypeProperties netezza linked service properties. -type NetezzaLinkedServiceTypeProperties struct { - // ConnectionString - An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. - ConnectionString interface{} `json:"connectionString,omitempty"` - // Pwd - The Azure key vault secret reference of password in connection string. - Pwd *AzureKeyVaultSecretReference `json:"pwd,omitempty"` - // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). - EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` +// OdbcTableDatasetTypeProperties ODBC table dataset properties. +type OdbcTableDatasetTypeProperties struct { + // TableName - The ODBC table name. Type: string (or Expression with resultType string). + TableName interface{} `json:"tableName,omitempty"` } -// NetezzaSource a copy activity Netezza source. -type NetezzaSource struct { - // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). - Query interface{} `json:"query,omitempty"` +// Office365Dataset the Office365 account. +type Office365Dataset struct { + // Office365DatasetTypeProperties - Office365 dataset properties. + *Office365DatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). - SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` - // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' - Type TypeBasicCopySource `json:"type,omitempty"` + // Description - Dataset description. + Description *string `json:"description,omitempty"` + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for NetezzaSource. -func (ns NetezzaSource) MarshalJSON() ([]byte, error) { - ns.Type = TypeNetezzaSource +// MarshalJSON is the custom marshaler for Office365Dataset. +func (o3d Office365Dataset) MarshalJSON() ([]byte, error) { + o3d.Type = TypeOffice365Table objectMap := make(map[string]interface{}) - if ns.Query != nil { - objectMap["query"] = ns.Query + if o3d.Office365DatasetTypeProperties != nil { + objectMap["typeProperties"] = o3d.Office365DatasetTypeProperties } - if ns.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = ns.SourceRetryCount + if o3d.Description != nil { + objectMap["description"] = o3d.Description } - if ns.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = ns.SourceRetryWait + if o3d.Structure != nil { + objectMap["structure"] = o3d.Structure } - if ns.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = ns.MaxConcurrentConnections + if o3d.Schema != nil { + objectMap["schema"] = o3d.Schema } - if ns.Type != "" { - objectMap["type"] = ns.Type + if o3d.LinkedServiceName != nil { + objectMap["linkedServiceName"] = o3d.LinkedServiceName } - for k, v := range ns.AdditionalProperties { + if o3d.Parameters != nil { + objectMap["parameters"] = o3d.Parameters + } + if o3d.Annotations != nil { + objectMap["annotations"] = o3d.Annotations + } + if o3d.Folder != nil { + objectMap["folder"] = o3d.Folder + } + if o3d.Type != "" { + objectMap["type"] = o3d.Type + } + for k, v := range o3d.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsVerticaSource() (*VerticaSource, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsNetezzaSource() (*NetezzaSource, bool) { - return &ns, true +// AsNetezzaTableDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false } -// AsZohoSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsZohoSource() (*ZohoSource, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsXeroSource() (*XeroSource, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsSquareSource() (*SquareSource, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsSparkSource() (*SparkSource, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsShopifySource() (*ShopifySource, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { + return nil, false +} + +// AsPrestoObjectDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { + return nil, false +} + +// AsPhoenixObjectDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { + return nil, false +} + +// AsPaypalObjectDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { + return nil, false +} + +// AsMarketoObjectDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { + return nil, false +} + +// AsMariaDBTableDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { + return nil, false +} + +// AsMagentoObjectDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { + return nil, false +} + +// AsJiraObjectDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { + return nil, false +} + +// AsImpalaObjectDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { + return nil, false +} + +// AsHubspotObjectDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { + return nil, false +} + +// AsHiveObjectDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { + return nil, false +} + +// AsHBaseObjectDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { + return nil, false +} + +// AsGreenplumTableDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsPrestoSource() (*PrestoSource, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsPaypalSource() (*PaypalSource, bool) { +// AsDrillTableDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsMarketoSource() (*MarketoSource, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsMagentoSource() (*MagentoSource, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsJiraSource() (*JiraSource, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsHTTPDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsHubspotSource() (*HubspotSource, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsHiveSource() (*HiveSource, bool) { +// AsWebTableDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsHBaseSource() (*HBaseSource, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsRestResourceDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsEloquaSource() (*EloquaSource, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsDrillSource() (*DrillSource, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsConcurSource() (*ConcurSource, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsHTTPSource() (*HTTPSource, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsOffice365Source() (*Office365Source, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsInformixTableDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsCassandraSource() (*CassandraSource, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsWebSource() (*WebSource, bool) { +// AsOracleTableDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsOracleSource() (*OracleSource, bool) { +// AsODataResourceDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsHdfsSource() (*HdfsSource, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsFileShareDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsSQLDWSource() (*SQLDWSource, bool) { - return nil, false +// AsOffice365Dataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsOffice365Dataset() (*Office365Dataset, bool) { + return &o3d, true } -// AsAzureSQLSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsSQLSource() (*SQLSource, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsRestSource() (*RestSource, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsSapTableSource() (*SapTableSource, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsCustomDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsSapEccSource() (*SapEccSource, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsRelationalSource() (*RelationalSource, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsAzureTableDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsBlobSource() (*BlobSource, bool) { +// AsBinaryDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsParquetDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsParquetSource() (*ParquetSource, bool) { +// AsAmazonS3Dataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsCopySource() (*CopySource, bool) { +// AsDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsDataset() (*Dataset, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsBasicCopySource() (BasicCopySource, bool) { - return &ns, true +// AsBasicDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsBasicDataset() (BasicDataset, bool) { + return &o3d, true } -// UnmarshalJSON is the custom unmarshaler for NetezzaSource struct. -func (ns *NetezzaSource) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for Office365Dataset struct. +func (o3d *Office365Dataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -96781,14 +122128,14 @@ func (ns *NetezzaSource) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "query": + case "typeProperties": if v != nil { - var query interface{} - err = json.Unmarshal(*v, &query) + var office365DatasetTypeProperties Office365DatasetTypeProperties + err = json.Unmarshal(*v, &office365DatasetTypeProperties) if err != nil { return err } - ns.Query = query + o3d.Office365DatasetTypeProperties = &office365DatasetTypeProperties } default: if v != nil { @@ -96797,46 +122144,82 @@ func (ns *NetezzaSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - if ns.AdditionalProperties == nil { - ns.AdditionalProperties = make(map[string]interface{}) + if o3d.AdditionalProperties == nil { + o3d.AdditionalProperties = make(map[string]interface{}) } - ns.AdditionalProperties[k] = additionalProperties + o3d.AdditionalProperties[k] = additionalProperties } - case "sourceRetryCount": + case "description": if v != nil { - var sourceRetryCount interface{} - err = json.Unmarshal(*v, &sourceRetryCount) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - ns.SourceRetryCount = sourceRetryCount + o3d.Description = &description } - case "sourceRetryWait": + case "structure": if v != nil { - var sourceRetryWait interface{} - err = json.Unmarshal(*v, &sourceRetryWait) + var structure interface{} + err = json.Unmarshal(*v, &structure) if err != nil { return err } - ns.SourceRetryWait = sourceRetryWait + o3d.Structure = structure } - case "maxConcurrentConnections": + case "schema": if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) + var schema interface{} + err = json.Unmarshal(*v, &schema) if err != nil { return err } - ns.MaxConcurrentConnections = maxConcurrentConnections + o3d.Schema = schema + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + o3d.LinkedServiceName = &linkedServiceName + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + o3d.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + o3d.Annotations = &annotations + } + case "folder": + if v != nil { + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) + if err != nil { + return err + } + o3d.Folder = &folder } case "type": if v != nil { - var typeVar TypeBasicCopySource + var typeVar TypeBasicDataset err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - ns.Type = typeVar + o3d.Type = typeVar } } } @@ -96844,414 +122227,522 @@ func (ns *NetezzaSource) UnmarshalJSON(body []byte) error { return nil } -// NetezzaTableDataset netezza dataset. -type NetezzaTableDataset struct { - // GenericDatasetTypeProperties - Properties specific to this dataset type. - *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` +// Office365DatasetTypeProperties office365 dataset properties. +type Office365DatasetTypeProperties struct { + // TableName - Name of the dataset to extract from Office 365. Type: string (or Expression with resultType string). + TableName interface{} `json:"tableName,omitempty"` + // Predicate - A predicate expression that can be used to filter the specific rows to extract from Office 365. Type: string (or Expression with resultType string). + Predicate interface{} `json:"predicate,omitempty"` +} + +// Office365LinkedService office365 linked service. +type Office365LinkedService struct { + // Office365LinkedServiceTypeProperties - Office365 linked service properties. + *Office365LinkedServiceTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Description - Dataset description. + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. Description *string `json:"description,omitempty"` - // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. - Structure interface{} `json:"structure,omitempty"` - // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - Schema interface{} `json:"schema,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Parameters - Parameters for dataset. + // Parameters - Parameters for linked service. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the Dataset. + // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' - Type TypeBasicDataset `json:"type,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for NetezzaTableDataset. -func (ntd NetezzaTableDataset) MarshalJSON() ([]byte, error) { - ntd.Type = TypeNetezzaTable +// MarshalJSON is the custom marshaler for Office365LinkedService. +func (o3ls Office365LinkedService) MarshalJSON() ([]byte, error) { + o3ls.Type = TypeOffice365 objectMap := make(map[string]interface{}) - if ntd.GenericDatasetTypeProperties != nil { - objectMap["typeProperties"] = ntd.GenericDatasetTypeProperties - } - if ntd.Description != nil { - objectMap["description"] = ntd.Description - } - if ntd.Structure != nil { - objectMap["structure"] = ntd.Structure - } - if ntd.Schema != nil { - objectMap["schema"] = ntd.Schema + if o3ls.Office365LinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = o3ls.Office365LinkedServiceTypeProperties } - if ntd.LinkedServiceName != nil { - objectMap["linkedServiceName"] = ntd.LinkedServiceName + if o3ls.ConnectVia != nil { + objectMap["connectVia"] = o3ls.ConnectVia } - if ntd.Parameters != nil { - objectMap["parameters"] = ntd.Parameters + if o3ls.Description != nil { + objectMap["description"] = o3ls.Description } - if ntd.Annotations != nil { - objectMap["annotations"] = ntd.Annotations + if o3ls.Parameters != nil { + objectMap["parameters"] = o3ls.Parameters } - if ntd.Folder != nil { - objectMap["folder"] = ntd.Folder + if o3ls.Annotations != nil { + objectMap["annotations"] = o3ls.Annotations } - if ntd.Type != "" { - objectMap["type"] = ntd.Type + if o3ls.Type != "" { + objectMap["type"] = o3ls.Type } - for k, v := range ntd.AdditionalProperties { + for k, v := range o3ls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { - return &ntd, true +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { + return &o3ls, true +} + +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsDataset() (*Dataset, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for NetezzaTableDataset. -func (ntd NetezzaTableDataset) AsBasicDataset() (BasicDataset, bool) { - return &ntd, true +// AsDb2LinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for NetezzaTableDataset struct. -func (ntd *NetezzaTableDataset) UnmarshalJSON(body []byte) error { +// AsSybaseLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { + return nil, false +} + +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { + return nil, false +} + +// AsMySQLLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { + return nil, false +} + +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { + return nil, false +} + +// AsOracleLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { + return nil, false +} + +// AsFileServerLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { + return nil, false +} + +// AsHDInsightLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + +// AsDynamicsLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false +} + +// AsCosmosDbLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false +} + +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false +} + +// AsAzureBatchLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} + +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &o3ls, true +} + +// UnmarshalJSON is the custom unmarshaler for Office365LinkedService struct. +func (o3ls *Office365LinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -97261,12 +122752,12 @@ func (ntd *NetezzaTableDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var genericDatasetTypeProperties GenericDatasetTypeProperties - err = json.Unmarshal(*v, &genericDatasetTypeProperties) + var office365LinkedServiceTypeProperties Office365LinkedServiceTypeProperties + err = json.Unmarshal(*v, &office365LinkedServiceTypeProperties) if err != nil { return err } - ntd.GenericDatasetTypeProperties = &genericDatasetTypeProperties + o3ls.Office365LinkedServiceTypeProperties = &office365LinkedServiceTypeProperties } default: if v != nil { @@ -97275,10 +122766,19 @@ func (ntd *NetezzaTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if ntd.AdditionalProperties == nil { - ntd.AdditionalProperties = make(map[string]interface{}) + if o3ls.AdditionalProperties == nil { + o3ls.AdditionalProperties = make(map[string]interface{}) } - ntd.AdditionalProperties[k] = additionalProperties + o3ls.AdditionalProperties[k] = additionalProperties + } + case "connectVia": + if v != nil { + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) + if err != nil { + return err + } + o3ls.ConnectVia = &connectVia } case "description": if v != nil { @@ -97287,70 +122787,107 @@ func (ntd *NetezzaTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - ntd.Description = &description + o3ls.Description = &description } - case "structure": + case "parameters": if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - ntd.Structure = structure + o3ls.Parameters = parameters } - case "schema": + case "annotations": if v != nil { - var schema interface{} - err = json.Unmarshal(*v, &schema) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - ntd.Schema = schema + o3ls.Annotations = &annotations } - case "linkedServiceName": + case "type": if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) + var typeVar TypeBasicLinkedService + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - ntd.LinkedServiceName = &linkedServiceName + o3ls.Type = typeVar } - case "parameters": + } + } + + return nil +} + +// Office365LinkedServiceTypeProperties office365 linked service properties. +type Office365LinkedServiceTypeProperties struct { + // Office365TenantID - Azure tenant ID to which the Office 365 account belongs. Type: string (or Expression with resultType string). + Office365TenantID interface{} `json:"office365TenantId,omitempty"` + // ServicePrincipalTenantID - Specify the tenant information under which your Azure AD web application resides. Type: string (or Expression with resultType string). + ServicePrincipalTenantID interface{} `json:"servicePrincipalTenantId,omitempty"` + // ServicePrincipalID - Specify the application's client ID. Type: string (or Expression with resultType string). + ServicePrincipalID interface{} `json:"servicePrincipalId,omitempty"` + // ServicePrincipalKey - Specify the application's key. + ServicePrincipalKey BasicSecretBase `json:"servicePrincipalKey,omitempty"` + // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` +} + +// UnmarshalJSON is the custom unmarshaler for Office365LinkedServiceTypeProperties struct. +func (o3lstp *Office365LinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "office365TenantId": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var office365TenantID interface{} + err = json.Unmarshal(*v, &office365TenantID) if err != nil { return err } - ntd.Parameters = parameters + o3lstp.Office365TenantID = office365TenantID } - case "annotations": + case "servicePrincipalTenantId": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var servicePrincipalTenantID interface{} + err = json.Unmarshal(*v, &servicePrincipalTenantID) if err != nil { return err } - ntd.Annotations = &annotations + o3lstp.ServicePrincipalTenantID = servicePrincipalTenantID } - case "folder": + case "servicePrincipalId": if v != nil { - var folder DatasetFolder - err = json.Unmarshal(*v, &folder) + var servicePrincipalID interface{} + err = json.Unmarshal(*v, &servicePrincipalID) if err != nil { return err } - ntd.Folder = &folder + o3lstp.ServicePrincipalID = servicePrincipalID } - case "type": + case "servicePrincipalKey": if v != nil { - var typeVar TypeBasicDataset - err = json.Unmarshal(*v, &typeVar) + servicePrincipalKey, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - ntd.Type = typeVar + o3lstp.ServicePrincipalKey = servicePrincipalKey + } + case "encryptedCredential": + if v != nil { + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) + if err != nil { + return err + } + o3lstp.EncryptedCredential = encryptedCredential } } } @@ -97358,484 +122895,454 @@ func (ntd *NetezzaTableDataset) UnmarshalJSON(body []byte) error { return nil } -// ODataLinkedService open Data Protocol (OData) linked service. -type ODataLinkedService struct { - // ODataLinkedServiceTypeProperties - OData linked service properties. - *ODataLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// Office365Source a copy activity source for an Office365 service. +type Office365Source struct { // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. - Description *string `json:"description,omitempty"` - // Parameters - Parameters for linked service. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the linked service. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for ODataLinkedService. -func (odls ODataLinkedService) MarshalJSON() ([]byte, error) { - odls.Type = TypeOData +// MarshalJSON is the custom marshaler for Office365Source. +func (o3s Office365Source) MarshalJSON() ([]byte, error) { + o3s.Type = TypeOffice365Source objectMap := make(map[string]interface{}) - if odls.ODataLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = odls.ODataLinkedServiceTypeProperties - } - if odls.ConnectVia != nil { - objectMap["connectVia"] = odls.ConnectVia - } - if odls.Description != nil { - objectMap["description"] = odls.Description + if o3s.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = o3s.SourceRetryCount } - if odls.Parameters != nil { - objectMap["parameters"] = odls.Parameters + if o3s.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = o3s.SourceRetryWait } - if odls.Annotations != nil { - objectMap["annotations"] = odls.Annotations + if o3s.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = o3s.MaxConcurrentConnections } - if odls.Type != "" { - objectMap["type"] = odls.Type + if o3s.Type != "" { + objectMap["type"] = o3s.Type } - for k, v := range odls.AdditionalProperties { + for k, v := range o3s.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { - return nil, false -} - -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { - return nil, false -} - -// AsSapTableLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { - return nil, false -} - -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { - return nil, false -} - -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { - return nil, false -} - -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsResponsysSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsVerticaSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsNetezzaSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsZohoSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsXeroSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsSquareSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsSparkSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsShopifySource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsServiceNowSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPrestoSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPhoenixSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsPaypalSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsMarketoSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsMariaDBSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsMagentoSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsJiraSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsImpalaSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsHubspotSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHiveSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsHBaseSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsGreenplumSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsEloquaSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsDrillSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsConcurSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsHTTPSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsOffice365Source is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsOffice365Source() (*Office365Source, bool) { + return &o3s, true +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsMongoDbSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsCassandraSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsWebSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsWebSource() (*WebSource, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsTeradataSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsOracleSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsHdfsSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsFileSystemSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsSQLDWSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsSQLMISource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsSQLServerSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsSQLSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsRestSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsRestSource() (*RestSource, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsSapTableSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { - return &odls, true +// AsSapHanaSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsSapHanaSource() (*SapHanaSource, bool) { + return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsSapEccSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsSalesforceSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsODataSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsSybaseSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsMySQLSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsOdbcSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsDb2Source is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsInformixSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsRelationalSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsDynamicsSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsBlobSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsAzureTableSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsBinarySource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsDelimitedTextSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsParquetSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsParquetSource() (*ParquetSource, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsCopySource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsCopySource() (*CopySource, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &odls, true +// AsBasicCopySource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsBasicCopySource() (BasicCopySource, bool) { + return &o3s, true } -// UnmarshalJSON is the custom unmarshaler for ODataLinkedService struct. -func (odls *ODataLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for Office365Source struct. +func (o3s *Office365Source) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -97843,15 +123350,6 @@ func (odls *ODataLinkedService) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": - if v != nil { - var oDataLinkedServiceTypeProperties ODataLinkedServiceTypeProperties - err = json.Unmarshal(*v, &oDataLinkedServiceTypeProperties) - if err != nil { - return err - } - odls.ODataLinkedServiceTypeProperties = &oDataLinkedServiceTypeProperties - } default: if v != nil { var additionalProperties interface{} @@ -97859,55 +123357,46 @@ func (odls *ODataLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if odls.AdditionalProperties == nil { - odls.AdditionalProperties = make(map[string]interface{}) - } - odls.AdditionalProperties[k] = additionalProperties - } - case "connectVia": - if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) - if err != nil { - return err + if o3s.AdditionalProperties == nil { + o3s.AdditionalProperties = make(map[string]interface{}) } - odls.ConnectVia = &connectVia + o3s.AdditionalProperties[k] = additionalProperties } - case "description": + case "sourceRetryCount": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) if err != nil { return err } - odls.Description = &description + o3s.SourceRetryCount = sourceRetryCount } - case "parameters": + case "sourceRetryWait": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) if err != nil { return err } - odls.Parameters = parameters + o3s.SourceRetryWait = sourceRetryWait } - case "annotations": + case "maxConcurrentConnections": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) if err != nil { return err } - odls.Annotations = &annotations + o3s.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicLinkedService + var typeVar TypeBasicCopySource err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - odls.Type = typeVar + o3s.Type = typeVar } } } @@ -97915,36 +123404,38 @@ func (odls *ODataLinkedService) UnmarshalJSON(body []byte) error { return nil } -// ODataLinkedServiceTypeProperties oData linked service properties. -type ODataLinkedServiceTypeProperties struct { - // URL - The URL of the OData service endpoint. Type: string (or Expression with resultType string). - URL interface{} `json:"url,omitempty"` - // AuthenticationType - Type of authentication used to connect to the OData service. Possible values include: 'ODataAuthenticationTypeBasic', 'ODataAuthenticationTypeAnonymous', 'ODataAuthenticationTypeWindows', 'ODataAuthenticationTypeAadServicePrincipal', 'ODataAuthenticationTypeManagedServiceIdentity' - AuthenticationType ODataAuthenticationType `json:"authenticationType,omitempty"` - // UserName - User name of the OData service. Type: string (or Expression with resultType string). - UserName interface{} `json:"userName,omitempty"` - // Password - Password of the OData service. - Password BasicSecretBase `json:"password,omitempty"` - // Tenant - Specify the tenant information (domain name or tenant ID) under which your application resides. Type: string (or Expression with resultType string). - Tenant interface{} `json:"tenant,omitempty"` - // ServicePrincipalID - Specify the application id of your application registered in Azure Active Directory. Type: string (or Expression with resultType string). - ServicePrincipalID interface{} `json:"servicePrincipalId,omitempty"` - // AadResourceID - Specify the resource you are requesting authorization to use Directory. Type: string (or Expression with resultType string). - AadResourceID interface{} `json:"aadResourceId,omitempty"` - // AadServicePrincipalCredentialType - Specify the credential type (key or cert) is used for service principal. Possible values include: 'ServicePrincipalKey', 'ServicePrincipalCert' - AadServicePrincipalCredentialType ODataAadServicePrincipalCredentialType `json:"aadServicePrincipalCredentialType,omitempty"` - // ServicePrincipalKey - Specify the secret of your application registered in Azure Active Directory. Type: string (or Expression with resultType string). - ServicePrincipalKey BasicSecretBase `json:"servicePrincipalKey,omitempty"` - // ServicePrincipalEmbeddedCert - Specify the base64 encoded certificate of your application registered in Azure Active Directory. Type: string (or Expression with resultType string). - ServicePrincipalEmbeddedCert BasicSecretBase `json:"servicePrincipalEmbeddedCert,omitempty"` - // ServicePrincipalEmbeddedCertPassword - 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). - ServicePrincipalEmbeddedCertPassword BasicSecretBase `json:"servicePrincipalEmbeddedCertPassword,omitempty"` - // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). - EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` +// Operation azure Data Factory API operation definition. +type Operation struct { + // Name - Operation name: {provider}/{resource}/{operation} + Name *string `json:"name,omitempty"` + // Origin - The intended executor of the operation. + Origin *string `json:"origin,omitempty"` + // Display - Metadata associated with the operation. + Display *OperationDisplay `json:"display,omitempty"` + // OperationProperties - Additional details about the operation. + *OperationProperties `json:"properties,omitempty"` } -// UnmarshalJSON is the custom unmarshaler for ODataLinkedServiceTypeProperties struct. -func (odlstp *ODataLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { +// MarshalJSON is the custom marshaler for Operation. +func (o Operation) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if o.Name != nil { + objectMap["name"] = o.Name + } + if o.Origin != nil { + objectMap["origin"] = o.Origin + } + if o.Display != nil { + objectMap["display"] = o.Display + } + if o.OperationProperties != nil { + objectMap["properties"] = o.OperationProperties + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for Operation struct. +func (o *Operation) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -97952,109 +123443,41 @@ func (odlstp *ODataLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error } for k, v := range m { switch k { - case "url": - if v != nil { - var URL interface{} - err = json.Unmarshal(*v, &URL) - if err != nil { - return err - } - odlstp.URL = URL - } - case "authenticationType": - if v != nil { - var authenticationType ODataAuthenticationType - err = json.Unmarshal(*v, &authenticationType) - if err != nil { - return err - } - odlstp.AuthenticationType = authenticationType - } - case "userName": - if v != nil { - var userName interface{} - err = json.Unmarshal(*v, &userName) - if err != nil { - return err - } - odlstp.UserName = userName - } - case "password": - if v != nil { - password, err := unmarshalBasicSecretBase(*v) - if err != nil { - return err - } - odlstp.Password = password - } - case "tenant": - if v != nil { - var tenant interface{} - err = json.Unmarshal(*v, &tenant) - if err != nil { - return err - } - odlstp.Tenant = tenant - } - case "servicePrincipalId": - if v != nil { - var servicePrincipalID interface{} - err = json.Unmarshal(*v, &servicePrincipalID) - if err != nil { - return err - } - odlstp.ServicePrincipalID = servicePrincipalID - } - case "aadResourceId": - if v != nil { - var aadResourceID interface{} - err = json.Unmarshal(*v, &aadResourceID) - if err != nil { - return err - } - odlstp.AadResourceID = aadResourceID - } - case "aadServicePrincipalCredentialType": - if v != nil { - var aadServicePrincipalCredentialType ODataAadServicePrincipalCredentialType - err = json.Unmarshal(*v, &aadServicePrincipalCredentialType) - if err != nil { - return err - } - odlstp.AadServicePrincipalCredentialType = aadServicePrincipalCredentialType - } - case "servicePrincipalKey": + case "name": if v != nil { - servicePrincipalKey, err := unmarshalBasicSecretBase(*v) + var name string + err = json.Unmarshal(*v, &name) if err != nil { return err } - odlstp.ServicePrincipalKey = servicePrincipalKey + o.Name = &name } - case "servicePrincipalEmbeddedCert": + case "origin": if v != nil { - servicePrincipalEmbeddedCert, err := unmarshalBasicSecretBase(*v) + var origin string + err = json.Unmarshal(*v, &origin) if err != nil { return err } - odlstp.ServicePrincipalEmbeddedCert = servicePrincipalEmbeddedCert + o.Origin = &origin } - case "servicePrincipalEmbeddedCertPassword": + case "display": if v != nil { - servicePrincipalEmbeddedCertPassword, err := unmarshalBasicSecretBase(*v) + var display OperationDisplay + err = json.Unmarshal(*v, &display) if err != nil { return err } - odlstp.ServicePrincipalEmbeddedCertPassword = servicePrincipalEmbeddedCertPassword + o.Display = &display } - case "encryptedCredential": + case "properties": if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) + var operationProperties OperationProperties + err = json.Unmarshal(*v, &operationProperties) if err != nil { return err } - odlstp.EncryptedCredential = encryptedCredential + o.OperationProperties = &operationProperties } } } @@ -98062,414 +123485,738 @@ func (odlstp *ODataLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error return nil } -// ODataResourceDataset the Open Data Protocol (OData) resource dataset. -type ODataResourceDataset struct { - // ODataResourceDatasetTypeProperties - OData dataset properties. - *ODataResourceDatasetTypeProperties `json:"typeProperties,omitempty"` +// OperationDisplay metadata associated with the operation. +type OperationDisplay struct { + // Description - The description of the operation. + Description *string `json:"description,omitempty"` + // Provider - The name of the provider. + Provider *string `json:"provider,omitempty"` + // Resource - The name of the resource type on which the operation is performed. + Resource *string `json:"resource,omitempty"` + // Operation - The type of operation: get, read, delete, etc. + Operation *string `json:"operation,omitempty"` +} + +// OperationListResponse a list of operations that can be performed by the Data Factory service. +type OperationListResponse struct { + autorest.Response `json:"-"` + // Value - List of Data Factory operations supported by the Data Factory resource provider. + Value *[]Operation `json:"value,omitempty"` + // NextLink - The link to the next page of results, if any remaining results exist. + NextLink *string `json:"nextLink,omitempty"` +} + +// OperationListResponseIterator provides access to a complete listing of Operation values. +type OperationListResponseIterator struct { + i int + page OperationListResponsePage +} + +// NextWithContext advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +func (iter *OperationListResponseIterator) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/OperationListResponseIterator.NextWithContext") + defer func() { + sc := -1 + if iter.Response().Response.Response != nil { + sc = iter.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + iter.i++ + if iter.i < len(iter.page.Values()) { + return nil + } + err = iter.page.NextWithContext(ctx) + if err != nil { + iter.i-- + return err + } + iter.i = 0 + return nil +} + +// Next advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (iter *OperationListResponseIterator) Next() error { + return iter.NextWithContext(context.Background()) +} + +// NotDone returns true if the enumeration should be started or is not yet complete. +func (iter OperationListResponseIterator) NotDone() bool { + return iter.page.NotDone() && iter.i < len(iter.page.Values()) +} + +// Response returns the raw server response from the last page request. +func (iter OperationListResponseIterator) Response() OperationListResponse { + return iter.page.Response() +} + +// Value returns the current value or a zero-initialized value if the +// iterator has advanced beyond the end of the collection. +func (iter OperationListResponseIterator) Value() Operation { + if !iter.page.NotDone() { + return Operation{} + } + return iter.page.Values()[iter.i] +} + +// Creates a new instance of the OperationListResponseIterator type. +func NewOperationListResponseIterator(page OperationListResponsePage) OperationListResponseIterator { + return OperationListResponseIterator{page: page} +} + +// IsEmpty returns true if the ListResult contains no values. +func (olr OperationListResponse) IsEmpty() bool { + return olr.Value == nil || len(*olr.Value) == 0 +} + +// operationListResponsePreparer prepares a request to retrieve the next set of results. +// It returns nil if no more results exist. +func (olr OperationListResponse) operationListResponsePreparer(ctx context.Context) (*http.Request, error) { + if olr.NextLink == nil || len(to.String(olr.NextLink)) < 1 { + return nil, nil + } + return autorest.Prepare((&http.Request{}).WithContext(ctx), + autorest.AsJSON(), + autorest.AsGet(), + autorest.WithBaseURL(to.String(olr.NextLink))) +} + +// OperationListResponsePage contains a page of Operation values. +type OperationListResponsePage struct { + fn func(context.Context, OperationListResponse) (OperationListResponse, error) + olr OperationListResponse +} + +// NextWithContext advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +func (page *OperationListResponsePage) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/OperationListResponsePage.NextWithContext") + defer func() { + sc := -1 + if page.Response().Response.Response != nil { + sc = page.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + next, err := page.fn(ctx, page.olr) + if err != nil { + return err + } + page.olr = next + return nil +} + +// Next advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (page *OperationListResponsePage) Next() error { + return page.NextWithContext(context.Background()) +} + +// NotDone returns true if the page enumeration should be started or is not yet complete. +func (page OperationListResponsePage) NotDone() bool { + return !page.olr.IsEmpty() +} + +// Response returns the raw server response from the last page request. +func (page OperationListResponsePage) Response() OperationListResponse { + return page.olr +} + +// Values returns the slice of values for the current page or nil if there are no values. +func (page OperationListResponsePage) Values() []Operation { + if page.olr.IsEmpty() { + return nil + } + return *page.olr.Value +} + +// Creates a new instance of the OperationListResponsePage type. +func NewOperationListResponsePage(getNextPage func(context.Context, OperationListResponse) (OperationListResponse, error)) OperationListResponsePage { + return OperationListResponsePage{fn: getNextPage} +} + +// OperationLogSpecification details about an operation related to logs. +type OperationLogSpecification struct { + // Name - The name of the log category. + Name *string `json:"name,omitempty"` + // DisplayName - Localized display name. + DisplayName *string `json:"displayName,omitempty"` + // BlobDuration - Blobs created in the customer storage account, per hour. + BlobDuration *string `json:"blobDuration,omitempty"` +} + +// OperationMetricAvailability defines how often data for a metric becomes available. +type OperationMetricAvailability struct { + // TimeGrain - The granularity for the metric. + TimeGrain *string `json:"timeGrain,omitempty"` + // BlobDuration - Blob created in the customer storage account, per hour. + BlobDuration *string `json:"blobDuration,omitempty"` +} + +// OperationMetricDimension defines the metric dimension. +type OperationMetricDimension struct { + // Name - The name of the dimension for the metric. + Name *string `json:"name,omitempty"` + // DisplayName - The display name of the metric dimension. + DisplayName *string `json:"displayName,omitempty"` + // ToBeExportedForShoebox - Whether the dimension should be exported to Azure Monitor. + ToBeExportedForShoebox *bool `json:"toBeExportedForShoebox,omitempty"` +} + +// OperationMetricSpecification details about an operation related to metrics. +type OperationMetricSpecification struct { + // Name - The name of the metric. + Name *string `json:"name,omitempty"` + // DisplayName - Localized display name of the metric. + DisplayName *string `json:"displayName,omitempty"` + // DisplayDescription - The description of the metric. + DisplayDescription *string `json:"displayDescription,omitempty"` + // Unit - The unit that the metric is measured in. + Unit *string `json:"unit,omitempty"` + // AggregationType - The type of metric aggregation. + AggregationType *string `json:"aggregationType,omitempty"` + // EnableRegionalMdmAccount - Whether or not the service is using regional MDM accounts. + EnableRegionalMdmAccount *string `json:"enableRegionalMdmAccount,omitempty"` + // SourceMdmAccount - The name of the MDM account. + SourceMdmAccount *string `json:"sourceMdmAccount,omitempty"` + // SourceMdmNamespace - The name of the MDM namespace. + SourceMdmNamespace *string `json:"sourceMdmNamespace,omitempty"` + // Availabilities - Defines how often data for metrics becomes available. + Availabilities *[]OperationMetricAvailability `json:"availabilities,omitempty"` + // Dimensions - Defines the metric dimension. + Dimensions *[]OperationMetricDimension `json:"dimensions,omitempty"` +} + +// OperationProperties additional details about an operation. +type OperationProperties struct { + // ServiceSpecification - Details about a service operation. + ServiceSpecification *OperationServiceSpecification `json:"serviceSpecification,omitempty"` +} + +// OperationServiceSpecification details about a service operation. +type OperationServiceSpecification struct { + // LogSpecifications - Details about operations related to logs. + LogSpecifications *[]OperationLogSpecification `json:"logSpecifications,omitempty"` + // MetricSpecifications - Details about operations related to metrics. + MetricSpecifications *[]OperationMetricSpecification `json:"metricSpecifications,omitempty"` +} + +// OracleLinkedService oracle database. +type OracleLinkedService struct { + // OracleLinkedServiceTypeProperties - Oracle database linked service properties. + *OracleLinkedServiceTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Description - Dataset description. + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. Description *string `json:"description,omitempty"` - // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. - Structure interface{} `json:"structure,omitempty"` - // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - Schema interface{} `json:"schema,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Parameters - Parameters for dataset. + // Parameters - Parameters for linked service. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the Dataset. + // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' - Type TypeBasicDataset `json:"type,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for ODataResourceDataset. -func (odrd ODataResourceDataset) MarshalJSON() ([]byte, error) { - odrd.Type = TypeODataResource +// MarshalJSON is the custom marshaler for OracleLinkedService. +func (ols OracleLinkedService) MarshalJSON() ([]byte, error) { + ols.Type = TypeOracle objectMap := make(map[string]interface{}) - if odrd.ODataResourceDatasetTypeProperties != nil { - objectMap["typeProperties"] = odrd.ODataResourceDatasetTypeProperties - } - if odrd.Description != nil { - objectMap["description"] = odrd.Description - } - if odrd.Structure != nil { - objectMap["structure"] = odrd.Structure - } - if odrd.Schema != nil { - objectMap["schema"] = odrd.Schema + if ols.OracleLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = ols.OracleLinkedServiceTypeProperties } - if odrd.LinkedServiceName != nil { - objectMap["linkedServiceName"] = odrd.LinkedServiceName + if ols.ConnectVia != nil { + objectMap["connectVia"] = ols.ConnectVia } - if odrd.Parameters != nil { - objectMap["parameters"] = odrd.Parameters + if ols.Description != nil { + objectMap["description"] = ols.Description } - if odrd.Annotations != nil { - objectMap["annotations"] = odrd.Annotations + if ols.Parameters != nil { + objectMap["parameters"] = ols.Parameters } - if odrd.Folder != nil { - objectMap["folder"] = odrd.Folder + if ols.Annotations != nil { + objectMap["annotations"] = ols.Annotations } - if odrd.Type != "" { - objectMap["type"] = odrd.Type + if ols.Type != "" { + objectMap["type"] = ols.Type } - for k, v := range odrd.AdditionalProperties { + for k, v := range ols.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { - return &odrd, true +// AsRestServiceLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { + return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { + return nil, false +} + +// AsSapEccLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { + return nil, false +} + +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { + return nil, false +} + +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + +// AsSalesforceLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { + return nil, false +} + +// AsOffice365LinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { + return nil, false +} + +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { + return nil, false +} + +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { + return nil, false +} + +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { + return nil, false +} + +// AsMongoDbLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { + return nil, false +} + +// AsCassandraLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { + return nil, false +} + +// AsWebLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { + return nil, false +} + +// AsODataLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { + return nil, false +} + +// AsHdfsLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { + return nil, false +} + +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + +// AsOdbcLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { + return nil, false +} + +// AsAzureMLLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { + return nil, false +} + +// AsTeradataLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { + return nil, false +} + +// AsDb2LinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return nil, false +} + +// AsSybaseLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { + return nil, false +} + +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { + return &ols, true +} + +// AsFileServerLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsAzureStorageLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsDataset() (*Dataset, bool) { +// AsLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsLinkedService() (*LinkedService, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsBasicDataset() (BasicDataset, bool) { - return &odrd, true +// AsBasicLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &ols, true } -// UnmarshalJSON is the custom unmarshaler for ODataResourceDataset struct. -func (odrd *ODataResourceDataset) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for OracleLinkedService struct. +func (ols *OracleLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -98479,12 +124226,12 @@ func (odrd *ODataResourceDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var oDataResourceDatasetTypeProperties ODataResourceDatasetTypeProperties - err = json.Unmarshal(*v, &oDataResourceDatasetTypeProperties) + var oracleLinkedServiceTypeProperties OracleLinkedServiceTypeProperties + err = json.Unmarshal(*v, &oracleLinkedServiceTypeProperties) if err != nil { return err } - odrd.ODataResourceDatasetTypeProperties = &oDataResourceDatasetTypeProperties + ols.OracleLinkedServiceTypeProperties = &oracleLinkedServiceTypeProperties } default: if v != nil { @@ -98493,46 +124240,28 @@ func (odrd *ODataResourceDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if odrd.AdditionalProperties == nil { - odrd.AdditionalProperties = make(map[string]interface{}) - } - odrd.AdditionalProperties[k] = additionalProperties - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - odrd.Description = &description - } - case "structure": - if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) - if err != nil { - return err + if ols.AdditionalProperties == nil { + ols.AdditionalProperties = make(map[string]interface{}) } - odrd.Structure = structure + ols.AdditionalProperties[k] = additionalProperties } - case "schema": + case "connectVia": if v != nil { - var schema interface{} - err = json.Unmarshal(*v, &schema) + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) if err != nil { return err } - odrd.Schema = schema + ols.ConnectVia = &connectVia } - case "linkedServiceName": + case "description": if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - odrd.LinkedServiceName = &linkedServiceName + ols.Description = &description } case "parameters": if v != nil { @@ -98541,7 +124270,7 @@ func (odrd *ODataResourceDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - odrd.Parameters = parameters + ols.Parameters = parameters } case "annotations": if v != nil { @@ -98550,25 +124279,16 @@ func (odrd *ODataResourceDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - odrd.Annotations = &annotations - } - case "folder": - if v != nil { - var folder DatasetFolder - err = json.Unmarshal(*v, &folder) - if err != nil { - return err - } - odrd.Folder = &folder + ols.Annotations = &annotations } case "type": if v != nil { - var typeVar TypeBasicDataset + var typeVar TypeBasicLinkedService err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - odrd.Type = typeVar + ols.Type = typeVar } } } @@ -98576,16 +124296,32 @@ func (odrd *ODataResourceDataset) UnmarshalJSON(body []byte) error { return nil } -// ODataResourceDatasetTypeProperties oData dataset properties. -type ODataResourceDatasetTypeProperties struct { - // Path - The OData resource path. Type: string (or Expression with resultType string). - Path interface{} `json:"path,omitempty"` +// OracleLinkedServiceTypeProperties oracle database linked service properties. +type OracleLinkedServiceTypeProperties struct { + // ConnectionString - The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + ConnectionString interface{} `json:"connectionString,omitempty"` + // Password - The Azure key vault secret reference of password in connection string. + Password *AzureKeyVaultSecretReference `json:"password,omitempty"` + // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` } -// OdbcLinkedService open Database Connectivity (ODBC) linked service. -type OdbcLinkedService struct { - // OdbcLinkedServiceTypeProperties - ODBC linked service properties. - *OdbcLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// OraclePartitionSettings the settings that will be leveraged for Oracle source partitioning. +type OraclePartitionSettings struct { + // PartitionNames - Names of the physical partitions of Oracle table. + PartitionNames interface{} `json:"partitionNames,omitempty"` + // PartitionColumnName - The name of the column in integer type that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). + PartitionColumnName interface{} `json:"partitionColumnName,omitempty"` + // PartitionUpperBound - The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). + PartitionUpperBound interface{} `json:"partitionUpperBound,omitempty"` + // PartitionLowerBound - The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). + PartitionLowerBound interface{} `json:"partitionLowerBound,omitempty"` +} + +// OracleServiceCloudLinkedService oracle Service Cloud linked service. +type OracleServiceCloudLinkedService struct { + // OracleServiceCloudLinkedServiceTypeProperties - Oracle Service Cloud linked service properties. + *OracleServiceCloudLinkedServiceTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // ConnectVia - The integration runtime reference. @@ -98596,470 +124332,500 @@ type OdbcLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for OdbcLinkedService. -func (ols OdbcLinkedService) MarshalJSON() ([]byte, error) { - ols.Type = TypeOdbc +// MarshalJSON is the custom marshaler for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) MarshalJSON() ([]byte, error) { + oscls.Type = TypeOracleServiceCloud objectMap := make(map[string]interface{}) - if ols.OdbcLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = ols.OdbcLinkedServiceTypeProperties + if oscls.OracleServiceCloudLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = oscls.OracleServiceCloudLinkedServiceTypeProperties } - if ols.ConnectVia != nil { - objectMap["connectVia"] = ols.ConnectVia + if oscls.ConnectVia != nil { + objectMap["connectVia"] = oscls.ConnectVia } - if ols.Description != nil { - objectMap["description"] = ols.Description + if oscls.Description != nil { + objectMap["description"] = oscls.Description } - if ols.Parameters != nil { - objectMap["parameters"] = ols.Parameters + if oscls.Parameters != nil { + objectMap["parameters"] = oscls.Parameters } - if ols.Annotations != nil { - objectMap["annotations"] = ols.Annotations + if oscls.Annotations != nil { + objectMap["annotations"] = oscls.Annotations } - if ols.Type != "" { - objectMap["type"] = ols.Type + if oscls.Type != "" { + objectMap["type"] = oscls.Type } - for k, v := range ols.AdditionalProperties { + for k, v := range oscls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsSapTableLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { + return &oscls, true +} + +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { - return &ols, true +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &ols, true +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for OdbcLinkedService struct. -func (ols *OdbcLinkedService) UnmarshalJSON(body []byte) error { +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &oscls, true +} + +// UnmarshalJSON is the custom unmarshaler for OracleServiceCloudLinkedService struct. +func (oscls *OracleServiceCloudLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -99069,12 +124835,12 @@ func (ols *OdbcLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var odbcLinkedServiceTypeProperties OdbcLinkedServiceTypeProperties - err = json.Unmarshal(*v, &odbcLinkedServiceTypeProperties) + var oracleServiceCloudLinkedServiceTypeProperties OracleServiceCloudLinkedServiceTypeProperties + err = json.Unmarshal(*v, &oracleServiceCloudLinkedServiceTypeProperties) if err != nil { return err } - ols.OdbcLinkedServiceTypeProperties = &odbcLinkedServiceTypeProperties + oscls.OracleServiceCloudLinkedServiceTypeProperties = &oracleServiceCloudLinkedServiceTypeProperties } default: if v != nil { @@ -99083,10 +124849,10 @@ func (ols *OdbcLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if ols.AdditionalProperties == nil { - ols.AdditionalProperties = make(map[string]interface{}) + if oscls.AdditionalProperties == nil { + oscls.AdditionalProperties = make(map[string]interface{}) } - ols.AdditionalProperties[k] = additionalProperties + oscls.AdditionalProperties[k] = additionalProperties } case "connectVia": if v != nil { @@ -99095,7 +124861,7 @@ func (ols *OdbcLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - ols.ConnectVia = &connectVia + oscls.ConnectVia = &connectVia } case "description": if v != nil { @@ -99104,7 +124870,7 @@ func (ols *OdbcLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - ols.Description = &description + oscls.Description = &description } case "parameters": if v != nil { @@ -99113,7 +124879,7 @@ func (ols *OdbcLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - ols.Parameters = parameters + oscls.Parameters = parameters } case "annotations": if v != nil { @@ -99122,7 +124888,7 @@ func (ols *OdbcLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - ols.Annotations = &annotations + oscls.Annotations = &annotations } case "type": if v != nil { @@ -99131,7 +124897,7 @@ func (ols *OdbcLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - ols.Type = typeVar + oscls.Type = typeVar } } } @@ -99139,24 +124905,26 @@ func (ols *OdbcLinkedService) UnmarshalJSON(body []byte) error { return nil } -// OdbcLinkedServiceTypeProperties ODBC linked service properties. -type OdbcLinkedServiceTypeProperties struct { - // ConnectionString - The non-access credential portion of the connection string as well as an optional encrypted credential. Type: string, SecureString or AzureKeyVaultSecretReference. - ConnectionString interface{} `json:"connectionString,omitempty"` - // AuthenticationType - Type of authentication used to connect to the ODBC data store. Possible values are: Anonymous and Basic. Type: string (or Expression with resultType string). - AuthenticationType interface{} `json:"authenticationType,omitempty"` - // Credential - The access credential portion of the connection string specified in driver-specific property-value format. - Credential BasicSecretBase `json:"credential,omitempty"` - // UserName - User name for Basic authentication. Type: string (or Expression with resultType string). - UserName interface{} `json:"userName,omitempty"` - // Password - Password for Basic authentication. +// OracleServiceCloudLinkedServiceTypeProperties oracle Service Cloud linked service properties. +type OracleServiceCloudLinkedServiceTypeProperties struct { + // Host - The URL of the Oracle Service Cloud instance. + Host interface{} `json:"host,omitempty"` + // Username - The user name that you use to access Oracle Service Cloud server. + Username interface{} `json:"username,omitempty"` + // Password - The password corresponding to the user name that you provided in the username key. Password BasicSecretBase `json:"password,omitempty"` + // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. Type: boolean (or Expression with resultType boolean). + UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"` + // UseHostVerification - 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). + UseHostVerification interface{} `json:"useHostVerification,omitempty"` + // UsePeerVerification - 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). + UsePeerVerification interface{} `json:"usePeerVerification,omitempty"` // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` } -// UnmarshalJSON is the custom unmarshaler for OdbcLinkedServiceTypeProperties struct. -func (olstp *OdbcLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for OracleServiceCloudLinkedServiceTypeProperties struct. +func (osclstp *OracleServiceCloudLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -99164,48 +124932,58 @@ func (olstp *OdbcLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "connectionString": + case "host": if v != nil { - var connectionString interface{} - err = json.Unmarshal(*v, &connectionString) + var host interface{} + err = json.Unmarshal(*v, &host) if err != nil { return err } - olstp.ConnectionString = connectionString + osclstp.Host = host } - case "authenticationType": + case "username": if v != nil { - var authenticationType interface{} - err = json.Unmarshal(*v, &authenticationType) + var username interface{} + err = json.Unmarshal(*v, &username) if err != nil { return err } - olstp.AuthenticationType = authenticationType + osclstp.Username = username } - case "credential": + case "password": if v != nil { - credential, err := unmarshalBasicSecretBase(*v) + password, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - olstp.Credential = credential + osclstp.Password = password } - case "userName": + case "useEncryptedEndpoints": if v != nil { - var userName interface{} - err = json.Unmarshal(*v, &userName) + var useEncryptedEndpoints interface{} + err = json.Unmarshal(*v, &useEncryptedEndpoints) if err != nil { return err } - olstp.UserName = userName + osclstp.UseEncryptedEndpoints = useEncryptedEndpoints } - case "password": + case "useHostVerification": if v != nil { - password, err := unmarshalBasicSecretBase(*v) + var useHostVerification interface{} + err = json.Unmarshal(*v, &useHostVerification) if err != nil { return err } - olstp.Password = password + osclstp.UseHostVerification = useHostVerification + } + case "usePeerVerification": + if v != nil { + var usePeerVerification interface{} + err = json.Unmarshal(*v, &usePeerVerification) + if err != nil { + return err + } + osclstp.UsePeerVerification = usePeerVerification } case "encryptedCredential": if v != nil { @@ -99214,7 +124992,7 @@ func (olstp *OdbcLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { if err != nil { return err } - olstp.EncryptedCredential = encryptedCredential + osclstp.EncryptedCredential = encryptedCredential } } } @@ -99222,174 +125000,469 @@ func (olstp *OdbcLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { return nil } -// OdbcSink a copy activity ODBC sink. -type OdbcSink struct { - // PreCopyScript - A query to execute before starting the copy. Type: string (or Expression with resultType string). - PreCopyScript interface{} `json:"preCopyScript,omitempty"` +// OracleServiceCloudObjectDataset oracle Service Cloud dataset. +type OracleServiceCloudObjectDataset struct { + // GenericDatasetTypeProperties - Properties specific to this dataset type. + *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - WriteBatchSize interface{} `json:"writeBatchSize,omitempty"` - // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"` - // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer). - SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"` - // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeDelimitedTextSink' - Type TypeBasicCopySink `json:"type,omitempty"` + // Description - Dataset description. + Description *string `json:"description,omitempty"` + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for OdbcSink. -func (osVar OdbcSink) MarshalJSON() ([]byte, error) { - osVar.Type = TypeOdbcSink +// MarshalJSON is the custom marshaler for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) MarshalJSON() ([]byte, error) { + oscod.Type = TypeOracleServiceCloudObject objectMap := make(map[string]interface{}) - if osVar.PreCopyScript != nil { - objectMap["preCopyScript"] = osVar.PreCopyScript + if oscod.GenericDatasetTypeProperties != nil { + objectMap["typeProperties"] = oscod.GenericDatasetTypeProperties } - if osVar.WriteBatchSize != nil { - objectMap["writeBatchSize"] = osVar.WriteBatchSize + if oscod.Description != nil { + objectMap["description"] = oscod.Description } - if osVar.WriteBatchTimeout != nil { - objectMap["writeBatchTimeout"] = osVar.WriteBatchTimeout + if oscod.Structure != nil { + objectMap["structure"] = oscod.Structure } - if osVar.SinkRetryCount != nil { - objectMap["sinkRetryCount"] = osVar.SinkRetryCount + if oscod.Schema != nil { + objectMap["schema"] = oscod.Schema } - if osVar.SinkRetryWait != nil { - objectMap["sinkRetryWait"] = osVar.SinkRetryWait + if oscod.LinkedServiceName != nil { + objectMap["linkedServiceName"] = oscod.LinkedServiceName } - if osVar.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = osVar.MaxConcurrentConnections + if oscod.Parameters != nil { + objectMap["parameters"] = oscod.Parameters } - if osVar.Type != "" { - objectMap["type"] = osVar.Type + if oscod.Annotations != nil { + objectMap["annotations"] = oscod.Annotations } - for k, v := range osVar.AdditionalProperties { + if oscod.Folder != nil { + objectMap["folder"] = oscod.Folder + } + if oscod.Type != "" { + objectMap["type"] = oscod.Type + } + for k, v := range oscod.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for OdbcSink. -func (osVar OdbcSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsSalesforceSink is the BasicCopySink implementation for OdbcSink. -func (osVar OdbcSink) AsSalesforceSink() (*SalesforceSink, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsAzureDataExplorerSink is the BasicCopySink implementation for OdbcSink. -func (osVar OdbcSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { + return &oscod, true +} + +// AsDynamicsAXResourceDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { + return nil, false +} + +// AsResponsysObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { + return nil, false +} + +// AsVerticaTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false +} + +// AsNetezzaTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false +} + +// AsZohoObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { + return nil, false +} + +// AsXeroObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { + return nil, false +} + +// AsSquareObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { + return nil, false +} + +// AsSparkObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { + return nil, false +} + +// AsShopifyObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { + return nil, false +} + +// AsServiceNowObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { + return nil, false +} + +// AsQuickBooksObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { + return nil, false +} + +// AsPrestoObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { + return nil, false +} + +// AsPhoenixObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { + return nil, false +} + +// AsPaypalObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { + return nil, false +} + +// AsMarketoObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { + return nil, false +} + +// AsMariaDBTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { + return nil, false +} + +// AsMagentoObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { + return nil, false +} + +// AsJiraObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { + return nil, false +} + +// AsImpalaObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { + return nil, false +} + +// AsHubspotObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { + return nil, false +} + +// AsHiveObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { + return nil, false +} + +// AsHBaseObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { + return nil, false +} + +// AsGreenplumTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { + return nil, false +} + +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { + return nil, false +} + +// AsEloquaObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { + return nil, false +} + +// AsDrillTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { + return nil, false +} + +// AsCouchbaseTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { + return nil, false +} + +// AsConcurObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { + return nil, false +} + +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { + return nil, false +} + +// AsAmazonMWSObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { + return nil, false +} + +// AsHTTPDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { + return nil, false +} + +// AsAzureSearchIndexDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { + return nil, false +} + +// AsWebTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { + return nil, false +} + +// AsSapTableResourceDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { + return nil, false +} + +// AsRestResourceDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { + return nil, false +} + +// AsSQLServerTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { + return nil, false +} + +// AsSapOpenHubTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { + return nil, false +} + +// AsSapHanaTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { + return nil, false +} + +// AsSapEccResourceDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { + return nil, false +} + +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { + return nil, false +} + +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { + return nil, false +} + +// AsSalesforceObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { + return nil, false +} + +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { + return nil, false +} + +// AsPostgreSQLTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { + return nil, false +} + +// AsMySQLTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { + return nil, false +} + +// AsOdbcTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { + return nil, false +} + +// AsInformixTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { + return nil, false +} + +// AsRelationalTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { + return nil, false +} + +// AsAzureMySQLTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { + return nil, false +} + +// AsTeradataTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { + return nil, false +} + +// AsOracleTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { + return nil, false +} + +// AsODataResourceDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { + return nil, false +} + +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { + return nil, false +} + +// AsMongoDbCollectionDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { + return nil, false +} + +// AsFileShareDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsDynamicsSink is the BasicCopySink implementation for OdbcSink. -func (osVar OdbcSink) AsDynamicsSink() (*DynamicsSink, bool) { +// AsOffice365Dataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsOdbcSink is the BasicCopySink implementation for OdbcSink. -func (osVar OdbcSink) AsOdbcSink() (*OdbcSink, bool) { - return &osVar, true +// AsAzureBlobFSDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { + return nil, false } -// AsAzureSearchIndexSink is the BasicCopySink implementation for OdbcSink. -func (osVar OdbcSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsAzureBlobFSSink is the BasicCopySink implementation for OdbcSink. -func (osVar OdbcSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsAzureDataLakeStoreSink is the BasicCopySink implementation for OdbcSink. -func (osVar OdbcSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsOracleSink is the BasicCopySink implementation for OdbcSink. -func (osVar OdbcSink) AsOracleSink() (*OracleSink, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsSQLDWSink is the BasicCopySink implementation for OdbcSink. -func (osVar OdbcSink) AsSQLDWSink() (*SQLDWSink, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsAzureSQLSink is the BasicCopySink implementation for OdbcSink. -func (osVar OdbcSink) AsAzureSQLSink() (*AzureSQLSink, bool) { +// AsCustomDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsSQLServerSink is the BasicCopySink implementation for OdbcSink. -func (osVar OdbcSink) AsSQLServerSink() (*SQLServerSink, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsSQLSink is the BasicCopySink implementation for OdbcSink. -func (osVar OdbcSink) AsSQLSink() (*SQLSink, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsDocumentDbCollectionSink is the BasicCopySink implementation for OdbcSink. -func (osVar OdbcSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsFileSystemSink is the BasicCopySink implementation for OdbcSink. -func (osVar OdbcSink) AsFileSystemSink() (*FileSystemSink, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsBlobSink is the BasicCopySink implementation for OdbcSink. -func (osVar OdbcSink) AsBlobSink() (*BlobSink, bool) { +// AsAzureTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsParquetSink is the BasicCopySink implementation for OdbcSink. -func (osVar OdbcSink) AsParquetSink() (*ParquetSink, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsAzureTableSink is the BasicCopySink implementation for OdbcSink. -func (osVar OdbcSink) AsAzureTableSink() (*AzureTableSink, bool) { +// AsBinaryDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsAzureQueueSink is the BasicCopySink implementation for OdbcSink. -func (osVar OdbcSink) AsAzureQueueSink() (*AzureQueueSink, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsSapCloudForCustomerSink is the BasicCopySink implementation for OdbcSink. -func (osVar OdbcSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { +// AsParquetDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } -// AsDelimitedTextSink is the BasicCopySink implementation for OdbcSink. -func (osVar OdbcSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { +// AsAmazonS3Dataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false } -// AsCopySink is the BasicCopySink implementation for OdbcSink. -func (osVar OdbcSink) AsCopySink() (*CopySink, bool) { +// AsDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsDataset() (*Dataset, bool) { return nil, false } -// AsBasicCopySink is the BasicCopySink implementation for OdbcSink. -func (osVar OdbcSink) AsBasicCopySink() (BasicCopySink, bool) { - return &osVar, true +// AsBasicDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsBasicDataset() (BasicDataset, bool) { + return &oscod, true } -// UnmarshalJSON is the custom unmarshaler for OdbcSink struct. -func (osVar *OdbcSink) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for OracleServiceCloudObjectDataset struct. +func (oscod *OracleServiceCloudObjectDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -99397,14 +125470,14 @@ func (osVar *OdbcSink) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "preCopyScript": + case "typeProperties": if v != nil { - var preCopyScript interface{} - err = json.Unmarshal(*v, &preCopyScript) + var genericDatasetTypeProperties GenericDatasetTypeProperties + err = json.Unmarshal(*v, &genericDatasetTypeProperties) if err != nil { return err } - osVar.PreCopyScript = preCopyScript + oscod.GenericDatasetTypeProperties = &genericDatasetTypeProperties } default: if v != nil { @@ -99413,64 +125486,82 @@ func (osVar *OdbcSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - if osVar.AdditionalProperties == nil { - osVar.AdditionalProperties = make(map[string]interface{}) + if oscod.AdditionalProperties == nil { + oscod.AdditionalProperties = make(map[string]interface{}) } - osVar.AdditionalProperties[k] = additionalProperties + oscod.AdditionalProperties[k] = additionalProperties } - case "writeBatchSize": + case "description": if v != nil { - var writeBatchSize interface{} - err = json.Unmarshal(*v, &writeBatchSize) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - osVar.WriteBatchSize = writeBatchSize + oscod.Description = &description } - case "writeBatchTimeout": + case "structure": if v != nil { - var writeBatchTimeout interface{} - err = json.Unmarshal(*v, &writeBatchTimeout) + var structure interface{} + err = json.Unmarshal(*v, &structure) if err != nil { return err } - osVar.WriteBatchTimeout = writeBatchTimeout + oscod.Structure = structure } - case "sinkRetryCount": + case "schema": if v != nil { - var sinkRetryCount interface{} - err = json.Unmarshal(*v, &sinkRetryCount) + var schema interface{} + err = json.Unmarshal(*v, &schema) if err != nil { return err } - osVar.SinkRetryCount = sinkRetryCount + oscod.Schema = schema } - case "sinkRetryWait": + case "linkedServiceName": if v != nil { - var sinkRetryWait interface{} - err = json.Unmarshal(*v, &sinkRetryWait) + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) if err != nil { return err } - osVar.SinkRetryWait = sinkRetryWait + oscod.LinkedServiceName = &linkedServiceName } - case "maxConcurrentConnections": + case "parameters": if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - osVar.MaxConcurrentConnections = maxConcurrentConnections + oscod.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + oscod.Annotations = &annotations + } + case "folder": + if v != nil { + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) + if err != nil { + return err + } + oscod.Folder = &folder } case "type": if v != nil { - var typeVar TypeBasicCopySink + var typeVar TypeBasicDataset err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - osVar.Type = typeVar + oscod.Type = typeVar } } } @@ -99478,414 +125569,459 @@ func (osVar *OdbcSink) UnmarshalJSON(body []byte) error { return nil } -// Office365Dataset the Office365 account. -type Office365Dataset struct { - // Office365DatasetTypeProperties - Office365 dataset properties. - *Office365DatasetTypeProperties `json:"typeProperties,omitempty"` +// OracleServiceCloudSource a copy activity Oracle Service Cloud source. +type OracleServiceCloudSource struct { + // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). + Query interface{} `json:"query,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Description - Dataset description. - Description *string `json:"description,omitempty"` - // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. - Structure interface{} `json:"structure,omitempty"` - // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - Schema interface{} `json:"schema,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Parameters - Parameters for dataset. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the Dataset. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' - Type TypeBasicDataset `json:"type,omitempty"` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for Office365Dataset. -func (o3d Office365Dataset) MarshalJSON() ([]byte, error) { - o3d.Type = TypeOffice365Table +// MarshalJSON is the custom marshaler for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) MarshalJSON() ([]byte, error) { + oscs.Type = TypeOracleServiceCloudSource objectMap := make(map[string]interface{}) - if o3d.Office365DatasetTypeProperties != nil { - objectMap["typeProperties"] = o3d.Office365DatasetTypeProperties - } - if o3d.Description != nil { - objectMap["description"] = o3d.Description - } - if o3d.Structure != nil { - objectMap["structure"] = o3d.Structure - } - if o3d.Schema != nil { - objectMap["schema"] = o3d.Schema - } - if o3d.LinkedServiceName != nil { - objectMap["linkedServiceName"] = o3d.LinkedServiceName + if oscs.Query != nil { + objectMap["query"] = oscs.Query } - if o3d.Parameters != nil { - objectMap["parameters"] = o3d.Parameters + if oscs.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = oscs.SourceRetryCount } - if o3d.Annotations != nil { - objectMap["annotations"] = o3d.Annotations + if oscs.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = oscs.SourceRetryWait } - if o3d.Folder != nil { - objectMap["folder"] = o3d.Folder + if oscs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = oscs.MaxConcurrentConnections } - if o3d.Type != "" { - objectMap["type"] = o3d.Type + if oscs.Type != "" { + objectMap["type"] = oscs.Type } - for k, v := range o3d.AdditionalProperties { + for k, v := range oscs.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { + return &oscs, true +} + +// AsDynamicsAXSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsResponsysSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsVerticaSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsNetezzaSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsZohoSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsXeroSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsSquareSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsSparkSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsShopifySource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsServiceNowSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsPrestoSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsPhoenixSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsPaypalSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsMarketoSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsMariaDBSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsMagentoSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsJiraSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsImpalaSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsHubspotSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsHiveSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsHBaseSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsGreenplumSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsEloquaSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsDrillSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsConcurSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsHTTPSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsOffice365Source is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsMongoDbSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsCassandraSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsWebSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsTeradataSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsOracleSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsHdfsSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsFileSystemSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsSQLDWSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsSQLMISource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsSQLServerSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsSQLSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsOffice365Dataset() (*Office365Dataset, bool) { - return &o3d, true +// AsRestSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsRestSource() (*RestSource, bool) { + return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsSapTableSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsSapHanaSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsSapEccSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsCustomDataset() (*CustomDataset, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsSalesforceSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsODataSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsSybaseSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsMySQLSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsOdbcSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsDb2Source is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsDataset() (*Dataset, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for Office365Dataset. -func (o3d Office365Dataset) AsBasicDataset() (BasicDataset, bool) { - return &o3d, true +// AsInformixSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsInformixSource() (*InformixSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for Office365Dataset struct. -func (o3d *Office365Dataset) UnmarshalJSON(body []byte) error { +// AsRelationalSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + +// AsDynamicsSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + +// AsAzureTableSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsBinarySource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsDelimitedTextSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false +} + +// AsParquetSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsBasicCopySource() (BasicCopySource, bool) { + return &oscs, true +} + +// UnmarshalJSON is the custom unmarshaler for OracleServiceCloudSource struct. +func (oscs *OracleServiceCloudSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -99893,14 +126029,14 @@ func (o3d *Office365Dataset) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": + case "query": if v != nil { - var office365DatasetTypeProperties Office365DatasetTypeProperties - err = json.Unmarshal(*v, &office365DatasetTypeProperties) + var query interface{} + err = json.Unmarshal(*v, &query) if err != nil { return err } - o3d.Office365DatasetTypeProperties = &office365DatasetTypeProperties + oscs.Query = query } default: if v != nil { @@ -99909,82 +126045,342 @@ func (o3d *Office365Dataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if o3d.AdditionalProperties == nil { - o3d.AdditionalProperties = make(map[string]interface{}) + if oscs.AdditionalProperties == nil { + oscs.AdditionalProperties = make(map[string]interface{}) } - o3d.AdditionalProperties[k] = additionalProperties + oscs.AdditionalProperties[k] = additionalProperties } - case "description": + case "sourceRetryCount": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) if err != nil { return err } - o3d.Description = &description + oscs.SourceRetryCount = sourceRetryCount } - case "structure": + case "sourceRetryWait": if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) if err != nil { return err } - o3d.Structure = structure + oscs.SourceRetryWait = sourceRetryWait } - case "schema": + case "maxConcurrentConnections": if v != nil { - var schema interface{} - err = json.Unmarshal(*v, &schema) + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) if err != nil { return err } - o3d.Schema = schema + oscs.MaxConcurrentConnections = maxConcurrentConnections } - case "linkedServiceName": + case "type": if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) + var typeVar TypeBasicCopySource + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - o3d.LinkedServiceName = &linkedServiceName + oscs.Type = typeVar } - case "parameters": + } + } + + return nil +} + +// OracleSink a copy activity Oracle sink. +type OracleSink struct { + // PreCopyScript - SQL pre-copy script. Type: string (or Expression with resultType string). + PreCopyScript interface{} `json:"preCopyScript,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + WriteBatchSize interface{} `json:"writeBatchSize,omitempty"` + // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"` + // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer). + SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"` + // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink' + Type TypeBasicCopySink `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for OracleSink. +func (osVar OracleSink) MarshalJSON() ([]byte, error) { + osVar.Type = TypeOracleSink + objectMap := make(map[string]interface{}) + if osVar.PreCopyScript != nil { + objectMap["preCopyScript"] = osVar.PreCopyScript + } + if osVar.WriteBatchSize != nil { + objectMap["writeBatchSize"] = osVar.WriteBatchSize + } + if osVar.WriteBatchTimeout != nil { + objectMap["writeBatchTimeout"] = osVar.WriteBatchTimeout + } + if osVar.SinkRetryCount != nil { + objectMap["sinkRetryCount"] = osVar.SinkRetryCount + } + if osVar.SinkRetryWait != nil { + objectMap["sinkRetryWait"] = osVar.SinkRetryWait + } + if osVar.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = osVar.MaxConcurrentConnections + } + if osVar.Type != "" { + objectMap["type"] = osVar.Type + } + for k, v := range osVar.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { + return nil, false +} + +// AsSalesforceSink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsSalesforceSink() (*SalesforceSink, bool) { + return nil, false +} + +// AsAzureDataExplorerSink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { + return nil, false +} + +// AsDynamicsCrmSink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { + return nil, false +} + +// AsDynamicsSink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsDynamicsSink() (*DynamicsSink, bool) { + return nil, false +} + +// AsMicrosoftAccessSink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { + return nil, false +} + +// AsInformixSink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsInformixSink() (*InformixSink, bool) { + return nil, false +} + +// AsOdbcSink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsOdbcSink() (*OdbcSink, bool) { + return nil, false +} + +// AsAzureSearchIndexSink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { + return nil, false +} + +// AsAzureBlobFSSink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { + return nil, false +} + +// AsOracleSink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsOracleSink() (*OracleSink, bool) { + return &osVar, true +} + +// AsSQLDWSink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsSQLDWSink() (*SQLDWSink, bool) { + return nil, false +} + +// AsSQLMISink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsSQLMISink() (*SQLMISink, bool) { + return nil, false +} + +// AsAzureSQLSink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsAzureSQLSink() (*AzureSQLSink, bool) { + return nil, false +} + +// AsSQLServerSink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsSQLServerSink() (*SQLServerSink, bool) { + return nil, false +} + +// AsSQLSink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsSQLSink() (*SQLSink, bool) { + return nil, false +} + +// AsDocumentDbCollectionSink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { + return nil, false +} + +// AsFileSystemSink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsFileSystemSink() (*FileSystemSink, bool) { + return nil, false +} + +// AsBlobSink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsBlobSink() (*BlobSink, bool) { + return nil, false +} + +// AsBinarySink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsBinarySink() (*BinarySink, bool) { + return nil, false +} + +// AsParquetSink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsParquetSink() (*ParquetSink, bool) { + return nil, false +} + +// AsAzureTableSink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsAzureTableSink() (*AzureTableSink, bool) { + return nil, false +} + +// AsAzureQueueSink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsAzureQueueSink() (*AzureQueueSink, bool) { + return nil, false +} + +// AsSapCloudForCustomerSink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { + return nil, false +} + +// AsAzurePostgreSQLSink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { + return nil, false +} + +// AsDelimitedTextSink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { + return nil, false +} + +// AsCopySink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsCopySink() (*CopySink, bool) { + return nil, false +} + +// AsBasicCopySink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsBasicCopySink() (BasicCopySink, bool) { + return &osVar, true +} + +// UnmarshalJSON is the custom unmarshaler for OracleSink struct. +func (osVar *OracleSink) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "preCopyScript": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var preCopyScript interface{} + err = json.Unmarshal(*v, &preCopyScript) if err != nil { return err } - o3d.Parameters = parameters + osVar.PreCopyScript = preCopyScript } - case "annotations": + default: if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - o3d.Annotations = &annotations + if osVar.AdditionalProperties == nil { + osVar.AdditionalProperties = make(map[string]interface{}) + } + osVar.AdditionalProperties[k] = additionalProperties } - case "folder": + case "writeBatchSize": if v != nil { - var folder DatasetFolder - err = json.Unmarshal(*v, &folder) + var writeBatchSize interface{} + err = json.Unmarshal(*v, &writeBatchSize) if err != nil { return err } - o3d.Folder = &folder + osVar.WriteBatchSize = writeBatchSize + } + case "writeBatchTimeout": + if v != nil { + var writeBatchTimeout interface{} + err = json.Unmarshal(*v, &writeBatchTimeout) + if err != nil { + return err + } + osVar.WriteBatchTimeout = writeBatchTimeout + } + case "sinkRetryCount": + if v != nil { + var sinkRetryCount interface{} + err = json.Unmarshal(*v, &sinkRetryCount) + if err != nil { + return err + } + osVar.SinkRetryCount = sinkRetryCount + } + case "sinkRetryWait": + if v != nil { + var sinkRetryWait interface{} + err = json.Unmarshal(*v, &sinkRetryWait) + if err != nil { + return err + } + osVar.SinkRetryWait = sinkRetryWait + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + osVar.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicDataset + var typeVar TypeBasicCopySink err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - o3d.Type = typeVar + osVar.Type = typeVar } } } @@ -99992,492 +126388,474 @@ func (o3d *Office365Dataset) UnmarshalJSON(body []byte) error { return nil } -// Office365DatasetTypeProperties office365 dataset properties. -type Office365DatasetTypeProperties struct { - // TableName - Name of the dataset to extract from Office 365. Type: string (or Expression with resultType string). - TableName interface{} `json:"tableName,omitempty"` - // Predicate - A predicate expression that can be used to filter the specific rows to extract from Office 365. Type: string (or Expression with resultType string). - Predicate interface{} `json:"predicate,omitempty"` -} - -// Office365LinkedService office365 linked service. -type Office365LinkedService struct { - // Office365LinkedServiceTypeProperties - Office365 linked service properties. - *Office365LinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// OracleSource a copy activity Oracle source. +type OracleSource struct { + // OracleReaderQuery - Oracle reader query. Type: string (or Expression with resultType string). + OracleReaderQuery interface{} `json:"oracleReaderQuery,omitempty"` + // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // PartitionOption - The partition mechanism that will be used for Oracle read in parallel. Possible values include: 'OraclePartitionOptionNone', 'OraclePartitionOptionPhysicalPartitionsOfTable', 'OraclePartitionOptionDynamicRange' + PartitionOption OraclePartitionOption `json:"partitionOption,omitempty"` + // PartitionSettings - The settings that will be leveraged for Oracle source partitioning. + PartitionSettings *OraclePartitionSettings `json:"partitionSettings,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. - Description *string `json:"description,omitempty"` - // Parameters - Parameters for linked service. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the linked service. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for Office365LinkedService. -func (o3ls Office365LinkedService) MarshalJSON() ([]byte, error) { - o3ls.Type = TypeOffice365 +// MarshalJSON is the custom marshaler for OracleSource. +func (osVar OracleSource) MarshalJSON() ([]byte, error) { + osVar.Type = TypeOracleSource objectMap := make(map[string]interface{}) - if o3ls.Office365LinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = o3ls.Office365LinkedServiceTypeProperties + if osVar.OracleReaderQuery != nil { + objectMap["oracleReaderQuery"] = osVar.OracleReaderQuery } - if o3ls.ConnectVia != nil { - objectMap["connectVia"] = o3ls.ConnectVia + if osVar.QueryTimeout != nil { + objectMap["queryTimeout"] = osVar.QueryTimeout } - if o3ls.Description != nil { - objectMap["description"] = o3ls.Description + if osVar.PartitionOption != "" { + objectMap["partitionOption"] = osVar.PartitionOption } - if o3ls.Parameters != nil { - objectMap["parameters"] = o3ls.Parameters + if osVar.PartitionSettings != nil { + objectMap["partitionSettings"] = osVar.PartitionSettings } - if o3ls.Annotations != nil { - objectMap["annotations"] = o3ls.Annotations + if osVar.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = osVar.SourceRetryCount } - if o3ls.Type != "" { - objectMap["type"] = o3ls.Type + if osVar.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = osVar.SourceRetryWait } - for k, v := range o3ls.AdditionalProperties { + if osVar.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = osVar.MaxConcurrentConnections + } + if osVar.Type != "" { + objectMap["type"] = osVar.Type + } + for k, v := range osVar.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { - return nil, false -} - -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { - return nil, false -} - -// AsSapTableLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { - return nil, false -} - -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { - return nil, false -} - -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsResponsysSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsVerticaSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsNetezzaSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsZohoSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsXeroSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsSquareSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsSparkSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsShopifySource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsServiceNowSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsPrestoSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPhoenixSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPaypalSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsMarketoSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsMariaDBSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsMagentoSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsJiraSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsImpalaSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsHubspotSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsHiveSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHBaseSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsGreenplumSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsEloquaSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsDrillSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsConcurSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsHTTPSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsOffice365Source is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsMongoDbSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsCassandraSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsWebSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsTeradataSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { - return nil, false +// AsOracleSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsOracleSource() (*OracleSource, bool) { + return &osVar, true } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsHdfsSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsFileSystemSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { - return &o3ls, true +// AsSQLDWSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsSQLDWSource() (*SQLDWSource, bool) { + return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsSQLMISource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsSQLServerSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsSQLSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsRestSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsSapTableSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsSapHanaSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsSapEccSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsSalesforceSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsODataSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsSybaseSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsMySQLSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsOdbcSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsDb2Source is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsInformixSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsRelationalSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsDynamicsSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsBlobSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsAzureTableSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsBinarySource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsDelimitedTextSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsParquetSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsLinkedService() (*LinkedService, bool) { +// AsCopySource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsCopySource() (*CopySource, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for Office365LinkedService. -func (o3ls Office365LinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &o3ls, true +// AsBasicCopySource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsBasicCopySource() (BasicCopySource, bool) { + return &osVar, true } -// UnmarshalJSON is the custom unmarshaler for Office365LinkedService struct. -func (o3ls *Office365LinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for OracleSource struct. +func (osVar *OracleSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -100485,144 +126863,89 @@ func (o3ls *Office365LinkedService) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": - if v != nil { - var office365LinkedServiceTypeProperties Office365LinkedServiceTypeProperties - err = json.Unmarshal(*v, &office365LinkedServiceTypeProperties) - if err != nil { - return err - } - o3ls.Office365LinkedServiceTypeProperties = &office365LinkedServiceTypeProperties - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if o3ls.AdditionalProperties == nil { - o3ls.AdditionalProperties = make(map[string]interface{}) - } - o3ls.AdditionalProperties[k] = additionalProperties - } - case "connectVia": + case "oracleReaderQuery": if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) + var oracleReaderQuery interface{} + err = json.Unmarshal(*v, &oracleReaderQuery) if err != nil { return err } - o3ls.ConnectVia = &connectVia + osVar.OracleReaderQuery = oracleReaderQuery } - case "description": + case "queryTimeout": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) if err != nil { return err } - o3ls.Description = &description + osVar.QueryTimeout = queryTimeout } - case "parameters": + case "partitionOption": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var partitionOption OraclePartitionOption + err = json.Unmarshal(*v, &partitionOption) if err != nil { return err } - o3ls.Parameters = parameters + osVar.PartitionOption = partitionOption } - case "annotations": + case "partitionSettings": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var partitionSettings OraclePartitionSettings + err = json.Unmarshal(*v, &partitionSettings) if err != nil { return err } - o3ls.Annotations = &annotations + osVar.PartitionSettings = &partitionSettings } - case "type": + default: if v != nil { - var typeVar TypeBasicLinkedService - err = json.Unmarshal(*v, &typeVar) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - o3ls.Type = typeVar - } - } - } - - return nil -} - -// Office365LinkedServiceTypeProperties office365 linked service properties. -type Office365LinkedServiceTypeProperties struct { - // Office365TenantID - Azure tenant ID to which the Office 365 account belongs. Type: string (or Expression with resultType string). - Office365TenantID interface{} `json:"office365TenantId,omitempty"` - // ServicePrincipalTenantID - Specify the tenant information under which your Azure AD web application resides. Type: string (or Expression with resultType string). - ServicePrincipalTenantID interface{} `json:"servicePrincipalTenantId,omitempty"` - // ServicePrincipalID - Specify the application's client ID. Type: string (or Expression with resultType string). - ServicePrincipalID interface{} `json:"servicePrincipalId,omitempty"` - // ServicePrincipalKey - Specify the application's key. - ServicePrincipalKey BasicSecretBase `json:"servicePrincipalKey,omitempty"` - // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). - EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` -} - -// UnmarshalJSON is the custom unmarshaler for Office365LinkedServiceTypeProperties struct. -func (o3lstp *Office365LinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "office365TenantId": - if v != nil { - var office365TenantID interface{} - err = json.Unmarshal(*v, &office365TenantID) - if err != nil { - return err + if osVar.AdditionalProperties == nil { + osVar.AdditionalProperties = make(map[string]interface{}) } - o3lstp.Office365TenantID = office365TenantID + osVar.AdditionalProperties[k] = additionalProperties } - case "servicePrincipalTenantId": + case "sourceRetryCount": if v != nil { - var servicePrincipalTenantID interface{} - err = json.Unmarshal(*v, &servicePrincipalTenantID) + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) if err != nil { return err } - o3lstp.ServicePrincipalTenantID = servicePrincipalTenantID + osVar.SourceRetryCount = sourceRetryCount } - case "servicePrincipalId": + case "sourceRetryWait": if v != nil { - var servicePrincipalID interface{} - err = json.Unmarshal(*v, &servicePrincipalID) + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) if err != nil { return err } - o3lstp.ServicePrincipalID = servicePrincipalID + osVar.SourceRetryWait = sourceRetryWait } - case "servicePrincipalKey": + case "maxConcurrentConnections": if v != nil { - servicePrincipalKey, err := unmarshalBasicSecretBase(*v) + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) if err != nil { return err } - o3lstp.ServicePrincipalKey = servicePrincipalKey + osVar.MaxConcurrentConnections = maxConcurrentConnections } - case "encryptedCredential": + case "type": if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) + var typeVar TypeBasicCopySource + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - o3lstp.EncryptedCredential = encryptedCredential + osVar.Type = typeVar } } } @@ -100630,384 +126953,469 @@ func (o3lstp *Office365LinkedServiceTypeProperties) UnmarshalJSON(body []byte) e return nil } -// Office365Source a copy activity source for an Office365 service. -type Office365Source struct { +// OracleTableDataset the on-premises Oracle database dataset. +type OracleTableDataset struct { + // OracleTableDatasetTypeProperties - On-premises Oracle dataset properties. + *OracleTableDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). - SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` - // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' - Type TypeBasicCopySource `json:"type,omitempty"` + // Description - Dataset description. + Description *string `json:"description,omitempty"` + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for Office365Source. -func (o3s Office365Source) MarshalJSON() ([]byte, error) { - o3s.Type = TypeOffice365Source +// MarshalJSON is the custom marshaler for OracleTableDataset. +func (otd OracleTableDataset) MarshalJSON() ([]byte, error) { + otd.Type = TypeOracleTable objectMap := make(map[string]interface{}) - if o3s.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = o3s.SourceRetryCount + if otd.OracleTableDatasetTypeProperties != nil { + objectMap["typeProperties"] = otd.OracleTableDatasetTypeProperties } - if o3s.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = o3s.SourceRetryWait + if otd.Description != nil { + objectMap["description"] = otd.Description } - if o3s.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = o3s.MaxConcurrentConnections + if otd.Structure != nil { + objectMap["structure"] = otd.Structure } - if o3s.Type != "" { - objectMap["type"] = o3s.Type + if otd.Schema != nil { + objectMap["schema"] = otd.Schema } - for k, v := range o3s.AdditionalProperties { + if otd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = otd.LinkedServiceName + } + if otd.Parameters != nil { + objectMap["parameters"] = otd.Parameters + } + if otd.Annotations != nil { + objectMap["annotations"] = otd.Annotations + } + if otd.Folder != nil { + objectMap["folder"] = otd.Folder + } + if otd.Type != "" { + objectMap["type"] = otd.Type + } + for k, v := range otd.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsResponsysSource() (*ResponsysSource, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsVerticaSource() (*VerticaSource, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsNetezzaSource() (*NetezzaSource, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsZohoSource() (*ZohoSource, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsXeroSource() (*XeroSource, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsSquareSource() (*SquareSource, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsSparkSource() (*SparkSource, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsShopifySource() (*ShopifySource, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsPrestoSource() (*PrestoSource, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsPhoenixSource() (*PhoenixSource, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsPaypalSource() (*PaypalSource, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsMarketoSource() (*MarketoSource, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsMariaDBSource() (*MariaDBSource, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsMagentoSource() (*MagentoSource, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsJiraSource() (*JiraSource, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsImpalaSource() (*ImpalaSource, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsHubspotSource() (*HubspotSource, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsHiveSource() (*HiveSource, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsHBaseSource() (*HBaseSource, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsGreenplumSource() (*GreenplumSource, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsEloquaSource() (*EloquaSource, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsDrillSource() (*DrillSource, bool) { +// AsDrillTableDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsConcurSource() (*ConcurSource, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsHTTPSource() (*HTTPSource, bool) { +// AsHTTPDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsWebTableDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsOffice365Source() (*Office365Source, bool) { - return &o3s, true +// AsSapTableResourceDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { + return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsRestResourceDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsMongoDbSource() (*MongoDbSource, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsCassandraSource() (*CassandraSource, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsWebSource() (*WebSource, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsOracleSource() (*OracleSource, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsHdfsSource() (*HdfsSource, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsFileSystemSource() (*FileSystemSource, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsSQLDWSource() (*SQLDWSource, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsSQLServerSource() (*SQLServerSource, bool) { +// AsInformixTableDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsSQLSource() (*SQLSource, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsRestSource() (*RestSource, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsSapTableSource() (*SapTableSource, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsOracleTableDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { + return &otd, true +} + +// AsODataResourceDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsSapHanaSource() (*SapHanaSource, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsSapEccSource() (*SapEccSource, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsSalesforceSource() (*SalesforceSource, bool) { +// AsFileShareDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsRelationalSource() (*RelationalSource, bool) { +// AsOffice365Dataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsDynamicsSource() (*DynamicsSource, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsBlobSource() (*BlobSource, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsAzureTableSource() (*AzureTableSource, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsParquetSource() (*ParquetSource, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsCopySource() (*CopySource, bool) { +// AsCustomDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsBasicCopySource() (BasicCopySource, bool) { - return &o3s, true +// AsCassandraTableDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for Office365Source struct. -func (o3s *Office365Source) UnmarshalJSON(body []byte) error { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { + return nil, false +} + +// AsAzureSQLMITableDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + +// AsAzureSQLTableDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { + return nil, false +} + +// AsAzureTableDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { + return nil, false +} + +// AsAzureBlobDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { + return nil, false +} + +// AsBinaryDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + +// AsDelimitedTextDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { + return nil, false +} + +// AsParquetDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsBasicDataset() (BasicDataset, bool) { + return &otd, true +} + +// UnmarshalJSON is the custom unmarshaler for OracleTableDataset struct. +func (otd *OracleTableDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -101015,6 +127423,15 @@ func (o3s *Office365Source) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { + case "typeProperties": + if v != nil { + var oracleTableDatasetTypeProperties OracleTableDatasetTypeProperties + err = json.Unmarshal(*v, &oracleTableDatasetTypeProperties) + if err != nil { + return err + } + otd.OracleTableDatasetTypeProperties = &oracleTableDatasetTypeProperties + } default: if v != nil { var additionalProperties interface{} @@ -101022,46 +127439,82 @@ func (o3s *Office365Source) UnmarshalJSON(body []byte) error { if err != nil { return err } - if o3s.AdditionalProperties == nil { - o3s.AdditionalProperties = make(map[string]interface{}) + if otd.AdditionalProperties == nil { + otd.AdditionalProperties = make(map[string]interface{}) } - o3s.AdditionalProperties[k] = additionalProperties + otd.AdditionalProperties[k] = additionalProperties } - case "sourceRetryCount": + case "description": if v != nil { - var sourceRetryCount interface{} - err = json.Unmarshal(*v, &sourceRetryCount) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - o3s.SourceRetryCount = sourceRetryCount + otd.Description = &description } - case "sourceRetryWait": + case "structure": if v != nil { - var sourceRetryWait interface{} - err = json.Unmarshal(*v, &sourceRetryWait) + var structure interface{} + err = json.Unmarshal(*v, &structure) if err != nil { return err } - o3s.SourceRetryWait = sourceRetryWait + otd.Structure = structure } - case "maxConcurrentConnections": + case "schema": if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) + var schema interface{} + err = json.Unmarshal(*v, &schema) if err != nil { return err } - o3s.MaxConcurrentConnections = maxConcurrentConnections + otd.Schema = schema + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + otd.LinkedServiceName = &linkedServiceName + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + otd.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + otd.Annotations = &annotations + } + case "folder": + if v != nil { + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) + if err != nil { + return err + } + otd.Folder = &folder } case "type": if v != nil { - var typeVar TypeBasicCopySource + var typeVar TypeBasicDataset err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - o3s.Type = typeVar + otd.Type = typeVar } } } @@ -101069,38 +127522,80 @@ func (o3s *Office365Source) UnmarshalJSON(body []byte) error { return nil } -// Operation azure Data Factory API operation definition. -type Operation struct { - // Name - Operation name: {provider}/{resource}/{operation} - Name *string `json:"name,omitempty"` - // Origin - The intended executor of the operation. - Origin *string `json:"origin,omitempty"` - // Display - Metadata associated with the operation. - Display *OperationDisplay `json:"display,omitempty"` - // OperationProperties - Additional details about the operation. - *OperationProperties `json:"properties,omitempty"` +// OracleTableDatasetTypeProperties on-premises Oracle dataset properties. +type OracleTableDatasetTypeProperties struct { + // TableName - The table name of the on-premises Oracle database. Type: string (or Expression with resultType string). + TableName interface{} `json:"tableName,omitempty"` } -// MarshalJSON is the custom marshaler for Operation. -func (o Operation) MarshalJSON() ([]byte, error) { +// OrcFormat the data stored in Optimized Row Columnar (ORC) format. +type OrcFormat struct { + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Serializer - Serializer. Type: string (or Expression with resultType string). + Serializer interface{} `json:"serializer,omitempty"` + // Deserializer - Deserializer. Type: string (or Expression with resultType string). + Deserializer interface{} `json:"deserializer,omitempty"` + // Type - Possible values include: 'TypeDatasetStorageFormat', 'TypeParquetFormat', 'TypeOrcFormat', 'TypeAvroFormat', 'TypeJSONFormat', 'TypeTextFormat' + Type TypeBasicDatasetStorageFormat `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for OrcFormat. +func (of OrcFormat) MarshalJSON() ([]byte, error) { + of.Type = TypeOrcFormat objectMap := make(map[string]interface{}) - if o.Name != nil { - objectMap["name"] = o.Name + if of.Serializer != nil { + objectMap["serializer"] = of.Serializer } - if o.Origin != nil { - objectMap["origin"] = o.Origin + if of.Deserializer != nil { + objectMap["deserializer"] = of.Deserializer } - if o.Display != nil { - objectMap["display"] = o.Display + if of.Type != "" { + objectMap["type"] = of.Type } - if o.OperationProperties != nil { - objectMap["properties"] = o.OperationProperties + for k, v := range of.AdditionalProperties { + objectMap[k] = v } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for Operation struct. -func (o *Operation) UnmarshalJSON(body []byte) error { +// AsParquetFormat is the BasicDatasetStorageFormat implementation for OrcFormat. +func (of OrcFormat) AsParquetFormat() (*ParquetFormat, bool) { + return nil, false +} + +// AsOrcFormat is the BasicDatasetStorageFormat implementation for OrcFormat. +func (of OrcFormat) AsOrcFormat() (*OrcFormat, bool) { + return &of, true +} + +// AsAvroFormat is the BasicDatasetStorageFormat implementation for OrcFormat. +func (of OrcFormat) AsAvroFormat() (*AvroFormat, bool) { + return nil, false +} + +// AsJSONFormat is the BasicDatasetStorageFormat implementation for OrcFormat. +func (of OrcFormat) AsJSONFormat() (*JSONFormat, bool) { + return nil, false +} + +// AsTextFormat is the BasicDatasetStorageFormat implementation for OrcFormat. +func (of OrcFormat) AsTextFormat() (*TextFormat, bool) { + return nil, false +} + +// AsDatasetStorageFormat is the BasicDatasetStorageFormat implementation for OrcFormat. +func (of OrcFormat) AsDatasetStorageFormat() (*DatasetStorageFormat, bool) { + return nil, false +} + +// AsBasicDatasetStorageFormat is the BasicDatasetStorageFormat implementation for OrcFormat. +func (of OrcFormat) AsBasicDatasetStorageFormat() (BasicDatasetStorageFormat, bool) { + return &of, true +} + +// UnmarshalJSON is the custom unmarshaler for OrcFormat struct. +func (of *OrcFormat) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -101108,41 +127603,44 @@ func (o *Operation) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "name": + default: if v != nil { - var name string - err = json.Unmarshal(*v, &name) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - o.Name = &name + if of.AdditionalProperties == nil { + of.AdditionalProperties = make(map[string]interface{}) + } + of.AdditionalProperties[k] = additionalProperties } - case "origin": + case "serializer": if v != nil { - var origin string - err = json.Unmarshal(*v, &origin) + var serializer interface{} + err = json.Unmarshal(*v, &serializer) if err != nil { return err } - o.Origin = &origin + of.Serializer = serializer } - case "display": + case "deserializer": if v != nil { - var display OperationDisplay - err = json.Unmarshal(*v, &display) + var deserializer interface{} + err = json.Unmarshal(*v, &deserializer) if err != nil { return err } - o.Display = &display + of.Deserializer = deserializer } - case "properties": + case "type": if v != nil { - var operationProperties OperationProperties - err = json.Unmarshal(*v, &operationProperties) + var typeVar TypeBasicDatasetStorageFormat + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - o.OperationProperties = &operationProperties + of.Type = typeVar } } } @@ -101150,708 +127648,918 @@ func (o *Operation) UnmarshalJSON(body []byte) error { return nil } -// OperationDisplay metadata associated with the operation. -type OperationDisplay struct { - // Description - The description of the operation. - Description *string `json:"description,omitempty"` - // Provider - The name of the provider. - Provider *string `json:"provider,omitempty"` - // Resource - The name of the resource type on which the operation is performed. - Resource *string `json:"resource,omitempty"` - // Operation - The type of operation: get, read, delete, etc. - Operation *string `json:"operation,omitempty"` +// ParameterSpecification definition of a single parameter for an entity. +type ParameterSpecification struct { + // Type - Parameter type. Possible values include: 'ParameterTypeObject', 'ParameterTypeString', 'ParameterTypeInt', 'ParameterTypeFloat', 'ParameterTypeBool', 'ParameterTypeArray', 'ParameterTypeSecureString' + Type ParameterType `json:"type,omitempty"` + // DefaultValue - Default value of parameter. + DefaultValue interface{} `json:"defaultValue,omitempty"` +} + +// ParquetDataset parquet dataset. +type ParquetDataset struct { + // ParquetDatasetTypeProperties - Parquet dataset properties. + *ParquetDatasetTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Description - Dataset description. + Description *string `json:"description,omitempty"` + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for ParquetDataset. +func (pd ParquetDataset) MarshalJSON() ([]byte, error) { + pd.Type = TypeParquet + objectMap := make(map[string]interface{}) + if pd.ParquetDatasetTypeProperties != nil { + objectMap["typeProperties"] = pd.ParquetDatasetTypeProperties + } + if pd.Description != nil { + objectMap["description"] = pd.Description + } + if pd.Structure != nil { + objectMap["structure"] = pd.Structure + } + if pd.Schema != nil { + objectMap["schema"] = pd.Schema + } + if pd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = pd.LinkedServiceName + } + if pd.Parameters != nil { + objectMap["parameters"] = pd.Parameters + } + if pd.Annotations != nil { + objectMap["annotations"] = pd.Annotations + } + if pd.Folder != nil { + objectMap["folder"] = pd.Folder + } + if pd.Type != "" { + objectMap["type"] = pd.Type + } + for k, v := range pd.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { + return nil, false +} + +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { + return nil, false +} + +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { + return nil, false } -// OperationListResponse a list of operations that can be performed by the Data Factory service. -type OperationListResponse struct { - autorest.Response `json:"-"` - // Value - List of Data Factory operations supported by the Data Factory resource provider. - Value *[]Operation `json:"value,omitempty"` - // NextLink - The link to the next page of results, if any remaining results exist. - NextLink *string `json:"nextLink,omitempty"` +// AsDynamicsAXResourceDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { + return nil, false } -// OperationListResponseIterator provides access to a complete listing of Operation values. -type OperationListResponseIterator struct { - i int - page OperationListResponsePage +// AsResponsysObjectDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { + return nil, false } -// NextWithContext advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -func (iter *OperationListResponseIterator) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/OperationListResponseIterator.NextWithContext") - defer func() { - sc := -1 - if iter.Response().Response.Response != nil { - sc = iter.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - iter.i++ - if iter.i < len(iter.page.Values()) { - return nil - } - err = iter.page.NextWithContext(ctx) - if err != nil { - iter.i-- - return err - } - iter.i = 0 - return nil +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { + return nil, false } -// Next advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (iter *OperationListResponseIterator) Next() error { - return iter.NextWithContext(context.Background()) +// AsVerticaTableDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false } -// NotDone returns true if the enumeration should be started or is not yet complete. -func (iter OperationListResponseIterator) NotDone() bool { - return iter.page.NotDone() && iter.i < len(iter.page.Values()) +// AsNetezzaTableDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false } -// Response returns the raw server response from the last page request. -func (iter OperationListResponseIterator) Response() OperationListResponse { - return iter.page.Response() +// AsZohoObjectDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { + return nil, false } -// Value returns the current value or a zero-initialized value if the -// iterator has advanced beyond the end of the collection. -func (iter OperationListResponseIterator) Value() Operation { - if !iter.page.NotDone() { - return Operation{} - } - return iter.page.Values()[iter.i] +// AsXeroObjectDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { + return nil, false } -// Creates a new instance of the OperationListResponseIterator type. -func NewOperationListResponseIterator(page OperationListResponsePage) OperationListResponseIterator { - return OperationListResponseIterator{page: page} +// AsSquareObjectDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { + return nil, false } -// IsEmpty returns true if the ListResult contains no values. -func (olr OperationListResponse) IsEmpty() bool { - return olr.Value == nil || len(*olr.Value) == 0 +// AsSparkObjectDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { + return nil, false } -// operationListResponsePreparer prepares a request to retrieve the next set of results. -// It returns nil if no more results exist. -func (olr OperationListResponse) operationListResponsePreparer(ctx context.Context) (*http.Request, error) { - if olr.NextLink == nil || len(to.String(olr.NextLink)) < 1 { - return nil, nil - } - return autorest.Prepare((&http.Request{}).WithContext(ctx), - autorest.AsJSON(), - autorest.AsGet(), - autorest.WithBaseURL(to.String(olr.NextLink))) +// AsShopifyObjectDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { + return nil, false } -// OperationListResponsePage contains a page of Operation values. -type OperationListResponsePage struct { - fn func(context.Context, OperationListResponse) (OperationListResponse, error) - olr OperationListResponse +// AsServiceNowObjectDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { + return nil, false } -// NextWithContext advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -func (page *OperationListResponsePage) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/OperationListResponsePage.NextWithContext") - defer func() { - sc := -1 - if page.Response().Response.Response != nil { - sc = page.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - next, err := page.fn(ctx, page.olr) - if err != nil { - return err - } - page.olr = next - return nil +// AsQuickBooksObjectDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { + return nil, false } -// Next advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (page *OperationListResponsePage) Next() error { - return page.NextWithContext(context.Background()) +// AsPrestoObjectDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { + return nil, false } -// NotDone returns true if the page enumeration should be started or is not yet complete. -func (page OperationListResponsePage) NotDone() bool { - return !page.olr.IsEmpty() +// AsPhoenixObjectDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { + return nil, false } -// Response returns the raw server response from the last page request. -func (page OperationListResponsePage) Response() OperationListResponse { - return page.olr +// AsPaypalObjectDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { + return nil, false } -// Values returns the slice of values for the current page or nil if there are no values. -func (page OperationListResponsePage) Values() []Operation { - if page.olr.IsEmpty() { - return nil - } - return *page.olr.Value +// AsMarketoObjectDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { + return nil, false } -// Creates a new instance of the OperationListResponsePage type. -func NewOperationListResponsePage(getNextPage func(context.Context, OperationListResponse) (OperationListResponse, error)) OperationListResponsePage { - return OperationListResponsePage{fn: getNextPage} +// AsMariaDBTableDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { + return nil, false } -// OperationLogSpecification details about an operation related to logs. -type OperationLogSpecification struct { - // Name - The name of the log category. - Name *string `json:"name,omitempty"` - // DisplayName - Localized display name. - DisplayName *string `json:"displayName,omitempty"` - // BlobDuration - Blobs created in the customer storage account, per hour. - BlobDuration *string `json:"blobDuration,omitempty"` +// AsMagentoObjectDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { + return nil, false } -// OperationMetricAvailability defines how often data for a metric becomes available. -type OperationMetricAvailability struct { - // TimeGrain - The granularity for the metric. - TimeGrain *string `json:"timeGrain,omitempty"` - // BlobDuration - Blob created in the customer storage account, per hour. - BlobDuration *string `json:"blobDuration,omitempty"` +// AsJiraObjectDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { + return nil, false } -// OperationMetricDimension defines the metric dimension. -type OperationMetricDimension struct { - // Name - The name of the dimension for the metric. - Name *string `json:"name,omitempty"` - // DisplayName - The display name of the metric dimension. - DisplayName *string `json:"displayName,omitempty"` - // ToBeExportedForShoebox - Whether the dimension should be exported to Azure Monitor. - ToBeExportedForShoebox *bool `json:"toBeExportedForShoebox,omitempty"` +// AsImpalaObjectDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { + return nil, false } -// OperationMetricSpecification details about an operation related to metrics. -type OperationMetricSpecification struct { - // Name - The name of the metric. - Name *string `json:"name,omitempty"` - // DisplayName - Localized display name of the metric. - DisplayName *string `json:"displayName,omitempty"` - // DisplayDescription - The description of the metric. - DisplayDescription *string `json:"displayDescription,omitempty"` - // Unit - The unit that the metric is measured in. - Unit *string `json:"unit,omitempty"` - // AggregationType - The type of metric aggregation. - AggregationType *string `json:"aggregationType,omitempty"` - // EnableRegionalMdmAccount - Whether or not the service is using regional MDM accounts. - EnableRegionalMdmAccount *string `json:"enableRegionalMdmAccount,omitempty"` - // SourceMdmAccount - The name of the MDM account. - SourceMdmAccount *string `json:"sourceMdmAccount,omitempty"` - // SourceMdmNamespace - The name of the MDM namespace. - SourceMdmNamespace *string `json:"sourceMdmNamespace,omitempty"` - // Availabilities - Defines how often data for metrics becomes available. - Availabilities *[]OperationMetricAvailability `json:"availabilities,omitempty"` - // Dimensions - Defines the metric dimension. - Dimensions *[]OperationMetricDimension `json:"dimensions,omitempty"` +// AsHubspotObjectDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { + return nil, false } -// OperationProperties additional details about an operation. -type OperationProperties struct { - // ServiceSpecification - Details about a service operation. - ServiceSpecification *OperationServiceSpecification `json:"serviceSpecification,omitempty"` +// AsHiveObjectDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { + return nil, false } -// OperationServiceSpecification details about a service operation. -type OperationServiceSpecification struct { - // LogSpecifications - Details about operations related to logs. - LogSpecifications *[]OperationLogSpecification `json:"logSpecifications,omitempty"` - // MetricSpecifications - Details about operations related to metrics. - MetricSpecifications *[]OperationMetricSpecification `json:"metricSpecifications,omitempty"` +// AsHBaseObjectDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { + return nil, false } -// OracleLinkedService oracle database. -type OracleLinkedService struct { - // OracleLinkedServiceTypeProperties - Oracle database linked service properties. - *OracleLinkedServiceTypeProperties `json:"typeProperties,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. - Description *string `json:"description,omitempty"` - // Parameters - Parameters for linked service. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the linked service. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` +// AsGreenplumTableDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for OracleLinkedService. -func (ols OracleLinkedService) MarshalJSON() ([]byte, error) { - ols.Type = TypeOracle - objectMap := make(map[string]interface{}) - if ols.OracleLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = ols.OracleLinkedServiceTypeProperties - } - if ols.ConnectVia != nil { - objectMap["connectVia"] = ols.ConnectVia - } - if ols.Description != nil { - objectMap["description"] = ols.Description - } - if ols.Parameters != nil { - objectMap["parameters"] = ols.Parameters - } - if ols.Annotations != nil { - objectMap["annotations"] = ols.Annotations - } - if ols.Type != "" { - objectMap["type"] = ols.Type - } - for k, v := range ols.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { + return nil, false } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { +// AsDrillTableDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsSapTableLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsHTTPDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsWebTableDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsRestResourceDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsInformixTableDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsOracleTableDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsODataResourceDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsFileShareDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsOffice365Dataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsCustomDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsAzureTableDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsBinaryDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { - return nil, false +// AsParquetDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsParquetDataset() (*ParquetDataset, bool) { + return &pd, true } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsAmazonS3Dataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsDataset() (*Dataset, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsBasicDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsBasicDataset() (BasicDataset, bool) { + return &pd, true +} + +// UnmarshalJSON is the custom unmarshaler for ParquetDataset struct. +func (pd *ParquetDataset) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "typeProperties": + if v != nil { + var parquetDatasetTypeProperties ParquetDatasetTypeProperties + err = json.Unmarshal(*v, &parquetDatasetTypeProperties) + if err != nil { + return err + } + pd.ParquetDatasetTypeProperties = &parquetDatasetTypeProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if pd.AdditionalProperties == nil { + pd.AdditionalProperties = make(map[string]interface{}) + } + pd.AdditionalProperties[k] = additionalProperties + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + pd.Description = &description + } + case "structure": + if v != nil { + var structure interface{} + err = json.Unmarshal(*v, &structure) + if err != nil { + return err + } + pd.Structure = structure + } + case "schema": + if v != nil { + var schema interface{} + err = json.Unmarshal(*v, &schema) + if err != nil { + return err + } + pd.Schema = schema + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + pd.LinkedServiceName = &linkedServiceName + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + pd.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + pd.Annotations = &annotations + } + case "folder": + if v != nil { + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) + if err != nil { + return err + } + pd.Folder = &folder + } + case "type": + if v != nil { + var typeVar TypeBasicDataset + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + pd.Type = typeVar + } + } + } + + return nil +} + +// ParquetDatasetTypeProperties parquet dataset properties. +type ParquetDatasetTypeProperties struct { + // Location - The location of the parquet storage. + Location *DatasetLocation `json:"location,omitempty"` + CompressionCodec interface{} `json:"compressionCodec,omitempty"` +} + +// ParquetFormat the data stored in Parquet format. +type ParquetFormat struct { + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Serializer - Serializer. Type: string (or Expression with resultType string). + Serializer interface{} `json:"serializer,omitempty"` + // Deserializer - Deserializer. Type: string (or Expression with resultType string). + Deserializer interface{} `json:"deserializer,omitempty"` + // Type - Possible values include: 'TypeDatasetStorageFormat', 'TypeParquetFormat', 'TypeOrcFormat', 'TypeAvroFormat', 'TypeJSONFormat', 'TypeTextFormat' + Type TypeBasicDatasetStorageFormat `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for ParquetFormat. +func (pf ParquetFormat) MarshalJSON() ([]byte, error) { + pf.Type = TypeParquetFormat + objectMap := make(map[string]interface{}) + if pf.Serializer != nil { + objectMap["serializer"] = pf.Serializer + } + if pf.Deserializer != nil { + objectMap["deserializer"] = pf.Deserializer + } + if pf.Type != "" { + objectMap["type"] = pf.Type + } + for k, v := range pf.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsParquetFormat is the BasicDatasetStorageFormat implementation for ParquetFormat. +func (pf ParquetFormat) AsParquetFormat() (*ParquetFormat, bool) { + return &pf, true +} + +// AsOrcFormat is the BasicDatasetStorageFormat implementation for ParquetFormat. +func (pf ParquetFormat) AsOrcFormat() (*OrcFormat, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsAvroFormat is the BasicDatasetStorageFormat implementation for ParquetFormat. +func (pf ParquetFormat) AsAvroFormat() (*AvroFormat, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsJSONFormat is the BasicDatasetStorageFormat implementation for ParquetFormat. +func (pf ParquetFormat) AsJSONFormat() (*JSONFormat, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsTextFormat is the BasicDatasetStorageFormat implementation for ParquetFormat. +func (pf ParquetFormat) AsTextFormat() (*TextFormat, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsDatasetStorageFormat is the BasicDatasetStorageFormat implementation for ParquetFormat. +func (pf ParquetFormat) AsDatasetStorageFormat() (*DatasetStorageFormat, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsBasicDatasetStorageFormat is the BasicDatasetStorageFormat implementation for ParquetFormat. +func (pf ParquetFormat) AsBasicDatasetStorageFormat() (BasicDatasetStorageFormat, bool) { + return &pf, true +} + +// UnmarshalJSON is the custom unmarshaler for ParquetFormat struct. +func (pf *ParquetFormat) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if pf.AdditionalProperties == nil { + pf.AdditionalProperties = make(map[string]interface{}) + } + pf.AdditionalProperties[k] = additionalProperties + } + case "serializer": + if v != nil { + var serializer interface{} + err = json.Unmarshal(*v, &serializer) + if err != nil { + return err + } + pf.Serializer = serializer + } + case "deserializer": + if v != nil { + var deserializer interface{} + err = json.Unmarshal(*v, &deserializer) + if err != nil { + return err + } + pf.Deserializer = deserializer + } + case "type": + if v != nil { + var typeVar TypeBasicDatasetStorageFormat + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + pf.Type = typeVar + } + } + } + + return nil +} + +// ParquetSink a copy activity Parquet sink. +type ParquetSink struct { + // StoreSettings - Parquet store settings. + StoreSettings *StoreWriteSettings `json:"storeSettings,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + WriteBatchSize interface{} `json:"writeBatchSize,omitempty"` + // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"` + // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer). + SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"` + // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink' + Type TypeBasicCopySink `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for ParquetSink. +func (ps ParquetSink) MarshalJSON() ([]byte, error) { + ps.Type = TypeParquetSink + objectMap := make(map[string]interface{}) + if ps.StoreSettings != nil { + objectMap["storeSettings"] = ps.StoreSettings + } + if ps.WriteBatchSize != nil { + objectMap["writeBatchSize"] = ps.WriteBatchSize + } + if ps.WriteBatchTimeout != nil { + objectMap["writeBatchTimeout"] = ps.WriteBatchTimeout + } + if ps.SinkRetryCount != nil { + objectMap["sinkRetryCount"] = ps.SinkRetryCount + } + if ps.SinkRetryWait != nil { + objectMap["sinkRetryWait"] = ps.SinkRetryWait + } + if ps.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = ps.MaxConcurrentConnections + } + if ps.Type != "" { + objectMap["type"] = ps.Type + } + for k, v := range ps.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for ParquetSink. +func (ps ParquetSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for ParquetSink. +func (ps ParquetSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsSalesforceSink is the BasicCopySink implementation for ParquetSink. +func (ps ParquetSink) AsSalesforceSink() (*SalesforceSink, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsAzureDataExplorerSink is the BasicCopySink implementation for ParquetSink. +func (ps ParquetSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for ParquetSink. +func (ps ParquetSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsDynamicsCrmSink is the BasicCopySink implementation for ParquetSink. +func (ps ParquetSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsDynamicsSink is the BasicCopySink implementation for ParquetSink. +func (ps ParquetSink) AsDynamicsSink() (*DynamicsSink, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsMicrosoftAccessSink is the BasicCopySink implementation for ParquetSink. +func (ps ParquetSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsInformixSink is the BasicCopySink implementation for ParquetSink. +func (ps ParquetSink) AsInformixSink() (*InformixSink, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsOdbcSink is the BasicCopySink implementation for ParquetSink. +func (ps ParquetSink) AsOdbcSink() (*OdbcSink, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsAzureSearchIndexSink is the BasicCopySink implementation for ParquetSink. +func (ps ParquetSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsAzureBlobFSSink is the BasicCopySink implementation for ParquetSink. +func (ps ParquetSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for ParquetSink. +func (ps ParquetSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsOracleSink is the BasicCopySink implementation for ParquetSink. +func (ps ParquetSink) AsOracleSink() (*OracleSink, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsSQLDWSink is the BasicCopySink implementation for ParquetSink. +func (ps ParquetSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { - return &ols, true +// AsSQLMISink is the BasicCopySink implementation for ParquetSink. +func (ps ParquetSink) AsSQLMISink() (*SQLMISink, bool) { + return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsAzureSQLSink is the BasicCopySink implementation for ParquetSink. +func (ps ParquetSink) AsAzureSQLSink() (*AzureSQLSink, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsSQLServerSink is the BasicCopySink implementation for ParquetSink. +func (ps ParquetSink) AsSQLServerSink() (*SQLServerSink, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsSQLSink is the BasicCopySink implementation for ParquetSink. +func (ps ParquetSink) AsSQLSink() (*SQLSink, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsDocumentDbCollectionSink is the BasicCopySink implementation for ParquetSink. +func (ps ParquetSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsFileSystemSink is the BasicCopySink implementation for ParquetSink. +func (ps ParquetSink) AsFileSystemSink() (*FileSystemSink, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsBlobSink is the BasicCopySink implementation for ParquetSink. +func (ps ParquetSink) AsBlobSink() (*BlobSink, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsBinarySink is the BasicCopySink implementation for ParquetSink. +func (ps ParquetSink) AsBinarySink() (*BinarySink, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsParquetSink is the BasicCopySink implementation for ParquetSink. +func (ps ParquetSink) AsParquetSink() (*ParquetSink, bool) { + return &ps, true +} + +// AsAzureTableSink is the BasicCopySink implementation for ParquetSink. +func (ps ParquetSink) AsAzureTableSink() (*AzureTableSink, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsAzureQueueSink is the BasicCopySink implementation for ParquetSink. +func (ps ParquetSink) AsAzureQueueSink() (*AzureQueueSink, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsSapCloudForCustomerSink is the BasicCopySink implementation for ParquetSink. +func (ps ParquetSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsAzurePostgreSQLSink is the BasicCopySink implementation for ParquetSink. +func (ps ParquetSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsDelimitedTextSink is the BasicCopySink implementation for ParquetSink. +func (ps ParquetSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsCopySink is the BasicCopySink implementation for ParquetSink. +func (ps ParquetSink) AsCopySink() (*CopySink, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &ols, true +// AsBasicCopySink is the BasicCopySink implementation for ParquetSink. +func (ps ParquetSink) AsBasicCopySink() (BasicCopySink, bool) { + return &ps, true } -// UnmarshalJSON is the custom unmarshaler for OracleLinkedService struct. -func (ols *OracleLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for ParquetSink struct. +func (ps *ParquetSink) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -101859,14 +128567,14 @@ func (ols *OracleLinkedService) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": + case "storeSettings": if v != nil { - var oracleLinkedServiceTypeProperties OracleLinkedServiceTypeProperties - err = json.Unmarshal(*v, &oracleLinkedServiceTypeProperties) + var storeSettings StoreWriteSettings + err = json.Unmarshal(*v, &storeSettings) if err != nil { return err } - ols.OracleLinkedServiceTypeProperties = &oracleLinkedServiceTypeProperties + ps.StoreSettings = &storeSettings } default: if v != nil { @@ -101875,55 +128583,64 @@ func (ols *OracleLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if ols.AdditionalProperties == nil { - ols.AdditionalProperties = make(map[string]interface{}) + if ps.AdditionalProperties == nil { + ps.AdditionalProperties = make(map[string]interface{}) } - ols.AdditionalProperties[k] = additionalProperties + ps.AdditionalProperties[k] = additionalProperties } - case "connectVia": + case "writeBatchSize": if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) + var writeBatchSize interface{} + err = json.Unmarshal(*v, &writeBatchSize) if err != nil { return err } - ols.ConnectVia = &connectVia + ps.WriteBatchSize = writeBatchSize } - case "description": + case "writeBatchTimeout": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var writeBatchTimeout interface{} + err = json.Unmarshal(*v, &writeBatchTimeout) if err != nil { return err } - ols.Description = &description + ps.WriteBatchTimeout = writeBatchTimeout } - case "parameters": + case "sinkRetryCount": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var sinkRetryCount interface{} + err = json.Unmarshal(*v, &sinkRetryCount) if err != nil { return err } - ols.Parameters = parameters + ps.SinkRetryCount = sinkRetryCount } - case "annotations": + case "sinkRetryWait": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var sinkRetryWait interface{} + err = json.Unmarshal(*v, &sinkRetryWait) if err != nil { return err } - ols.Annotations = &annotations + ps.SinkRetryWait = sinkRetryWait + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + ps.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicLinkedService + var typeVar TypeBasicCopySink err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - ols.Type = typeVar + ps.Type = typeVar } } } @@ -101931,494 +128648,459 @@ func (ols *OracleLinkedService) UnmarshalJSON(body []byte) error { return nil } -// OracleLinkedServiceTypeProperties oracle database linked service properties. -type OracleLinkedServiceTypeProperties struct { - // ConnectionString - The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. - ConnectionString interface{} `json:"connectionString,omitempty"` - // Password - The Azure key vault secret reference of password in connection string. - Password *AzureKeyVaultSecretReference `json:"password,omitempty"` - // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). - EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` -} - -// OracleServiceCloudLinkedService oracle Service Cloud linked service. -type OracleServiceCloudLinkedService struct { - // OracleServiceCloudLinkedServiceTypeProperties - Oracle Service Cloud linked service properties. - *OracleServiceCloudLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// ParquetSource a copy activity Parquet source. +type ParquetSource struct { + // StoreSettings - Parquet store settings. + StoreSettings *StoreReadSettings `json:"storeSettings,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. - Description *string `json:"description,omitempty"` - // Parameters - Parameters for linked service. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the linked service. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) MarshalJSON() ([]byte, error) { - oscls.Type = TypeOracleServiceCloud +// MarshalJSON is the custom marshaler for ParquetSource. +func (ps ParquetSource) MarshalJSON() ([]byte, error) { + ps.Type = TypeParquetSource objectMap := make(map[string]interface{}) - if oscls.OracleServiceCloudLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = oscls.OracleServiceCloudLinkedServiceTypeProperties - } - if oscls.ConnectVia != nil { - objectMap["connectVia"] = oscls.ConnectVia - } - if oscls.Description != nil { - objectMap["description"] = oscls.Description - } - if oscls.Parameters != nil { - objectMap["parameters"] = oscls.Parameters + if ps.StoreSettings != nil { + objectMap["storeSettings"] = ps.StoreSettings } - if oscls.Annotations != nil { - objectMap["annotations"] = oscls.Annotations + if ps.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = ps.SourceRetryCount } - if oscls.Type != "" { - objectMap["type"] = oscls.Type + if ps.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = ps.SourceRetryWait } - for k, v := range oscls.AdditionalProperties { - objectMap[k] = v + if ps.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = ps.MaxConcurrentConnections } - return json.Marshal(objectMap) -} - -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { - return nil, false -} - -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { - return nil, false -} - -// AsSapTableLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { - return nil, false + if ps.Type != "" { + objectMap["type"] = ps.Type + } + for k, v := range ps.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { - return &oscls, true -} - -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsResponsysSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsVerticaSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsNetezzaSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsZohoSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsXeroSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsSquareSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsSparkSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsShopifySource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsServiceNowSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsPrestoSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPhoenixSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPaypalSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsMarketoSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsMariaDBSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsMagentoSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsJiraSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsImpalaSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsHubspotSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsHiveSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHBaseSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsGreenplumSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsEloquaSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsDrillSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsConcurSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsHTTPSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsOffice365Source is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsMongoDbSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsCassandraSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsWebSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsTeradataSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsOracleSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsHdfsSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsFileSystemSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsSQLDWSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsSQLMISource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsSQLServerSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsSQLSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsRestSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsSapTableSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsSapHanaSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsSapEccSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsSalesforceSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsODataSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsSybaseSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsMySQLSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsOdbcSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsDb2Source is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsInformixSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsRelationalSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsDynamicsSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsBlobSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsAzureTableSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsBinarySource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsDelimitedTextSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { - return nil, false +// AsParquetSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsParquetSource() (*ParquetSource, bool) { + return &ps, true } -// AsLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsCopySource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsCopySource() (*CopySource, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. -func (oscls OracleServiceCloudLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &oscls, true +// AsBasicCopySource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsBasicCopySource() (BasicCopySource, bool) { + return &ps, true } -// UnmarshalJSON is the custom unmarshaler for OracleServiceCloudLinkedService struct. -func (oscls *OracleServiceCloudLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for ParquetSource struct. +func (ps *ParquetSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -102426,14 +129108,14 @@ func (oscls *OracleServiceCloudLinkedService) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": + case "storeSettings": if v != nil { - var oracleServiceCloudLinkedServiceTypeProperties OracleServiceCloudLinkedServiceTypeProperties - err = json.Unmarshal(*v, &oracleServiceCloudLinkedServiceTypeProperties) + var storeSettings StoreReadSettings + err = json.Unmarshal(*v, &storeSettings) if err != nil { return err } - oscls.OracleServiceCloudLinkedServiceTypeProperties = &oracleServiceCloudLinkedServiceTypeProperties + ps.StoreSettings = &storeSettings } default: if v != nil { @@ -102442,150 +129124,46 @@ func (oscls *OracleServiceCloudLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if oscls.AdditionalProperties == nil { - oscls.AdditionalProperties = make(map[string]interface{}) - } - oscls.AdditionalProperties[k] = additionalProperties - } - case "connectVia": - if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) - if err != nil { - return err + if ps.AdditionalProperties == nil { + ps.AdditionalProperties = make(map[string]interface{}) } - oscls.ConnectVia = &connectVia + ps.AdditionalProperties[k] = additionalProperties } - case "description": + case "sourceRetryCount": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) if err != nil { return err } - oscls.Description = &description + ps.SourceRetryCount = sourceRetryCount } - case "parameters": + case "sourceRetryWait": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) if err != nil { return err } - oscls.Parameters = parameters + ps.SourceRetryWait = sourceRetryWait } - case "annotations": + case "maxConcurrentConnections": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) if err != nil { return err } - oscls.Annotations = &annotations + ps.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicLinkedService + var typeVar TypeBasicCopySource err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - oscls.Type = typeVar - } - } - } - - return nil -} - -// OracleServiceCloudLinkedServiceTypeProperties oracle Service Cloud linked service properties. -type OracleServiceCloudLinkedServiceTypeProperties struct { - // Host - The URL of the Oracle Service Cloud instance. - Host interface{} `json:"host,omitempty"` - // Username - The user name that you use to access Oracle Service Cloud server. - Username interface{} `json:"username,omitempty"` - // Password - The password corresponding to the user name that you provided in the username key. - Password BasicSecretBase `json:"password,omitempty"` - // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. Type: boolean (or Expression with resultType boolean). - UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"` - // UseHostVerification - 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). - UseHostVerification interface{} `json:"useHostVerification,omitempty"` - // UsePeerVerification - 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). - UsePeerVerification interface{} `json:"usePeerVerification,omitempty"` - // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). - EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` -} - -// UnmarshalJSON is the custom unmarshaler for OracleServiceCloudLinkedServiceTypeProperties struct. -func (osclstp *OracleServiceCloudLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "host": - if v != nil { - var host interface{} - err = json.Unmarshal(*v, &host) - if err != nil { - return err - } - osclstp.Host = host - } - case "username": - if v != nil { - var username interface{} - err = json.Unmarshal(*v, &username) - if err != nil { - return err - } - osclstp.Username = username - } - case "password": - if v != nil { - password, err := unmarshalBasicSecretBase(*v) - if err != nil { - return err - } - osclstp.Password = password - } - case "useEncryptedEndpoints": - if v != nil { - var useEncryptedEndpoints interface{} - err = json.Unmarshal(*v, &useEncryptedEndpoints) - if err != nil { - return err - } - osclstp.UseEncryptedEndpoints = useEncryptedEndpoints - } - case "useHostVerification": - if v != nil { - var useHostVerification interface{} - err = json.Unmarshal(*v, &useHostVerification) - if err != nil { - return err - } - osclstp.UseHostVerification = useHostVerification - } - case "usePeerVerification": - if v != nil { - var usePeerVerification interface{} - err = json.Unmarshal(*v, &usePeerVerification) - if err != nil { - return err - } - osclstp.UsePeerVerification = usePeerVerification - } - case "encryptedCredential": - if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) - if err != nil { - return err - } - osclstp.EncryptedCredential = encryptedCredential + ps.Type = typeVar } } } @@ -102593,414 +129171,514 @@ func (osclstp *OracleServiceCloudLinkedServiceTypeProperties) UnmarshalJSON(body return nil } -// OracleServiceCloudObjectDataset oracle Service Cloud dataset. -type OracleServiceCloudObjectDataset struct { - // GenericDatasetTypeProperties - Properties specific to this dataset type. - *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` +// PaypalLinkedService paypal Service linked service. +type PaypalLinkedService struct { + // PaypalLinkedServiceTypeProperties - Paypal Service linked service properties. + *PaypalLinkedServiceTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Description - Dataset description. + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. Description *string `json:"description,omitempty"` - // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. - Structure interface{} `json:"structure,omitempty"` - // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - Schema interface{} `json:"schema,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Parameters - Parameters for dataset. + // Parameters - Parameters for linked service. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the Dataset. + // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' - Type TypeBasicDataset `json:"type,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) MarshalJSON() ([]byte, error) { - oscod.Type = TypeOracleServiceCloudObject +// MarshalJSON is the custom marshaler for PaypalLinkedService. +func (pls PaypalLinkedService) MarshalJSON() ([]byte, error) { + pls.Type = TypePaypal objectMap := make(map[string]interface{}) - if oscod.GenericDatasetTypeProperties != nil { - objectMap["typeProperties"] = oscod.GenericDatasetTypeProperties - } - if oscod.Description != nil { - objectMap["description"] = oscod.Description - } - if oscod.Structure != nil { - objectMap["structure"] = oscod.Structure - } - if oscod.Schema != nil { - objectMap["schema"] = oscod.Schema + if pls.PaypalLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = pls.PaypalLinkedServiceTypeProperties } - if oscod.LinkedServiceName != nil { - objectMap["linkedServiceName"] = oscod.LinkedServiceName + if pls.ConnectVia != nil { + objectMap["connectVia"] = pls.ConnectVia } - if oscod.Parameters != nil { - objectMap["parameters"] = oscod.Parameters + if pls.Description != nil { + objectMap["description"] = pls.Description } - if oscod.Annotations != nil { - objectMap["annotations"] = oscod.Annotations + if pls.Parameters != nil { + objectMap["parameters"] = pls.Parameters } - if oscod.Folder != nil { - objectMap["folder"] = oscod.Folder + if pls.Annotations != nil { + objectMap["annotations"] = pls.Annotations } - if oscod.Type != "" { - objectMap["type"] = oscod.Type + if pls.Type != "" { + objectMap["type"] = pls.Type } - for k, v := range oscod.AdditionalProperties { + for k, v := range pls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { - return &oscod, true +// AsSapTableLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { + return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { + return &pls, true +} + +// AsMarketoLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsDataset() (*Dataset, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. -func (oscod OracleServiceCloudObjectDataset) AsBasicDataset() (BasicDataset, bool) { - return &oscod, true +// AsDb2LinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for OracleServiceCloudObjectDataset struct. -func (oscod *OracleServiceCloudObjectDataset) UnmarshalJSON(body []byte) error { +// AsSybaseLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { + return nil, false +} + +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { + return nil, false +} + +// AsMySQLLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { + return nil, false +} + +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { + return nil, false +} + +// AsOracleLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { + return nil, false +} + +// AsFileServerLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { + return nil, false +} + +// AsHDInsightLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + +// AsDynamicsLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false +} + +// AsCosmosDbLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false +} + +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false +} + +// AsAzureBatchLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} + +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &pls, true +} + +// UnmarshalJSON is the custom unmarshaler for PaypalLinkedService struct. +func (pls *PaypalLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -103010,12 +129688,12 @@ func (oscod *OracleServiceCloudObjectDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var genericDatasetTypeProperties GenericDatasetTypeProperties - err = json.Unmarshal(*v, &genericDatasetTypeProperties) + var paypalLinkedServiceTypeProperties PaypalLinkedServiceTypeProperties + err = json.Unmarshal(*v, &paypalLinkedServiceTypeProperties) if err != nil { return err } - oscod.GenericDatasetTypeProperties = &genericDatasetTypeProperties + pls.PaypalLinkedServiceTypeProperties = &paypalLinkedServiceTypeProperties } default: if v != nil { @@ -103024,10 +129702,19 @@ func (oscod *OracleServiceCloudObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if oscod.AdditionalProperties == nil { - oscod.AdditionalProperties = make(map[string]interface{}) + if pls.AdditionalProperties == nil { + pls.AdditionalProperties = make(map[string]interface{}) } - oscod.AdditionalProperties[k] = additionalProperties + pls.AdditionalProperties[k] = additionalProperties + } + case "connectVia": + if v != nil { + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) + if err != nil { + return err + } + pls.ConnectVia = &connectVia } case "description": if v != nil { @@ -103036,70 +129723,129 @@ func (oscod *OracleServiceCloudObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - oscod.Description = &description + pls.Description = &description } - case "structure": + case "parameters": if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - oscod.Structure = structure + pls.Parameters = parameters } - case "schema": + case "annotations": if v != nil { - var schema interface{} - err = json.Unmarshal(*v, &schema) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - oscod.Schema = schema + pls.Annotations = &annotations } - case "linkedServiceName": + case "type": if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) + var typeVar TypeBasicLinkedService + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - oscod.LinkedServiceName = &linkedServiceName + pls.Type = typeVar + } + } + } + + return nil +} + +// PaypalLinkedServiceTypeProperties paypal Service linked service properties. +type PaypalLinkedServiceTypeProperties struct { + // Host - The URL of the PayPal instance. (i.e. api.sandbox.paypal.com) + Host interface{} `json:"host,omitempty"` + // ClientID - The client ID associated with your PayPal application. + ClientID interface{} `json:"clientId,omitempty"` + // ClientSecret - The client secret associated with your PayPal application. + ClientSecret BasicSecretBase `json:"clientSecret,omitempty"` + // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. + UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"` + // UseHostVerification - 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. + UseHostVerification interface{} `json:"useHostVerification,omitempty"` + // UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. + UsePeerVerification interface{} `json:"usePeerVerification,omitempty"` + // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` +} + +// UnmarshalJSON is the custom unmarshaler for PaypalLinkedServiceTypeProperties struct. +func (plstp *PaypalLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "host": + if v != nil { + var host interface{} + err = json.Unmarshal(*v, &host) + if err != nil { + return err + } + plstp.Host = host + } + case "clientId": + if v != nil { + var clientID interface{} + err = json.Unmarshal(*v, &clientID) + if err != nil { + return err + } + plstp.ClientID = clientID + } + case "clientSecret": + if v != nil { + clientSecret, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + plstp.ClientSecret = clientSecret } - case "parameters": + case "useEncryptedEndpoints": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var useEncryptedEndpoints interface{} + err = json.Unmarshal(*v, &useEncryptedEndpoints) if err != nil { return err } - oscod.Parameters = parameters + plstp.UseEncryptedEndpoints = useEncryptedEndpoints } - case "annotations": + case "useHostVerification": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var useHostVerification interface{} + err = json.Unmarshal(*v, &useHostVerification) if err != nil { return err } - oscod.Annotations = &annotations + plstp.UseHostVerification = useHostVerification } - case "folder": + case "usePeerVerification": if v != nil { - var folder DatasetFolder - err = json.Unmarshal(*v, &folder) + var usePeerVerification interface{} + err = json.Unmarshal(*v, &usePeerVerification) if err != nil { return err } - oscod.Folder = &folder + plstp.UsePeerVerification = usePeerVerification } - case "type": + case "encryptedCredential": if v != nil { - var typeVar TypeBasicDataset - err = json.Unmarshal(*v, &typeVar) + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) if err != nil { return err } - oscod.Type = typeVar + plstp.EncryptedCredential = encryptedCredential } } } @@ -103107,627 +129853,469 @@ func (oscod *OracleServiceCloudObjectDataset) UnmarshalJSON(body []byte) error { return nil } -// OracleServiceCloudSource a copy activity Oracle Service Cloud source. -type OracleServiceCloudSource struct { - // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). - Query interface{} `json:"query,omitempty"` +// PaypalObjectDataset paypal Service dataset. +type PaypalObjectDataset struct { + // GenericDatasetTypeProperties - Properties specific to this dataset type. + *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). - SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` - // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' - Type TypeBasicCopySource `json:"type,omitempty"` + // Description - Dataset description. + Description *string `json:"description,omitempty"` + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) MarshalJSON() ([]byte, error) { - oscs.Type = TypeOracleServiceCloudSource +// MarshalJSON is the custom marshaler for PaypalObjectDataset. +func (pod PaypalObjectDataset) MarshalJSON() ([]byte, error) { + pod.Type = TypePaypalObject objectMap := make(map[string]interface{}) - if oscs.Query != nil { - objectMap["query"] = oscs.Query + if pod.GenericDatasetTypeProperties != nil { + objectMap["typeProperties"] = pod.GenericDatasetTypeProperties } - if oscs.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = oscs.SourceRetryCount + if pod.Description != nil { + objectMap["description"] = pod.Description } - if oscs.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = oscs.SourceRetryWait + if pod.Structure != nil { + objectMap["structure"] = pod.Structure } - if oscs.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = oscs.MaxConcurrentConnections + if pod.Schema != nil { + objectMap["schema"] = pod.Schema } - if oscs.Type != "" { - objectMap["type"] = oscs.Type + if pod.LinkedServiceName != nil { + objectMap["linkedServiceName"] = pod.LinkedServiceName } - for k, v := range oscs.AdditionalProperties { + if pod.Parameters != nil { + objectMap["parameters"] = pod.Parameters + } + if pod.Annotations != nil { + objectMap["annotations"] = pod.Annotations + } + if pod.Folder != nil { + objectMap["folder"] = pod.Folder + } + if pod.Type != "" { + objectMap["type"] = pod.Type + } + for k, v := range pod.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { - return nil, false -} - -// AsGoogleAdWordsSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { - return nil, false -} - -// AsOracleServiceCloudSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { - return &oscs, true -} - -// AsDynamicsAXSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { - return nil, false -} - -// AsResponsysSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsResponsysSource() (*ResponsysSource, bool) { - return nil, false -} - -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { - return nil, false -} - -// AsVerticaSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsVerticaSource() (*VerticaSource, bool) { - return nil, false -} - -// AsNetezzaSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsNetezzaSource() (*NetezzaSource, bool) { - return nil, false -} - -// AsZohoSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsZohoSource() (*ZohoSource, bool) { - return nil, false -} - -// AsXeroSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsXeroSource() (*XeroSource, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsSquareSource() (*SquareSource, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsSparkSource() (*SparkSource, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsShopifySource() (*ShopifySource, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsPrestoSource() (*PrestoSource, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsPaypalSource() (*PaypalSource, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsMarketoSource() (*MarketoSource, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsMagentoSource() (*MagentoSource, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsJiraSource() (*JiraSource, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsHubspotSource() (*HubspotSource, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsHiveSource() (*HiveSource, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsHBaseSource() (*HBaseSource, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsGreenplumSource() (*GreenplumSource, bool) { - return nil, false +// AsPaypalObjectDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { + return &pod, true } -// AsGoogleBigQuerySource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsEloquaSource() (*EloquaSource, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsDrillSource() (*DrillSource, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsConcurSource() (*ConcurSource, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsHTTPSource() (*HTTPSource, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsOffice365Source() (*Office365Source, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsDrillTableDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsCassandraSource() (*CassandraSource, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsWebSource() (*WebSource, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsOracleSource() (*OracleSource, bool) { +// AsHTTPDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsWebTableDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsHdfsSource() (*HdfsSource, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsRestResourceDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsSQLSource() (*SQLSource, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsRestSource() (*RestSource, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsSapTableSource() (*SapTableSource, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsSapEccSource() (*SapEccSource, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsRelationalSource() (*RelationalSource, bool) { +// AsInformixTableDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsBlobSource() (*BlobSource, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsOracleTableDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsODataResourceDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsParquetSource() (*ParquetSource, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsCopySource() (*CopySource, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsBasicCopySource() (BasicCopySource, bool) { - return &oscs, true -} - -// UnmarshalJSON is the custom unmarshaler for OracleServiceCloudSource struct. -func (oscs *OracleServiceCloudSource) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "query": - if v != nil { - var query interface{} - err = json.Unmarshal(*v, &query) - if err != nil { - return err - } - oscs.Query = query - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if oscs.AdditionalProperties == nil { - oscs.AdditionalProperties = make(map[string]interface{}) - } - oscs.AdditionalProperties[k] = additionalProperties - } - case "sourceRetryCount": - if v != nil { - var sourceRetryCount interface{} - err = json.Unmarshal(*v, &sourceRetryCount) - if err != nil { - return err - } - oscs.SourceRetryCount = sourceRetryCount - } - case "sourceRetryWait": - if v != nil { - var sourceRetryWait interface{} - err = json.Unmarshal(*v, &sourceRetryWait) - if err != nil { - return err - } - oscs.SourceRetryWait = sourceRetryWait - } - case "maxConcurrentConnections": - if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) - if err != nil { - return err - } - oscs.MaxConcurrentConnections = maxConcurrentConnections - } - case "type": - if v != nil { - var typeVar TypeBasicCopySource - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - oscs.Type = typeVar - } - } - } - - return nil -} - -// OracleSink a copy activity Oracle sink. -type OracleSink struct { - // PreCopyScript - SQL pre-copy script. Type: string (or Expression with resultType string). - PreCopyScript interface{} `json:"preCopyScript,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - WriteBatchSize interface{} `json:"writeBatchSize,omitempty"` - // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"` - // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer). - SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"` - // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeDelimitedTextSink' - Type TypeBasicCopySink `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for OracleSink. -func (osVar OracleSink) MarshalJSON() ([]byte, error) { - osVar.Type = TypeOracleSink - objectMap := make(map[string]interface{}) - if osVar.PreCopyScript != nil { - objectMap["preCopyScript"] = osVar.PreCopyScript - } - if osVar.WriteBatchSize != nil { - objectMap["writeBatchSize"] = osVar.WriteBatchSize - } - if osVar.WriteBatchTimeout != nil { - objectMap["writeBatchTimeout"] = osVar.WriteBatchTimeout - } - if osVar.SinkRetryCount != nil { - objectMap["sinkRetryCount"] = osVar.SinkRetryCount - } - if osVar.SinkRetryWait != nil { - objectMap["sinkRetryWait"] = osVar.SinkRetryWait - } - if osVar.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = osVar.MaxConcurrentConnections - } - if osVar.Type != "" { - objectMap["type"] = osVar.Type - } - for k, v := range osVar.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) -} - -// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for OracleSink. -func (osVar OracleSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsSalesforceSink is the BasicCopySink implementation for OracleSink. -func (osVar OracleSink) AsSalesforceSink() (*SalesforceSink, bool) { +// AsFileShareDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsAzureDataExplorerSink is the BasicCopySink implementation for OracleSink. -func (osVar OracleSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { +// AsOffice365Dataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsDynamicsSink is the BasicCopySink implementation for OracleSink. -func (osVar OracleSink) AsDynamicsSink() (*DynamicsSink, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsOdbcSink is the BasicCopySink implementation for OracleSink. -func (osVar OracleSink) AsOdbcSink() (*OdbcSink, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsAzureSearchIndexSink is the BasicCopySink implementation for OracleSink. -func (osVar OracleSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsAzureBlobFSSink is the BasicCopySink implementation for OracleSink. -func (osVar OracleSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsAzureDataLakeStoreSink is the BasicCopySink implementation for OracleSink. -func (osVar OracleSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsOracleSink is the BasicCopySink implementation for OracleSink. -func (osVar OracleSink) AsOracleSink() (*OracleSink, bool) { - return &osVar, true -} - -// AsSQLDWSink is the BasicCopySink implementation for OracleSink. -func (osVar OracleSink) AsSQLDWSink() (*SQLDWSink, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsAzureSQLSink is the BasicCopySink implementation for OracleSink. -func (osVar OracleSink) AsAzureSQLSink() (*AzureSQLSink, bool) { +// AsCustomDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsSQLServerSink is the BasicCopySink implementation for OracleSink. -func (osVar OracleSink) AsSQLServerSink() (*SQLServerSink, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsSQLSink is the BasicCopySink implementation for OracleSink. -func (osVar OracleSink) AsSQLSink() (*SQLSink, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsDocumentDbCollectionSink is the BasicCopySink implementation for OracleSink. -func (osVar OracleSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsFileSystemSink is the BasicCopySink implementation for OracleSink. -func (osVar OracleSink) AsFileSystemSink() (*FileSystemSink, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsBlobSink is the BasicCopySink implementation for OracleSink. -func (osVar OracleSink) AsBlobSink() (*BlobSink, bool) { +// AsAzureTableDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsParquetSink is the BasicCopySink implementation for OracleSink. -func (osVar OracleSink) AsParquetSink() (*ParquetSink, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsAzureTableSink is the BasicCopySink implementation for OracleSink. -func (osVar OracleSink) AsAzureTableSink() (*AzureTableSink, bool) { +// AsBinaryDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsAzureQueueSink is the BasicCopySink implementation for OracleSink. -func (osVar OracleSink) AsAzureQueueSink() (*AzureQueueSink, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsSapCloudForCustomerSink is the BasicCopySink implementation for OracleSink. -func (osVar OracleSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { +// AsParquetDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } -// AsDelimitedTextSink is the BasicCopySink implementation for OracleSink. -func (osVar OracleSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { +// AsAmazonS3Dataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false } -// AsCopySink is the BasicCopySink implementation for OracleSink. -func (osVar OracleSink) AsCopySink() (*CopySink, bool) { +// AsDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsDataset() (*Dataset, bool) { return nil, false } -// AsBasicCopySink is the BasicCopySink implementation for OracleSink. -func (osVar OracleSink) AsBasicCopySink() (BasicCopySink, bool) { - return &osVar, true +// AsBasicDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsBasicDataset() (BasicDataset, bool) { + return &pod, true } -// UnmarshalJSON is the custom unmarshaler for OracleSink struct. -func (osVar *OracleSink) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for PaypalObjectDataset struct. +func (pod *PaypalObjectDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -103735,14 +130323,14 @@ func (osVar *OracleSink) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "preCopyScript": + case "typeProperties": if v != nil { - var preCopyScript interface{} - err = json.Unmarshal(*v, &preCopyScript) + var genericDatasetTypeProperties GenericDatasetTypeProperties + err = json.Unmarshal(*v, &genericDatasetTypeProperties) if err != nil { return err } - osVar.PreCopyScript = preCopyScript + pod.GenericDatasetTypeProperties = &genericDatasetTypeProperties } default: if v != nil { @@ -103751,64 +130339,82 @@ func (osVar *OracleSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - if osVar.AdditionalProperties == nil { - osVar.AdditionalProperties = make(map[string]interface{}) + if pod.AdditionalProperties == nil { + pod.AdditionalProperties = make(map[string]interface{}) } - osVar.AdditionalProperties[k] = additionalProperties + pod.AdditionalProperties[k] = additionalProperties } - case "writeBatchSize": + case "description": if v != nil { - var writeBatchSize interface{} - err = json.Unmarshal(*v, &writeBatchSize) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - osVar.WriteBatchSize = writeBatchSize + pod.Description = &description } - case "writeBatchTimeout": + case "structure": if v != nil { - var writeBatchTimeout interface{} - err = json.Unmarshal(*v, &writeBatchTimeout) + var structure interface{} + err = json.Unmarshal(*v, &structure) if err != nil { return err } - osVar.WriteBatchTimeout = writeBatchTimeout + pod.Structure = structure } - case "sinkRetryCount": + case "schema": if v != nil { - var sinkRetryCount interface{} - err = json.Unmarshal(*v, &sinkRetryCount) + var schema interface{} + err = json.Unmarshal(*v, &schema) if err != nil { return err } - osVar.SinkRetryCount = sinkRetryCount + pod.Schema = schema } - case "sinkRetryWait": + case "linkedServiceName": if v != nil { - var sinkRetryWait interface{} - err = json.Unmarshal(*v, &sinkRetryWait) + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) if err != nil { return err } - osVar.SinkRetryWait = sinkRetryWait + pod.LinkedServiceName = &linkedServiceName } - case "maxConcurrentConnections": + case "parameters": if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - osVar.MaxConcurrentConnections = maxConcurrentConnections + pod.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + pod.Annotations = &annotations + } + case "folder": + if v != nil { + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) + if err != nil { + return err + } + pod.Folder = &folder } case "type": if v != nil { - var typeVar TypeBasicCopySink + var typeVar TypeBasicDataset err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - osVar.Type = typeVar + pod.Type = typeVar } } } @@ -103816,12 +130422,10 @@ func (osVar *OracleSink) UnmarshalJSON(body []byte) error { return nil } -// OracleSource a copy activity Oracle source. -type OracleSource struct { - // OracleReaderQuery - Oracle reader query. Type: string (or Expression with resultType string). - OracleReaderQuery interface{} `json:"oracleReaderQuery,omitempty"` - // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - QueryTimeout interface{} `json:"queryTimeout,omitempty"` +// PaypalSource a copy activity Paypal Service source. +type PaypalSource struct { + // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). + Query interface{} `json:"query,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -103830,380 +130434,447 @@ type OracleSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for OracleSource. -func (osVar OracleSource) MarshalJSON() ([]byte, error) { - osVar.Type = TypeOracleSource +// MarshalJSON is the custom marshaler for PaypalSource. +func (ps PaypalSource) MarshalJSON() ([]byte, error) { + ps.Type = TypePaypalSource objectMap := make(map[string]interface{}) - if osVar.OracleReaderQuery != nil { - objectMap["oracleReaderQuery"] = osVar.OracleReaderQuery - } - if osVar.QueryTimeout != nil { - objectMap["queryTimeout"] = osVar.QueryTimeout + if ps.Query != nil { + objectMap["query"] = ps.Query } - if osVar.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = osVar.SourceRetryCount + if ps.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = ps.SourceRetryCount } - if osVar.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = osVar.SourceRetryWait + if ps.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = ps.SourceRetryWait } - if osVar.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = osVar.MaxConcurrentConnections + if ps.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = ps.MaxConcurrentConnections } - if osVar.Type != "" { - objectMap["type"] = osVar.Type + if ps.Type != "" { + objectMap["type"] = ps.Type } - for k, v := range osVar.AdditionalProperties { + for k, v := range ps.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsResponsysSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsVerticaSource() (*VerticaSource, bool) { +// AsVerticaSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsNetezzaSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsZohoSource() (*ZohoSource, bool) { +// AsZohoSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsXeroSource() (*XeroSource, bool) { +// AsXeroSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsSquareSource() (*SquareSource, bool) { +// AsSquareSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsSparkSource() (*SparkSource, bool) { +// AsSparkSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsShopifySource() (*ShopifySource, bool) { +// AsShopifySource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsServiceNowSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsPrestoSource() (*PrestoSource, bool) { +// AsPrestoSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsPhoenixSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsPaypalSource() (*PaypalSource, bool) { +// AsPaypalSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsPaypalSource() (*PaypalSource, bool) { + return &ps, true +} + +// AsMarketoSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsMarketoSource() (*MarketoSource, bool) { +// AsMariaDBSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsMagentoSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsMagentoSource() (*MagentoSource, bool) { +// AsJiraSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsJiraSource() (*JiraSource, bool) { +// AsImpalaSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsHubspotSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsHubspotSource() (*HubspotSource, bool) { +// AsHiveSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsHiveSource() (*HiveSource, bool) { +// AsHBaseSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsHBaseSource() (*HBaseSource, bool) { +// AsGreenplumSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsEloquaSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsEloquaSource() (*EloquaSource, bool) { +// AsDrillSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsDrillSource() (*DrillSource, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsConcurSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsConcurSource() (*ConcurSource, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsHTTPSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsHTTPSource() (*HTTPSource, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsOffice365Source is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsOffice365Source() (*Office365Source, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsMongoDbSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsCassandraSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsCassandraSource() (*CassandraSource, bool) { +// AsWebSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsWebSource() (*WebSource, bool) { +// AsTeradataSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsOracleSource() (*OracleSource, bool) { - return &osVar, true +// AsOracleSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsOracleSource() (*OracleSource, bool) { + return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsHdfsSource() (*HdfsSource, bool) { +// AsHdfsSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsFileSystemSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsSQLDWSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsSQLMISource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsSQLSource() (*SQLSource, bool) { +// AsSQLServerSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsRestSource() (*RestSource, bool) { +// AsSQLSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsSapTableSource() (*SapTableSource, bool) { +// AsRestSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsSapTableSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsSapEccSource() (*SapEccSource, bool) { +// AsSapHanaSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsSapEccSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsRelationalSource() (*RelationalSource, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsSalesforceSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsODataSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsBlobSource() (*BlobSource, bool) { +// AsSybaseSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsMySQLSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsParquetSource() (*ParquetSource, bool) { +// AsOdbcSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsCopySource() (*CopySource, bool) { +// AsDb2Source is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsBasicCopySource() (BasicCopySource, bool) { - return &osVar, true +// AsMicrosoftAccessSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for OracleSource struct. -func (osVar *OracleSource) UnmarshalJSON(body []byte) error { +// AsInformixSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + +// AsRelationalSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + +// AsDynamicsSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + +// AsAzureTableSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsBinarySource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsDelimitedTextSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false +} + +// AsParquetSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsBasicCopySource() (BasicCopySource, bool) { + return &ps, true +} + +// UnmarshalJSON is the custom unmarshaler for PaypalSource struct. +func (ps *PaypalSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -104211,23 +130882,14 @@ func (osVar *OracleSource) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "oracleReaderQuery": - if v != nil { - var oracleReaderQuery interface{} - err = json.Unmarshal(*v, &oracleReaderQuery) - if err != nil { - return err - } - osVar.OracleReaderQuery = oracleReaderQuery - } - case "queryTimeout": + case "query": if v != nil { - var queryTimeout interface{} - err = json.Unmarshal(*v, &queryTimeout) + var query interface{} + err = json.Unmarshal(*v, &query) if err != nil { return err } - osVar.QueryTimeout = queryTimeout + ps.Query = query } default: if v != nil { @@ -104236,10 +130898,10 @@ func (osVar *OracleSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - if osVar.AdditionalProperties == nil { - osVar.AdditionalProperties = make(map[string]interface{}) + if ps.AdditionalProperties == nil { + ps.AdditionalProperties = make(map[string]interface{}) } - osVar.AdditionalProperties[k] = additionalProperties + ps.AdditionalProperties[k] = additionalProperties } case "sourceRetryCount": if v != nil { @@ -104248,7 +130910,7 @@ func (osVar *OracleSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - osVar.SourceRetryCount = sourceRetryCount + ps.SourceRetryCount = sourceRetryCount } case "sourceRetryWait": if v != nil { @@ -104257,7 +130919,7 @@ func (osVar *OracleSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - osVar.SourceRetryWait = sourceRetryWait + ps.SourceRetryWait = sourceRetryWait } case "maxConcurrentConnections": if v != nil { @@ -104266,7 +130928,7 @@ func (osVar *OracleSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - osVar.MaxConcurrentConnections = maxConcurrentConnections + ps.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { @@ -104275,7 +130937,7 @@ func (osVar *OracleSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - osVar.Type = typeVar + ps.Type = typeVar } } } @@ -104283,414 +130945,514 @@ func (osVar *OracleSource) UnmarshalJSON(body []byte) error { return nil } -// OracleTableDataset the on-premises Oracle database dataset. -type OracleTableDataset struct { - // OracleTableDatasetTypeProperties - On-premises Oracle dataset properties. - *OracleTableDatasetTypeProperties `json:"typeProperties,omitempty"` +// PhoenixLinkedService phoenix server linked service. +type PhoenixLinkedService struct { + // PhoenixLinkedServiceTypeProperties - Phoenix server linked service properties. + *PhoenixLinkedServiceTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Description - Dataset description. + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. Description *string `json:"description,omitempty"` - // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. - Structure interface{} `json:"structure,omitempty"` - // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - Schema interface{} `json:"schema,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Parameters - Parameters for dataset. + // Parameters - Parameters for linked service. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the Dataset. + // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' - Type TypeBasicDataset `json:"type,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for OracleTableDataset. -func (otd OracleTableDataset) MarshalJSON() ([]byte, error) { - otd.Type = TypeOracleTable +// MarshalJSON is the custom marshaler for PhoenixLinkedService. +func (pls PhoenixLinkedService) MarshalJSON() ([]byte, error) { + pls.Type = TypePhoenix objectMap := make(map[string]interface{}) - if otd.OracleTableDatasetTypeProperties != nil { - objectMap["typeProperties"] = otd.OracleTableDatasetTypeProperties - } - if otd.Description != nil { - objectMap["description"] = otd.Description - } - if otd.Structure != nil { - objectMap["structure"] = otd.Structure - } - if otd.Schema != nil { - objectMap["schema"] = otd.Schema + if pls.PhoenixLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = pls.PhoenixLinkedServiceTypeProperties } - if otd.LinkedServiceName != nil { - objectMap["linkedServiceName"] = otd.LinkedServiceName + if pls.ConnectVia != nil { + objectMap["connectVia"] = pls.ConnectVia } - if otd.Parameters != nil { - objectMap["parameters"] = otd.Parameters + if pls.Description != nil { + objectMap["description"] = pls.Description } - if otd.Annotations != nil { - objectMap["annotations"] = otd.Annotations + if pls.Parameters != nil { + objectMap["parameters"] = pls.Parameters } - if otd.Folder != nil { - objectMap["folder"] = otd.Folder + if pls.Annotations != nil { + objectMap["annotations"] = pls.Annotations } - if otd.Type != "" { - objectMap["type"] = otd.Type + if pls.Type != "" { + objectMap["type"] = pls.Type } - for k, v := range otd.AdditionalProperties { + for k, v := range pls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { + return &pls, true +} + +// AsPaypalLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { - return &otd, true +// AsRestServiceLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { + return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsDataset() (*Dataset, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsBasicDataset() (BasicDataset, bool) { - return &otd, true +// AsDb2LinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for OracleTableDataset struct. -func (otd *OracleTableDataset) UnmarshalJSON(body []byte) error { +// AsSybaseLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { + return nil, false +} + +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { + return nil, false +} + +// AsMySQLLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { + return nil, false +} + +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { + return nil, false +} + +// AsOracleLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { + return nil, false +} + +// AsFileServerLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { + return nil, false +} + +// AsHDInsightLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + +// AsDynamicsLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false +} + +// AsCosmosDbLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false +} + +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false +} + +// AsAzureBatchLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} + +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &pls, true +} + +// UnmarshalJSON is the custom unmarshaler for PhoenixLinkedService struct. +func (pls *PhoenixLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -104700,12 +131462,12 @@ func (otd *OracleTableDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var oracleTableDatasetTypeProperties OracleTableDatasetTypeProperties - err = json.Unmarshal(*v, &oracleTableDatasetTypeProperties) + var phoenixLinkedServiceTypeProperties PhoenixLinkedServiceTypeProperties + err = json.Unmarshal(*v, &phoenixLinkedServiceTypeProperties) if err != nil { return err } - otd.OracleTableDatasetTypeProperties = &oracleTableDatasetTypeProperties + pls.PhoenixLinkedServiceTypeProperties = &phoenixLinkedServiceTypeProperties } default: if v != nil { @@ -104714,46 +131476,28 @@ func (otd *OracleTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if otd.AdditionalProperties == nil { - otd.AdditionalProperties = make(map[string]interface{}) - } - otd.AdditionalProperties[k] = additionalProperties - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - otd.Description = &description - } - case "structure": - if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) - if err != nil { - return err + if pls.AdditionalProperties == nil { + pls.AdditionalProperties = make(map[string]interface{}) } - otd.Structure = structure + pls.AdditionalProperties[k] = additionalProperties } - case "schema": + case "connectVia": if v != nil { - var schema interface{} - err = json.Unmarshal(*v, &schema) + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) if err != nil { return err } - otd.Schema = schema + pls.ConnectVia = &connectVia } - case "linkedServiceName": + case "description": if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - otd.LinkedServiceName = &linkedServiceName + pls.Description = &description } case "parameters": if v != nil { @@ -104762,7 +131506,7 @@ func (otd *OracleTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - otd.Parameters = parameters + pls.Parameters = parameters } case "annotations": if v != nil { @@ -104771,25 +131515,16 @@ func (otd *OracleTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - otd.Annotations = &annotations - } - case "folder": - if v != nil { - var folder DatasetFolder - err = json.Unmarshal(*v, &folder) - if err != nil { - return err - } - otd.Folder = &folder + pls.Annotations = &annotations } case "type": if v != nil { - var typeVar TypeBasicDataset + var typeVar TypeBasicLinkedService err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - otd.Type = typeVar + pls.Type = typeVar } } } @@ -104797,80 +131532,36 @@ func (otd *OracleTableDataset) UnmarshalJSON(body []byte) error { return nil } -// OracleTableDatasetTypeProperties on-premises Oracle dataset properties. -type OracleTableDatasetTypeProperties struct { - // TableName - The table name of the on-premises Oracle database. Type: string (or Expression with resultType string). - TableName interface{} `json:"tableName,omitempty"` -} - -// OrcFormat the data stored in Optimized Row Columnar (ORC) format. -type OrcFormat struct { - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Serializer - Serializer. Type: string (or Expression with resultType string). - Serializer interface{} `json:"serializer,omitempty"` - // Deserializer - Deserializer. Type: string (or Expression with resultType string). - Deserializer interface{} `json:"deserializer,omitempty"` - // Type - Possible values include: 'TypeDatasetStorageFormat', 'TypeParquetFormat', 'TypeOrcFormat', 'TypeAvroFormat', 'TypeJSONFormat', 'TypeTextFormat' - Type TypeBasicDatasetStorageFormat `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for OrcFormat. -func (of OrcFormat) MarshalJSON() ([]byte, error) { - of.Type = TypeOrcFormat - objectMap := make(map[string]interface{}) - if of.Serializer != nil { - objectMap["serializer"] = of.Serializer - } - if of.Deserializer != nil { - objectMap["deserializer"] = of.Deserializer - } - if of.Type != "" { - objectMap["type"] = of.Type - } - for k, v := range of.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) -} - -// AsParquetFormat is the BasicDatasetStorageFormat implementation for OrcFormat. -func (of OrcFormat) AsParquetFormat() (*ParquetFormat, bool) { - return nil, false -} - -// AsOrcFormat is the BasicDatasetStorageFormat implementation for OrcFormat. -func (of OrcFormat) AsOrcFormat() (*OrcFormat, bool) { - return &of, true -} - -// AsAvroFormat is the BasicDatasetStorageFormat implementation for OrcFormat. -func (of OrcFormat) AsAvroFormat() (*AvroFormat, bool) { - return nil, false -} - -// AsJSONFormat is the BasicDatasetStorageFormat implementation for OrcFormat. -func (of OrcFormat) AsJSONFormat() (*JSONFormat, bool) { - return nil, false -} - -// AsTextFormat is the BasicDatasetStorageFormat implementation for OrcFormat. -func (of OrcFormat) AsTextFormat() (*TextFormat, bool) { - return nil, false -} - -// AsDatasetStorageFormat is the BasicDatasetStorageFormat implementation for OrcFormat. -func (of OrcFormat) AsDatasetStorageFormat() (*DatasetStorageFormat, bool) { - return nil, false -} - -// AsBasicDatasetStorageFormat is the BasicDatasetStorageFormat implementation for OrcFormat. -func (of OrcFormat) AsBasicDatasetStorageFormat() (BasicDatasetStorageFormat, bool) { - return &of, true +// PhoenixLinkedServiceTypeProperties phoenix server linked service properties. +type PhoenixLinkedServiceTypeProperties struct { + // Host - The IP address or host name of the Phoenix server. (i.e. 192.168.222.160) + Host interface{} `json:"host,omitempty"` + // Port - The TCP port that the Phoenix server uses to listen for client connections. The default value is 8765. + Port interface{} `json:"port,omitempty"` + // HTTPPath - The partial URL corresponding to the Phoenix server. (i.e. /gateway/sandbox/phoenix/version). The default value is hbasephoenix if using WindowsAzureHDInsightService. + HTTPPath interface{} `json:"httpPath,omitempty"` + // AuthenticationType - The authentication mechanism used to connect to the Phoenix server. Possible values include: 'PhoenixAuthenticationTypeAnonymous', 'PhoenixAuthenticationTypeUsernameAndPassword', 'PhoenixAuthenticationTypeWindowsAzureHDInsightService' + AuthenticationType PhoenixAuthenticationType `json:"authenticationType,omitempty"` + // Username - The user name used to connect to the Phoenix server. + Username interface{} `json:"username,omitempty"` + // Password - The password corresponding to the user name. + Password BasicSecretBase `json:"password,omitempty"` + // EnableSsl - Specifies whether the connections to the server are encrypted using SSL. The default value is false. + EnableSsl interface{} `json:"enableSsl,omitempty"` + // TrustedCertPath - 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. + TrustedCertPath interface{} `json:"trustedCertPath,omitempty"` + // UseSystemTrustStore - Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. + UseSystemTrustStore interface{} `json:"useSystemTrustStore,omitempty"` + // AllowHostNameCNMismatch - 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. + AllowHostNameCNMismatch interface{} `json:"allowHostNameCNMismatch,omitempty"` + // AllowSelfSignedServerCert - Specifies whether to allow self-signed certificates from the server. The default value is false. + AllowSelfSignedServerCert interface{} `json:"allowSelfSignedServerCert,omitempty"` + // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` } -// UnmarshalJSON is the custom unmarshaler for OrcFormat struct. -func (of *OrcFormat) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for PhoenixLinkedServiceTypeProperties struct. +func (plstp *PhoenixLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -104878,44 +131569,112 @@ func (of *OrcFormat) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - default: + case "host": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var host interface{} + err = json.Unmarshal(*v, &host) if err != nil { return err } - if of.AdditionalProperties == nil { - of.AdditionalProperties = make(map[string]interface{}) + plstp.Host = host + } + case "port": + if v != nil { + var port interface{} + err = json.Unmarshal(*v, &port) + if err != nil { + return err } - of.AdditionalProperties[k] = additionalProperties + plstp.Port = port } - case "serializer": + case "httpPath": if v != nil { - var serializer interface{} - err = json.Unmarshal(*v, &serializer) + var HTTPPath interface{} + err = json.Unmarshal(*v, &HTTPPath) if err != nil { return err } - of.Serializer = serializer + plstp.HTTPPath = HTTPPath } - case "deserializer": + case "authenticationType": if v != nil { - var deserializer interface{} - err = json.Unmarshal(*v, &deserializer) + var authenticationType PhoenixAuthenticationType + err = json.Unmarshal(*v, &authenticationType) if err != nil { return err } - of.Deserializer = deserializer + plstp.AuthenticationType = authenticationType } - case "type": + case "username": if v != nil { - var typeVar TypeBasicDatasetStorageFormat - err = json.Unmarshal(*v, &typeVar) + var username interface{} + err = json.Unmarshal(*v, &username) if err != nil { return err } - of.Type = typeVar + plstp.Username = username + } + case "password": + if v != nil { + password, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + plstp.Password = password + } + case "enableSsl": + if v != nil { + var enableSsl interface{} + err = json.Unmarshal(*v, &enableSsl) + if err != nil { + return err + } + plstp.EnableSsl = enableSsl + } + case "trustedCertPath": + if v != nil { + var trustedCertPath interface{} + err = json.Unmarshal(*v, &trustedCertPath) + if err != nil { + return err + } + plstp.TrustedCertPath = trustedCertPath + } + case "useSystemTrustStore": + if v != nil { + var useSystemTrustStore interface{} + err = json.Unmarshal(*v, &useSystemTrustStore) + if err != nil { + return err + } + plstp.UseSystemTrustStore = useSystemTrustStore + } + case "allowHostNameCNMismatch": + if v != nil { + var allowHostNameCNMismatch interface{} + err = json.Unmarshal(*v, &allowHostNameCNMismatch) + if err != nil { + return err + } + plstp.AllowHostNameCNMismatch = allowHostNameCNMismatch + } + case "allowSelfSignedServerCert": + if v != nil { + var allowSelfSignedServerCert interface{} + err = json.Unmarshal(*v, &allowSelfSignedServerCert) + if err != nil { + return err + } + plstp.AllowSelfSignedServerCert = allowSelfSignedServerCert + } + case "encryptedCredential": + if v != nil { + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) + if err != nil { + return err + } + plstp.EncryptedCredential = encryptedCredential } } } @@ -104923,18 +131682,10 @@ func (of *OrcFormat) UnmarshalJSON(body []byte) error { return nil } -// ParameterSpecification definition of a single parameter for an entity. -type ParameterSpecification struct { - // Type - Parameter type. Possible values include: 'ParameterTypeObject', 'ParameterTypeString', 'ParameterTypeInt', 'ParameterTypeFloat', 'ParameterTypeBool', 'ParameterTypeArray', 'ParameterTypeSecureString' - Type ParameterType `json:"type,omitempty"` - // DefaultValue - Default value of parameter. - DefaultValue interface{} `json:"defaultValue,omitempty"` -} - -// ParquetDataset parquet dataset. -type ParquetDataset struct { - // ParquetDatasetTypeProperties - Parquet dataset properties. - *ParquetDatasetTypeProperties `json:"typeProperties,omitempty"` +// PhoenixObjectDataset phoenix server dataset. +type PhoenixObjectDataset struct { + // GenericDatasetTypeProperties - Properties specific to this dataset type. + *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // Description - Dataset description. @@ -104951,394 +131702,449 @@ type ParquetDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for ParquetDataset. -func (pd ParquetDataset) MarshalJSON() ([]byte, error) { - pd.Type = TypeParquet +// MarshalJSON is the custom marshaler for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) MarshalJSON() ([]byte, error) { + pod.Type = TypePhoenixObject objectMap := make(map[string]interface{}) - if pd.ParquetDatasetTypeProperties != nil { - objectMap["typeProperties"] = pd.ParquetDatasetTypeProperties + if pod.GenericDatasetTypeProperties != nil { + objectMap["typeProperties"] = pod.GenericDatasetTypeProperties } - if pd.Description != nil { - objectMap["description"] = pd.Description + if pod.Description != nil { + objectMap["description"] = pod.Description } - if pd.Structure != nil { - objectMap["structure"] = pd.Structure + if pod.Structure != nil { + objectMap["structure"] = pod.Structure } - if pd.Schema != nil { - objectMap["schema"] = pd.Schema + if pod.Schema != nil { + objectMap["schema"] = pod.Schema } - if pd.LinkedServiceName != nil { - objectMap["linkedServiceName"] = pd.LinkedServiceName + if pod.LinkedServiceName != nil { + objectMap["linkedServiceName"] = pod.LinkedServiceName } - if pd.Parameters != nil { - objectMap["parameters"] = pd.Parameters + if pod.Parameters != nil { + objectMap["parameters"] = pod.Parameters } - if pd.Annotations != nil { - objectMap["annotations"] = pd.Annotations + if pod.Annotations != nil { + objectMap["annotations"] = pod.Annotations } - if pd.Folder != nil { - objectMap["folder"] = pd.Folder + if pod.Folder != nil { + objectMap["folder"] = pod.Folder } - if pd.Type != "" { - objectMap["type"] = pd.Type + if pod.Type != "" { + objectMap["type"] = pod.Type } - for k, v := range pd.AdditionalProperties { + for k, v := range pod.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { + return &pod, true +} + +// AsPaypalObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsDrillTableDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsHTTPDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsWebTableDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsRestResourceDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { + return nil, false +} + +// AsSapEccResourceDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { + return nil, false +} + +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { + return nil, false +} + +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { + return nil, false +} + +// AsSalesforceObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { + return nil, false +} + +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { + return nil, false +} + +// AsPostgreSQLTableDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { + return nil, false +} + +// AsMySQLTableDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { + return nil, false +} + +// AsOdbcTableDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { + return nil, false +} + +// AsInformixTableDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { + return nil, false +} + +// AsRelationalTableDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { + return nil, false +} + +// AsAzureMySQLTableDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsOracleTableDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsODataResourceDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsFileShareDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsOffice365Dataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsCustomDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsAzureTableDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsBinaryDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsParquetDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsParquetDataset() (*ParquetDataset, bool) { - return &pd, true -} - -// AsAmazonS3Dataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsAmazonS3Dataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsDataset() (*Dataset, bool) { +// AsDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsDataset() (*Dataset, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for ParquetDataset. -func (pd ParquetDataset) AsBasicDataset() (BasicDataset, bool) { - return &pd, true +// AsBasicDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsBasicDataset() (BasicDataset, bool) { + return &pod, true } -// UnmarshalJSON is the custom unmarshaler for ParquetDataset struct. -func (pd *ParquetDataset) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for PhoenixObjectDataset struct. +func (pod *PhoenixObjectDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -105348,12 +132154,12 @@ func (pd *ParquetDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var parquetDatasetTypeProperties ParquetDatasetTypeProperties - err = json.Unmarshal(*v, &parquetDatasetTypeProperties) + var genericDatasetTypeProperties GenericDatasetTypeProperties + err = json.Unmarshal(*v, &genericDatasetTypeProperties) if err != nil { return err } - pd.ParquetDatasetTypeProperties = &parquetDatasetTypeProperties + pod.GenericDatasetTypeProperties = &genericDatasetTypeProperties } default: if v != nil { @@ -105362,10 +132168,10 @@ func (pd *ParquetDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if pd.AdditionalProperties == nil { - pd.AdditionalProperties = make(map[string]interface{}) + if pod.AdditionalProperties == nil { + pod.AdditionalProperties = make(map[string]interface{}) } - pd.AdditionalProperties[k] = additionalProperties + pod.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -105374,7 +132180,7 @@ func (pd *ParquetDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - pd.Description = &description + pod.Description = &description } case "structure": if v != nil { @@ -105383,7 +132189,7 @@ func (pd *ParquetDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - pd.Structure = structure + pod.Structure = structure } case "schema": if v != nil { @@ -105392,7 +132198,7 @@ func (pd *ParquetDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - pd.Schema = schema + pod.Schema = schema } case "linkedServiceName": if v != nil { @@ -105401,7 +132207,7 @@ func (pd *ParquetDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - pd.LinkedServiceName = &linkedServiceName + pod.LinkedServiceName = &linkedServiceName } case "parameters": if v != nil { @@ -105410,7 +132216,7 @@ func (pd *ParquetDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - pd.Parameters = parameters + pod.Parameters = parameters } case "annotations": if v != nil { @@ -105419,7 +132225,7 @@ func (pd *ParquetDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - pd.Annotations = &annotations + pod.Annotations = &annotations } case "folder": if v != nil { @@ -105428,7 +132234,7 @@ func (pd *ParquetDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - pd.Folder = &folder + pod.Folder = &folder } case "type": if v != nil { @@ -105437,7 +132243,7 @@ func (pd *ParquetDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - pd.Type = typeVar + pod.Type = typeVar } } } @@ -105445,772 +132251,1146 @@ func (pd *ParquetDataset) UnmarshalJSON(body []byte) error { return nil } -// ParquetDatasetTypeProperties parquet dataset properties. -type ParquetDatasetTypeProperties struct { - // Location - The location of the parquet storage. - Location *DatasetLocation `json:"location,omitempty"` - CompressionCodec interface{} `json:"compressionCodec,omitempty"` -} - -// ParquetFormat the data stored in Parquet format. -type ParquetFormat struct { +// PhoenixSource a copy activity Phoenix server source. +type PhoenixSource struct { + // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). + Query interface{} `json:"query,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Serializer - Serializer. Type: string (or Expression with resultType string). - Serializer interface{} `json:"serializer,omitempty"` - // Deserializer - Deserializer. Type: string (or Expression with resultType string). - Deserializer interface{} `json:"deserializer,omitempty"` - // Type - Possible values include: 'TypeDatasetStorageFormat', 'TypeParquetFormat', 'TypeOrcFormat', 'TypeAvroFormat', 'TypeJSONFormat', 'TypeTextFormat' - Type TypeBasicDatasetStorageFormat `json:"type,omitempty"` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for ParquetFormat. -func (pf ParquetFormat) MarshalJSON() ([]byte, error) { - pf.Type = TypeParquetFormat +// MarshalJSON is the custom marshaler for PhoenixSource. +func (ps PhoenixSource) MarshalJSON() ([]byte, error) { + ps.Type = TypePhoenixSource objectMap := make(map[string]interface{}) - if pf.Serializer != nil { - objectMap["serializer"] = pf.Serializer + if ps.Query != nil { + objectMap["query"] = ps.Query } - if pf.Deserializer != nil { - objectMap["deserializer"] = pf.Deserializer + if ps.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = ps.SourceRetryCount } - if pf.Type != "" { - objectMap["type"] = pf.Type + if ps.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = ps.SourceRetryWait } - for k, v := range pf.AdditionalProperties { + if ps.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = ps.MaxConcurrentConnections + } + if ps.Type != "" { + objectMap["type"] = ps.Type + } + for k, v := range ps.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsParquetFormat is the BasicDatasetStorageFormat implementation for ParquetFormat. -func (pf ParquetFormat) AsParquetFormat() (*ParquetFormat, bool) { - return &pf, true +// AsAmazonRedshiftSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { + return nil, false } -// AsOrcFormat is the BasicDatasetStorageFormat implementation for ParquetFormat. -func (pf ParquetFormat) AsOrcFormat() (*OrcFormat, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsAvroFormat is the BasicDatasetStorageFormat implementation for ParquetFormat. -func (pf ParquetFormat) AsAvroFormat() (*AvroFormat, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsJSONFormat is the BasicDatasetStorageFormat implementation for ParquetFormat. -func (pf ParquetFormat) AsJSONFormat() (*JSONFormat, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsTextFormat is the BasicDatasetStorageFormat implementation for ParquetFormat. -func (pf ParquetFormat) AsTextFormat() (*TextFormat, bool) { +// AsResponsysSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsDatasetStorageFormat is the BasicDatasetStorageFormat implementation for ParquetFormat. -func (pf ParquetFormat) AsDatasetStorageFormat() (*DatasetStorageFormat, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsBasicDatasetStorageFormat is the BasicDatasetStorageFormat implementation for ParquetFormat. -func (pf ParquetFormat) AsBasicDatasetStorageFormat() (BasicDatasetStorageFormat, bool) { - return &pf, true +// AsVerticaSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for ParquetFormat struct. -func (pf *ParquetFormat) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if pf.AdditionalProperties == nil { - pf.AdditionalProperties = make(map[string]interface{}) - } - pf.AdditionalProperties[k] = additionalProperties - } - case "serializer": - if v != nil { - var serializer interface{} - err = json.Unmarshal(*v, &serializer) - if err != nil { - return err - } - pf.Serializer = serializer - } - case "deserializer": - if v != nil { - var deserializer interface{} - err = json.Unmarshal(*v, &deserializer) - if err != nil { - return err - } - pf.Deserializer = deserializer - } - case "type": - if v != nil { - var typeVar TypeBasicDatasetStorageFormat - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - pf.Type = typeVar - } - } - } - - return nil +// AsNetezzaSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false } -// ParquetSink a copy activity Parquet sink. -type ParquetSink struct { - // StoreSettings - Parquet store settings. - StoreSettings *StoreWriteSettings `json:"storeSettings,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - WriteBatchSize interface{} `json:"writeBatchSize,omitempty"` - // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"` - // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer). - SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"` - // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeDelimitedTextSink' - Type TypeBasicCopySink `json:"type,omitempty"` +// AsZohoSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsZohoSource() (*ZohoSource, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for ParquetSink. -func (ps ParquetSink) MarshalJSON() ([]byte, error) { - ps.Type = TypeParquetSink - objectMap := make(map[string]interface{}) - if ps.StoreSettings != nil { - objectMap["storeSettings"] = ps.StoreSettings - } - if ps.WriteBatchSize != nil { - objectMap["writeBatchSize"] = ps.WriteBatchSize - } - if ps.WriteBatchTimeout != nil { - objectMap["writeBatchTimeout"] = ps.WriteBatchTimeout - } - if ps.SinkRetryCount != nil { - objectMap["sinkRetryCount"] = ps.SinkRetryCount - } - if ps.SinkRetryWait != nil { - objectMap["sinkRetryWait"] = ps.SinkRetryWait - } - if ps.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = ps.MaxConcurrentConnections - } - if ps.Type != "" { - objectMap["type"] = ps.Type - } - for k, v := range ps.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsXeroSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsXeroSource() (*XeroSource, bool) { + return nil, false } -// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for ParquetSink. -func (ps ParquetSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { +// AsSquareSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsSalesforceSink is the BasicCopySink implementation for ParquetSink. -func (ps ParquetSink) AsSalesforceSink() (*SalesforceSink, bool) { +// AsSparkSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsAzureDataExplorerSink is the BasicCopySink implementation for ParquetSink. -func (ps ParquetSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { +// AsShopifySource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsDynamicsSink is the BasicCopySink implementation for ParquetSink. -func (ps ParquetSink) AsDynamicsSink() (*DynamicsSink, bool) { +// AsServiceNowSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsOdbcSink is the BasicCopySink implementation for ParquetSink. -func (ps ParquetSink) AsOdbcSink() (*OdbcSink, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsAzureSearchIndexSink is the BasicCopySink implementation for ParquetSink. -func (ps ParquetSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { +// AsPrestoSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsAzureBlobFSSink is the BasicCopySink implementation for ParquetSink. -func (ps ParquetSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { - return nil, false +// AsPhoenixSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsPhoenixSource() (*PhoenixSource, bool) { + return &ps, true } -// AsAzureDataLakeStoreSink is the BasicCopySink implementation for ParquetSink. -func (ps ParquetSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { +// AsPaypalSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsOracleSink is the BasicCopySink implementation for ParquetSink. -func (ps ParquetSink) AsOracleSink() (*OracleSink, bool) { +// AsMarketoSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsSQLDWSink is the BasicCopySink implementation for ParquetSink. -func (ps ParquetSink) AsSQLDWSink() (*SQLDWSink, bool) { +// AsMariaDBSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsAzureSQLSink is the BasicCopySink implementation for ParquetSink. -func (ps ParquetSink) AsAzureSQLSink() (*AzureSQLSink, bool) { +// AsMagentoSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsSQLServerSink is the BasicCopySink implementation for ParquetSink. -func (ps ParquetSink) AsSQLServerSink() (*SQLServerSink, bool) { +// AsJiraSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsSQLSink is the BasicCopySink implementation for ParquetSink. -func (ps ParquetSink) AsSQLSink() (*SQLSink, bool) { +// AsImpalaSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsDocumentDbCollectionSink is the BasicCopySink implementation for ParquetSink. -func (ps ParquetSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { +// AsHubspotSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsFileSystemSink is the BasicCopySink implementation for ParquetSink. -func (ps ParquetSink) AsFileSystemSink() (*FileSystemSink, bool) { +// AsHiveSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsBlobSink is the BasicCopySink implementation for ParquetSink. -func (ps ParquetSink) AsBlobSink() (*BlobSink, bool) { +// AsHBaseSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsParquetSink is the BasicCopySink implementation for ParquetSink. -func (ps ParquetSink) AsParquetSink() (*ParquetSink, bool) { - return &ps, true +// AsGreenplumSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsGreenplumSource() (*GreenplumSource, bool) { + return nil, false } -// AsAzureTableSink is the BasicCopySink implementation for ParquetSink. -func (ps ParquetSink) AsAzureTableSink() (*AzureTableSink, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsAzureQueueSink is the BasicCopySink implementation for ParquetSink. -func (ps ParquetSink) AsAzureQueueSink() (*AzureQueueSink, bool) { +// AsEloquaSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsSapCloudForCustomerSink is the BasicCopySink implementation for ParquetSink. -func (ps ParquetSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { +// AsDrillSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsDelimitedTextSink is the BasicCopySink implementation for ParquetSink. -func (ps ParquetSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsCopySink is the BasicCopySink implementation for ParquetSink. -func (ps ParquetSink) AsCopySink() (*CopySink, bool) { +// AsConcurSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsBasicCopySink is the BasicCopySink implementation for ParquetSink. -func (ps ParquetSink) AsBasicCopySink() (BasicCopySink, bool) { - return &ps, true +// AsAzurePostgreSQLSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for ParquetSink struct. -func (ps *ParquetSink) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "storeSettings": - if v != nil { - var storeSettings StoreWriteSettings - err = json.Unmarshal(*v, &storeSettings) - if err != nil { - return err - } - ps.StoreSettings = &storeSettings - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if ps.AdditionalProperties == nil { - ps.AdditionalProperties = make(map[string]interface{}) - } - ps.AdditionalProperties[k] = additionalProperties - } - case "writeBatchSize": - if v != nil { - var writeBatchSize interface{} - err = json.Unmarshal(*v, &writeBatchSize) - if err != nil { - return err - } - ps.WriteBatchSize = writeBatchSize - } - case "writeBatchTimeout": - if v != nil { - var writeBatchTimeout interface{} - err = json.Unmarshal(*v, &writeBatchTimeout) - if err != nil { - return err - } - ps.WriteBatchTimeout = writeBatchTimeout - } - case "sinkRetryCount": - if v != nil { - var sinkRetryCount interface{} - err = json.Unmarshal(*v, &sinkRetryCount) - if err != nil { - return err - } - ps.SinkRetryCount = sinkRetryCount - } - case "sinkRetryWait": - if v != nil { - var sinkRetryWait interface{} - err = json.Unmarshal(*v, &sinkRetryWait) - if err != nil { - return err - } - ps.SinkRetryWait = sinkRetryWait - } - case "maxConcurrentConnections": - if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) - if err != nil { - return err - } - ps.MaxConcurrentConnections = maxConcurrentConnections - } - case "type": - if v != nil { - var typeVar TypeBasicCopySink - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - ps.Type = typeVar - } - } - } - - return nil +// AsAmazonMWSSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { + return nil, false } -// ParquetSource a copy activity Parquet source. -type ParquetSource struct { - // StoreSettings - Parquet store settings. - StoreSettings *StoreReadSettings `json:"storeSettings,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). - SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` - // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' - Type TypeBasicCopySource `json:"type,omitempty"` +// AsHTTPSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for ParquetSource. -func (ps ParquetSource) MarshalJSON() ([]byte, error) { - ps.Type = TypeParquetSource - objectMap := make(map[string]interface{}) - if ps.StoreSettings != nil { - objectMap["storeSettings"] = ps.StoreSettings - } - if ps.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = ps.SourceRetryCount - } - if ps.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = ps.SourceRetryWait - } - if ps.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = ps.MaxConcurrentConnections - } - if ps.Type != "" { - objectMap["type"] = ps.Type - } - for k, v := range ps.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsAzureBlobFSSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false } -// AsAmazonRedshiftSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsOffice365Source is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsMongoDbSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsCassandraSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsVerticaSource() (*VerticaSource, bool) { +// AsWebSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsTeradataSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsZohoSource() (*ZohoSource, bool) { +// AsOracleSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsXeroSource() (*XeroSource, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsSquareSource() (*SquareSource, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsSparkSource() (*SparkSource, bool) { +// AsHdfsSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsShopifySource() (*ShopifySource, bool) { +// AsFileSystemSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsSQLDWSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsSQLMISource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsPrestoSource() (*PrestoSource, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsSQLServerSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsPaypalSource() (*PaypalSource, bool) { +// AsSQLSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsMarketoSource() (*MarketoSource, bool) { +// AsRestSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsSapTableSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsMagentoSource() (*MagentoSource, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsJiraSource() (*JiraSource, bool) { +// AsSapHanaSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsSapEccSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsHubspotSource() (*HubspotSource, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsHiveSource() (*HiveSource, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsHBaseSource() (*HBaseSource, bool) { +// AsSalesforceSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsODataSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsSybaseSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsEloquaSource() (*EloquaSource, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsDrillSource() (*DrillSource, bool) { +// AsMySQLSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsOdbcSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsConcurSource() (*ConcurSource, bool) { +// AsDb2Source is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsInformixSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsHTTPSource() (*HTTPSource, bool) { +// AsRelationalSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsOffice365Source() (*Office365Source, bool) { +// AsDynamicsSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsBlobSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsAzureTableSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsCassandraSource() (*CassandraSource, bool) { +// AsBinarySource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsWebSource() (*WebSource, bool) { +// AsDelimitedTextSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsOracleSource() (*OracleSource, bool) { +// AsParquetSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsCopySource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsCopySource() (*CopySource, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { - return nil, false +// AsBasicCopySource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsBasicCopySource() (BasicCopySource, bool) { + return &ps, true } -// AsHdfsSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsHdfsSource() (*HdfsSource, bool) { - return nil, false +// UnmarshalJSON is the custom unmarshaler for PhoenixSource struct. +func (ps *PhoenixSource) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "query": + if v != nil { + var query interface{} + err = json.Unmarshal(*v, &query) + if err != nil { + return err + } + ps.Query = query + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if ps.AdditionalProperties == nil { + ps.AdditionalProperties = make(map[string]interface{}) + } + ps.AdditionalProperties[k] = additionalProperties + } + case "sourceRetryCount": + if v != nil { + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) + if err != nil { + return err + } + ps.SourceRetryCount = sourceRetryCount + } + case "sourceRetryWait": + if v != nil { + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) + if err != nil { + return err + } + ps.SourceRetryWait = sourceRetryWait + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + ps.MaxConcurrentConnections = maxConcurrentConnections + } + case "type": + if v != nil { + var typeVar TypeBasicCopySource + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + ps.Type = typeVar + } + } + } + + return nil } -// AsFileSystemSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsFileSystemSource() (*FileSystemSource, bool) { - return nil, false +// Pipeline a data factory pipeline. +type Pipeline struct { + // Description - The description of the pipeline. + Description *string `json:"description,omitempty"` + // Activities - List of activities in pipeline. + Activities *[]BasicActivity `json:"activities,omitempty"` + // Parameters - List of parameters for pipeline. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Variables - List of variables for pipeline. + Variables map[string]*VariableSpecification `json:"variables"` + // Concurrency - The max number of concurrent runs for the pipeline. + Concurrency *int32 `json:"concurrency,omitempty"` + // Annotations - List of tags that can be used for describing the Pipeline. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Folder - The folder that this Pipeline is in. If not specified, Pipeline will appear at the root level. + Folder *PipelineFolder `json:"folder,omitempty"` } -// AsSQLDWSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsSQLDWSource() (*SQLDWSource, bool) { - return nil, false +// MarshalJSON is the custom marshaler for Pipeline. +func (p Pipeline) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if p.Description != nil { + objectMap["description"] = p.Description + } + if p.Activities != nil { + objectMap["activities"] = p.Activities + } + if p.Parameters != nil { + objectMap["parameters"] = p.Parameters + } + if p.Variables != nil { + objectMap["variables"] = p.Variables + } + if p.Concurrency != nil { + objectMap["concurrency"] = p.Concurrency + } + if p.Annotations != nil { + objectMap["annotations"] = p.Annotations + } + if p.Folder != nil { + objectMap["folder"] = p.Folder + } + return json.Marshal(objectMap) } -// AsAzureSQLSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsAzureSQLSource() (*AzureSQLSource, bool) { - return nil, false +// UnmarshalJSON is the custom unmarshaler for Pipeline struct. +func (p *Pipeline) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + p.Description = &description + } + case "activities": + if v != nil { + activities, err := unmarshalBasicActivityArray(*v) + if err != nil { + return err + } + p.Activities = &activities + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + p.Parameters = parameters + } + case "variables": + if v != nil { + var variables map[string]*VariableSpecification + err = json.Unmarshal(*v, &variables) + if err != nil { + return err + } + p.Variables = variables + } + case "concurrency": + if v != nil { + var concurrency int32 + err = json.Unmarshal(*v, &concurrency) + if err != nil { + return err + } + p.Concurrency = &concurrency + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + p.Annotations = &annotations + } + case "folder": + if v != nil { + var folder PipelineFolder + err = json.Unmarshal(*v, &folder) + if err != nil { + return err + } + p.Folder = &folder + } + } + } + + return nil +} + +// PipelineFolder the folder that this Pipeline is in. If not specified, Pipeline will appear at the root +// level. +type PipelineFolder struct { + // Name - The name of the folder that this Pipeline is in. + Name *string `json:"name,omitempty"` +} + +// PipelineListResponse a list of pipeline resources. +type PipelineListResponse struct { + autorest.Response `json:"-"` + // Value - List of pipelines. + Value *[]PipelineResource `json:"value,omitempty"` + // NextLink - The link to the next page of results, if any remaining results exist. + NextLink *string `json:"nextLink,omitempty"` +} + +// PipelineListResponseIterator provides access to a complete listing of PipelineResource values. +type PipelineListResponseIterator struct { + i int + page PipelineListResponsePage +} + +// NextWithContext advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +func (iter *PipelineListResponseIterator) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/PipelineListResponseIterator.NextWithContext") + defer func() { + sc := -1 + if iter.Response().Response.Response != nil { + sc = iter.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + iter.i++ + if iter.i < len(iter.page.Values()) { + return nil + } + err = iter.page.NextWithContext(ctx) + if err != nil { + iter.i-- + return err + } + iter.i = 0 + return nil +} + +// Next advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (iter *PipelineListResponseIterator) Next() error { + return iter.NextWithContext(context.Background()) +} + +// NotDone returns true if the enumeration should be started or is not yet complete. +func (iter PipelineListResponseIterator) NotDone() bool { + return iter.page.NotDone() && iter.i < len(iter.page.Values()) +} + +// Response returns the raw server response from the last page request. +func (iter PipelineListResponseIterator) Response() PipelineListResponse { + return iter.page.Response() +} + +// Value returns the current value or a zero-initialized value if the +// iterator has advanced beyond the end of the collection. +func (iter PipelineListResponseIterator) Value() PipelineResource { + if !iter.page.NotDone() { + return PipelineResource{} + } + return iter.page.Values()[iter.i] +} + +// Creates a new instance of the PipelineListResponseIterator type. +func NewPipelineListResponseIterator(page PipelineListResponsePage) PipelineListResponseIterator { + return PipelineListResponseIterator{page: page} +} + +// IsEmpty returns true if the ListResult contains no values. +func (plr PipelineListResponse) IsEmpty() bool { + return plr.Value == nil || len(*plr.Value) == 0 +} + +// pipelineListResponsePreparer prepares a request to retrieve the next set of results. +// It returns nil if no more results exist. +func (plr PipelineListResponse) pipelineListResponsePreparer(ctx context.Context) (*http.Request, error) { + if plr.NextLink == nil || len(to.String(plr.NextLink)) < 1 { + return nil, nil + } + return autorest.Prepare((&http.Request{}).WithContext(ctx), + autorest.AsJSON(), + autorest.AsGet(), + autorest.WithBaseURL(to.String(plr.NextLink))) +} + +// PipelineListResponsePage contains a page of PipelineResource values. +type PipelineListResponsePage struct { + fn func(context.Context, PipelineListResponse) (PipelineListResponse, error) + plr PipelineListResponse +} + +// NextWithContext advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +func (page *PipelineListResponsePage) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/PipelineListResponsePage.NextWithContext") + defer func() { + sc := -1 + if page.Response().Response.Response != nil { + sc = page.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + next, err := page.fn(ctx, page.plr) + if err != nil { + return err + } + page.plr = next + return nil } -// AsSQLServerSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsSQLServerSource() (*SQLServerSource, bool) { - return nil, false +// Next advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (page *PipelineListResponsePage) Next() error { + return page.NextWithContext(context.Background()) } -// AsSQLSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsSQLSource() (*SQLSource, bool) { - return nil, false +// NotDone returns true if the page enumeration should be started or is not yet complete. +func (page PipelineListResponsePage) NotDone() bool { + return !page.plr.IsEmpty() } -// AsRestSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsRestSource() (*RestSource, bool) { - return nil, false +// Response returns the raw server response from the last page request. +func (page PipelineListResponsePage) Response() PipelineListResponse { + return page.plr } -// AsSapTableSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsSapTableSource() (*SapTableSource, bool) { - return nil, false +// Values returns the slice of values for the current page or nil if there are no values. +func (page PipelineListResponsePage) Values() []PipelineResource { + if page.plr.IsEmpty() { + return nil + } + return *page.plr.Value } -// AsSapOpenHubSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { - return nil, false +// Creates a new instance of the PipelineListResponsePage type. +func NewPipelineListResponsePage(getNextPage func(context.Context, PipelineListResponse) (PipelineListResponse, error)) PipelineListResponsePage { + return PipelineListResponsePage{fn: getNextPage} } -// AsSapHanaSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsSapHanaSource() (*SapHanaSource, bool) { - return nil, false +// PipelineReference pipeline reference type. +type PipelineReference struct { + // Type - Pipeline reference type. + Type *string `json:"type,omitempty"` + // ReferenceName - Reference pipeline name. + ReferenceName *string `json:"referenceName,omitempty"` + // Name - Reference name. + Name *string `json:"name,omitempty"` } -// AsSapEccSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsSapEccSource() (*SapEccSource, bool) { - return nil, false +// PipelineResource pipeline resource type. +type PipelineResource struct { + autorest.Response `json:"-"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Pipeline - Properties of the pipeline. + *Pipeline `json:"properties,omitempty"` + // ID - READ-ONLY; The resource identifier. + ID *string `json:"id,omitempty"` + // Name - READ-ONLY; The resource name. + Name *string `json:"name,omitempty"` + // Type - READ-ONLY; The resource type. + Type *string `json:"type,omitempty"` + // Etag - READ-ONLY; Etag identifies change in the resource. + Etag *string `json:"etag,omitempty"` } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { - return nil, false +// MarshalJSON is the custom marshaler for PipelineResource. +func (pr PipelineResource) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if pr.Pipeline != nil { + objectMap["properties"] = pr.Pipeline + } + for k, v := range pr.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// AsSalesforceSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsSalesforceSource() (*SalesforceSource, bool) { - return nil, false -} +// UnmarshalJSON is the custom unmarshaler for PipelineResource struct. +func (pr *PipelineResource) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if pr.AdditionalProperties == nil { + pr.AdditionalProperties = make(map[string]interface{}) + } + pr.AdditionalProperties[k] = additionalProperties + } + case "properties": + if v != nil { + var pipeline Pipeline + err = json.Unmarshal(*v, &pipeline) + if err != nil { + return err + } + pr.Pipeline = &pipeline + } + case "id": + if v != nil { + var ID string + err = json.Unmarshal(*v, &ID) + if err != nil { + return err + } + pr.ID = &ID + } + case "name": + if v != nil { + var name string + err = json.Unmarshal(*v, &name) + if err != nil { + return err + } + pr.Name = &name + } + case "type": + if v != nil { + var typeVar string + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + pr.Type = &typeVar + } + case "etag": + if v != nil { + var etag string + err = json.Unmarshal(*v, &etag) + if err != nil { + return err + } + pr.Etag = &etag + } + } + } -// AsRelationalSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsRelationalSource() (*RelationalSource, bool) { - return nil, false + return nil } -// AsDynamicsSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsDynamicsSource() (*DynamicsSource, bool) { - return nil, false +// PipelineRun information about a pipeline run. +type PipelineRun struct { + autorest.Response `json:"-"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // RunID - READ-ONLY; Identifier of a run. + RunID *string `json:"runId,omitempty"` + // RunGroupID - READ-ONLY; Identifier that correlates all the recovery runs of a pipeline run. + RunGroupID *string `json:"runGroupId,omitempty"` + // IsLatest - READ-ONLY; Indicates if the recovered pipeline run is the latest in its group. + IsLatest *bool `json:"isLatest,omitempty"` + // PipelineName - READ-ONLY; The pipeline name. + PipelineName *string `json:"pipelineName,omitempty"` + // Parameters - READ-ONLY; The full or partial list of parameter name, value pair used in the pipeline run. + Parameters map[string]*string `json:"parameters"` + // InvokedBy - READ-ONLY; Entity that started the pipeline run. + InvokedBy *PipelineRunInvokedBy `json:"invokedBy,omitempty"` + // LastUpdated - READ-ONLY; The last updated timestamp for the pipeline run event in ISO8601 format. + LastUpdated *date.Time `json:"lastUpdated,omitempty"` + // RunStart - READ-ONLY; The start time of a pipeline run in ISO8601 format. + RunStart *date.Time `json:"runStart,omitempty"` + // RunEnd - READ-ONLY; The end time of a pipeline run in ISO8601 format. + RunEnd *date.Time `json:"runEnd,omitempty"` + // DurationInMs - READ-ONLY; The duration of a pipeline run. + DurationInMs *int32 `json:"durationInMs,omitempty"` + // Status - READ-ONLY; The status of a pipeline run. + Status *string `json:"status,omitempty"` + // Message - READ-ONLY; The message from a pipeline run. + Message *string `json:"message,omitempty"` } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { - return nil, false +// MarshalJSON is the custom marshaler for PipelineRun. +func (pr PipelineRun) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + for k, v := range pr.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// AsBlobSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsBlobSource() (*BlobSource, bool) { - return nil, false -} +// UnmarshalJSON is the custom unmarshaler for PipelineRun struct. +func (pr *PipelineRun) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if pr.AdditionalProperties == nil { + pr.AdditionalProperties = make(map[string]interface{}) + } + pr.AdditionalProperties[k] = additionalProperties + } + case "runId": + if v != nil { + var runID string + err = json.Unmarshal(*v, &runID) + if err != nil { + return err + } + pr.RunID = &runID + } + case "runGroupId": + if v != nil { + var runGroupID string + err = json.Unmarshal(*v, &runGroupID) + if err != nil { + return err + } + pr.RunGroupID = &runGroupID + } + case "isLatest": + if v != nil { + var isLatest bool + err = json.Unmarshal(*v, &isLatest) + if err != nil { + return err + } + pr.IsLatest = &isLatest + } + case "pipelineName": + if v != nil { + var pipelineName string + err = json.Unmarshal(*v, &pipelineName) + if err != nil { + return err + } + pr.PipelineName = &pipelineName + } + case "parameters": + if v != nil { + var parameters map[string]*string + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + pr.Parameters = parameters + } + case "invokedBy": + if v != nil { + var invokedBy PipelineRunInvokedBy + err = json.Unmarshal(*v, &invokedBy) + if err != nil { + return err + } + pr.InvokedBy = &invokedBy + } + case "lastUpdated": + if v != nil { + var lastUpdated date.Time + err = json.Unmarshal(*v, &lastUpdated) + if err != nil { + return err + } + pr.LastUpdated = &lastUpdated + } + case "runStart": + if v != nil { + var runStart date.Time + err = json.Unmarshal(*v, &runStart) + if err != nil { + return err + } + pr.RunStart = &runStart + } + case "runEnd": + if v != nil { + var runEnd date.Time + err = json.Unmarshal(*v, &runEnd) + if err != nil { + return err + } + pr.RunEnd = &runEnd + } + case "durationInMs": + if v != nil { + var durationInMs int32 + err = json.Unmarshal(*v, &durationInMs) + if err != nil { + return err + } + pr.DurationInMs = &durationInMs + } + case "status": + if v != nil { + var status string + err = json.Unmarshal(*v, &status) + if err != nil { + return err + } + pr.Status = &status + } + case "message": + if v != nil { + var message string + err = json.Unmarshal(*v, &message) + if err != nil { + return err + } + pr.Message = &message + } + } + } -// AsAzureTableSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsAzureTableSource() (*AzureTableSource, bool) { - return nil, false + return nil } -// AsDelimitedTextSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { - return nil, false +// PipelineRunInvokedBy provides entity name and id that started the pipeline run. +type PipelineRunInvokedBy struct { + // Name - READ-ONLY; Name of the entity that started the pipeline run. + Name *string `json:"name,omitempty"` + // ID - READ-ONLY; The ID of the entity that started the run. + ID *string `json:"id,omitempty"` + // InvokedByType - READ-ONLY; The type of the entity that started the run. + InvokedByType *string `json:"invokedByType,omitempty"` } -// AsParquetSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsParquetSource() (*ParquetSource, bool) { - return &ps, true +// PipelineRunsQueryResponse a list pipeline runs. +type PipelineRunsQueryResponse struct { + autorest.Response `json:"-"` + // Value - List of pipeline runs. + Value *[]PipelineRun `json:"value,omitempty"` + // ContinuationToken - The continuation token for getting the next page of results, if any remaining results exist, null otherwise. + ContinuationToken *string `json:"continuationToken,omitempty"` } -// AsCopySource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsCopySource() (*CopySource, bool) { - return nil, false +// PolybaseSettings polyBase settings. +type PolybaseSettings struct { + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // RejectType - Reject type. Possible values include: 'Value', 'Percentage' + RejectType PolybaseSettingsRejectType `json:"rejectType,omitempty"` + // RejectValue - Specifies the value or the percentage of rows that can be rejected before the query fails. Type: number (or Expression with resultType number), minimum: 0. + RejectValue interface{} `json:"rejectValue,omitempty"` + // RejectSampleValue - 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. + RejectSampleValue interface{} `json:"rejectSampleValue,omitempty"` + // UseTypeDefault - 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). + UseTypeDefault interface{} `json:"useTypeDefault,omitempty"` } -// AsBasicCopySource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsBasicCopySource() (BasicCopySource, bool) { - return &ps, true +// MarshalJSON is the custom marshaler for PolybaseSettings. +func (ps PolybaseSettings) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if ps.RejectType != "" { + objectMap["rejectType"] = ps.RejectType + } + if ps.RejectValue != nil { + objectMap["rejectValue"] = ps.RejectValue + } + if ps.RejectSampleValue != nil { + objectMap["rejectSampleValue"] = ps.RejectSampleValue + } + if ps.UseTypeDefault != nil { + objectMap["useTypeDefault"] = ps.UseTypeDefault + } + for k, v := range ps.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for ParquetSource struct. -func (ps *ParquetSource) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for PolybaseSettings struct. +func (ps *PolybaseSettings) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -106218,15 +133398,6 @@ func (ps *ParquetSource) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "storeSettings": - if v != nil { - var storeSettings StoreReadSettings - err = json.Unmarshal(*v, &storeSettings) - if err != nil { - return err - } - ps.StoreSettings = &storeSettings - } default: if v != nil { var additionalProperties interface{} @@ -106239,41 +133410,41 @@ func (ps *ParquetSource) UnmarshalJSON(body []byte) error { } ps.AdditionalProperties[k] = additionalProperties } - case "sourceRetryCount": + case "rejectType": if v != nil { - var sourceRetryCount interface{} - err = json.Unmarshal(*v, &sourceRetryCount) + var rejectType PolybaseSettingsRejectType + err = json.Unmarshal(*v, &rejectType) if err != nil { return err } - ps.SourceRetryCount = sourceRetryCount + ps.RejectType = rejectType } - case "sourceRetryWait": + case "rejectValue": if v != nil { - var sourceRetryWait interface{} - err = json.Unmarshal(*v, &sourceRetryWait) + var rejectValue interface{} + err = json.Unmarshal(*v, &rejectValue) if err != nil { return err } - ps.SourceRetryWait = sourceRetryWait + ps.RejectValue = rejectValue } - case "maxConcurrentConnections": + case "rejectSampleValue": if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) + var rejectSampleValue interface{} + err = json.Unmarshal(*v, &rejectSampleValue) if err != nil { return err } - ps.MaxConcurrentConnections = maxConcurrentConnections + ps.RejectSampleValue = rejectSampleValue } - case "type": + case "useTypeDefault": if v != nil { - var typeVar TypeBasicCopySource - err = json.Unmarshal(*v, &typeVar) + var useTypeDefault interface{} + err = json.Unmarshal(*v, &useTypeDefault) if err != nil { return err } - ps.Type = typeVar + ps.UseTypeDefault = useTypeDefault } } } @@ -106281,10 +133452,10 @@ func (ps *ParquetSource) UnmarshalJSON(body []byte) error { return nil } -// PaypalLinkedService paypal Service linked service. -type PaypalLinkedService struct { - // PaypalLinkedServiceTypeProperties - Paypal Service linked service properties. - *PaypalLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// PostgreSQLLinkedService linked service for PostgreSQL data source. +type PostgreSQLLinkedService struct { + // PostgreSQLLinkedServiceTypeProperties - PostgreSQL linked service properties. + *PostgreSQLLinkedServiceTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // ConnectVia - The integration runtime reference. @@ -106295,470 +133466,500 @@ type PaypalLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for PaypalLinkedService. -func (pls PaypalLinkedService) MarshalJSON() ([]byte, error) { - pls.Type = TypePaypal +// MarshalJSON is the custom marshaler for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) MarshalJSON() ([]byte, error) { + psls.Type = TypePostgreSQL objectMap := make(map[string]interface{}) - if pls.PaypalLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = pls.PaypalLinkedServiceTypeProperties + if psls.PostgreSQLLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = psls.PostgreSQLLinkedServiceTypeProperties } - if pls.ConnectVia != nil { - objectMap["connectVia"] = pls.ConnectVia + if psls.ConnectVia != nil { + objectMap["connectVia"] = psls.ConnectVia } - if pls.Description != nil { - objectMap["description"] = pls.Description + if psls.Description != nil { + objectMap["description"] = psls.Description } - if pls.Parameters != nil { - objectMap["parameters"] = pls.Parameters + if psls.Parameters != nil { + objectMap["parameters"] = psls.Parameters } - if pls.Annotations != nil { - objectMap["annotations"] = pls.Annotations + if psls.Annotations != nil { + objectMap["annotations"] = psls.Annotations } - if pls.Type != "" { - objectMap["type"] = pls.Type + if psls.Type != "" { + objectMap["type"] = psls.Type } - for k, v := range pls.AdditionalProperties { + for k, v := range psls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsSapTableLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { - return &pls, true +// AsPaypalLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { + return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { + return &psls, true +} + +// AsMySQLLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &pls, true +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for PaypalLinkedService struct. -func (pls *PaypalLinkedService) UnmarshalJSON(body []byte) error { +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &psls, true +} + +// UnmarshalJSON is the custom unmarshaler for PostgreSQLLinkedService struct. +func (psls *PostgreSQLLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -106768,12 +133969,12 @@ func (pls *PaypalLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var paypalLinkedServiceTypeProperties PaypalLinkedServiceTypeProperties - err = json.Unmarshal(*v, &paypalLinkedServiceTypeProperties) + var postgreSQLLinkedServiceTypeProperties PostgreSQLLinkedServiceTypeProperties + err = json.Unmarshal(*v, &postgreSQLLinkedServiceTypeProperties) if err != nil { return err } - pls.PaypalLinkedServiceTypeProperties = &paypalLinkedServiceTypeProperties + psls.PostgreSQLLinkedServiceTypeProperties = &postgreSQLLinkedServiceTypeProperties } default: if v != nil { @@ -106782,10 +133983,10 @@ func (pls *PaypalLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if pls.AdditionalProperties == nil { - pls.AdditionalProperties = make(map[string]interface{}) + if psls.AdditionalProperties == nil { + psls.AdditionalProperties = make(map[string]interface{}) } - pls.AdditionalProperties[k] = additionalProperties + psls.AdditionalProperties[k] = additionalProperties } case "connectVia": if v != nil { @@ -106794,7 +133995,7 @@ func (pls *PaypalLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - pls.ConnectVia = &connectVia + psls.ConnectVia = &connectVia } case "description": if v != nil { @@ -106803,7 +134004,7 @@ func (pls *PaypalLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - pls.Description = &description + psls.Description = &description } case "parameters": if v != nil { @@ -106812,7 +134013,7 @@ func (pls *PaypalLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - pls.Parameters = parameters + psls.Parameters = parameters } case "annotations": if v != nil { @@ -106821,7 +134022,7 @@ func (pls *PaypalLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - pls.Annotations = &annotations + psls.Annotations = &annotations } case "type": if v != nil { @@ -106830,7 +134031,7 @@ func (pls *PaypalLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - pls.Type = typeVar + psls.Type = typeVar } } } @@ -106838,26 +134039,18 @@ func (pls *PaypalLinkedService) UnmarshalJSON(body []byte) error { return nil } -// PaypalLinkedServiceTypeProperties paypal Service linked service properties. -type PaypalLinkedServiceTypeProperties struct { - // Host - The URL of the PayPal instance. (i.e. api.sandbox.paypal.com) - Host interface{} `json:"host,omitempty"` - // ClientID - The client ID associated with your PayPal application. - ClientID interface{} `json:"clientId,omitempty"` - // ClientSecret - The client secret associated with your PayPal application. - ClientSecret BasicSecretBase `json:"clientSecret,omitempty"` - // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. - UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"` - // UseHostVerification - 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. - UseHostVerification interface{} `json:"useHostVerification,omitempty"` - // UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. - UsePeerVerification interface{} `json:"usePeerVerification,omitempty"` +// PostgreSQLLinkedServiceTypeProperties postgreSQL linked service properties. +type PostgreSQLLinkedServiceTypeProperties struct { + // ConnectionString - The connection string. + ConnectionString BasicSecretBase `json:"connectionString,omitempty"` + // Password - The Azure key vault secret reference of password in connection string. + Password *AzureKeyVaultSecretReference `json:"password,omitempty"` // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` } -// UnmarshalJSON is the custom unmarshaler for PaypalLinkedServiceTypeProperties struct. -func (plstp *PaypalLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for PostgreSQLLinkedServiceTypeProperties struct. +func (pslstp *PostgreSQLLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -106865,58 +134058,22 @@ func (plstp *PaypalLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error } for k, v := range m { switch k { - case "host": - if v != nil { - var host interface{} - err = json.Unmarshal(*v, &host) - if err != nil { - return err - } - plstp.Host = host - } - case "clientId": - if v != nil { - var clientID interface{} - err = json.Unmarshal(*v, &clientID) - if err != nil { - return err - } - plstp.ClientID = clientID - } - case "clientSecret": - if v != nil { - clientSecret, err := unmarshalBasicSecretBase(*v) - if err != nil { - return err - } - plstp.ClientSecret = clientSecret - } - case "useEncryptedEndpoints": - if v != nil { - var useEncryptedEndpoints interface{} - err = json.Unmarshal(*v, &useEncryptedEndpoints) - if err != nil { - return err - } - plstp.UseEncryptedEndpoints = useEncryptedEndpoints - } - case "useHostVerification": + case "connectionString": if v != nil { - var useHostVerification interface{} - err = json.Unmarshal(*v, &useHostVerification) + connectionString, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - plstp.UseHostVerification = useHostVerification + pslstp.ConnectionString = connectionString } - case "usePeerVerification": + case "password": if v != nil { - var usePeerVerification interface{} - err = json.Unmarshal(*v, &usePeerVerification) + var password AzureKeyVaultSecretReference + err = json.Unmarshal(*v, &password) if err != nil { return err } - plstp.UsePeerVerification = usePeerVerification + pslstp.Password = &password } case "encryptedCredential": if v != nil { @@ -106925,7 +134082,7 @@ func (plstp *PaypalLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error if err != nil { return err } - plstp.EncryptedCredential = encryptedCredential + pslstp.EncryptedCredential = encryptedCredential } } } @@ -106933,414 +134090,459 @@ func (plstp *PaypalLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error return nil } -// PaypalObjectDataset paypal Service dataset. -type PaypalObjectDataset struct { - // GenericDatasetTypeProperties - Properties specific to this dataset type. - *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` +// PostgreSQLSource a copy activity source for PostgreSQL databases. +type PostgreSQLSource struct { + // Query - Database query. Type: string (or Expression with resultType string). + Query interface{} `json:"query,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Description - Dataset description. - Description *string `json:"description,omitempty"` - // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. - Structure interface{} `json:"structure,omitempty"` - // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - Schema interface{} `json:"schema,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Parameters - Parameters for dataset. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the Dataset. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' - Type TypeBasicDataset `json:"type,omitempty"` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for PaypalObjectDataset. -func (pod PaypalObjectDataset) MarshalJSON() ([]byte, error) { - pod.Type = TypePaypalObject +// MarshalJSON is the custom marshaler for PostgreSQLSource. +func (pss PostgreSQLSource) MarshalJSON() ([]byte, error) { + pss.Type = TypePostgreSQLSource objectMap := make(map[string]interface{}) - if pod.GenericDatasetTypeProperties != nil { - objectMap["typeProperties"] = pod.GenericDatasetTypeProperties + if pss.Query != nil { + objectMap["query"] = pss.Query } - if pod.Description != nil { - objectMap["description"] = pod.Description - } - if pod.Structure != nil { - objectMap["structure"] = pod.Structure - } - if pod.Schema != nil { - objectMap["schema"] = pod.Schema + if pss.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = pss.SourceRetryCount } - if pod.LinkedServiceName != nil { - objectMap["linkedServiceName"] = pod.LinkedServiceName - } - if pod.Parameters != nil { - objectMap["parameters"] = pod.Parameters - } - if pod.Annotations != nil { - objectMap["annotations"] = pod.Annotations + if pss.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = pss.SourceRetryWait } - if pod.Folder != nil { - objectMap["folder"] = pod.Folder + if pss.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = pss.MaxConcurrentConnections } - if pod.Type != "" { - objectMap["type"] = pod.Type + if pss.Type != "" { + objectMap["type"] = pss.Type } - for k, v := range pod.AdditionalProperties { + for k, v := range pss.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { + return nil, false +} + +// AsGoogleAdWordsSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { + return nil, false +} + +// AsOracleServiceCloudSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { + return nil, false +} + +// AsDynamicsAXSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { + return nil, false +} + +// AsResponsysSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsVerticaSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsNetezzaSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsZohoSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsXeroSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsSquareSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsSparkSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsShopifySource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsServiceNowSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsPrestoSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsPhoenixSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsPaypalSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsMarketoSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsMariaDBSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsMagentoSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { - return &pod, true +// AsJiraSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsJiraSource() (*JiraSource, bool) { + return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsImpalaSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsHubspotSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsHiveSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsHBaseSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsGreenplumSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsEloquaSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsDrillSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsConcurSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsHTTPSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsOffice365Source is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsMongoDbSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsCassandraSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsWebSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsTeradataSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsOracleSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsHdfsSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsFileSystemSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsSQLDWSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsSQLMISource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsSQLServerSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsSQLSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsRestSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsSapTableSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsSapHanaSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsSapEccSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsSalesforceSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsODataSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsSybaseSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return &pss, true +} + +// AsMySQLSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsOdbcSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsDb2Source is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsInformixSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsRelationalSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsDataset() (*Dataset, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsBasicDataset() (BasicDataset, bool) { - return &pod, true +// AsDynamicsSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for PaypalObjectDataset struct. -func (pod *PaypalObjectDataset) UnmarshalJSON(body []byte) error { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + +// AsAzureTableSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsBinarySource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsDelimitedTextSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false +} + +// AsParquetSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsBasicCopySource() (BasicCopySource, bool) { + return &pss, true +} + +// UnmarshalJSON is the custom unmarshaler for PostgreSQLSource struct. +func (pss *PostgreSQLSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -107348,14 +134550,14 @@ func (pod *PaypalObjectDataset) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": + case "query": if v != nil { - var genericDatasetTypeProperties GenericDatasetTypeProperties - err = json.Unmarshal(*v, &genericDatasetTypeProperties) + var query interface{} + err = json.Unmarshal(*v, &query) if err != nil { return err } - pod.GenericDatasetTypeProperties = &genericDatasetTypeProperties + pss.Query = query } default: if v != nil { @@ -107364,82 +134566,46 @@ func (pod *PaypalObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if pod.AdditionalProperties == nil { - pod.AdditionalProperties = make(map[string]interface{}) - } - pod.AdditionalProperties[k] = additionalProperties - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - pod.Description = &description - } - case "structure": - if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) - if err != nil { - return err - } - pod.Structure = structure - } - case "schema": - if v != nil { - var schema interface{} - err = json.Unmarshal(*v, &schema) - if err != nil { - return err - } - pod.Schema = schema - } - case "linkedServiceName": - if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) - if err != nil { - return err + if pss.AdditionalProperties == nil { + pss.AdditionalProperties = make(map[string]interface{}) } - pod.LinkedServiceName = &linkedServiceName + pss.AdditionalProperties[k] = additionalProperties } - case "parameters": + case "sourceRetryCount": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) if err != nil { return err } - pod.Parameters = parameters + pss.SourceRetryCount = sourceRetryCount } - case "annotations": + case "sourceRetryWait": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) if err != nil { return err } - pod.Annotations = &annotations + pss.SourceRetryWait = sourceRetryWait } - case "folder": + case "maxConcurrentConnections": if v != nil { - var folder DatasetFolder - err = json.Unmarshal(*v, &folder) + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) if err != nil { return err } - pod.Folder = &folder + pss.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicDataset + var typeVar TypeBasicCopySource err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - pod.Type = typeVar + pss.Type = typeVar } } } @@ -107447,389 +134613,469 @@ func (pod *PaypalObjectDataset) UnmarshalJSON(body []byte) error { return nil } -// PaypalSource a copy activity Paypal Service source. -type PaypalSource struct { - // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). - Query interface{} `json:"query,omitempty"` +// PostgreSQLTableDataset the PostgreSQL table dataset. +type PostgreSQLTableDataset struct { + // PostgreSQLTableDatasetTypeProperties - PostgreSQL table dataset properties. + *PostgreSQLTableDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). - SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` - // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' - Type TypeBasicCopySource `json:"type,omitempty"` + // Description - Dataset description. + Description *string `json:"description,omitempty"` + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for PaypalSource. -func (ps PaypalSource) MarshalJSON() ([]byte, error) { - ps.Type = TypePaypalSource +// MarshalJSON is the custom marshaler for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) MarshalJSON() ([]byte, error) { + pstd.Type = TypePostgreSQLTable objectMap := make(map[string]interface{}) - if ps.Query != nil { - objectMap["query"] = ps.Query + if pstd.PostgreSQLTableDatasetTypeProperties != nil { + objectMap["typeProperties"] = pstd.PostgreSQLTableDatasetTypeProperties } - if ps.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = ps.SourceRetryCount + if pstd.Description != nil { + objectMap["description"] = pstd.Description } - if ps.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = ps.SourceRetryWait + if pstd.Structure != nil { + objectMap["structure"] = pstd.Structure } - if ps.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = ps.MaxConcurrentConnections + if pstd.Schema != nil { + objectMap["schema"] = pstd.Schema } - if ps.Type != "" { - objectMap["type"] = ps.Type + if pstd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = pstd.LinkedServiceName } - for k, v := range ps.AdditionalProperties { + if pstd.Parameters != nil { + objectMap["parameters"] = pstd.Parameters + } + if pstd.Annotations != nil { + objectMap["annotations"] = pstd.Annotations + } + if pstd.Folder != nil { + objectMap["folder"] = pstd.Folder + } + if pstd.Type != "" { + objectMap["type"] = pstd.Type + } + for k, v := range pstd.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsVerticaSource() (*VerticaSource, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsZohoSource() (*ZohoSource, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsXeroSource() (*XeroSource, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsSquareSource() (*SquareSource, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsSparkSource() (*SparkSource, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsShopifySource() (*ShopifySource, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsPrestoSource() (*PrestoSource, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsPaypalSource() (*PaypalSource, bool) { - return &ps, true +// AsPaypalObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { + return nil, false } -// AsMarketoSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsMarketoSource() (*MarketoSource, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsMagentoSource() (*MagentoSource, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsJiraSource() (*JiraSource, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsHubspotSource() (*HubspotSource, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsHiveSource() (*HiveSource, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsHBaseSource() (*HBaseSource, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsEloquaSource() (*EloquaSource, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsDrillSource() (*DrillSource, bool) { +// AsDrillTableDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsConcurSource() (*ConcurSource, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsHTTPSource() (*HTTPSource, bool) { +// AsHTTPDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsWebTableDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsOffice365Source() (*Office365Source, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsRestResourceDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsCassandraSource() (*CassandraSource, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsWebSource() (*WebSource, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsOracleSource() (*OracleSource, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsHdfsSource() (*HdfsSource, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { + return &pstd, true +} + +// AsMySQLTableDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsInformixTableDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsSQLSource() (*SQLSource, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsRestSource() (*RestSource, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsSapTableSource() (*SapTableSource, bool) { +// AsOracleTableDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsODataResourceDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsSapEccSource() (*SapEccSource, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsFileShareDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsRelationalSource() (*RelationalSource, bool) { +// AsOffice365Dataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsBlobSource() (*BlobSource, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsParquetSource() (*ParquetSource, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsCopySource() (*CopySource, bool) { +// AsCustomDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsBasicCopySource() (BasicCopySource, bool) { - return &ps, true +// AsCassandraTableDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for PaypalSource struct. -func (ps *PaypalSource) UnmarshalJSON(body []byte) error { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { + return nil, false +} + +// AsAzureSQLMITableDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + +// AsAzureSQLTableDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { + return nil, false +} + +// AsAzureTableDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { + return nil, false +} + +// AsAzureBlobDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { + return nil, false +} + +// AsBinaryDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + +// AsDelimitedTextDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { + return nil, false +} + +// AsParquetDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsBasicDataset() (BasicDataset, bool) { + return &pstd, true +} + +// UnmarshalJSON is the custom unmarshaler for PostgreSQLTableDataset struct. +func (pstd *PostgreSQLTableDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -107837,14 +135083,14 @@ func (ps *PaypalSource) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "query": + case "typeProperties": if v != nil { - var query interface{} - err = json.Unmarshal(*v, &query) + var postgreSQLTableDatasetTypeProperties PostgreSQLTableDatasetTypeProperties + err = json.Unmarshal(*v, &postgreSQLTableDatasetTypeProperties) if err != nil { return err } - ps.Query = query + pstd.PostgreSQLTableDatasetTypeProperties = &postgreSQLTableDatasetTypeProperties } default: if v != nil { @@ -107853,46 +135099,82 @@ func (ps *PaypalSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - if ps.AdditionalProperties == nil { - ps.AdditionalProperties = make(map[string]interface{}) + if pstd.AdditionalProperties == nil { + pstd.AdditionalProperties = make(map[string]interface{}) } - ps.AdditionalProperties[k] = additionalProperties + pstd.AdditionalProperties[k] = additionalProperties } - case "sourceRetryCount": + case "description": if v != nil { - var sourceRetryCount interface{} - err = json.Unmarshal(*v, &sourceRetryCount) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - ps.SourceRetryCount = sourceRetryCount + pstd.Description = &description } - case "sourceRetryWait": + case "structure": if v != nil { - var sourceRetryWait interface{} - err = json.Unmarshal(*v, &sourceRetryWait) + var structure interface{} + err = json.Unmarshal(*v, &structure) if err != nil { return err } - ps.SourceRetryWait = sourceRetryWait + pstd.Structure = structure } - case "maxConcurrentConnections": + case "schema": if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) + var schema interface{} + err = json.Unmarshal(*v, &schema) if err != nil { return err } - ps.MaxConcurrentConnections = maxConcurrentConnections + pstd.Schema = schema + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + pstd.LinkedServiceName = &linkedServiceName + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + pstd.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + pstd.Annotations = &annotations + } + case "folder": + if v != nil { + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) + if err != nil { + return err + } + pstd.Folder = &folder } case "type": if v != nil { - var typeVar TypeBasicCopySource + var typeVar TypeBasicDataset err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - ps.Type = typeVar + pstd.Type = typeVar } } } @@ -107900,10 +135182,16 @@ func (ps *PaypalSource) UnmarshalJSON(body []byte) error { return nil } -// PhoenixLinkedService phoenix server linked service. -type PhoenixLinkedService struct { - // PhoenixLinkedServiceTypeProperties - Phoenix server linked service properties. - *PhoenixLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// PostgreSQLTableDatasetTypeProperties postgreSQL table dataset properties. +type PostgreSQLTableDatasetTypeProperties struct { + // TableName - The PostgreSQL table name. Type: string (or Expression with resultType string). + TableName interface{} `json:"tableName,omitempty"` +} + +// PrestoLinkedService presto server linked service. +type PrestoLinkedService struct { + // PrestoLinkedServiceTypeProperties - Presto server linked service properties. + *PrestoLinkedServiceTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // ConnectVia - The integration runtime reference. @@ -107914,16 +135202,16 @@ type PhoenixLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for PhoenixLinkedService. -func (pls PhoenixLinkedService) MarshalJSON() ([]byte, error) { - pls.Type = TypePhoenix +// MarshalJSON is the custom marshaler for PrestoLinkedService. +func (pls PrestoLinkedService) MarshalJSON() ([]byte, error) { + pls.Type = TypePresto objectMap := make(map[string]interface{}) - if pls.PhoenixLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = pls.PhoenixLinkedServiceTypeProperties + if pls.PrestoLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = pls.PrestoLinkedServiceTypeProperties } if pls.ConnectVia != nil { objectMap["connectVia"] = pls.ConnectVia @@ -107946,438 +135234,468 @@ func (pls PhoenixLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsSapTableLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { + return &pls, true +} + +// AsPhoenixLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { - return &pls, true +// AsPaypalLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { + return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { return &pls, true } -// UnmarshalJSON is the custom unmarshaler for PhoenixLinkedService struct. -func (pls *PhoenixLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for PrestoLinkedService struct. +func (pls *PrestoLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -108387,12 +135705,12 @@ func (pls *PhoenixLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var phoenixLinkedServiceTypeProperties PhoenixLinkedServiceTypeProperties - err = json.Unmarshal(*v, &phoenixLinkedServiceTypeProperties) + var prestoLinkedServiceTypeProperties PrestoLinkedServiceTypeProperties + err = json.Unmarshal(*v, &prestoLinkedServiceTypeProperties) if err != nil { return err } - pls.PhoenixLinkedServiceTypeProperties = &phoenixLinkedServiceTypeProperties + pls.PrestoLinkedServiceTypeProperties = &prestoLinkedServiceTypeProperties } default: if v != nil { @@ -108457,17 +135775,19 @@ func (pls *PhoenixLinkedService) UnmarshalJSON(body []byte) error { return nil } -// PhoenixLinkedServiceTypeProperties phoenix server linked service properties. -type PhoenixLinkedServiceTypeProperties struct { - // Host - The IP address or host name of the Phoenix server. (i.e. 192.168.222.160) +// PrestoLinkedServiceTypeProperties presto server linked service properties. +type PrestoLinkedServiceTypeProperties struct { + // Host - The IP address or host name of the Presto server. (i.e. 192.168.222.160) Host interface{} `json:"host,omitempty"` - // Port - The TCP port that the Phoenix server uses to listen for client connections. The default value is 8765. + // ServerVersion - The version of the Presto server. (i.e. 0.148-t) + ServerVersion interface{} `json:"serverVersion,omitempty"` + // Catalog - The catalog context for all request against the server. + Catalog interface{} `json:"catalog,omitempty"` + // Port - The TCP port that the Presto server uses to listen for client connections. The default value is 8080. Port interface{} `json:"port,omitempty"` - // HTTPPath - The partial URL corresponding to the Phoenix server. (i.e. /gateway/sandbox/phoenix/version). The default value is hbasephoenix if using WindowsAzureHDInsightService. - HTTPPath interface{} `json:"httpPath,omitempty"` - // AuthenticationType - The authentication mechanism used to connect to the Phoenix server. Possible values include: 'PhoenixAuthenticationTypeAnonymous', 'PhoenixAuthenticationTypeUsernameAndPassword', 'PhoenixAuthenticationTypeWindowsAzureHDInsightService' - AuthenticationType PhoenixAuthenticationType `json:"authenticationType,omitempty"` - // Username - The user name used to connect to the Phoenix server. + // AuthenticationType - The authentication mechanism used to connect to the Presto server. Possible values include: 'PrestoAuthenticationTypeAnonymous', 'PrestoAuthenticationTypeLDAP' + AuthenticationType PrestoAuthenticationType `json:"authenticationType,omitempty"` + // Username - The user name used to connect to the Presto server. Username interface{} `json:"username,omitempty"` // Password - The password corresponding to the user name. Password BasicSecretBase `json:"password,omitempty"` @@ -108481,12 +135801,14 @@ type PhoenixLinkedServiceTypeProperties struct { AllowHostNameCNMismatch interface{} `json:"allowHostNameCNMismatch,omitempty"` // AllowSelfSignedServerCert - Specifies whether to allow self-signed certificates from the server. The default value is false. AllowSelfSignedServerCert interface{} `json:"allowSelfSignedServerCert,omitempty"` + // TimeZoneID - 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. + TimeZoneID interface{} `json:"timeZoneID,omitempty"` // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` } -// UnmarshalJSON is the custom unmarshaler for PhoenixLinkedServiceTypeProperties struct. -func (plstp *PhoenixLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for PrestoLinkedServiceTypeProperties struct. +func (plstp *PrestoLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -108503,27 +135825,36 @@ func (plstp *PhoenixLinkedServiceTypeProperties) UnmarshalJSON(body []byte) erro } plstp.Host = host } - case "port": + case "serverVersion": if v != nil { - var port interface{} - err = json.Unmarshal(*v, &port) + var serverVersion interface{} + err = json.Unmarshal(*v, &serverVersion) if err != nil { return err } - plstp.Port = port + plstp.ServerVersion = serverVersion } - case "httpPath": + case "catalog": if v != nil { - var HTTPPath interface{} - err = json.Unmarshal(*v, &HTTPPath) + var catalog interface{} + err = json.Unmarshal(*v, &catalog) if err != nil { return err } - plstp.HTTPPath = HTTPPath + plstp.Catalog = catalog + } + case "port": + if v != nil { + var port interface{} + err = json.Unmarshal(*v, &port) + if err != nil { + return err + } + plstp.Port = port } case "authenticationType": if v != nil { - var authenticationType PhoenixAuthenticationType + var authenticationType PrestoAuthenticationType err = json.Unmarshal(*v, &authenticationType) if err != nil { return err @@ -108592,6 +135923,15 @@ func (plstp *PhoenixLinkedServiceTypeProperties) UnmarshalJSON(body []byte) erro } plstp.AllowSelfSignedServerCert = allowSelfSignedServerCert } + case "timeZoneID": + if v != nil { + var timeZoneID interface{} + err = json.Unmarshal(*v, &timeZoneID) + if err != nil { + return err + } + plstp.TimeZoneID = timeZoneID + } case "encryptedCredential": if v != nil { var encryptedCredential interface{} @@ -108607,8 +135947,8 @@ func (plstp *PhoenixLinkedServiceTypeProperties) UnmarshalJSON(body []byte) erro return nil } -// PhoenixObjectDataset phoenix server dataset. -type PhoenixObjectDataset struct { +// PrestoObjectDataset presto server dataset. +type PrestoObjectDataset struct { // GenericDatasetTypeProperties - Properties specific to this dataset type. *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection @@ -108627,13 +135967,13 @@ type PhoenixObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) MarshalJSON() ([]byte, error) { - pod.Type = TypePhoenixObject +// MarshalJSON is the custom marshaler for PrestoObjectDataset. +func (pod PrestoObjectDataset) MarshalJSON() ([]byte, error) { + pod.Type = TypePrestoObject objectMap := make(map[string]interface{}) if pod.GenericDatasetTypeProperties != nil { objectMap["typeProperties"] = pod.GenericDatasetTypeProperties @@ -108668,353 +136008,408 @@ func (pod PhoenixObjectDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { + return nil, false +} + +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { + return nil, false +} + +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { + return nil, false +} + +// AsDynamicsAXResourceDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { + return nil, false +} + +// AsResponsysObjectDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { + return nil, false +} + +// AsVerticaTableDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false +} + +// AsNetezzaTableDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { + return &pod, true +} + +// AsPhoenixObjectDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { - return &pod, true +// AsHiveObjectDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { + return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsDrillTableDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsHTTPDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsWebTableDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsRestResourceDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsInformixTableDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsOracleTableDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsODataResourceDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsFileShareDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsOffice365Dataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsCustomDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsAzureTableDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsBinaryDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsDataset() (*Dataset, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsBasicDataset() (BasicDataset, bool) { +// AsParquetDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsBasicDataset() (BasicDataset, bool) { return &pod, true } -// UnmarshalJSON is the custom unmarshaler for PhoenixObjectDataset struct. -func (pod *PhoenixObjectDataset) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for PrestoObjectDataset struct. +func (pod *PrestoObjectDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -109121,8 +136516,8 @@ func (pod *PhoenixObjectDataset) UnmarshalJSON(body []byte) error { return nil } -// PhoenixSource a copy activity Phoenix server source. -type PhoenixSource struct { +// PrestoSource a copy activity Presto server source. +type PrestoSource struct { // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). Query interface{} `json:"query,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection @@ -109133,13 +136528,13 @@ type PhoenixSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for PhoenixSource. -func (ps PhoenixSource) MarshalJSON() ([]byte, error) { - ps.Type = TypePhoenixSource +// MarshalJSON is the custom marshaler for PrestoSource. +func (ps PrestoSource) MarshalJSON() ([]byte, error) { + ps.Type = TypePrestoSource objectMap := make(map[string]interface{}) if ps.Query != nil { objectMap["query"] = ps.Query @@ -109162,1035 +136557,418 @@ func (ps PhoenixSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { - return nil, false -} - -// AsGoogleAdWordsSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsResponsysSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsVerticaSource() (*VerticaSource, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsVerticaSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsZohoSource() (*ZohoSource, bool) { +// AsNetezzaSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsXeroSource() (*XeroSource, bool) { +// AsZohoSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsSquareSource() (*SquareSource, bool) { +// AsXeroSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsSparkSource() (*SparkSource, bool) { +// AsSquareSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsShopifySource() (*ShopifySource, bool) { +// AsSparkSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsShopifySource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsServiceNowSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsPrestoSource() (*PrestoSource, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsPrestoSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsPrestoSource() (*PrestoSource, bool) { return &ps, true } -// AsPaypalSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsPaypalSource() (*PaypalSource, bool) { - return nil, false -} - -// AsMarketoSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsMarketoSource() (*MarketoSource, bool) { - return nil, false -} - -// AsMariaDBSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsMariaDBSource() (*MariaDBSource, bool) { - return nil, false -} - -// AsMagentoSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsMagentoSource() (*MagentoSource, bool) { - return nil, false -} - -// AsJiraSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsJiraSource() (*JiraSource, bool) { - return nil, false -} - -// AsImpalaSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsImpalaSource() (*ImpalaSource, bool) { - return nil, false -} - -// AsHubspotSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsHubspotSource() (*HubspotSource, bool) { - return nil, false -} - -// AsHiveSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsHiveSource() (*HiveSource, bool) { +// AsPhoenixSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsHBaseSource() (*HBaseSource, bool) { +// AsPaypalSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsMarketoSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsMariaDBSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsEloquaSource() (*EloquaSource, bool) { +// AsMagentoSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsDrillSource() (*DrillSource, bool) { +// AsJiraSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsImpalaSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsConcurSource() (*ConcurSource, bool) { +// AsHubspotSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsHiveSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsHBaseSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsHTTPSource() (*HTTPSource, bool) { +// AsGreenplumSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsEloquaSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsOffice365Source() (*Office365Source, bool) { +// AsDrillSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsConcurSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsCassandraSource() (*CassandraSource, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsWebSource() (*WebSource, bool) { +// AsHTTPSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsOracleSource() (*OracleSource, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsOffice365Source is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsHdfsSource() (*HdfsSource, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsMongoDbSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsCassandraSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsWebSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsSQLSource() (*SQLSource, bool) { +// AsTeradataSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsRestSource() (*RestSource, bool) { +// AsOracleSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsSapTableSource() (*SapTableSource, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsHdfsSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsSapEccSource() (*SapEccSource, bool) { +// AsFileSystemSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsSQLDWSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsSQLMISource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsRelationalSource() (*RelationalSource, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsSQLServerSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsSQLSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsBlobSource() (*BlobSource, bool) { +// AsRestSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsSapTableSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsParquetSource() (*ParquetSource, bool) { +// AsSapHanaSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsCopySource() (*CopySource, bool) { +// AsSapEccSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsBasicCopySource() (BasicCopySource, bool) { - return &ps, true -} - -// UnmarshalJSON is the custom unmarshaler for PhoenixSource struct. -func (ps *PhoenixSource) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "query": - if v != nil { - var query interface{} - err = json.Unmarshal(*v, &query) - if err != nil { - return err - } - ps.Query = query - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if ps.AdditionalProperties == nil { - ps.AdditionalProperties = make(map[string]interface{}) - } - ps.AdditionalProperties[k] = additionalProperties - } - case "sourceRetryCount": - if v != nil { - var sourceRetryCount interface{} - err = json.Unmarshal(*v, &sourceRetryCount) - if err != nil { - return err - } - ps.SourceRetryCount = sourceRetryCount - } - case "sourceRetryWait": - if v != nil { - var sourceRetryWait interface{} - err = json.Unmarshal(*v, &sourceRetryWait) - if err != nil { - return err - } - ps.SourceRetryWait = sourceRetryWait - } - case "maxConcurrentConnections": - if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) - if err != nil { - return err - } - ps.MaxConcurrentConnections = maxConcurrentConnections - } - case "type": - if v != nil { - var typeVar TypeBasicCopySource - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - ps.Type = typeVar - } - } - } - - return nil -} - -// Pipeline a data factory pipeline. -type Pipeline struct { - // Description - The description of the pipeline. - Description *string `json:"description,omitempty"` - // Activities - List of activities in pipeline. - Activities *[]BasicActivity `json:"activities,omitempty"` - // Parameters - List of parameters for pipeline. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Variables - List of variables for pipeline. - Variables map[string]*VariableSpecification `json:"variables"` - // Concurrency - The max number of concurrent runs for the pipeline. - Concurrency *int32 `json:"concurrency,omitempty"` - // Annotations - List of tags that can be used for describing the Pipeline. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Folder - The folder that this Pipeline is in. If not specified, Pipeline will appear at the root level. - Folder *PipelineFolder `json:"folder,omitempty"` -} - -// MarshalJSON is the custom marshaler for Pipeline. -func (p Pipeline) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if p.Description != nil { - objectMap["description"] = p.Description - } - if p.Activities != nil { - objectMap["activities"] = p.Activities - } - if p.Parameters != nil { - objectMap["parameters"] = p.Parameters - } - if p.Variables != nil { - objectMap["variables"] = p.Variables - } - if p.Concurrency != nil { - objectMap["concurrency"] = p.Concurrency - } - if p.Annotations != nil { - objectMap["annotations"] = p.Annotations - } - if p.Folder != nil { - objectMap["folder"] = p.Folder - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for Pipeline struct. -func (p *Pipeline) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - p.Description = &description - } - case "activities": - if v != nil { - activities, err := unmarshalBasicActivityArray(*v) - if err != nil { - return err - } - p.Activities = &activities - } - case "parameters": - if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) - if err != nil { - return err - } - p.Parameters = parameters - } - case "variables": - if v != nil { - var variables map[string]*VariableSpecification - err = json.Unmarshal(*v, &variables) - if err != nil { - return err - } - p.Variables = variables - } - case "concurrency": - if v != nil { - var concurrency int32 - err = json.Unmarshal(*v, &concurrency) - if err != nil { - return err - } - p.Concurrency = &concurrency - } - case "annotations": - if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) - if err != nil { - return err - } - p.Annotations = &annotations - } - case "folder": - if v != nil { - var folder PipelineFolder - err = json.Unmarshal(*v, &folder) - if err != nil { - return err - } - p.Folder = &folder - } - } - } - - return nil -} - -// PipelineFolder the folder that this Pipeline is in. If not specified, Pipeline will appear at the root -// level. -type PipelineFolder struct { - // Name - The name of the folder that this Pipeline is in. - Name *string `json:"name,omitempty"` -} - -// PipelineListResponse a list of pipeline resources. -type PipelineListResponse struct { - autorest.Response `json:"-"` - // Value - List of pipelines. - Value *[]PipelineResource `json:"value,omitempty"` - // NextLink - The link to the next page of results, if any remaining results exist. - NextLink *string `json:"nextLink,omitempty"` -} - -// PipelineListResponseIterator provides access to a complete listing of PipelineResource values. -type PipelineListResponseIterator struct { - i int - page PipelineListResponsePage -} - -// NextWithContext advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -func (iter *PipelineListResponseIterator) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/PipelineListResponseIterator.NextWithContext") - defer func() { - sc := -1 - if iter.Response().Response.Response != nil { - sc = iter.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - iter.i++ - if iter.i < len(iter.page.Values()) { - return nil - } - err = iter.page.NextWithContext(ctx) - if err != nil { - iter.i-- - return err - } - iter.i = 0 - return nil -} - -// Next advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (iter *PipelineListResponseIterator) Next() error { - return iter.NextWithContext(context.Background()) -} - -// NotDone returns true if the enumeration should be started or is not yet complete. -func (iter PipelineListResponseIterator) NotDone() bool { - return iter.page.NotDone() && iter.i < len(iter.page.Values()) -} - -// Response returns the raw server response from the last page request. -func (iter PipelineListResponseIterator) Response() PipelineListResponse { - return iter.page.Response() -} - -// Value returns the current value or a zero-initialized value if the -// iterator has advanced beyond the end of the collection. -func (iter PipelineListResponseIterator) Value() PipelineResource { - if !iter.page.NotDone() { - return PipelineResource{} - } - return iter.page.Values()[iter.i] -} - -// Creates a new instance of the PipelineListResponseIterator type. -func NewPipelineListResponseIterator(page PipelineListResponsePage) PipelineListResponseIterator { - return PipelineListResponseIterator{page: page} -} - -// IsEmpty returns true if the ListResult contains no values. -func (plr PipelineListResponse) IsEmpty() bool { - return plr.Value == nil || len(*plr.Value) == 0 -} - -// pipelineListResponsePreparer prepares a request to retrieve the next set of results. -// It returns nil if no more results exist. -func (plr PipelineListResponse) pipelineListResponsePreparer(ctx context.Context) (*http.Request, error) { - if plr.NextLink == nil || len(to.String(plr.NextLink)) < 1 { - return nil, nil - } - return autorest.Prepare((&http.Request{}).WithContext(ctx), - autorest.AsJSON(), - autorest.AsGet(), - autorest.WithBaseURL(to.String(plr.NextLink))) -} - -// PipelineListResponsePage contains a page of PipelineResource values. -type PipelineListResponsePage struct { - fn func(context.Context, PipelineListResponse) (PipelineListResponse, error) - plr PipelineListResponse -} - -// NextWithContext advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -func (page *PipelineListResponsePage) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/PipelineListResponsePage.NextWithContext") - defer func() { - sc := -1 - if page.Response().Response.Response != nil { - sc = page.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - next, err := page.fn(ctx, page.plr) - if err != nil { - return err - } - page.plr = next - return nil -} - -// Next advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (page *PipelineListResponsePage) Next() error { - return page.NextWithContext(context.Background()) -} - -// NotDone returns true if the page enumeration should be started or is not yet complete. -func (page PipelineListResponsePage) NotDone() bool { - return !page.plr.IsEmpty() -} - -// Response returns the raw server response from the last page request. -func (page PipelineListResponsePage) Response() PipelineListResponse { - return page.plr -} - -// Values returns the slice of values for the current page or nil if there are no values. -func (page PipelineListResponsePage) Values() []PipelineResource { - if page.plr.IsEmpty() { - return nil - } - return *page.plr.Value -} - -// Creates a new instance of the PipelineListResponsePage type. -func NewPipelineListResponsePage(getNextPage func(context.Context, PipelineListResponse) (PipelineListResponse, error)) PipelineListResponsePage { - return PipelineListResponsePage{fn: getNextPage} -} - -// PipelineReference pipeline reference type. -type PipelineReference struct { - // Type - Pipeline reference type. - Type *string `json:"type,omitempty"` - // ReferenceName - Reference pipeline name. - ReferenceName *string `json:"referenceName,omitempty"` - // Name - Reference name. - Name *string `json:"name,omitempty"` -} - -// PipelineResource pipeline resource type. -type PipelineResource struct { - autorest.Response `json:"-"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Pipeline - Properties of the pipeline. - *Pipeline `json:"properties,omitempty"` - // ID - READ-ONLY; The resource identifier. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; The resource name. - Name *string `json:"name,omitempty"` - // Type - READ-ONLY; The resource type. - Type *string `json:"type,omitempty"` - // Etag - READ-ONLY; Etag identifies change in the resource. - Etag *string `json:"etag,omitempty"` -} - -// MarshalJSON is the custom marshaler for PipelineResource. -func (pr PipelineResource) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if pr.Pipeline != nil { - objectMap["properties"] = pr.Pipeline - } - for k, v := range pr.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for PipelineResource struct. -func (pr *PipelineResource) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if pr.AdditionalProperties == nil { - pr.AdditionalProperties = make(map[string]interface{}) - } - pr.AdditionalProperties[k] = additionalProperties - } - case "properties": - if v != nil { - var pipeline Pipeline - err = json.Unmarshal(*v, &pipeline) - if err != nil { - return err - } - pr.Pipeline = &pipeline - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - pr.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - pr.Name = &name - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - pr.Type = &typeVar - } - case "etag": - if v != nil { - var etag string - err = json.Unmarshal(*v, &etag) - if err != nil { - return err - } - pr.Etag = &etag - } - } - } +// AsSapCloudForCustomerSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { + return nil, false +} - return nil +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false } -// PipelineRun information about a pipeline run. -type PipelineRun struct { - autorest.Response `json:"-"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // RunID - READ-ONLY; Identifier of a run. - RunID *string `json:"runId,omitempty"` - // RunGroupID - READ-ONLY; Identifier that correlates all the recovery runs of a pipeline run. - RunGroupID *string `json:"runGroupId,omitempty"` - // IsLatest - READ-ONLY; Indicates if the recovered pipeline run is the latest in its group. - IsLatest *bool `json:"isLatest,omitempty"` - // PipelineName - READ-ONLY; The pipeline name. - PipelineName *string `json:"pipelineName,omitempty"` - // Parameters - READ-ONLY; The full or partial list of parameter name, value pair used in the pipeline run. - Parameters map[string]*string `json:"parameters"` - // InvokedBy - READ-ONLY; Entity that started the pipeline run. - InvokedBy *PipelineRunInvokedBy `json:"invokedBy,omitempty"` - // LastUpdated - READ-ONLY; The last updated timestamp for the pipeline run event in ISO8601 format. - LastUpdated *date.Time `json:"lastUpdated,omitempty"` - // RunStart - READ-ONLY; The start time of a pipeline run in ISO8601 format. - RunStart *date.Time `json:"runStart,omitempty"` - // RunEnd - READ-ONLY; The end time of a pipeline run in ISO8601 format. - RunEnd *date.Time `json:"runEnd,omitempty"` - // DurationInMs - READ-ONLY; The duration of a pipeline run. - DurationInMs *int32 `json:"durationInMs,omitempty"` - // Status - READ-ONLY; The status of a pipeline run. - Status *string `json:"status,omitempty"` - // Message - READ-ONLY; The message from a pipeline run. - Message *string `json:"message,omitempty"` +// AsSalesforceSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsSalesforceSource() (*SalesforceSource, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for PipelineRun. -func (pr PipelineRun) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - for k, v := range pr.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsODataSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsODataSource() (*ODataSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for PipelineRun struct. -func (pr *PipelineRun) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if pr.AdditionalProperties == nil { - pr.AdditionalProperties = make(map[string]interface{}) - } - pr.AdditionalProperties[k] = additionalProperties - } - case "runId": - if v != nil { - var runID string - err = json.Unmarshal(*v, &runID) - if err != nil { - return err - } - pr.RunID = &runID - } - case "runGroupId": - if v != nil { - var runGroupID string - err = json.Unmarshal(*v, &runGroupID) - if err != nil { - return err - } - pr.RunGroupID = &runGroupID - } - case "isLatest": - if v != nil { - var isLatest bool - err = json.Unmarshal(*v, &isLatest) - if err != nil { - return err - } - pr.IsLatest = &isLatest - } - case "pipelineName": - if v != nil { - var pipelineName string - err = json.Unmarshal(*v, &pipelineName) - if err != nil { - return err - } - pr.PipelineName = &pipelineName - } - case "parameters": - if v != nil { - var parameters map[string]*string - err = json.Unmarshal(*v, ¶meters) - if err != nil { - return err - } - pr.Parameters = parameters - } - case "invokedBy": - if v != nil { - var invokedBy PipelineRunInvokedBy - err = json.Unmarshal(*v, &invokedBy) - if err != nil { - return err - } - pr.InvokedBy = &invokedBy - } - case "lastUpdated": - if v != nil { - var lastUpdated date.Time - err = json.Unmarshal(*v, &lastUpdated) - if err != nil { - return err - } - pr.LastUpdated = &lastUpdated - } - case "runStart": - if v != nil { - var runStart date.Time - err = json.Unmarshal(*v, &runStart) - if err != nil { - return err - } - pr.RunStart = &runStart - } - case "runEnd": - if v != nil { - var runEnd date.Time - err = json.Unmarshal(*v, &runEnd) - if err != nil { - return err - } - pr.RunEnd = &runEnd - } - case "durationInMs": - if v != nil { - var durationInMs int32 - err = json.Unmarshal(*v, &durationInMs) - if err != nil { - return err - } - pr.DurationInMs = &durationInMs - } - case "status": - if v != nil { - var status string - err = json.Unmarshal(*v, &status) - if err != nil { - return err - } - pr.Status = &status - } - case "message": - if v != nil { - var message string - err = json.Unmarshal(*v, &message) - if err != nil { - return err - } - pr.Message = &message - } - } - } +// AsSybaseSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsSybaseSource() (*SybaseSource, bool) { + return nil, false +} - return nil +// AsPostgreSQLSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false } -// PipelineRunInvokedBy provides entity name and id that started the pipeline run. -type PipelineRunInvokedBy struct { - // Name - READ-ONLY; Name of the entity that started the pipeline run. - Name *string `json:"name,omitempty"` - // ID - READ-ONLY; The ID of the entity that started the run. - ID *string `json:"id,omitempty"` - // InvokedByType - READ-ONLY; The type of the entity that started the run. - InvokedByType *string `json:"invokedByType,omitempty"` +// AsMySQLSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false } -// PipelineRunsQueryResponse a list pipeline runs. -type PipelineRunsQueryResponse struct { - autorest.Response `json:"-"` - // Value - List of pipeline runs. - Value *[]PipelineRun `json:"value,omitempty"` - // ContinuationToken - The continuation token for getting the next page of results, if any remaining results exist, null otherwise. - ContinuationToken *string `json:"continuationToken,omitempty"` +// AsOdbcSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false } -// PolybaseSettings polyBase settings. -type PolybaseSettings struct { - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // RejectType - Reject type. Possible values include: 'Value', 'Percentage' - RejectType PolybaseSettingsRejectType `json:"rejectType,omitempty"` - // RejectValue - Specifies the value or the percentage of rows that can be rejected before the query fails. Type: number (or Expression with resultType number), minimum: 0. - RejectValue interface{} `json:"rejectValue,omitempty"` - // RejectSampleValue - 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. - RejectSampleValue interface{} `json:"rejectSampleValue,omitempty"` - // UseTypeDefault - 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). - UseTypeDefault interface{} `json:"useTypeDefault,omitempty"` +// AsDb2Source is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsDb2Source() (*Db2Source, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for PolybaseSettings. -func (ps PolybaseSettings) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if ps.RejectType != "" { - objectMap["rejectType"] = ps.RejectType - } - if ps.RejectValue != nil { - objectMap["rejectValue"] = ps.RejectValue - } - if ps.RejectSampleValue != nil { - objectMap["rejectSampleValue"] = ps.RejectSampleValue - } - if ps.UseTypeDefault != nil { - objectMap["useTypeDefault"] = ps.UseTypeDefault - } - for k, v := range ps.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsMicrosoftAccessSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for PolybaseSettings struct. -func (ps *PolybaseSettings) UnmarshalJSON(body []byte) error { +// AsInformixSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + +// AsRelationalSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + +// AsDynamicsSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + +// AsAzureTableSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsBinarySource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsDelimitedTextSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false +} + +// AsParquetSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsBasicCopySource() (BasicCopySource, bool) { + return &ps, true +} + +// UnmarshalJSON is the custom unmarshaler for PrestoSource struct. +func (ps *PrestoSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -110198,6 +136976,15 @@ func (ps *PolybaseSettings) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { + case "query": + if v != nil { + var query interface{} + err = json.Unmarshal(*v, &query) + if err != nil { + return err + } + ps.Query = query + } default: if v != nil { var additionalProperties interface{} @@ -110210,41 +136997,41 @@ func (ps *PolybaseSettings) UnmarshalJSON(body []byte) error { } ps.AdditionalProperties[k] = additionalProperties } - case "rejectType": + case "sourceRetryCount": if v != nil { - var rejectType PolybaseSettingsRejectType - err = json.Unmarshal(*v, &rejectType) + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) if err != nil { return err } - ps.RejectType = rejectType + ps.SourceRetryCount = sourceRetryCount } - case "rejectValue": + case "sourceRetryWait": if v != nil { - var rejectValue interface{} - err = json.Unmarshal(*v, &rejectValue) + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) if err != nil { return err } - ps.RejectValue = rejectValue + ps.SourceRetryWait = sourceRetryWait } - case "rejectSampleValue": + case "maxConcurrentConnections": if v != nil { - var rejectSampleValue interface{} - err = json.Unmarshal(*v, &rejectSampleValue) + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) if err != nil { return err } - ps.RejectSampleValue = rejectSampleValue + ps.MaxConcurrentConnections = maxConcurrentConnections } - case "useTypeDefault": + case "type": if v != nil { - var useTypeDefault interface{} - err = json.Unmarshal(*v, &useTypeDefault) + var typeVar TypeBasicCopySource + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - ps.UseTypeDefault = useTypeDefault + ps.Type = typeVar } } } @@ -110252,10 +137039,10 @@ func (ps *PolybaseSettings) UnmarshalJSON(body []byte) error { return nil } -// PostgreSQLLinkedService linked service for PostgreSQL data source. -type PostgreSQLLinkedService struct { - // PostgreSQLLinkedServiceTypeProperties - PostgreSQL linked service properties. - *PostgreSQLLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// QuickBooksLinkedService quickBooks server linked service. +type QuickBooksLinkedService struct { + // QuickBooksLinkedServiceTypeProperties - QuickBooks server linked service properties. + *QuickBooksLinkedServiceTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // ConnectVia - The integration runtime reference. @@ -110266,470 +137053,500 @@ type PostgreSQLLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) MarshalJSON() ([]byte, error) { - psls.Type = TypePostgreSQL +// MarshalJSON is the custom marshaler for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) MarshalJSON() ([]byte, error) { + qbls.Type = TypeQuickBooks objectMap := make(map[string]interface{}) - if psls.PostgreSQLLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = psls.PostgreSQLLinkedServiceTypeProperties + if qbls.QuickBooksLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = qbls.QuickBooksLinkedServiceTypeProperties } - if psls.ConnectVia != nil { - objectMap["connectVia"] = psls.ConnectVia + if qbls.ConnectVia != nil { + objectMap["connectVia"] = qbls.ConnectVia } - if psls.Description != nil { - objectMap["description"] = psls.Description + if qbls.Description != nil { + objectMap["description"] = qbls.Description } - if psls.Parameters != nil { - objectMap["parameters"] = psls.Parameters + if qbls.Parameters != nil { + objectMap["parameters"] = qbls.Parameters } - if psls.Annotations != nil { - objectMap["annotations"] = psls.Annotations + if qbls.Annotations != nil { + objectMap["annotations"] = qbls.Annotations } - if psls.Type != "" { - objectMap["type"] = psls.Type + if qbls.Type != "" { + objectMap["type"] = qbls.Type } - for k, v := range psls.AdditionalProperties { + for k, v := range qbls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsSapTableLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { + return &qbls, true +} + +// AsPrestoLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { - return &psls, true +// AsDb2LinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &psls, true +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for PostgreSQLLinkedService struct. -func (psls *PostgreSQLLinkedService) UnmarshalJSON(body []byte) error { +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &qbls, true +} + +// UnmarshalJSON is the custom unmarshaler for QuickBooksLinkedService struct. +func (qbls *QuickBooksLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -110739,12 +137556,12 @@ func (psls *PostgreSQLLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var postgreSQLLinkedServiceTypeProperties PostgreSQLLinkedServiceTypeProperties - err = json.Unmarshal(*v, &postgreSQLLinkedServiceTypeProperties) + var quickBooksLinkedServiceTypeProperties QuickBooksLinkedServiceTypeProperties + err = json.Unmarshal(*v, &quickBooksLinkedServiceTypeProperties) if err != nil { return err } - psls.PostgreSQLLinkedServiceTypeProperties = &postgreSQLLinkedServiceTypeProperties + qbls.QuickBooksLinkedServiceTypeProperties = &quickBooksLinkedServiceTypeProperties } default: if v != nil { @@ -110753,10 +137570,10 @@ func (psls *PostgreSQLLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if psls.AdditionalProperties == nil { - psls.AdditionalProperties = make(map[string]interface{}) + if qbls.AdditionalProperties == nil { + qbls.AdditionalProperties = make(map[string]interface{}) } - psls.AdditionalProperties[k] = additionalProperties + qbls.AdditionalProperties[k] = additionalProperties } case "connectVia": if v != nil { @@ -110765,7 +137582,7 @@ func (psls *PostgreSQLLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - psls.ConnectVia = &connectVia + qbls.ConnectVia = &connectVia } case "description": if v != nil { @@ -110774,7 +137591,7 @@ func (psls *PostgreSQLLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - psls.Description = &description + qbls.Description = &description } case "parameters": if v != nil { @@ -110783,7 +137600,7 @@ func (psls *PostgreSQLLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - psls.Parameters = parameters + qbls.Parameters = parameters } case "annotations": if v != nil { @@ -110792,7 +137609,7 @@ func (psls *PostgreSQLLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - psls.Annotations = &annotations + qbls.Annotations = &annotations } case "type": if v != nil { @@ -110801,7 +137618,7 @@ func (psls *PostgreSQLLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - psls.Type = typeVar + qbls.Type = typeVar } } } @@ -110809,18 +137626,28 @@ func (psls *PostgreSQLLinkedService) UnmarshalJSON(body []byte) error { return nil } -// PostgreSQLLinkedServiceTypeProperties postgreSQL linked service properties. -type PostgreSQLLinkedServiceTypeProperties struct { - // ConnectionString - The connection string. - ConnectionString BasicSecretBase `json:"connectionString,omitempty"` - // Password - The Azure key vault secret reference of password in connection string. - Password *AzureKeyVaultSecretReference `json:"password,omitempty"` +// QuickBooksLinkedServiceTypeProperties quickBooks server linked service properties. +type QuickBooksLinkedServiceTypeProperties struct { + // Endpoint - The endpoint of the QuickBooks server. (i.e. quickbooks.api.intuit.com) + Endpoint interface{} `json:"endpoint,omitempty"` + // CompanyID - The company ID of the QuickBooks company to authorize. + CompanyID interface{} `json:"companyId,omitempty"` + // ConsumerKey - The consumer key for OAuth 1.0 authentication. + ConsumerKey interface{} `json:"consumerKey,omitempty"` + // ConsumerSecret - The consumer secret for OAuth 1.0 authentication. + ConsumerSecret BasicSecretBase `json:"consumerSecret,omitempty"` + // AccessToken - The access token for OAuth 1.0 authentication. + AccessToken BasicSecretBase `json:"accessToken,omitempty"` + // AccessTokenSecret - The access token secret for OAuth 1.0 authentication. + AccessTokenSecret BasicSecretBase `json:"accessTokenSecret,omitempty"` + // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. + UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"` // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` } -// UnmarshalJSON is the custom unmarshaler for PostgreSQLLinkedServiceTypeProperties struct. -func (pslstp *PostgreSQLLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for QuickBooksLinkedServiceTypeProperties struct. +func (qblstp *QuickBooksLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -110828,22 +137655,65 @@ func (pslstp *PostgreSQLLinkedServiceTypeProperties) UnmarshalJSON(body []byte) } for k, v := range m { switch k { - case "connectionString": + case "endpoint": if v != nil { - connectionString, err := unmarshalBasicSecretBase(*v) + var endpoint interface{} + err = json.Unmarshal(*v, &endpoint) if err != nil { return err } - pslstp.ConnectionString = connectionString + qblstp.Endpoint = endpoint } - case "password": + case "companyId": if v != nil { - var password AzureKeyVaultSecretReference - err = json.Unmarshal(*v, &password) + var companyID interface{} + err = json.Unmarshal(*v, &companyID) if err != nil { return err } - pslstp.Password = &password + qblstp.CompanyID = companyID + } + case "consumerKey": + if v != nil { + var consumerKey interface{} + err = json.Unmarshal(*v, &consumerKey) + if err != nil { + return err + } + qblstp.ConsumerKey = consumerKey + } + case "consumerSecret": + if v != nil { + consumerSecret, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + qblstp.ConsumerSecret = consumerSecret + } + case "accessToken": + if v != nil { + accessToken, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + qblstp.AccessToken = accessToken + } + case "accessTokenSecret": + if v != nil { + accessTokenSecret, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + qblstp.AccessTokenSecret = accessTokenSecret + } + case "useEncryptedEndpoints": + if v != nil { + var useEncryptedEndpoints interface{} + err = json.Unmarshal(*v, &useEncryptedEndpoints) + if err != nil { + return err + } + qblstp.UseEncryptedEndpoints = useEncryptedEndpoints } case "encryptedCredential": if v != nil { @@ -110852,7 +137722,7 @@ func (pslstp *PostgreSQLLinkedServiceTypeProperties) UnmarshalJSON(body []byte) if err != nil { return err } - pslstp.EncryptedCredential = encryptedCredential + qblstp.EncryptedCredential = encryptedCredential } } } @@ -110860,484 +137730,469 @@ func (pslstp *PostgreSQLLinkedServiceTypeProperties) UnmarshalJSON(body []byte) return nil } -// PrestoLinkedService presto server linked service. -type PrestoLinkedService struct { - // PrestoLinkedServiceTypeProperties - Presto server linked service properties. - *PrestoLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// QuickBooksObjectDataset quickBooks server dataset. +type QuickBooksObjectDataset struct { + // GenericDatasetTypeProperties - Properties specific to this dataset type. + *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. + // Description - Dataset description. Description *string `json:"description,omitempty"` - // Parameters - Parameters for linked service. + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the linked service. + // Annotations - List of tags that can be used for describing the Dataset. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for PrestoLinkedService. -func (pls PrestoLinkedService) MarshalJSON() ([]byte, error) { - pls.Type = TypePresto +// MarshalJSON is the custom marshaler for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) MarshalJSON() ([]byte, error) { + qbod.Type = TypeQuickBooksObject objectMap := make(map[string]interface{}) - if pls.PrestoLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = pls.PrestoLinkedServiceTypeProperties + if qbod.GenericDatasetTypeProperties != nil { + objectMap["typeProperties"] = qbod.GenericDatasetTypeProperties } - if pls.ConnectVia != nil { - objectMap["connectVia"] = pls.ConnectVia + if qbod.Description != nil { + objectMap["description"] = qbod.Description } - if pls.Description != nil { - objectMap["description"] = pls.Description + if qbod.Structure != nil { + objectMap["structure"] = qbod.Structure } - if pls.Parameters != nil { - objectMap["parameters"] = pls.Parameters + if qbod.Schema != nil { + objectMap["schema"] = qbod.Schema } - if pls.Annotations != nil { - objectMap["annotations"] = pls.Annotations + if qbod.LinkedServiceName != nil { + objectMap["linkedServiceName"] = qbod.LinkedServiceName } - if pls.Type != "" { - objectMap["type"] = pls.Type + if qbod.Parameters != nil { + objectMap["parameters"] = qbod.Parameters } - for k, v := range pls.AdditionalProperties { + if qbod.Annotations != nil { + objectMap["annotations"] = qbod.Annotations + } + if qbod.Folder != nil { + objectMap["folder"] = qbod.Folder + } + if qbod.Type != "" { + objectMap["type"] = qbod.Type + } + for k, v := range qbod.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { - return nil, false -} - -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { - return nil, false -} - -// AsSapTableLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { - return nil, false -} - -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { - return nil, false -} - -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { - return nil, false -} - -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { - return nil, false -} - -// AsResponsysLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { - return &pls, true +// AsQuickBooksObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { + return &qbod, true } -// AsPhoenixLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsDrillTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsHTTPDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsWebTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsRestResourceDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsInformixTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsOracleTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsODataResourceDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsFileShareDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsOffice365Dataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsCustomDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsAzureTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsBinaryDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsParquetDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAmazonS3Dataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsDataset() (*Dataset, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &pls, true +// AsBasicDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsBasicDataset() (BasicDataset, bool) { + return &qbod, true } -// UnmarshalJSON is the custom unmarshaler for PrestoLinkedService struct. -func (pls *PrestoLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for QuickBooksObjectDataset struct. +func (qbod *QuickBooksObjectDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -111347,12 +138202,12 @@ func (pls *PrestoLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var prestoLinkedServiceTypeProperties PrestoLinkedServiceTypeProperties - err = json.Unmarshal(*v, &prestoLinkedServiceTypeProperties) + var genericDatasetTypeProperties GenericDatasetTypeProperties + err = json.Unmarshal(*v, &genericDatasetTypeProperties) if err != nil { return err } - pls.PrestoLinkedServiceTypeProperties = &prestoLinkedServiceTypeProperties + qbod.GenericDatasetTypeProperties = &genericDatasetTypeProperties } default: if v != nil { @@ -111361,19 +138216,10 @@ func (pls *PrestoLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if pls.AdditionalProperties == nil { - pls.AdditionalProperties = make(map[string]interface{}) - } - pls.AdditionalProperties[k] = additionalProperties - } - case "connectVia": - if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) - if err != nil { - return err + if qbod.AdditionalProperties == nil { + qbod.AdditionalProperties = make(map[string]interface{}) } - pls.ConnectVia = &connectVia + qbod.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -111382,206 +138228,70 @@ func (pls *PrestoLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - pls.Description = &description - } - case "parameters": - if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) - if err != nil { - return err - } - pls.Parameters = parameters - } - case "annotations": - if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) - if err != nil { - return err - } - pls.Annotations = &annotations - } - case "type": - if v != nil { - var typeVar TypeBasicLinkedService - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - pls.Type = typeVar - } - } - } - - return nil -} - -// PrestoLinkedServiceTypeProperties presto server linked service properties. -type PrestoLinkedServiceTypeProperties struct { - // Host - The IP address or host name of the Presto server. (i.e. 192.168.222.160) - Host interface{} `json:"host,omitempty"` - // ServerVersion - The version of the Presto server. (i.e. 0.148-t) - ServerVersion interface{} `json:"serverVersion,omitempty"` - // Catalog - The catalog context for all request against the server. - Catalog interface{} `json:"catalog,omitempty"` - // Port - The TCP port that the Presto server uses to listen for client connections. The default value is 8080. - Port interface{} `json:"port,omitempty"` - // AuthenticationType - The authentication mechanism used to connect to the Presto server. Possible values include: 'PrestoAuthenticationTypeAnonymous', 'PrestoAuthenticationTypeLDAP' - AuthenticationType PrestoAuthenticationType `json:"authenticationType,omitempty"` - // Username - The user name used to connect to the Presto server. - Username interface{} `json:"username,omitempty"` - // Password - The password corresponding to the user name. - Password BasicSecretBase `json:"password,omitempty"` - // EnableSsl - Specifies whether the connections to the server are encrypted using SSL. The default value is false. - EnableSsl interface{} `json:"enableSsl,omitempty"` - // TrustedCertPath - 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. - TrustedCertPath interface{} `json:"trustedCertPath,omitempty"` - // UseSystemTrustStore - Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. - UseSystemTrustStore interface{} `json:"useSystemTrustStore,omitempty"` - // AllowHostNameCNMismatch - 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. - AllowHostNameCNMismatch interface{} `json:"allowHostNameCNMismatch,omitempty"` - // AllowSelfSignedServerCert - Specifies whether to allow self-signed certificates from the server. The default value is false. - AllowSelfSignedServerCert interface{} `json:"allowSelfSignedServerCert,omitempty"` - // TimeZoneID - 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. - TimeZoneID interface{} `json:"timeZoneID,omitempty"` - // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). - EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` -} - -// UnmarshalJSON is the custom unmarshaler for PrestoLinkedServiceTypeProperties struct. -func (plstp *PrestoLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "host": - if v != nil { - var host interface{} - err = json.Unmarshal(*v, &host) - if err != nil { - return err - } - plstp.Host = host - } - case "serverVersion": - if v != nil { - var serverVersion interface{} - err = json.Unmarshal(*v, &serverVersion) - if err != nil { - return err - } - plstp.ServerVersion = serverVersion - } - case "catalog": - if v != nil { - var catalog interface{} - err = json.Unmarshal(*v, &catalog) - if err != nil { - return err - } - plstp.Catalog = catalog - } - case "port": - if v != nil { - var port interface{} - err = json.Unmarshal(*v, &port) - if err != nil { - return err - } - plstp.Port = port - } - case "authenticationType": - if v != nil { - var authenticationType PrestoAuthenticationType - err = json.Unmarshal(*v, &authenticationType) - if err != nil { - return err - } - plstp.AuthenticationType = authenticationType - } - case "username": - if v != nil { - var username interface{} - err = json.Unmarshal(*v, &username) - if err != nil { - return err - } - plstp.Username = username - } - case "password": - if v != nil { - password, err := unmarshalBasicSecretBase(*v) - if err != nil { - return err - } - plstp.Password = password + qbod.Description = &description } - case "enableSsl": + case "structure": if v != nil { - var enableSsl interface{} - err = json.Unmarshal(*v, &enableSsl) + var structure interface{} + err = json.Unmarshal(*v, &structure) if err != nil { return err } - plstp.EnableSsl = enableSsl + qbod.Structure = structure } - case "trustedCertPath": + case "schema": if v != nil { - var trustedCertPath interface{} - err = json.Unmarshal(*v, &trustedCertPath) + var schema interface{} + err = json.Unmarshal(*v, &schema) if err != nil { return err } - plstp.TrustedCertPath = trustedCertPath + qbod.Schema = schema } - case "useSystemTrustStore": + case "linkedServiceName": if v != nil { - var useSystemTrustStore interface{} - err = json.Unmarshal(*v, &useSystemTrustStore) + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) if err != nil { return err } - plstp.UseSystemTrustStore = useSystemTrustStore + qbod.LinkedServiceName = &linkedServiceName } - case "allowHostNameCNMismatch": + case "parameters": if v != nil { - var allowHostNameCNMismatch interface{} - err = json.Unmarshal(*v, &allowHostNameCNMismatch) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - plstp.AllowHostNameCNMismatch = allowHostNameCNMismatch + qbod.Parameters = parameters } - case "allowSelfSignedServerCert": + case "annotations": if v != nil { - var allowSelfSignedServerCert interface{} - err = json.Unmarshal(*v, &allowSelfSignedServerCert) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - plstp.AllowSelfSignedServerCert = allowSelfSignedServerCert + qbod.Annotations = &annotations } - case "timeZoneID": + case "folder": if v != nil { - var timeZoneID interface{} - err = json.Unmarshal(*v, &timeZoneID) + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) if err != nil { return err } - plstp.TimeZoneID = timeZoneID + qbod.Folder = &folder } - case "encryptedCredential": + case "type": if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) + var typeVar TypeBasicDataset + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - plstp.EncryptedCredential = encryptedCredential + qbod.Type = typeVar } } } @@ -111589,414 +138299,668 @@ func (plstp *PrestoLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error return nil } -// PrestoObjectDataset presto server dataset. -type PrestoObjectDataset struct { - // GenericDatasetTypeProperties - Properties specific to this dataset type. - *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` +// QuickBooksSource a copy activity QuickBooks server source. +type QuickBooksSource struct { + // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). + Query interface{} `json:"query,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Description - Dataset description. - Description *string `json:"description,omitempty"` - // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. - Structure interface{} `json:"structure,omitempty"` - // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - Schema interface{} `json:"schema,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Parameters - Parameters for dataset. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the Dataset. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' - Type TypeBasicDataset `json:"type,omitempty"` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for PrestoObjectDataset. -func (pod PrestoObjectDataset) MarshalJSON() ([]byte, error) { - pod.Type = TypePrestoObject +// MarshalJSON is the custom marshaler for QuickBooksSource. +func (qbs QuickBooksSource) MarshalJSON() ([]byte, error) { + qbs.Type = TypeQuickBooksSource objectMap := make(map[string]interface{}) - if pod.GenericDatasetTypeProperties != nil { - objectMap["typeProperties"] = pod.GenericDatasetTypeProperties - } - if pod.Description != nil { - objectMap["description"] = pod.Description - } - if pod.Structure != nil { - objectMap["structure"] = pod.Structure - } - if pod.Schema != nil { - objectMap["schema"] = pod.Schema - } - if pod.LinkedServiceName != nil { - objectMap["linkedServiceName"] = pod.LinkedServiceName + if qbs.Query != nil { + objectMap["query"] = qbs.Query } - if pod.Parameters != nil { - objectMap["parameters"] = pod.Parameters + if qbs.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = qbs.SourceRetryCount } - if pod.Annotations != nil { - objectMap["annotations"] = pod.Annotations + if qbs.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = qbs.SourceRetryWait } - if pod.Folder != nil { - objectMap["folder"] = pod.Folder + if qbs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = qbs.MaxConcurrentConnections } - if pod.Type != "" { - objectMap["type"] = pod.Type + if qbs.Type != "" { + objectMap["type"] = qbs.Type } - for k, v := range pod.AdditionalProperties { + for k, v := range qbs.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsResponsysSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsVerticaSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsNetezzaSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsZohoSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsXeroSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsSquareSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsSparkSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsShopifySource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsServiceNowSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsQuickBooksSource() (*QuickBooksSource, bool) { + return &qbs, true +} + +// AsPrestoSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { - return &pod, true +// AsPhoenixSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsPhoenixSource() (*PhoenixSource, bool) { + return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsPaypalSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsMarketoSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsMariaDBSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsMagentoSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsJiraSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsImpalaSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsHubspotSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsHiveSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsHBaseSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsGreenplumSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsEloquaSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsDrillSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsConcurSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsHTTPSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsOffice365Source is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsMongoDbSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsCassandraSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsWebSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsTeradataSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsOracleSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsHdfsSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsFileSystemSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsSQLDWSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsSQLMISource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsSQLServerSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsSQLSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsRestSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsSapTableSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsSapHanaSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsSapEccSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsSalesforceSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsODataSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsSybaseSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsMySQLSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsOdbcSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsDb2Source is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsDataset() (*Dataset, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsBasicDataset() (BasicDataset, bool) { - return &pod, true +// AsInformixSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + +// AsRelationalSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + +// AsDynamicsSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + +// AsAzureTableSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsBinarySource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsDelimitedTextSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false +} + +// AsParquetSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsBasicCopySource() (BasicCopySource, bool) { + return &qbs, true +} + +// UnmarshalJSON is the custom unmarshaler for QuickBooksSource struct. +func (qbs *QuickBooksSource) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "query": + if v != nil { + var query interface{} + err = json.Unmarshal(*v, &query) + if err != nil { + return err + } + qbs.Query = query + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if qbs.AdditionalProperties == nil { + qbs.AdditionalProperties = make(map[string]interface{}) + } + qbs.AdditionalProperties[k] = additionalProperties + } + case "sourceRetryCount": + if v != nil { + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) + if err != nil { + return err + } + qbs.SourceRetryCount = sourceRetryCount + } + case "sourceRetryWait": + if v != nil { + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) + if err != nil { + return err + } + qbs.SourceRetryWait = sourceRetryWait + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + qbs.MaxConcurrentConnections = maxConcurrentConnections + } + case "type": + if v != nil { + var typeVar TypeBasicCopySource + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + qbs.Type = typeVar + } + } + } + + return nil +} + +// RecurrenceSchedule the recurrence schedule. +type RecurrenceSchedule struct { + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Minutes - The minutes. + Minutes *[]int32 `json:"minutes,omitempty"` + // Hours - The hours. + Hours *[]int32 `json:"hours,omitempty"` + // WeekDays - The days of the week. + WeekDays *[]DaysOfWeek `json:"weekDays,omitempty"` + // MonthDays - The month days. + MonthDays *[]int32 `json:"monthDays,omitempty"` + // MonthlyOccurrences - The monthly occurrences. + MonthlyOccurrences *[]RecurrenceScheduleOccurrence `json:"monthlyOccurrences,omitempty"` +} + +// MarshalJSON is the custom marshaler for RecurrenceSchedule. +func (rs RecurrenceSchedule) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if rs.Minutes != nil { + objectMap["minutes"] = rs.Minutes + } + if rs.Hours != nil { + objectMap["hours"] = rs.Hours + } + if rs.WeekDays != nil { + objectMap["weekDays"] = rs.WeekDays + } + if rs.MonthDays != nil { + objectMap["monthDays"] = rs.MonthDays + } + if rs.MonthlyOccurrences != nil { + objectMap["monthlyOccurrences"] = rs.MonthlyOccurrences + } + for k, v := range rs.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for RecurrenceSchedule struct. +func (rs *RecurrenceSchedule) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if rs.AdditionalProperties == nil { + rs.AdditionalProperties = make(map[string]interface{}) + } + rs.AdditionalProperties[k] = additionalProperties + } + case "minutes": + if v != nil { + var minutes []int32 + err = json.Unmarshal(*v, &minutes) + if err != nil { + return err + } + rs.Minutes = &minutes + } + case "hours": + if v != nil { + var hours []int32 + err = json.Unmarshal(*v, &hours) + if err != nil { + return err + } + rs.Hours = &hours + } + case "weekDays": + if v != nil { + var weekDays []DaysOfWeek + err = json.Unmarshal(*v, &weekDays) + if err != nil { + return err + } + rs.WeekDays = &weekDays + } + case "monthDays": + if v != nil { + var monthDays []int32 + err = json.Unmarshal(*v, &monthDays) + if err != nil { + return err + } + rs.MonthDays = &monthDays + } + case "monthlyOccurrences": + if v != nil { + var monthlyOccurrences []RecurrenceScheduleOccurrence + err = json.Unmarshal(*v, &monthlyOccurrences) + if err != nil { + return err + } + rs.MonthlyOccurrences = &monthlyOccurrences + } + } + } + + return nil +} + +// RecurrenceScheduleOccurrence the recurrence schedule occurrence. +type RecurrenceScheduleOccurrence struct { + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Day - The day of the week. Possible values include: 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday' + Day DayOfWeek `json:"day,omitempty"` + // Occurrence - The occurrence. + Occurrence *int32 `json:"occurrence,omitempty"` } -// UnmarshalJSON is the custom unmarshaler for PrestoObjectDataset struct. -func (pod *PrestoObjectDataset) UnmarshalJSON(body []byte) error { +// MarshalJSON is the custom marshaler for RecurrenceScheduleOccurrence. +func (rso RecurrenceScheduleOccurrence) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if rso.Day != "" { + objectMap["day"] = rso.Day + } + if rso.Occurrence != nil { + objectMap["occurrence"] = rso.Occurrence + } + for k, v := range rso.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for RecurrenceScheduleOccurrence struct. +func (rso *RecurrenceScheduleOccurrence) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -112004,15 +138968,6 @@ func (pod *PrestoObjectDataset) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": - if v != nil { - var genericDatasetTypeProperties GenericDatasetTypeProperties - err = json.Unmarshal(*v, &genericDatasetTypeProperties) - if err != nil { - return err - } - pod.GenericDatasetTypeProperties = &genericDatasetTypeProperties - } default: if v != nil { var additionalProperties interface{} @@ -112020,82 +138975,98 @@ func (pod *PrestoObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if pod.AdditionalProperties == nil { - pod.AdditionalProperties = make(map[string]interface{}) + if rso.AdditionalProperties == nil { + rso.AdditionalProperties = make(map[string]interface{}) } - pod.AdditionalProperties[k] = additionalProperties + rso.AdditionalProperties[k] = additionalProperties } - case "description": + case "day": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var day DayOfWeek + err = json.Unmarshal(*v, &day) if err != nil { return err } - pod.Description = &description + rso.Day = day } - case "structure": + case "occurrence": if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) + var occurrence int32 + err = json.Unmarshal(*v, &occurrence) if err != nil { return err } - pod.Structure = structure + rso.Occurrence = &occurrence } - case "schema": + } + } + + return nil +} + +// RedirectIncompatibleRowSettings redirect incompatible row settings +type RedirectIncompatibleRowSettings struct { + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // LinkedServiceName - 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). + LinkedServiceName interface{} `json:"linkedServiceName,omitempty"` + // Path - The path for storing the redirect incompatible row data. Type: string (or Expression with resultType string). + Path interface{} `json:"path,omitempty"` +} + +// MarshalJSON is the custom marshaler for RedirectIncompatibleRowSettings. +func (rirs RedirectIncompatibleRowSettings) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if rirs.LinkedServiceName != nil { + objectMap["linkedServiceName"] = rirs.LinkedServiceName + } + if rirs.Path != nil { + objectMap["path"] = rirs.Path + } + for k, v := range rirs.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for RedirectIncompatibleRowSettings struct. +func (rirs *RedirectIncompatibleRowSettings) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + default: if v != nil { - var schema interface{} - err = json.Unmarshal(*v, &schema) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - pod.Schema = schema + if rirs.AdditionalProperties == nil { + rirs.AdditionalProperties = make(map[string]interface{}) + } + rirs.AdditionalProperties[k] = additionalProperties } case "linkedServiceName": if v != nil { - var linkedServiceName LinkedServiceReference + var linkedServiceName interface{} err = json.Unmarshal(*v, &linkedServiceName) if err != nil { return err } - pod.LinkedServiceName = &linkedServiceName - } - case "parameters": - if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) - if err != nil { - return err - } - pod.Parameters = parameters - } - case "annotations": - if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) - if err != nil { - return err - } - pod.Annotations = &annotations - } - case "folder": - if v != nil { - var folder DatasetFolder - err = json.Unmarshal(*v, &folder) - if err != nil { - return err - } - pod.Folder = &folder + rirs.LinkedServiceName = linkedServiceName } - case "type": + case "path": if v != nil { - var typeVar TypeBasicDataset - err = json.Unmarshal(*v, &typeVar) + var pathVar interface{} + err = json.Unmarshal(*v, &pathVar) if err != nil { return err } - pod.Type = typeVar + rirs.Path = pathVar } } } @@ -112103,9 +139074,19 @@ func (pod *PrestoObjectDataset) UnmarshalJSON(body []byte) error { return nil } -// PrestoSource a copy activity Presto server source. -type PrestoSource struct { - // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). +// RedshiftUnloadSettings 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. +type RedshiftUnloadSettings struct { + // S3LinkedServiceName - The name of the Amazon S3 linked service which will be used for the unload operation when copying from the Amazon Redshift source. + S3LinkedServiceName *LinkedServiceReference `json:"s3LinkedServiceName,omitempty"` + // BucketName - The bucket of the interim Amazon S3 which will be used to store the unloaded data from Amazon Redshift source. The bucket must be in the same region as the Amazon Redshift source. Type: string (or Expression with resultType string). + BucketName interface{} `json:"bucketName,omitempty"` +} + +// RelationalSource a copy activity source for various relational databases. +type RelationalSource struct { + // Query - Database query. Type: string (or Expression with resultType string). Query interface{} `json:"query,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` @@ -112115,377 +139096,447 @@ type PrestoSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for PrestoSource. -func (ps PrestoSource) MarshalJSON() ([]byte, error) { - ps.Type = TypePrestoSource +// MarshalJSON is the custom marshaler for RelationalSource. +func (rs RelationalSource) MarshalJSON() ([]byte, error) { + rs.Type = TypeRelationalSource objectMap := make(map[string]interface{}) - if ps.Query != nil { - objectMap["query"] = ps.Query + if rs.Query != nil { + objectMap["query"] = rs.Query } - if ps.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = ps.SourceRetryCount + if rs.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = rs.SourceRetryCount } - if ps.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = ps.SourceRetryWait + if rs.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = rs.SourceRetryWait } - if ps.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = ps.MaxConcurrentConnections + if rs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = rs.MaxConcurrentConnections } - if ps.Type != "" { - objectMap["type"] = ps.Type + if rs.Type != "" { + objectMap["type"] = rs.Type } - for k, v := range ps.AdditionalProperties { + for k, v := range rs.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsResponsysSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsVerticaSource() (*VerticaSource, bool) { +// AsVerticaSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsNetezzaSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsZohoSource() (*ZohoSource, bool) { +// AsZohoSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsXeroSource() (*XeroSource, bool) { +// AsXeroSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsSquareSource() (*SquareSource, bool) { +// AsSquareSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsSparkSource() (*SparkSource, bool) { +// AsSparkSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsShopifySource() (*ShopifySource, bool) { +// AsShopifySource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsServiceNowSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsPrestoSource() (*PrestoSource, bool) { - return &ps, true +// AsPrestoSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsPrestoSource() (*PrestoSource, bool) { + return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsPhoenixSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsPaypalSource() (*PaypalSource, bool) { +// AsPaypalSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsMarketoSource() (*MarketoSource, bool) { +// AsMarketoSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsMariaDBSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsMagentoSource() (*MagentoSource, bool) { +// AsMagentoSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsJiraSource() (*JiraSource, bool) { +// AsJiraSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsImpalaSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsHubspotSource() (*HubspotSource, bool) { +// AsHubspotSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsHiveSource() (*HiveSource, bool) { +// AsHiveSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsHBaseSource() (*HBaseSource, bool) { +// AsHBaseSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsGreenplumSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsEloquaSource() (*EloquaSource, bool) { +// AsEloquaSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsDrillSource() (*DrillSource, bool) { +// AsDrillSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsConcurSource() (*ConcurSource, bool) { +// AsConcurSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsHTTPSource() (*HTTPSource, bool) { +// AsHTTPSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsOffice365Source() (*Office365Source, bool) { +// AsOffice365Source is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsMongoDbSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsCassandraSource() (*CassandraSource, bool) { +// AsCassandraSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsWebSource() (*WebSource, bool) { +// AsWebSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsOracleSource() (*OracleSource, bool) { +// AsTeradataSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsOracleSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsHdfsSource() (*HdfsSource, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsHdfsSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsFileSystemSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsSQLDWSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsSQLMISource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsSQLSource() (*SQLSource, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsRestSource() (*RestSource, bool) { +// AsSQLServerSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsSapTableSource() (*SapTableSource, bool) { +// AsSQLSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsRestSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsSapTableSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsSapEccSource() (*SapEccSource, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsSapHanaSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsSapEccSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsRelationalSource() (*RelationalSource, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsSalesforceSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsBlobSource() (*BlobSource, bool) { +// AsODataSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsSybaseSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsParquetSource() (*ParquetSource, bool) { +// AsMySQLSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsCopySource() (*CopySource, bool) { +// AsOdbcSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsBasicCopySource() (BasicCopySource, bool) { - return &ps, true +// AsDb2Source is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsDb2Source() (*Db2Source, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for PrestoSource struct. -func (ps *PrestoSource) UnmarshalJSON(body []byte) error { +// AsMicrosoftAccessSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + +// AsRelationalSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsRelationalSource() (*RelationalSource, bool) { + return &rs, true +} + +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + +// AsDynamicsSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + +// AsAzureTableSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsBinarySource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsDelimitedTextSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false +} + +// AsParquetSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsBasicCopySource() (BasicCopySource, bool) { + return &rs, true +} + +// UnmarshalJSON is the custom unmarshaler for RelationalSource struct. +func (rs *RelationalSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -112500,7 +139551,7 @@ func (ps *PrestoSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - ps.Query = query + rs.Query = query } default: if v != nil { @@ -112509,10 +139560,10 @@ func (ps *PrestoSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - if ps.AdditionalProperties == nil { - ps.AdditionalProperties = make(map[string]interface{}) + if rs.AdditionalProperties == nil { + rs.AdditionalProperties = make(map[string]interface{}) } - ps.AdditionalProperties[k] = additionalProperties + rs.AdditionalProperties[k] = additionalProperties } case "sourceRetryCount": if v != nil { @@ -112521,7 +139572,7 @@ func (ps *PrestoSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - ps.SourceRetryCount = sourceRetryCount + rs.SourceRetryCount = sourceRetryCount } case "sourceRetryWait": if v != nil { @@ -112530,7 +139581,7 @@ func (ps *PrestoSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - ps.SourceRetryWait = sourceRetryWait + rs.SourceRetryWait = sourceRetryWait } case "maxConcurrentConnections": if v != nil { @@ -112539,7 +139590,7 @@ func (ps *PrestoSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - ps.MaxConcurrentConnections = maxConcurrentConnections + rs.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { @@ -112548,7 +139599,7 @@ func (ps *PrestoSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - ps.Type = typeVar + rs.Type = typeVar } } } @@ -112556,484 +139607,896 @@ func (ps *PrestoSource) UnmarshalJSON(body []byte) error { return nil } -// QuickBooksLinkedService quickBooks server linked service. -type QuickBooksLinkedService struct { - // QuickBooksLinkedServiceTypeProperties - QuickBooks server linked service properties. - *QuickBooksLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// RelationalTableDataset the relational table dataset. +type RelationalTableDataset struct { + // RelationalTableDatasetTypeProperties - Relational table dataset properties. + *RelationalTableDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. + // Description - Dataset description. Description *string `json:"description,omitempty"` - // Parameters - Parameters for linked service. + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the linked service. + // Annotations - List of tags that can be used for describing the Dataset. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) MarshalJSON() ([]byte, error) { - qbls.Type = TypeQuickBooks +// MarshalJSON is the custom marshaler for RelationalTableDataset. +func (rtd RelationalTableDataset) MarshalJSON() ([]byte, error) { + rtd.Type = TypeRelationalTable objectMap := make(map[string]interface{}) - if qbls.QuickBooksLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = qbls.QuickBooksLinkedServiceTypeProperties + if rtd.RelationalTableDatasetTypeProperties != nil { + objectMap["typeProperties"] = rtd.RelationalTableDatasetTypeProperties } - if qbls.ConnectVia != nil { - objectMap["connectVia"] = qbls.ConnectVia + if rtd.Description != nil { + objectMap["description"] = rtd.Description } - if qbls.Description != nil { - objectMap["description"] = qbls.Description + if rtd.Structure != nil { + objectMap["structure"] = rtd.Structure } - if qbls.Parameters != nil { - objectMap["parameters"] = qbls.Parameters + if rtd.Schema != nil { + objectMap["schema"] = rtd.Schema } - if qbls.Annotations != nil { - objectMap["annotations"] = qbls.Annotations + if rtd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = rtd.LinkedServiceName } - if qbls.Type != "" { - objectMap["type"] = qbls.Type + if rtd.Parameters != nil { + objectMap["parameters"] = rtd.Parameters } - for k, v := range qbls.AdditionalProperties { + if rtd.Annotations != nil { + objectMap["annotations"] = rtd.Annotations + } + if rtd.Folder != nil { + objectMap["folder"] = rtd.Folder + } + if rtd.Type != "" { + objectMap["type"] = rtd.Type + } + for k, v := range rtd.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsSapTableLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { - return &qbls, true +// AsMariaDBTableDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { + return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsDrillTableDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsHTTPDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsWebTableDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsRestResourceDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { + return nil, false +} + +// AsOdbcTableDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { + return nil, false +} + +// AsInformixTableDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { + return nil, false +} + +// AsRelationalTableDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { + return &rtd, true +} + +// AsAzureMySQLTableDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { + return nil, false +} + +// AsTeradataTableDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { + return nil, false +} + +// AsOracleTableDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { + return nil, false +} + +// AsODataResourceDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { + return nil, false +} + +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { + return nil, false +} + +// AsMongoDbCollectionDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { + return nil, false +} + +// AsFileShareDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { + return nil, false +} + +// AsOffice365Dataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { + return nil, false +} + +// AsAzureBlobFSDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { + return nil, false +} + +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { + return nil, false +} + +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { + return nil, false +} + +// AsDynamicsEntityDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { + return nil, false +} + +// AsDocumentDbCollectionDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { + return nil, false +} + +// AsCustomDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsCustomDataset() (*CustomDataset, bool) { + return nil, false +} + +// AsCassandraTableDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { + return nil, false +} + +// AsAzureSQLDWTableDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { + return nil, false +} + +// AsAzureSQLMITableDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + +// AsAzureSQLTableDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { + return nil, false +} + +// AsAzureTableDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { + return nil, false +} + +// AsAzureBlobDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { + return nil, false +} + +// AsBinaryDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + +// AsDelimitedTextDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { + return nil, false +} + +// AsParquetDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsDataset() (*Dataset, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { - return nil, false +// AsBasicDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsBasicDataset() (BasicDataset, bool) { + return &rtd, true +} + +// UnmarshalJSON is the custom unmarshaler for RelationalTableDataset struct. +func (rtd *RelationalTableDataset) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "typeProperties": + if v != nil { + var relationalTableDatasetTypeProperties RelationalTableDatasetTypeProperties + err = json.Unmarshal(*v, &relationalTableDatasetTypeProperties) + if err != nil { + return err + } + rtd.RelationalTableDatasetTypeProperties = &relationalTableDatasetTypeProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if rtd.AdditionalProperties == nil { + rtd.AdditionalProperties = make(map[string]interface{}) + } + rtd.AdditionalProperties[k] = additionalProperties + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + rtd.Description = &description + } + case "structure": + if v != nil { + var structure interface{} + err = json.Unmarshal(*v, &structure) + if err != nil { + return err + } + rtd.Structure = structure + } + case "schema": + if v != nil { + var schema interface{} + err = json.Unmarshal(*v, &schema) + if err != nil { + return err + } + rtd.Schema = schema + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + rtd.LinkedServiceName = &linkedServiceName + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + rtd.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + rtd.Annotations = &annotations + } + case "folder": + if v != nil { + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) + if err != nil { + return err + } + rtd.Folder = &folder + } + case "type": + if v != nil { + var typeVar TypeBasicDataset + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + rtd.Type = typeVar + } + } + } + + return nil } -// AsSapEccLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { - return nil, false +// RelationalTableDatasetTypeProperties relational table dataset properties. +type RelationalTableDatasetTypeProperties struct { + // TableName - The relational table name. Type: string (or Expression with resultType string). + TableName interface{} `json:"tableName,omitempty"` } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { - return nil, false +// RerunTriggerListResponse a list of rerun triggers. +type RerunTriggerListResponse struct { + autorest.Response `json:"-"` + // Value - List of rerun triggers. + Value *[]RerunTriggerResource `json:"value,omitempty"` + // NextLink - READ-ONLY; The continuation token for getting the next page of results, if any remaining results exist, null otherwise. + NextLink *string `json:"nextLink,omitempty"` } -// AsSalesforceLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { - return nil, false +// RerunTriggerListResponseIterator provides access to a complete listing of RerunTriggerResource values. +type RerunTriggerListResponseIterator struct { + i int + page RerunTriggerListResponsePage } -// AsOffice365LinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { - return nil, false +// NextWithContext advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +func (iter *RerunTriggerListResponseIterator) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/RerunTriggerListResponseIterator.NextWithContext") + defer func() { + sc := -1 + if iter.Response().Response.Response != nil { + sc = iter.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + iter.i++ + if iter.i < len(iter.page.Values()) { + return nil + } + err = iter.page.NextWithContext(ctx) + if err != nil { + iter.i-- + return err + } + iter.i = 0 + return nil } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { - return nil, false +// Next advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (iter *RerunTriggerListResponseIterator) Next() error { + return iter.NextWithContext(context.Background()) } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { - return nil, false +// NotDone returns true if the enumeration should be started or is not yet complete. +func (iter RerunTriggerListResponseIterator) NotDone() bool { + return iter.page.NotDone() && iter.i < len(iter.page.Values()) } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { - return nil, false +// Response returns the raw server response from the last page request. +func (iter RerunTriggerListResponseIterator) Response() RerunTriggerListResponse { + return iter.page.Response() } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { - return nil, false +// Value returns the current value or a zero-initialized value if the +// iterator has advanced beyond the end of the collection. +func (iter RerunTriggerListResponseIterator) Value() RerunTriggerResource { + if !iter.page.NotDone() { + return RerunTriggerResource{} + } + return iter.page.Values()[iter.i] } -// AsMongoDbLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { - return nil, false +// Creates a new instance of the RerunTriggerListResponseIterator type. +func NewRerunTriggerListResponseIterator(page RerunTriggerListResponsePage) RerunTriggerListResponseIterator { + return RerunTriggerListResponseIterator{page: page} } -// AsCassandraLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { - return nil, false +// IsEmpty returns true if the ListResult contains no values. +func (rtlr RerunTriggerListResponse) IsEmpty() bool { + return rtlr.Value == nil || len(*rtlr.Value) == 0 } -// AsWebLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { - return nil, false +// rerunTriggerListResponsePreparer prepares a request to retrieve the next set of results. +// It returns nil if no more results exist. +func (rtlr RerunTriggerListResponse) rerunTriggerListResponsePreparer(ctx context.Context) (*http.Request, error) { + if rtlr.NextLink == nil || len(to.String(rtlr.NextLink)) < 1 { + return nil, nil + } + return autorest.Prepare((&http.Request{}).WithContext(ctx), + autorest.AsJSON(), + autorest.AsGet(), + autorest.WithBaseURL(to.String(rtlr.NextLink))) } -// AsODataLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { - return nil, false +// RerunTriggerListResponsePage contains a page of RerunTriggerResource values. +type RerunTriggerListResponsePage struct { + fn func(context.Context, RerunTriggerListResponse) (RerunTriggerListResponse, error) + rtlr RerunTriggerListResponse } -// AsHdfsLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { - return nil, false +// NextWithContext advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +func (page *RerunTriggerListResponsePage) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/RerunTriggerListResponsePage.NextWithContext") + defer func() { + sc := -1 + if page.Response().Response.Response != nil { + sc = page.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + next, err := page.fn(ctx, page.rtlr) + if err != nil { + return err + } + page.rtlr = next + return nil } -// AsOdbcLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { - return nil, false +// Next advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (page *RerunTriggerListResponsePage) Next() error { + return page.NextWithContext(context.Background()) } -// AsAzureMLLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { - return nil, false +// NotDone returns true if the page enumeration should be started or is not yet complete. +func (page RerunTriggerListResponsePage) NotDone() bool { + return !page.rtlr.IsEmpty() } -// AsTeradataLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { - return nil, false +// Response returns the raw server response from the last page request. +func (page RerunTriggerListResponsePage) Response() RerunTriggerListResponse { + return page.rtlr } -// AsDb2LinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { - return nil, false +// Values returns the slice of values for the current page or nil if there are no values. +func (page RerunTriggerListResponsePage) Values() []RerunTriggerResource { + if page.rtlr.IsEmpty() { + return nil + } + return *page.rtlr.Value } -// AsSybaseLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { - return nil, false +// Creates a new instance of the RerunTriggerListResponsePage type. +func NewRerunTriggerListResponsePage(getNextPage func(context.Context, RerunTriggerListResponse) (RerunTriggerListResponse, error)) RerunTriggerListResponsePage { + return RerunTriggerListResponsePage{fn: getNextPage} } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { - return nil, false +// RerunTriggerResource rerunTrigger resource type. +type RerunTriggerResource struct { + // Properties - Properties of the rerun trigger. + Properties *RerunTumblingWindowTrigger `json:"properties,omitempty"` + // ID - READ-ONLY; The resource identifier. + ID *string `json:"id,omitempty"` + // Name - READ-ONLY; The resource name. + Name *string `json:"name,omitempty"` + // Type - READ-ONLY; The resource type. + Type *string `json:"type,omitempty"` + // Etag - READ-ONLY; Etag identifies change in the resource. + Etag *string `json:"etag,omitempty"` } -// AsMySQLLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { - return nil, false +// RerunTriggersCancelFuture an abstraction for monitoring and retrieving the results of a long-running +// operation. +type RerunTriggersCancelFuture struct { + azure.Future } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { - return nil, false +// Result returns the result of the asynchronous operation. +// If the operation has not completed it will return an error. +func (future *RerunTriggersCancelFuture) Result(client RerunTriggersClient) (ar autorest.Response, err error) { + var done bool + done, err = future.DoneWithContext(context.Background(), client) + if err != nil { + err = autorest.NewErrorWithError(err, "datafactory.RerunTriggersCancelFuture", "Result", future.Response(), "Polling failure") + return + } + if !done { + err = azure.NewAsyncOpIncompleteError("datafactory.RerunTriggersCancelFuture") + return + } + ar.Response = future.Response() + return } -// AsOracleLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { - return nil, false +// RerunTriggersStartFuture an abstraction for monitoring and retrieving the results of a long-running +// operation. +type RerunTriggersStartFuture struct { + azure.Future } -// AsFileServerLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { - return nil, false +// Result returns the result of the asynchronous operation. +// If the operation has not completed it will return an error. +func (future *RerunTriggersStartFuture) Result(client RerunTriggersClient) (ar autorest.Response, err error) { + var done bool + done, err = future.DoneWithContext(context.Background(), client) + if err != nil { + err = autorest.NewErrorWithError(err, "datafactory.RerunTriggersStartFuture", "Result", future.Response(), "Polling failure") + return + } + if !done { + err = azure.NewAsyncOpIncompleteError("datafactory.RerunTriggersStartFuture") + return + } + ar.Response = future.Response() + return } -// AsHDInsightLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { - return nil, false +// RerunTriggersStopFuture an abstraction for monitoring and retrieving the results of a long-running +// operation. +type RerunTriggersStopFuture struct { + azure.Future } -// AsDynamicsLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { - return nil, false +// Result returns the result of the asynchronous operation. +// If the operation has not completed it will return an error. +func (future *RerunTriggersStopFuture) Result(client RerunTriggersClient) (ar autorest.Response, err error) { + var done bool + done, err = future.DoneWithContext(context.Background(), client) + if err != nil { + err = autorest.NewErrorWithError(err, "datafactory.RerunTriggersStopFuture", "Result", future.Response(), "Polling failure") + return + } + if !done { + err = azure.NewAsyncOpIncompleteError("datafactory.RerunTriggersStopFuture") + return + } + ar.Response = future.Response() + return } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { - return nil, false +// RerunTumblingWindowTrigger trigger that schedules pipeline reruns for all fixed time interval windows +// from a requested start time to requested end time. +type RerunTumblingWindowTrigger struct { + // RerunTumblingWindowTriggerTypeProperties - Rerun Trigger properties. + *RerunTumblingWindowTriggerTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Description - Trigger description. + Description *string `json:"description,omitempty"` + // RuntimeState - READ-ONLY; Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: 'Started', 'Stopped', 'Disabled' + RuntimeState TriggerRuntimeState `json:"runtimeState,omitempty"` + // Annotations - List of tags that can be used for describing the trigger. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeTrigger', 'TypeRerunTumblingWindowTrigger', 'TypeTumblingWindowTrigger', 'TypeBlobEventsTrigger', 'TypeBlobTrigger', 'TypeScheduleTrigger', 'TypeMultiplePipelineTrigger' + Type TypeBasicTrigger `json:"type,omitempty"` } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { - return nil, false +// MarshalJSON is the custom marshaler for RerunTumblingWindowTrigger. +func (rtwt RerunTumblingWindowTrigger) MarshalJSON() ([]byte, error) { + rtwt.Type = TypeRerunTumblingWindowTrigger + objectMap := make(map[string]interface{}) + if rtwt.RerunTumblingWindowTriggerTypeProperties != nil { + objectMap["typeProperties"] = rtwt.RerunTumblingWindowTriggerTypeProperties + } + if rtwt.Description != nil { + objectMap["description"] = rtwt.Description + } + if rtwt.Annotations != nil { + objectMap["annotations"] = rtwt.Annotations + } + if rtwt.Type != "" { + objectMap["type"] = rtwt.Type + } + for k, v := range rtwt.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { - return nil, false +// AsRerunTumblingWindowTrigger is the BasicTrigger implementation for RerunTumblingWindowTrigger. +func (rtwt RerunTumblingWindowTrigger) AsRerunTumblingWindowTrigger() (*RerunTumblingWindowTrigger, bool) { + return &rtwt, true } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsTumblingWindowTrigger is the BasicTrigger implementation for RerunTumblingWindowTrigger. +func (rtwt RerunTumblingWindowTrigger) AsTumblingWindowTrigger() (*TumblingWindowTrigger, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsBlobEventsTrigger is the BasicTrigger implementation for RerunTumblingWindowTrigger. +func (rtwt RerunTumblingWindowTrigger) AsBlobEventsTrigger() (*BlobEventsTrigger, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsBlobTrigger is the BasicTrigger implementation for RerunTumblingWindowTrigger. +func (rtwt RerunTumblingWindowTrigger) AsBlobTrigger() (*BlobTrigger, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsScheduleTrigger is the BasicTrigger implementation for RerunTumblingWindowTrigger. +func (rtwt RerunTumblingWindowTrigger) AsScheduleTrigger() (*ScheduleTrigger, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsMultiplePipelineTrigger is the BasicTrigger implementation for RerunTumblingWindowTrigger. +func (rtwt RerunTumblingWindowTrigger) AsMultiplePipelineTrigger() (*MultiplePipelineTrigger, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsBasicMultiplePipelineTrigger is the BasicTrigger implementation for RerunTumblingWindowTrigger. +func (rtwt RerunTumblingWindowTrigger) AsBasicMultiplePipelineTrigger() (BasicMultiplePipelineTrigger, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsTrigger is the BasicTrigger implementation for RerunTumblingWindowTrigger. +func (rtwt RerunTumblingWindowTrigger) AsTrigger() (*Trigger, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &qbls, true +// AsBasicTrigger is the BasicTrigger implementation for RerunTumblingWindowTrigger. +func (rtwt RerunTumblingWindowTrigger) AsBasicTrigger() (BasicTrigger, bool) { + return &rtwt, true } -// UnmarshalJSON is the custom unmarshaler for QuickBooksLinkedService struct. -func (qbls *QuickBooksLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for RerunTumblingWindowTrigger struct. +func (rtwt *RerunTumblingWindowTrigger) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -113043,12 +140506,12 @@ func (qbls *QuickBooksLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var quickBooksLinkedServiceTypeProperties QuickBooksLinkedServiceTypeProperties - err = json.Unmarshal(*v, &quickBooksLinkedServiceTypeProperties) + var rerunTumblingWindowTriggerTypeProperties RerunTumblingWindowTriggerTypeProperties + err = json.Unmarshal(*v, &rerunTumblingWindowTriggerTypeProperties) if err != nil { return err } - qbls.QuickBooksLinkedServiceTypeProperties = &quickBooksLinkedServiceTypeProperties + rtwt.RerunTumblingWindowTriggerTypeProperties = &rerunTumblingWindowTriggerTypeProperties } default: if v != nil { @@ -113057,19 +140520,10 @@ func (qbls *QuickBooksLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if qbls.AdditionalProperties == nil { - qbls.AdditionalProperties = make(map[string]interface{}) - } - qbls.AdditionalProperties[k] = additionalProperties - } - case "connectVia": - if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) - if err != nil { - return err + if rtwt.AdditionalProperties == nil { + rtwt.AdditionalProperties = make(map[string]interface{}) } - qbls.ConnectVia = &connectVia + rtwt.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -113078,16 +140532,16 @@ func (qbls *QuickBooksLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - qbls.Description = &description + rtwt.Description = &description } - case "parameters": + case "runtimeState": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var runtimeState TriggerRuntimeState + err = json.Unmarshal(*v, &runtimeState) if err != nil { return err } - qbls.Parameters = parameters + rtwt.RuntimeState = runtimeState } case "annotations": if v != nil { @@ -113096,16 +140550,16 @@ func (qbls *QuickBooksLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - qbls.Annotations = &annotations + rtwt.Annotations = &annotations } case "type": if v != nil { - var typeVar TypeBasicLinkedService + var typeVar TypeBasicTrigger err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - qbls.Type = typeVar + rtwt.Type = typeVar } } } @@ -113113,518 +140567,564 @@ func (qbls *QuickBooksLinkedService) UnmarshalJSON(body []byte) error { return nil } -// QuickBooksLinkedServiceTypeProperties quickBooks server linked service properties. -type QuickBooksLinkedServiceTypeProperties struct { - // Endpoint - The endpoint of the QuickBooks server. (i.e. quickbooks.api.intuit.com) - Endpoint interface{} `json:"endpoint,omitempty"` - // CompanyID - The company ID of the QuickBooks company to authorize. - CompanyID interface{} `json:"companyId,omitempty"` - // ConsumerKey - The consumer key for OAuth 1.0 authentication. - ConsumerKey interface{} `json:"consumerKey,omitempty"` - // ConsumerSecret - The consumer secret for OAuth 1.0 authentication. - ConsumerSecret BasicSecretBase `json:"consumerSecret,omitempty"` - // AccessToken - The access token for OAuth 1.0 authentication. - AccessToken BasicSecretBase `json:"accessToken,omitempty"` - // AccessTokenSecret - The access token secret for OAuth 1.0 authentication. - AccessTokenSecret BasicSecretBase `json:"accessTokenSecret,omitempty"` - // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. - UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"` - // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). - EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` +// RerunTumblingWindowTriggerActionParameters rerun tumbling window trigger Parameters. +type RerunTumblingWindowTriggerActionParameters struct { + // StartTime - The start time for the time period for which restatement is initiated. Only UTC time is currently supported. + StartTime *date.Time `json:"startTime,omitempty"` + // EndTime - The end time for the time period for which restatement is initiated. Only UTC time is currently supported. + EndTime *date.Time `json:"endTime,omitempty"` + // MaxConcurrency - The max number of parallel time windows (ready for execution) for which a rerun is triggered. + MaxConcurrency *int32 `json:"maxConcurrency,omitempty"` } -// UnmarshalJSON is the custom unmarshaler for QuickBooksLinkedServiceTypeProperties struct. -func (qblstp *QuickBooksLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err +// RerunTumblingWindowTriggerTypeProperties rerun Trigger properties. +type RerunTumblingWindowTriggerTypeProperties struct { + // ParentTrigger - The parent trigger reference. + ParentTrigger interface{} `json:"parentTrigger,omitempty"` + // RequestedStartTime - The start time for the time period for which restatement is initiated. Only UTC time is currently supported. + RequestedStartTime *date.Time `json:"requestedStartTime,omitempty"` + // RequestedEndTime - The end time for the time period for which restatement is initiated. Only UTC time is currently supported. + RequestedEndTime *date.Time `json:"requestedEndTime,omitempty"` + // MaxConcurrency - The max number of parallel time windows (ready for execution) for which a rerun is triggered. + MaxConcurrency *int32 `json:"maxConcurrency,omitempty"` +} + +// Resource azure Data Factory top-level resource. +type Resource struct { + // ID - READ-ONLY; The resource identifier. + ID *string `json:"id,omitempty"` + // Name - READ-ONLY; The resource name. + Name *string `json:"name,omitempty"` + // Type - READ-ONLY; The resource type. + Type *string `json:"type,omitempty"` + // Location - The resource location. + Location *string `json:"location,omitempty"` + // Tags - The resource tags. + Tags map[string]*string `json:"tags"` + // ETag - READ-ONLY; Etag identifies change in the resource. + ETag *string `json:"eTag,omitempty"` +} + +// MarshalJSON is the custom marshaler for Resource. +func (r Resource) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if r.Location != nil { + objectMap["location"] = r.Location } - for k, v := range m { - switch k { - case "endpoint": - if v != nil { - var endpoint interface{} - err = json.Unmarshal(*v, &endpoint) - if err != nil { - return err - } - qblstp.Endpoint = endpoint - } - case "companyId": - if v != nil { - var companyID interface{} - err = json.Unmarshal(*v, &companyID) - if err != nil { - return err - } - qblstp.CompanyID = companyID - } - case "consumerKey": - if v != nil { - var consumerKey interface{} - err = json.Unmarshal(*v, &consumerKey) - if err != nil { - return err - } - qblstp.ConsumerKey = consumerKey - } - case "consumerSecret": - if v != nil { - consumerSecret, err := unmarshalBasicSecretBase(*v) - if err != nil { - return err - } - qblstp.ConsumerSecret = consumerSecret - } - case "accessToken": - if v != nil { - accessToken, err := unmarshalBasicSecretBase(*v) - if err != nil { - return err - } - qblstp.AccessToken = accessToken - } - case "accessTokenSecret": - if v != nil { - accessTokenSecret, err := unmarshalBasicSecretBase(*v) - if err != nil { - return err - } - qblstp.AccessTokenSecret = accessTokenSecret - } - case "useEncryptedEndpoints": - if v != nil { - var useEncryptedEndpoints interface{} - err = json.Unmarshal(*v, &useEncryptedEndpoints) - if err != nil { - return err - } - qblstp.UseEncryptedEndpoints = useEncryptedEndpoints - } - case "encryptedCredential": - if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) - if err != nil { - return err - } - qblstp.EncryptedCredential = encryptedCredential - } - } + if r.Tags != nil { + objectMap["tags"] = r.Tags } - - return nil + return json.Marshal(objectMap) } -// QuickBooksObjectDataset quickBooks server dataset. -type QuickBooksObjectDataset struct { - // GenericDatasetTypeProperties - Properties specific to this dataset type. - *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` +// ResponsysLinkedService responsys linked service. +type ResponsysLinkedService struct { + // ResponsysLinkedServiceTypeProperties - Responsys linked service properties. + *ResponsysLinkedServiceTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Description - Dataset description. + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. Description *string `json:"description,omitempty"` - // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. - Structure interface{} `json:"structure,omitempty"` - // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - Schema interface{} `json:"schema,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Parameters - Parameters for dataset. + // Parameters - Parameters for linked service. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the Dataset. + // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' - Type TypeBasicDataset `json:"type,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) MarshalJSON() ([]byte, error) { - qbod.Type = TypeQuickBooksObject +// MarshalJSON is the custom marshaler for ResponsysLinkedService. +func (rls ResponsysLinkedService) MarshalJSON() ([]byte, error) { + rls.Type = TypeResponsys objectMap := make(map[string]interface{}) - if qbod.GenericDatasetTypeProperties != nil { - objectMap["typeProperties"] = qbod.GenericDatasetTypeProperties - } - if qbod.Description != nil { - objectMap["description"] = qbod.Description - } - if qbod.Structure != nil { - objectMap["structure"] = qbod.Structure - } - if qbod.Schema != nil { - objectMap["schema"] = qbod.Schema + if rls.ResponsysLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = rls.ResponsysLinkedServiceTypeProperties } - if qbod.LinkedServiceName != nil { - objectMap["linkedServiceName"] = qbod.LinkedServiceName + if rls.ConnectVia != nil { + objectMap["connectVia"] = rls.ConnectVia } - if qbod.Parameters != nil { - objectMap["parameters"] = qbod.Parameters + if rls.Description != nil { + objectMap["description"] = rls.Description } - if qbod.Annotations != nil { - objectMap["annotations"] = qbod.Annotations + if rls.Parameters != nil { + objectMap["parameters"] = rls.Parameters } - if qbod.Folder != nil { - objectMap["folder"] = qbod.Folder + if rls.Annotations != nil { + objectMap["annotations"] = rls.Annotations } - if qbod.Type != "" { - objectMap["type"] = qbod.Type + if rls.Type != "" { + objectMap["type"] = rls.Type } - for k, v := range qbod.AdditionalProperties { + for k, v := range rls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { + return &rls, true +} + +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { - return &qbod, true +// AsSquareLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { + return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsDataset() (*Dataset, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsBasicDataset() (BasicDataset, bool) { - return &qbod, true +// AsDb2LinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for QuickBooksObjectDataset struct. -func (qbod *QuickBooksObjectDataset) UnmarshalJSON(body []byte) error { +// AsSybaseLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { + return nil, false +} + +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { + return nil, false +} + +// AsMySQLLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { + return nil, false +} + +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { + return nil, false +} + +// AsOracleLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { + return nil, false +} + +// AsFileServerLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { + return nil, false +} + +// AsHDInsightLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + +// AsDynamicsLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false +} + +// AsCosmosDbLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false +} + +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false +} + +// AsAzureBatchLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} + +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &rls, true +} + +// UnmarshalJSON is the custom unmarshaler for ResponsysLinkedService struct. +func (rls *ResponsysLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -113634,12 +141134,12 @@ func (qbod *QuickBooksObjectDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var genericDatasetTypeProperties GenericDatasetTypeProperties - err = json.Unmarshal(*v, &genericDatasetTypeProperties) + var responsysLinkedServiceTypeProperties ResponsysLinkedServiceTypeProperties + err = json.Unmarshal(*v, &responsysLinkedServiceTypeProperties) if err != nil { return err } - qbod.GenericDatasetTypeProperties = &genericDatasetTypeProperties + rls.ResponsysLinkedServiceTypeProperties = &responsysLinkedServiceTypeProperties } default: if v != nil { @@ -113648,82 +141148,150 @@ func (qbod *QuickBooksObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if qbod.AdditionalProperties == nil { - qbod.AdditionalProperties = make(map[string]interface{}) - } - qbod.AdditionalProperties[k] = additionalProperties + if rls.AdditionalProperties == nil { + rls.AdditionalProperties = make(map[string]interface{}) + } + rls.AdditionalProperties[k] = additionalProperties + } + case "connectVia": + if v != nil { + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) + if err != nil { + return err + } + rls.ConnectVia = &connectVia + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + rls.Description = &description + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + rls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + rls.Annotations = &annotations } - case "description": + case "type": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var typeVar TypeBasicLinkedService + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - qbod.Description = &description + rls.Type = typeVar } - case "structure": + } + } + + return nil +} + +// ResponsysLinkedServiceTypeProperties responsys linked service properties. +type ResponsysLinkedServiceTypeProperties struct { + // Endpoint - The endpoint of the Responsys server. + Endpoint interface{} `json:"endpoint,omitempty"` + // ClientID - The client ID associated with the Responsys application. Type: string (or Expression with resultType string). + ClientID interface{} `json:"clientId,omitempty"` + // ClientSecret - The client secret associated with the Responsys application. Type: string (or Expression with resultType string). + ClientSecret BasicSecretBase `json:"clientSecret,omitempty"` + // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. Type: boolean (or Expression with resultType boolean). + UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"` + // UseHostVerification - 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). + UseHostVerification interface{} `json:"useHostVerification,omitempty"` + // UsePeerVerification - 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). + UsePeerVerification interface{} `json:"usePeerVerification,omitempty"` + // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` +} + +// UnmarshalJSON is the custom unmarshaler for ResponsysLinkedServiceTypeProperties struct. +func (rlstp *ResponsysLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "endpoint": if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) + var endpoint interface{} + err = json.Unmarshal(*v, &endpoint) if err != nil { return err } - qbod.Structure = structure + rlstp.Endpoint = endpoint } - case "schema": + case "clientId": if v != nil { - var schema interface{} - err = json.Unmarshal(*v, &schema) + var clientID interface{} + err = json.Unmarshal(*v, &clientID) if err != nil { return err } - qbod.Schema = schema + rlstp.ClientID = clientID } - case "linkedServiceName": + case "clientSecret": if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) + clientSecret, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - qbod.LinkedServiceName = &linkedServiceName + rlstp.ClientSecret = clientSecret } - case "parameters": + case "useEncryptedEndpoints": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var useEncryptedEndpoints interface{} + err = json.Unmarshal(*v, &useEncryptedEndpoints) if err != nil { return err } - qbod.Parameters = parameters + rlstp.UseEncryptedEndpoints = useEncryptedEndpoints } - case "annotations": + case "useHostVerification": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var useHostVerification interface{} + err = json.Unmarshal(*v, &useHostVerification) if err != nil { return err } - qbod.Annotations = &annotations + rlstp.UseHostVerification = useHostVerification } - case "folder": + case "usePeerVerification": if v != nil { - var folder DatasetFolder - err = json.Unmarshal(*v, &folder) + var usePeerVerification interface{} + err = json.Unmarshal(*v, &usePeerVerification) if err != nil { return err } - qbod.Folder = &folder + rlstp.UsePeerVerification = usePeerVerification } - case "type": + case "encryptedCredential": if v != nil { - var typeVar TypeBasicDataset - err = json.Unmarshal(*v, &typeVar) + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) if err != nil { return err } - qbod.Type = typeVar + rlstp.EncryptedCredential = encryptedCredential } } } @@ -113731,501 +141299,469 @@ func (qbod *QuickBooksObjectDataset) UnmarshalJSON(body []byte) error { return nil } -// QuickBooksSource a copy activity QuickBooks server source. -type QuickBooksSource struct { - // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). - Query interface{} `json:"query,omitempty"` +// ResponsysObjectDataset responsys dataset. +type ResponsysObjectDataset struct { + // GenericDatasetTypeProperties - Properties specific to this dataset type. + *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). - SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` - // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' - Type TypeBasicCopySource `json:"type,omitempty"` + // Description - Dataset description. + Description *string `json:"description,omitempty"` + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for QuickBooksSource. -func (qbs QuickBooksSource) MarshalJSON() ([]byte, error) { - qbs.Type = TypeQuickBooksSource +// MarshalJSON is the custom marshaler for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) MarshalJSON() ([]byte, error) { + rod.Type = TypeResponsysObject objectMap := make(map[string]interface{}) - if qbs.Query != nil { - objectMap["query"] = qbs.Query + if rod.GenericDatasetTypeProperties != nil { + objectMap["typeProperties"] = rod.GenericDatasetTypeProperties } - if qbs.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = qbs.SourceRetryCount + if rod.Description != nil { + objectMap["description"] = rod.Description } - if qbs.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = qbs.SourceRetryWait + if rod.Structure != nil { + objectMap["structure"] = rod.Structure } - if qbs.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = qbs.MaxConcurrentConnections + if rod.Schema != nil { + objectMap["schema"] = rod.Schema } - if qbs.Type != "" { - objectMap["type"] = qbs.Type + if rod.LinkedServiceName != nil { + objectMap["linkedServiceName"] = rod.LinkedServiceName } - for k, v := range qbs.AdditionalProperties { + if rod.Parameters != nil { + objectMap["parameters"] = rod.Parameters + } + if rod.Annotations != nil { + objectMap["annotations"] = rod.Annotations + } + if rod.Folder != nil { + objectMap["folder"] = rod.Folder + } + if rod.Type != "" { + objectMap["type"] = rod.Type + } + for k, v := range rod.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { + return &rod, true +} + +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsVerticaSource() (*VerticaSource, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsZohoSource() (*ZohoSource, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsXeroSource() (*XeroSource, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsSquareSource() (*SquareSource, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsSparkSource() (*SparkSource, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsShopifySource() (*ShopifySource, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsQuickBooksSource() (*QuickBooksSource, bool) { - return &qbs, true +// AsPrestoObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { + return nil, false } -// AsPrestoSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsPrestoSource() (*PrestoSource, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsPaypalSource() (*PaypalSource, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsMarketoSource() (*MarketoSource, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsMagentoSource() (*MagentoSource, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsJiraSource() (*JiraSource, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsHubspotSource() (*HubspotSource, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsHiveSource() (*HiveSource, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsHBaseSource() (*HBaseSource, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsEloquaSource() (*EloquaSource, bool) { +// AsDrillTableDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsDrillSource() (*DrillSource, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsConcurSource() (*ConcurSource, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsHTTPDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsHTTPSource() (*HTTPSource, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsWebTableDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsOffice365Source() (*Office365Source, bool) { +// AsRestResourceDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsCassandraSource() (*CassandraSource, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsWebSource() (*WebSource, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsOracleSource() (*OracleSource, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsHdfsSource() (*HdfsSource, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsInformixTableDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsSQLSource() (*SQLSource, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsRestSource() (*RestSource, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsSapTableSource() (*SapTableSource, bool) { +// AsOracleTableDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsODataResourceDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsSapEccSource() (*SapEccSource, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsFileShareDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsRelationalSource() (*RelationalSource, bool) { +// AsOffice365Dataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsBlobSource() (*BlobSource, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsParquetSource() (*ParquetSource, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsCopySource() (*CopySource, bool) { +// AsCustomDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsBasicCopySource() (BasicCopySource, bool) { - return &qbs, true +// AsCassandraTableDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for QuickBooksSource struct. -func (qbs *QuickBooksSource) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "query": - if v != nil { - var query interface{} - err = json.Unmarshal(*v, &query) - if err != nil { - return err - } - qbs.Query = query - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if qbs.AdditionalProperties == nil { - qbs.AdditionalProperties = make(map[string]interface{}) - } - qbs.AdditionalProperties[k] = additionalProperties - } - case "sourceRetryCount": - if v != nil { - var sourceRetryCount interface{} - err = json.Unmarshal(*v, &sourceRetryCount) - if err != nil { - return err - } - qbs.SourceRetryCount = sourceRetryCount - } - case "sourceRetryWait": - if v != nil { - var sourceRetryWait interface{} - err = json.Unmarshal(*v, &sourceRetryWait) - if err != nil { - return err - } - qbs.SourceRetryWait = sourceRetryWait - } - case "maxConcurrentConnections": - if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) - if err != nil { - return err - } - qbs.MaxConcurrentConnections = maxConcurrentConnections - } - case "type": - if v != nil { - var typeVar TypeBasicCopySource - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - qbs.Type = typeVar - } - } - } +// AsAzureSQLDWTableDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { + return nil, false +} - return nil +// AsAzureSQLMITableDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false } -// RecurrenceSchedule the recurrence schedule. -type RecurrenceSchedule struct { - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Minutes - The minutes. - Minutes *[]int32 `json:"minutes,omitempty"` - // Hours - The hours. - Hours *[]int32 `json:"hours,omitempty"` - // WeekDays - The days of the week. - WeekDays *[]DaysOfWeek `json:"weekDays,omitempty"` - // MonthDays - The month days. - MonthDays *[]int32 `json:"monthDays,omitempty"` - // MonthlyOccurrences - The monthly occurrences. - MonthlyOccurrences *[]RecurrenceScheduleOccurrence `json:"monthlyOccurrences,omitempty"` +// AsAzureSQLTableDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for RecurrenceSchedule. -func (rs RecurrenceSchedule) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if rs.Minutes != nil { - objectMap["minutes"] = rs.Minutes - } - if rs.Hours != nil { - objectMap["hours"] = rs.Hours - } - if rs.WeekDays != nil { - objectMap["weekDays"] = rs.WeekDays - } - if rs.MonthDays != nil { - objectMap["monthDays"] = rs.MonthDays - } - if rs.MonthlyOccurrences != nil { - objectMap["monthlyOccurrences"] = rs.MonthlyOccurrences - } - for k, v := range rs.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsAzureTableDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for RecurrenceSchedule struct. -func (rs *RecurrenceSchedule) UnmarshalJSON(body []byte) error { +// AsAzureBlobDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { + return nil, false +} + +// AsBinaryDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + +// AsDelimitedTextDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { + return nil, false +} + +// AsParquetDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsBasicDataset() (BasicDataset, bool) { + return &rod, true +} + +// UnmarshalJSON is the custom unmarshaler for ResponsysObjectDataset struct. +func (rod *ResponsysObjectDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -114233,202 +141769,98 @@ func (rs *RecurrenceSchedule) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if rs.AdditionalProperties == nil { - rs.AdditionalProperties = make(map[string]interface{}) - } - rs.AdditionalProperties[k] = additionalProperties - } - case "minutes": + case "typeProperties": if v != nil { - var minutes []int32 - err = json.Unmarshal(*v, &minutes) + var genericDatasetTypeProperties GenericDatasetTypeProperties + err = json.Unmarshal(*v, &genericDatasetTypeProperties) if err != nil { return err } - rs.Minutes = &minutes + rod.GenericDatasetTypeProperties = &genericDatasetTypeProperties } - case "hours": + default: if v != nil { - var hours []int32 - err = json.Unmarshal(*v, &hours) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - rs.Hours = &hours - } - case "weekDays": - if v != nil { - var weekDays []DaysOfWeek - err = json.Unmarshal(*v, &weekDays) - if err != nil { - return err + if rod.AdditionalProperties == nil { + rod.AdditionalProperties = make(map[string]interface{}) } - rs.WeekDays = &weekDays + rod.AdditionalProperties[k] = additionalProperties } - case "monthDays": + case "description": if v != nil { - var monthDays []int32 - err = json.Unmarshal(*v, &monthDays) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - rs.MonthDays = &monthDays + rod.Description = &description } - case "monthlyOccurrences": + case "structure": if v != nil { - var monthlyOccurrences []RecurrenceScheduleOccurrence - err = json.Unmarshal(*v, &monthlyOccurrences) + var structure interface{} + err = json.Unmarshal(*v, &structure) if err != nil { return err } - rs.MonthlyOccurrences = &monthlyOccurrences + rod.Structure = structure } - } - } - - return nil -} - -// RecurrenceScheduleOccurrence the recurrence schedule occurrence. -type RecurrenceScheduleOccurrence struct { - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Day - The day of the week. Possible values include: 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday' - Day DayOfWeek `json:"day,omitempty"` - // Occurrence - The occurrence. - Occurrence *int32 `json:"occurrence,omitempty"` -} - -// MarshalJSON is the custom marshaler for RecurrenceScheduleOccurrence. -func (rso RecurrenceScheduleOccurrence) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if rso.Day != "" { - objectMap["day"] = rso.Day - } - if rso.Occurrence != nil { - objectMap["occurrence"] = rso.Occurrence - } - for k, v := range rso.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for RecurrenceScheduleOccurrence struct. -func (rso *RecurrenceScheduleOccurrence) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - default: + case "schema": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var schema interface{} + err = json.Unmarshal(*v, &schema) if err != nil { return err } - if rso.AdditionalProperties == nil { - rso.AdditionalProperties = make(map[string]interface{}) - } - rso.AdditionalProperties[k] = additionalProperties + rod.Schema = schema } - case "day": + case "linkedServiceName": if v != nil { - var day DayOfWeek - err = json.Unmarshal(*v, &day) + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) if err != nil { return err } - rso.Day = day + rod.LinkedServiceName = &linkedServiceName } - case "occurrence": + case "parameters": if v != nil { - var occurrence int32 - err = json.Unmarshal(*v, &occurrence) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - rso.Occurrence = &occurrence + rod.Parameters = parameters } - } - } - - return nil -} - -// RedirectIncompatibleRowSettings redirect incompatible row settings -type RedirectIncompatibleRowSettings struct { - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // LinkedServiceName - 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). - LinkedServiceName interface{} `json:"linkedServiceName,omitempty"` - // Path - The path for storing the redirect incompatible row data. Type: string (or Expression with resultType string). - Path interface{} `json:"path,omitempty"` -} - -// MarshalJSON is the custom marshaler for RedirectIncompatibleRowSettings. -func (rirs RedirectIncompatibleRowSettings) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if rirs.LinkedServiceName != nil { - objectMap["linkedServiceName"] = rirs.LinkedServiceName - } - if rirs.Path != nil { - objectMap["path"] = rirs.Path - } - for k, v := range rirs.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for RedirectIncompatibleRowSettings struct. -func (rirs *RedirectIncompatibleRowSettings) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - default: + case "annotations": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - if rirs.AdditionalProperties == nil { - rirs.AdditionalProperties = make(map[string]interface{}) - } - rirs.AdditionalProperties[k] = additionalProperties + rod.Annotations = &annotations } - case "linkedServiceName": + case "folder": if v != nil { - var linkedServiceName interface{} - err = json.Unmarshal(*v, &linkedServiceName) + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) if err != nil { return err } - rirs.LinkedServiceName = linkedServiceName + rod.Folder = &folder } - case "path": + case "type": if v != nil { - var pathVar interface{} - err = json.Unmarshal(*v, &pathVar) + var typeVar TypeBasicDataset + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - rirs.Path = pathVar + rod.Type = typeVar } } } @@ -114436,19 +141868,9 @@ func (rirs *RedirectIncompatibleRowSettings) UnmarshalJSON(body []byte) error { return nil } -// RedshiftUnloadSettings 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. -type RedshiftUnloadSettings struct { - // S3LinkedServiceName - The name of the Amazon S3 linked service which will be used for the unload operation when copying from the Amazon Redshift source. - S3LinkedServiceName *LinkedServiceReference `json:"s3LinkedServiceName,omitempty"` - // BucketName - The bucket of the interim Amazon S3 which will be used to store the unloaded data from Amazon Redshift source. The bucket must be in the same region as the Amazon Redshift source. Type: string (or Expression with resultType string). - BucketName interface{} `json:"bucketName,omitempty"` -} - -// RelationalSource a copy activity source for various relational databases. -type RelationalSource struct { - // Query - Database query. Type: string (or Expression with resultType string). +// ResponsysSource a copy activity Responsys source. +type ResponsysSource struct { + // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). Query interface{} `json:"query,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` @@ -114458,13 +141880,13 @@ type RelationalSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for RelationalSource. -func (rs RelationalSource) MarshalJSON() ([]byte, error) { - rs.Type = TypeRelationalSource +// MarshalJSON is the custom marshaler for ResponsysSource. +func (rs ResponsysSource) MarshalJSON() ([]byte, error) { + rs.Type = TypeResponsysSource objectMap := make(map[string]interface{}) if rs.Query != nil { objectMap["query"] = rs.Query @@ -114487,348 +141909,418 @@ func (rs RelationalSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsResponsysSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsResponsysSource() (*ResponsysSource, bool) { + return &rs, true +} + +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsVerticaSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsVerticaSource() (*VerticaSource, bool) { +// AsNetezzaSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsZohoSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsZohoSource() (*ZohoSource, bool) { +// AsXeroSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsXeroSource() (*XeroSource, bool) { +// AsSquareSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsSquareSource() (*SquareSource, bool) { +// AsSparkSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsSparkSource() (*SparkSource, bool) { +// AsShopifySource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsShopifySource() (*ShopifySource, bool) { +// AsServiceNowSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsPrestoSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsPrestoSource() (*PrestoSource, bool) { +// AsPhoenixSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsPaypalSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsPaypalSource() (*PaypalSource, bool) { +// AsMarketoSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsMarketoSource() (*MarketoSource, bool) { +// AsMariaDBSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsMagentoSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsMagentoSource() (*MagentoSource, bool) { +// AsJiraSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsJiraSource() (*JiraSource, bool) { +// AsImpalaSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsHubspotSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsHubspotSource() (*HubspotSource, bool) { +// AsHiveSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsHiveSource() (*HiveSource, bool) { +// AsHBaseSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsHBaseSource() (*HBaseSource, bool) { +// AsGreenplumSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsEloquaSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsEloquaSource() (*EloquaSource, bool) { +// AsDrillSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsDrillSource() (*DrillSource, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsConcurSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsConcurSource() (*ConcurSource, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsHTTPSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsHTTPSource() (*HTTPSource, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsOffice365Source is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsOffice365Source() (*Office365Source, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsMongoDbSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsCassandraSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsCassandraSource() (*CassandraSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsTeradataSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsAzureMySQLSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsSQLDWSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsSQLDWSource() (*SQLDWSource, bool) { + return nil, false +} + +// AsSQLMISource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsSQLMISource() (*SQLMISource, bool) { + return nil, false +} + +// AsAzureSQLSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsAzureSQLSource() (*AzureSQLSource, bool) { + return nil, false +} + +// AsSQLServerSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsSQLServerSource() (*SQLServerSource, bool) { + return nil, false +} + +// AsSQLSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsRestSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsCassandraSource() (*CassandraSource, bool) { +// AsSapTableSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsWebSource() (*WebSource, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsOracleSource() (*OracleSource, bool) { +// AsSapHanaSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsSapEccSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsHdfsSource() (*HdfsSource, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsSalesforceSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsODataSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsSybaseSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsSQLSource() (*SQLSource, bool) { +// AsMySQLSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsRestSource() (*RestSource, bool) { +// AsOdbcSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsSapTableSource() (*SapTableSource, bool) { +// AsDb2Source is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsInformixSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsSapEccSource() (*SapEccSource, bool) { +// AsRelationalSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsRelationalSource() (*RelationalSource, bool) { - return &rs, true +// AsDynamicsSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsBlobSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsBlobSource() (*BlobSource, bool) { +// AsAzureTableSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsBinarySource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsDelimitedTextSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsParquetSource() (*ParquetSource, bool) { +// AsParquetSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsCopySource() (*CopySource, bool) { +// AsCopySource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsCopySource() (*CopySource, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsBasicCopySource() (BasicCopySource, bool) { +// AsBasicCopySource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsBasicCopySource() (BasicCopySource, bool) { return &rs, true } -// UnmarshalJSON is the custom unmarshaler for RelationalSource struct. -func (rs *RelationalSource) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for ResponsysSource struct. +func (rs *ResponsysSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -114899,10 +142391,10 @@ func (rs *RelationalSource) UnmarshalJSON(body []byte) error { return nil } -// RelationalTableDataset the relational table dataset. -type RelationalTableDataset struct { - // RelationalTableDatasetTypeProperties - Relational table dataset properties. - *RelationalTableDatasetTypeProperties `json:"typeProperties,omitempty"` +// RestResourceDataset a Rest service dataset. +type RestResourceDataset struct { + // RestResourceDatasetTypeProperties - Properties specific to this dataset type. + *RestResourceDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // Description - Dataset description. @@ -114919,394 +142411,449 @@ type RelationalTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for RelationalTableDataset. -func (rtd RelationalTableDataset) MarshalJSON() ([]byte, error) { - rtd.Type = TypeRelationalTable +// MarshalJSON is the custom marshaler for RestResourceDataset. +func (rrd RestResourceDataset) MarshalJSON() ([]byte, error) { + rrd.Type = TypeRestResource objectMap := make(map[string]interface{}) - if rtd.RelationalTableDatasetTypeProperties != nil { - objectMap["typeProperties"] = rtd.RelationalTableDatasetTypeProperties + if rrd.RestResourceDatasetTypeProperties != nil { + objectMap["typeProperties"] = rrd.RestResourceDatasetTypeProperties } - if rtd.Description != nil { - objectMap["description"] = rtd.Description + if rrd.Description != nil { + objectMap["description"] = rrd.Description } - if rtd.Structure != nil { - objectMap["structure"] = rtd.Structure + if rrd.Structure != nil { + objectMap["structure"] = rrd.Structure } - if rtd.Schema != nil { - objectMap["schema"] = rtd.Schema + if rrd.Schema != nil { + objectMap["schema"] = rrd.Schema } - if rtd.LinkedServiceName != nil { - objectMap["linkedServiceName"] = rtd.LinkedServiceName + if rrd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = rrd.LinkedServiceName } - if rtd.Parameters != nil { - objectMap["parameters"] = rtd.Parameters + if rrd.Parameters != nil { + objectMap["parameters"] = rrd.Parameters } - if rtd.Annotations != nil { - objectMap["annotations"] = rtd.Annotations + if rrd.Annotations != nil { + objectMap["annotations"] = rrd.Annotations } - if rtd.Folder != nil { - objectMap["folder"] = rtd.Folder + if rrd.Folder != nil { + objectMap["folder"] = rrd.Folder } - if rtd.Type != "" { - objectMap["type"] = rtd.Type + if rrd.Type != "" { + objectMap["type"] = rrd.Type } - for k, v := range rtd.AdditionalProperties { + for k, v := range rrd.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsDrillTableDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsHTTPDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsWebTableDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsRestResourceDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { + return &rrd, true +} + +// AsSQLServerTableDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { - return &rtd, true +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { + return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsInformixTableDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsOracleTableDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsODataResourceDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsFileShareDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsOffice365Dataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsCustomDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsDataset() (*Dataset, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsBasicDataset() (BasicDataset, bool) { - return &rtd, true +// AsAzureSQLDWTableDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for RelationalTableDataset struct. -func (rtd *RelationalTableDataset) UnmarshalJSON(body []byte) error { +// AsAzureSQLMITableDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + +// AsAzureSQLTableDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { + return nil, false +} + +// AsAzureTableDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { + return nil, false +} + +// AsAzureBlobDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { + return nil, false +} + +// AsBinaryDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + +// AsDelimitedTextDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { + return nil, false +} + +// AsParquetDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsBasicDataset() (BasicDataset, bool) { + return &rrd, true +} + +// UnmarshalJSON is the custom unmarshaler for RestResourceDataset struct. +func (rrd *RestResourceDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -115316,12 +142863,12 @@ func (rtd *RelationalTableDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var relationalTableDatasetTypeProperties RelationalTableDatasetTypeProperties - err = json.Unmarshal(*v, &relationalTableDatasetTypeProperties) + var restResourceDatasetTypeProperties RestResourceDatasetTypeProperties + err = json.Unmarshal(*v, &restResourceDatasetTypeProperties) if err != nil { return err } - rtd.RelationalTableDatasetTypeProperties = &relationalTableDatasetTypeProperties + rrd.RestResourceDatasetTypeProperties = &restResourceDatasetTypeProperties } default: if v != nil { @@ -115330,10 +142877,10 @@ func (rtd *RelationalTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if rtd.AdditionalProperties == nil { - rtd.AdditionalProperties = make(map[string]interface{}) + if rrd.AdditionalProperties == nil { + rrd.AdditionalProperties = make(map[string]interface{}) } - rtd.AdditionalProperties[k] = additionalProperties + rrd.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -115342,7 +142889,7 @@ func (rtd *RelationalTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - rtd.Description = &description + rrd.Description = &description } case "structure": if v != nil { @@ -115351,7 +142898,7 @@ func (rtd *RelationalTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - rtd.Structure = structure + rrd.Structure = structure } case "schema": if v != nil { @@ -115360,7 +142907,7 @@ func (rtd *RelationalTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - rtd.Schema = schema + rrd.Schema = schema } case "linkedServiceName": if v != nil { @@ -115369,7 +142916,7 @@ func (rtd *RelationalTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - rtd.LinkedServiceName = &linkedServiceName + rrd.LinkedServiceName = &linkedServiceName } case "parameters": if v != nil { @@ -115378,7 +142925,7 @@ func (rtd *RelationalTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - rtd.Parameters = parameters + rrd.Parameters = parameters } case "annotations": if v != nil { @@ -115387,7 +142934,7 @@ func (rtd *RelationalTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - rtd.Annotations = &annotations + rrd.Annotations = &annotations } case "folder": if v != nil { @@ -115396,7 +142943,7 @@ func (rtd *RelationalTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - rtd.Folder = &folder + rrd.Folder = &folder } case "type": if v != nil { @@ -115405,7 +142952,7 @@ func (rtd *RelationalTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - rtd.Type = typeVar + rrd.Type = typeVar } } } @@ -115413,925 +142960,528 @@ func (rtd *RelationalTableDataset) UnmarshalJSON(body []byte) error { return nil } -// RelationalTableDatasetTypeProperties relational table dataset properties. -type RelationalTableDatasetTypeProperties struct { - // TableName - The relational table name. Type: string (or Expression with resultType string). - TableName interface{} `json:"tableName,omitempty"` -} - -// RerunTriggerListResponse a list of rerun triggers. -type RerunTriggerListResponse struct { - autorest.Response `json:"-"` - // Value - List of rerun triggers. - Value *[]RerunTriggerResource `json:"value,omitempty"` - // NextLink - READ-ONLY; The continuation token for getting the next page of results, if any remaining results exist, null otherwise. - NextLink *string `json:"nextLink,omitempty"` -} - -// RerunTriggerListResponseIterator provides access to a complete listing of RerunTriggerResource values. -type RerunTriggerListResponseIterator struct { - i int - page RerunTriggerListResponsePage -} - -// NextWithContext advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -func (iter *RerunTriggerListResponseIterator) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/RerunTriggerListResponseIterator.NextWithContext") - defer func() { - sc := -1 - if iter.Response().Response.Response != nil { - sc = iter.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - iter.i++ - if iter.i < len(iter.page.Values()) { - return nil - } - err = iter.page.NextWithContext(ctx) - if err != nil { - iter.i-- - return err - } - iter.i = 0 - return nil -} - -// Next advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (iter *RerunTriggerListResponseIterator) Next() error { - return iter.NextWithContext(context.Background()) -} - -// NotDone returns true if the enumeration should be started or is not yet complete. -func (iter RerunTriggerListResponseIterator) NotDone() bool { - return iter.page.NotDone() && iter.i < len(iter.page.Values()) -} - -// Response returns the raw server response from the last page request. -func (iter RerunTriggerListResponseIterator) Response() RerunTriggerListResponse { - return iter.page.Response() -} - -// Value returns the current value or a zero-initialized value if the -// iterator has advanced beyond the end of the collection. -func (iter RerunTriggerListResponseIterator) Value() RerunTriggerResource { - if !iter.page.NotDone() { - return RerunTriggerResource{} - } - return iter.page.Values()[iter.i] -} - -// Creates a new instance of the RerunTriggerListResponseIterator type. -func NewRerunTriggerListResponseIterator(page RerunTriggerListResponsePage) RerunTriggerListResponseIterator { - return RerunTriggerListResponseIterator{page: page} -} - -// IsEmpty returns true if the ListResult contains no values. -func (rtlr RerunTriggerListResponse) IsEmpty() bool { - return rtlr.Value == nil || len(*rtlr.Value) == 0 -} - -// rerunTriggerListResponsePreparer prepares a request to retrieve the next set of results. -// It returns nil if no more results exist. -func (rtlr RerunTriggerListResponse) rerunTriggerListResponsePreparer(ctx context.Context) (*http.Request, error) { - if rtlr.NextLink == nil || len(to.String(rtlr.NextLink)) < 1 { - return nil, nil - } - return autorest.Prepare((&http.Request{}).WithContext(ctx), - autorest.AsJSON(), - autorest.AsGet(), - autorest.WithBaseURL(to.String(rtlr.NextLink))) -} - -// RerunTriggerListResponsePage contains a page of RerunTriggerResource values. -type RerunTriggerListResponsePage struct { - fn func(context.Context, RerunTriggerListResponse) (RerunTriggerListResponse, error) - rtlr RerunTriggerListResponse -} - -// NextWithContext advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -func (page *RerunTriggerListResponsePage) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/RerunTriggerListResponsePage.NextWithContext") - defer func() { - sc := -1 - if page.Response().Response.Response != nil { - sc = page.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - next, err := page.fn(ctx, page.rtlr) - if err != nil { - return err - } - page.rtlr = next - return nil -} - -// Next advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (page *RerunTriggerListResponsePage) Next() error { - return page.NextWithContext(context.Background()) -} - -// NotDone returns true if the page enumeration should be started or is not yet complete. -func (page RerunTriggerListResponsePage) NotDone() bool { - return !page.rtlr.IsEmpty() -} - -// Response returns the raw server response from the last page request. -func (page RerunTriggerListResponsePage) Response() RerunTriggerListResponse { - return page.rtlr -} - -// Values returns the slice of values for the current page or nil if there are no values. -func (page RerunTriggerListResponsePage) Values() []RerunTriggerResource { - if page.rtlr.IsEmpty() { - return nil - } - return *page.rtlr.Value -} - -// Creates a new instance of the RerunTriggerListResponsePage type. -func NewRerunTriggerListResponsePage(getNextPage func(context.Context, RerunTriggerListResponse) (RerunTriggerListResponse, error)) RerunTriggerListResponsePage { - return RerunTriggerListResponsePage{fn: getNextPage} -} - -// RerunTriggerResource rerunTrigger resource type. -type RerunTriggerResource struct { - // Properties - Properties of the rerun trigger. - Properties *RerunTumblingWindowTrigger `json:"properties,omitempty"` - // ID - READ-ONLY; The resource identifier. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; The resource name. - Name *string `json:"name,omitempty"` - // Type - READ-ONLY; The resource type. - Type *string `json:"type,omitempty"` - // Etag - READ-ONLY; Etag identifies change in the resource. - Etag *string `json:"etag,omitempty"` -} - -// RerunTriggersCancelFuture an abstraction for monitoring and retrieving the results of a long-running -// operation. -type RerunTriggersCancelFuture struct { - azure.Future -} - -// Result returns the result of the asynchronous operation. -// If the operation has not completed it will return an error. -func (future *RerunTriggersCancelFuture) Result(client RerunTriggersClient) (ar autorest.Response, err error) { - var done bool - done, err = future.DoneWithContext(context.Background(), client) - if err != nil { - err = autorest.NewErrorWithError(err, "datafactory.RerunTriggersCancelFuture", "Result", future.Response(), "Polling failure") - return - } - if !done { - err = azure.NewAsyncOpIncompleteError("datafactory.RerunTriggersCancelFuture") - return - } - ar.Response = future.Response() - return -} - -// RerunTriggersStartFuture an abstraction for monitoring and retrieving the results of a long-running -// operation. -type RerunTriggersStartFuture struct { - azure.Future -} - -// Result returns the result of the asynchronous operation. -// If the operation has not completed it will return an error. -func (future *RerunTriggersStartFuture) Result(client RerunTriggersClient) (ar autorest.Response, err error) { - var done bool - done, err = future.DoneWithContext(context.Background(), client) - if err != nil { - err = autorest.NewErrorWithError(err, "datafactory.RerunTriggersStartFuture", "Result", future.Response(), "Polling failure") - return - } - if !done { - err = azure.NewAsyncOpIncompleteError("datafactory.RerunTriggersStartFuture") - return - } - ar.Response = future.Response() - return -} - -// RerunTriggersStopFuture an abstraction for monitoring and retrieving the results of a long-running -// operation. -type RerunTriggersStopFuture struct { - azure.Future -} - -// Result returns the result of the asynchronous operation. -// If the operation has not completed it will return an error. -func (future *RerunTriggersStopFuture) Result(client RerunTriggersClient) (ar autorest.Response, err error) { - var done bool - done, err = future.DoneWithContext(context.Background(), client) - if err != nil { - err = autorest.NewErrorWithError(err, "datafactory.RerunTriggersStopFuture", "Result", future.Response(), "Polling failure") - return - } - if !done { - err = azure.NewAsyncOpIncompleteError("datafactory.RerunTriggersStopFuture") - return - } - ar.Response = future.Response() - return +// RestResourceDatasetTypeProperties properties specific to this dataset type. +type RestResourceDatasetTypeProperties struct { + // RelativeURL - The relative URL to the resource that the RESTful API provides. Type: string (or Expression with resultType string). + RelativeURL interface{} `json:"relativeUrl,omitempty"` + // RequestMethod - The HTTP method used to call the RESTful API. The default is GET. Type: string (or Expression with resultType string). + RequestMethod interface{} `json:"requestMethod,omitempty"` + // RequestBody - The HTTP request body to the RESTful API if requestMethod is POST. Type: string (or Expression with resultType string). + RequestBody interface{} `json:"requestBody,omitempty"` + // AdditionalHeaders - The additional HTTP headers in the request to the RESTful API. Type: string (or Expression with resultType string). + AdditionalHeaders interface{} `json:"additionalHeaders,omitempty"` + // PaginationRules - The pagination rules to compose next page requests. Type: string (or Expression with resultType string). + PaginationRules interface{} `json:"paginationRules,omitempty"` } -// RerunTumblingWindowTrigger trigger that schedules pipeline reruns for all fixed time interval windows -// from a requested start time to requested end time. -type RerunTumblingWindowTrigger struct { - // RerunTumblingWindowTriggerTypeProperties - Rerun Trigger properties. - *RerunTumblingWindowTriggerTypeProperties `json:"typeProperties,omitempty"` +// RestServiceLinkedService rest Service linked service. +type RestServiceLinkedService struct { + // RestServiceLinkedServiceTypeProperties - Rest Service linked service properties. + *RestServiceLinkedServiceTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Description - Trigger description. + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. Description *string `json:"description,omitempty"` - // RuntimeState - READ-ONLY; Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: 'TriggerRuntimeStateStarted', 'TriggerRuntimeStateStopped', 'TriggerRuntimeStateDisabled' - RuntimeState TriggerRuntimeState `json:"runtimeState,omitempty"` - // Annotations - List of tags that can be used for describing the trigger. + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeTrigger', 'TypeRerunTumblingWindowTrigger', 'TypeTumblingWindowTrigger', 'TypeBlobEventsTrigger', 'TypeBlobTrigger', 'TypeScheduleTrigger', 'TypeMultiplePipelineTrigger' - Type TypeBasicTrigger `json:"type,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for RerunTumblingWindowTrigger. -func (rtwt RerunTumblingWindowTrigger) MarshalJSON() ([]byte, error) { - rtwt.Type = TypeRerunTumblingWindowTrigger +// MarshalJSON is the custom marshaler for RestServiceLinkedService. +func (rsls RestServiceLinkedService) MarshalJSON() ([]byte, error) { + rsls.Type = TypeRestService objectMap := make(map[string]interface{}) - if rtwt.RerunTumblingWindowTriggerTypeProperties != nil { - objectMap["typeProperties"] = rtwt.RerunTumblingWindowTriggerTypeProperties + if rsls.RestServiceLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = rsls.RestServiceLinkedServiceTypeProperties } - if rtwt.Description != nil { - objectMap["description"] = rtwt.Description + if rsls.ConnectVia != nil { + objectMap["connectVia"] = rsls.ConnectVia } - if rtwt.Annotations != nil { - objectMap["annotations"] = rtwt.Annotations + if rsls.Description != nil { + objectMap["description"] = rsls.Description } - if rtwt.Type != "" { - objectMap["type"] = rtwt.Type + if rsls.Parameters != nil { + objectMap["parameters"] = rsls.Parameters } - for k, v := range rtwt.AdditionalProperties { + if rsls.Annotations != nil { + objectMap["annotations"] = rsls.Annotations + } + if rsls.Type != "" { + objectMap["type"] = rsls.Type + } + for k, v := range rsls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsRerunTumblingWindowTrigger is the BasicTrigger implementation for RerunTumblingWindowTrigger. -func (rtwt RerunTumblingWindowTrigger) AsRerunTumblingWindowTrigger() (*RerunTumblingWindowTrigger, bool) { - return &rtwt, true -} - -// AsTumblingWindowTrigger is the BasicTrigger implementation for RerunTumblingWindowTrigger. -func (rtwt RerunTumblingWindowTrigger) AsTumblingWindowTrigger() (*TumblingWindowTrigger, bool) { - return nil, false -} - -// AsBlobEventsTrigger is the BasicTrigger implementation for RerunTumblingWindowTrigger. -func (rtwt RerunTumblingWindowTrigger) AsBlobEventsTrigger() (*BlobEventsTrigger, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsBlobTrigger is the BasicTrigger implementation for RerunTumblingWindowTrigger. -func (rtwt RerunTumblingWindowTrigger) AsBlobTrigger() (*BlobTrigger, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsScheduleTrigger is the BasicTrigger implementation for RerunTumblingWindowTrigger. -func (rtwt RerunTumblingWindowTrigger) AsScheduleTrigger() (*ScheduleTrigger, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsMultiplePipelineTrigger is the BasicTrigger implementation for RerunTumblingWindowTrigger. -func (rtwt RerunTumblingWindowTrigger) AsMultiplePipelineTrigger() (*MultiplePipelineTrigger, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsBasicMultiplePipelineTrigger is the BasicTrigger implementation for RerunTumblingWindowTrigger. -func (rtwt RerunTumblingWindowTrigger) AsBasicMultiplePipelineTrigger() (BasicMultiplePipelineTrigger, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsTrigger is the BasicTrigger implementation for RerunTumblingWindowTrigger. -func (rtwt RerunTumblingWindowTrigger) AsTrigger() (*Trigger, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsBasicTrigger is the BasicTrigger implementation for RerunTumblingWindowTrigger. -func (rtwt RerunTumblingWindowTrigger) AsBasicTrigger() (BasicTrigger, bool) { - return &rtwt, true -} - -// UnmarshalJSON is the custom unmarshaler for RerunTumblingWindowTrigger struct. -func (rtwt *RerunTumblingWindowTrigger) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "typeProperties": - if v != nil { - var rerunTumblingWindowTriggerTypeProperties RerunTumblingWindowTriggerTypeProperties - err = json.Unmarshal(*v, &rerunTumblingWindowTriggerTypeProperties) - if err != nil { - return err - } - rtwt.RerunTumblingWindowTriggerTypeProperties = &rerunTumblingWindowTriggerTypeProperties - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if rtwt.AdditionalProperties == nil { - rtwt.AdditionalProperties = make(map[string]interface{}) - } - rtwt.AdditionalProperties[k] = additionalProperties - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - rtwt.Description = &description - } - case "runtimeState": - if v != nil { - var runtimeState TriggerRuntimeState - err = json.Unmarshal(*v, &runtimeState) - if err != nil { - return err - } - rtwt.RuntimeState = runtimeState - } - case "annotations": - if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) - if err != nil { - return err - } - rtwt.Annotations = &annotations - } - case "type": - if v != nil { - var typeVar TypeBasicTrigger - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - rtwt.Type = typeVar - } - } - } - - return nil -} - -// RerunTumblingWindowTriggerActionParameters rerun tumbling window trigger Parameters. -type RerunTumblingWindowTriggerActionParameters struct { - // StartTime - The start time for the time period for which restatement is initiated. Only UTC time is currently supported. - StartTime *date.Time `json:"startTime,omitempty"` - // EndTime - The end time for the time period for which restatement is initiated. Only UTC time is currently supported. - EndTime *date.Time `json:"endTime,omitempty"` - // MaxConcurrency - The max number of parallel time windows (ready for execution) for which a rerun is triggered. - MaxConcurrency *int32 `json:"maxConcurrency,omitempty"` -} - -// RerunTumblingWindowTriggerTypeProperties rerun Trigger properties. -type RerunTumblingWindowTriggerTypeProperties struct { - // ParentTrigger - The parent trigger reference. - ParentTrigger interface{} `json:"parentTrigger,omitempty"` - // RequestedStartTime - The start time for the time period for which restatement is initiated. Only UTC time is currently supported. - RequestedStartTime *date.Time `json:"requestedStartTime,omitempty"` - // RequestedEndTime - The end time for the time period for which restatement is initiated. Only UTC time is currently supported. - RequestedEndTime *date.Time `json:"requestedEndTime,omitempty"` - // MaxConcurrency - The max number of parallel time windows (ready for execution) for which a rerun is triggered. - MaxConcurrency *int32 `json:"maxConcurrency,omitempty"` -} - -// Resource azure Data Factory top-level resource. -type Resource struct { - // ID - READ-ONLY; The resource identifier. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; The resource name. - Name *string `json:"name,omitempty"` - // Type - READ-ONLY; The resource type. - Type *string `json:"type,omitempty"` - // Location - The resource location. - Location *string `json:"location,omitempty"` - // Tags - The resource tags. - Tags map[string]*string `json:"tags"` - // ETag - READ-ONLY; Etag identifies change in the resource. - ETag *string `json:"eTag,omitempty"` -} - -// MarshalJSON is the custom marshaler for Resource. -func (r Resource) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if r.Location != nil { - objectMap["location"] = r.Location - } - if r.Tags != nil { - objectMap["tags"] = r.Tags - } - return json.Marshal(objectMap) -} - -// ResponsysLinkedService responsys linked service. -type ResponsysLinkedService struct { - // ResponsysLinkedServiceTypeProperties - Responsys linked service properties. - *ResponsysLinkedServiceTypeProperties `json:"typeProperties,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. - Description *string `json:"description,omitempty"` - // Parameters - Parameters for linked service. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the linked service. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for ResponsysLinkedService. -func (rls ResponsysLinkedService) MarshalJSON() ([]byte, error) { - rls.Type = TypeResponsys - objectMap := make(map[string]interface{}) - if rls.ResponsysLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = rls.ResponsysLinkedServiceTypeProperties - } - if rls.ConnectVia != nil { - objectMap["connectVia"] = rls.ConnectVia - } - if rls.Description != nil { - objectMap["description"] = rls.Description - } - if rls.Parameters != nil { - objectMap["parameters"] = rls.Parameters - } - if rls.Annotations != nil { - objectMap["annotations"] = rls.Annotations - } - if rls.Type != "" { - objectMap["type"] = rls.Type - } - for k, v := range rls.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) -} - -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsSapTableLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { - return &rls, true +// AsVerticaLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { - return nil, false +// AsRestServiceLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { + return &rsls, true } -// AsHTTPLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAzureStorageLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsLinkedService() (*LinkedService, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. -func (rls ResponsysLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &rls, true +// AsBasicLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &rsls, true } -// UnmarshalJSON is the custom unmarshaler for ResponsysLinkedService struct. -func (rls *ResponsysLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for RestServiceLinkedService struct. +func (rsls *RestServiceLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -116341,12 +143491,12 @@ func (rls *ResponsysLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var responsysLinkedServiceTypeProperties ResponsysLinkedServiceTypeProperties - err = json.Unmarshal(*v, &responsysLinkedServiceTypeProperties) + var restServiceLinkedServiceTypeProperties RestServiceLinkedServiceTypeProperties + err = json.Unmarshal(*v, &restServiceLinkedServiceTypeProperties) if err != nil { return err } - rls.ResponsysLinkedServiceTypeProperties = &responsysLinkedServiceTypeProperties + rsls.RestServiceLinkedServiceTypeProperties = &restServiceLinkedServiceTypeProperties } default: if v != nil { @@ -116355,10 +143505,10 @@ func (rls *ResponsysLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if rls.AdditionalProperties == nil { - rls.AdditionalProperties = make(map[string]interface{}) + if rsls.AdditionalProperties == nil { + rsls.AdditionalProperties = make(map[string]interface{}) } - rls.AdditionalProperties[k] = additionalProperties + rsls.AdditionalProperties[k] = additionalProperties } case "connectVia": if v != nil { @@ -116367,7 +143517,7 @@ func (rls *ResponsysLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - rls.ConnectVia = &connectVia + rsls.ConnectVia = &connectVia } case "description": if v != nil { @@ -116376,7 +143526,7 @@ func (rls *ResponsysLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - rls.Description = &description + rsls.Description = &description } case "parameters": if v != nil { @@ -116385,7 +143535,7 @@ func (rls *ResponsysLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - rls.Parameters = parameters + rsls.Parameters = parameters } case "annotations": if v != nil { @@ -116394,7 +143544,7 @@ func (rls *ResponsysLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - rls.Annotations = &annotations + rsls.Annotations = &annotations } case "type": if v != nil { @@ -116403,7 +143553,7 @@ func (rls *ResponsysLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - rls.Type = typeVar + rsls.Type = typeVar } } } @@ -116411,26 +143561,32 @@ func (rls *ResponsysLinkedService) UnmarshalJSON(body []byte) error { return nil } -// ResponsysLinkedServiceTypeProperties responsys linked service properties. -type ResponsysLinkedServiceTypeProperties struct { - // Endpoint - The endpoint of the Responsys server. - Endpoint interface{} `json:"endpoint,omitempty"` - // ClientID - The client ID associated with the Responsys application. Type: string (or Expression with resultType string). - ClientID interface{} `json:"clientId,omitempty"` - // ClientSecret - The client secret associated with the Responsys application. Type: string (or Expression with resultType string). - ClientSecret BasicSecretBase `json:"clientSecret,omitempty"` - // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. Type: boolean (or Expression with resultType boolean). - UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"` - // UseHostVerification - 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). - UseHostVerification interface{} `json:"useHostVerification,omitempty"` - // UsePeerVerification - 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). - UsePeerVerification interface{} `json:"usePeerVerification,omitempty"` +// RestServiceLinkedServiceTypeProperties rest Service linked service properties. +type RestServiceLinkedServiceTypeProperties struct { + // URL - The base URL of the REST service. + URL interface{} `json:"url,omitempty"` + // EnableServerCertificateValidation - Whether to validate server side SSL certificate when connecting to the endpoint.The default value is true. Type: boolean (or Expression with resultType boolean). + EnableServerCertificateValidation interface{} `json:"enableServerCertificateValidation,omitempty"` + // AuthenticationType - Type of authentication used to connect to the REST service. Possible values include: 'RestServiceAuthenticationTypeAnonymous', 'RestServiceAuthenticationTypeBasic', 'RestServiceAuthenticationTypeAadServicePrincipal', 'RestServiceAuthenticationTypeManagedServiceIdentity' + AuthenticationType RestServiceAuthenticationType `json:"authenticationType,omitempty"` + // UserName - The user name used in Basic authentication type. + UserName interface{} `json:"userName,omitempty"` + // Password - The password used in Basic authentication type. + Password BasicSecretBase `json:"password,omitempty"` + // ServicePrincipalID - The application's client ID used in AadServicePrincipal authentication type. + ServicePrincipalID interface{} `json:"servicePrincipalId,omitempty"` + // ServicePrincipalKey - The application's key used in AadServicePrincipal authentication type. + ServicePrincipalKey BasicSecretBase `json:"servicePrincipalKey,omitempty"` + // Tenant - The tenant information (domain name or tenant ID) used in AadServicePrincipal authentication type under which your application resides. + Tenant interface{} `json:"tenant,omitempty"` + // AadResourceID - The resource you are requesting authorization to use. + AadResourceID interface{} `json:"aadResourceId,omitempty"` // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` } -// UnmarshalJSON is the custom unmarshaler for ResponsysLinkedServiceTypeProperties struct. -func (rlstp *ResponsysLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for RestServiceLinkedServiceTypeProperties struct. +func (rslstp *RestServiceLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -116438,58 +143594,84 @@ func (rlstp *ResponsysLinkedServiceTypeProperties) UnmarshalJSON(body []byte) er } for k, v := range m { switch k { - case "endpoint": + case "url": if v != nil { - var endpoint interface{} - err = json.Unmarshal(*v, &endpoint) + var URL interface{} + err = json.Unmarshal(*v, &URL) if err != nil { return err } - rlstp.Endpoint = endpoint + rslstp.URL = URL } - case "clientId": + case "enableServerCertificateValidation": if v != nil { - var clientID interface{} - err = json.Unmarshal(*v, &clientID) + var enableServerCertificateValidation interface{} + err = json.Unmarshal(*v, &enableServerCertificateValidation) if err != nil { return err } - rlstp.ClientID = clientID + rslstp.EnableServerCertificateValidation = enableServerCertificateValidation } - case "clientSecret": + case "authenticationType": if v != nil { - clientSecret, err := unmarshalBasicSecretBase(*v) + var authenticationType RestServiceAuthenticationType + err = json.Unmarshal(*v, &authenticationType) if err != nil { return err } - rlstp.ClientSecret = clientSecret + rslstp.AuthenticationType = authenticationType } - case "useEncryptedEndpoints": + case "userName": if v != nil { - var useEncryptedEndpoints interface{} - err = json.Unmarshal(*v, &useEncryptedEndpoints) + var userName interface{} + err = json.Unmarshal(*v, &userName) if err != nil { return err } - rlstp.UseEncryptedEndpoints = useEncryptedEndpoints + rslstp.UserName = userName } - case "useHostVerification": + case "password": if v != nil { - var useHostVerification interface{} - err = json.Unmarshal(*v, &useHostVerification) + password, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - rlstp.UseHostVerification = useHostVerification + rslstp.Password = password } - case "usePeerVerification": + case "servicePrincipalId": if v != nil { - var usePeerVerification interface{} - err = json.Unmarshal(*v, &usePeerVerification) + var servicePrincipalID interface{} + err = json.Unmarshal(*v, &servicePrincipalID) if err != nil { return err } - rlstp.UsePeerVerification = usePeerVerification + rslstp.ServicePrincipalID = servicePrincipalID + } + case "servicePrincipalKey": + if v != nil { + servicePrincipalKey, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + rslstp.ServicePrincipalKey = servicePrincipalKey + } + case "tenant": + if v != nil { + var tenant interface{} + err = json.Unmarshal(*v, &tenant) + if err != nil { + return err + } + rslstp.Tenant = tenant + } + case "aadResourceId": + if v != nil { + var aadResourceID interface{} + err = json.Unmarshal(*v, &aadResourceID) + if err != nil { + return err + } + rslstp.AadResourceID = aadResourceID } case "encryptedCredential": if v != nil { @@ -116498,7 +143680,7 @@ func (rlstp *ResponsysLinkedServiceTypeProperties) UnmarshalJSON(body []byte) er if err != nil { return err } - rlstp.EncryptedCredential = encryptedCredential + rslstp.EncryptedCredential = encryptedCredential } } } @@ -116506,903 +143688,1091 @@ func (rlstp *ResponsysLinkedServiceTypeProperties) UnmarshalJSON(body []byte) er return nil } -// ResponsysObjectDataset responsys dataset. -type ResponsysObjectDataset struct { - // GenericDatasetTypeProperties - Properties specific to this dataset type. - *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` +// RestSource a copy activity Rest service source. +type RestSource struct { + // HTTPRequestTimeout - 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])). + HTTPRequestTimeout interface{} `json:"httpRequestTimeout,omitempty"` + // RequestInterval - The time to await before sending next page request. + RequestInterval interface{} `json:"requestInterval,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Description - Dataset description. - Description *string `json:"description,omitempty"` - // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. - Structure interface{} `json:"structure,omitempty"` - // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - Schema interface{} `json:"schema,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Parameters - Parameters for dataset. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the Dataset. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' - Type TypeBasicDataset `json:"type,omitempty"` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) MarshalJSON() ([]byte, error) { - rod.Type = TypeResponsysObject +// MarshalJSON is the custom marshaler for RestSource. +func (rs RestSource) MarshalJSON() ([]byte, error) { + rs.Type = TypeRestSource objectMap := make(map[string]interface{}) - if rod.GenericDatasetTypeProperties != nil { - objectMap["typeProperties"] = rod.GenericDatasetTypeProperties - } - if rod.Description != nil { - objectMap["description"] = rod.Description - } - if rod.Structure != nil { - objectMap["structure"] = rod.Structure - } - if rod.Schema != nil { - objectMap["schema"] = rod.Schema + if rs.HTTPRequestTimeout != nil { + objectMap["httpRequestTimeout"] = rs.HTTPRequestTimeout } - if rod.LinkedServiceName != nil { - objectMap["linkedServiceName"] = rod.LinkedServiceName + if rs.RequestInterval != nil { + objectMap["requestInterval"] = rs.RequestInterval } - if rod.Parameters != nil { - objectMap["parameters"] = rod.Parameters + if rs.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = rs.SourceRetryCount } - if rod.Annotations != nil { - objectMap["annotations"] = rod.Annotations + if rs.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = rs.SourceRetryWait } - if rod.Folder != nil { - objectMap["folder"] = rod.Folder + if rs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = rs.MaxConcurrentConnections } - if rod.Type != "" { - objectMap["type"] = rod.Type + if rs.Type != "" { + objectMap["type"] = rs.Type } - for k, v := range rod.AdditionalProperties { + for k, v := range rs.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { - return &rod, true +// AsResponsysSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsResponsysSource() (*ResponsysSource, bool) { + return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsVerticaSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsNetezzaSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsZohoSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsXeroSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsSquareSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsSparkSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsShopifySource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsServiceNowSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsPrestoSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsPhoenixSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsPaypalSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsMarketoSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsMariaDBSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsMagentoSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsJiraSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsImpalaSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsHubspotSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsHiveSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsHBaseSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsGreenplumSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsEloquaSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsDrillSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsConcurSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsHTTPSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsOffice365Source is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsMongoDbSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsCassandraSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsWebSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsTeradataSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsAzureMySQLSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsSQLDWSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsSQLDWSource() (*SQLDWSource, bool) { + return nil, false +} + +// AsSQLMISource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsSQLMISource() (*SQLMISource, bool) { + return nil, false +} + +// AsAzureSQLSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsAzureSQLSource() (*AzureSQLSource, bool) { + return nil, false +} + +// AsSQLServerSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsSQLServerSource() (*SQLServerSource, bool) { + return nil, false +} + +// AsSQLSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsSQLSource() (*SQLSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsRestSource() (*RestSource, bool) { + return &rs, true +} + +// AsSapTableSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsSapTableSource() (*SapTableSource, bool) { + return nil, false +} + +// AsSapOpenHubSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { + return nil, false +} + +// AsSapHanaSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsSapHanaSource() (*SapHanaSource, bool) { + return nil, false +} + +// AsSapEccSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsSapEccSource() (*SapEccSource, bool) { + return nil, false +} + +// AsSapCloudForCustomerSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsSalesforceSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsSalesforceSource() (*SalesforceSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsSybaseSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsSybaseSource() (*SybaseSource, bool) { + return nil, false +} + +// AsPostgreSQLSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false +} + +// AsMySQLSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false +} + +// AsOdbcSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false +} + +// AsDb2Source is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsDb2Source() (*Db2Source, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + +// AsRelationalSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + +// AsDynamicsSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + +// AsAzureTableSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsBinarySource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsDelimitedTextSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false +} + +// AsParquetSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsCopySource() (*CopySource, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsBasicCopySource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsBasicCopySource() (BasicCopySource, bool) { + return &rs, true +} + +// UnmarshalJSON is the custom unmarshaler for RestSource struct. +func (rs *RestSource) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "httpRequestTimeout": + if v != nil { + var HTTPRequestTimeout interface{} + err = json.Unmarshal(*v, &HTTPRequestTimeout) + if err != nil { + return err + } + rs.HTTPRequestTimeout = HTTPRequestTimeout + } + case "requestInterval": + if v != nil { + var requestInterval interface{} + err = json.Unmarshal(*v, &requestInterval) + if err != nil { + return err + } + rs.RequestInterval = requestInterval + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if rs.AdditionalProperties == nil { + rs.AdditionalProperties = make(map[string]interface{}) + } + rs.AdditionalProperties[k] = additionalProperties + } + case "sourceRetryCount": + if v != nil { + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) + if err != nil { + return err + } + rs.SourceRetryCount = sourceRetryCount + } + case "sourceRetryWait": + if v != nil { + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) + if err != nil { + return err + } + rs.SourceRetryWait = sourceRetryWait + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + rs.MaxConcurrentConnections = maxConcurrentConnections + } + case "type": + if v != nil { + var typeVar TypeBasicCopySource + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + rs.Type = typeVar + } + } + } + + return nil +} + +// RetryPolicy execution policy for an activity. +type RetryPolicy struct { + // Count - Maximum ordinary retry attempts. Default is 0. Type: integer (or Expression with resultType integer), minimum: 0. + Count interface{} `json:"count,omitempty"` + // IntervalInSeconds - Interval between retries in seconds. Default is 30. + IntervalInSeconds *int32 `json:"intervalInSeconds,omitempty"` +} + +// RunFilterParameters query parameters for listing runs. +type RunFilterParameters struct { + // ContinuationToken - The continuation token for getting the next page of results. Null for first page. + ContinuationToken *string `json:"continuationToken,omitempty"` + // LastUpdatedAfter - The time at or after which the run event was updated in 'ISO 8601' format. + LastUpdatedAfter *date.Time `json:"lastUpdatedAfter,omitempty"` + // LastUpdatedBefore - The time at or before which the run event was updated in 'ISO 8601' format. + LastUpdatedBefore *date.Time `json:"lastUpdatedBefore,omitempty"` + // Filters - List of filters. + Filters *[]RunQueryFilter `json:"filters,omitempty"` + // OrderBy - List of OrderBy option. + OrderBy *[]RunQueryOrderBy `json:"orderBy,omitempty"` +} + +// RunQueryFilter query filter option for listing runs. +type RunQueryFilter struct { + // Operand - Parameter name to be used for filter. The allowed operands to query pipeline runs are PipelineName, RunStart, RunEnd and Status; to query activity runs are ActivityName, ActivityRunStart, ActivityRunEnd, ActivityType and Status, and to query trigger runs are TriggerName, TriggerRunTimestamp and Status. Possible values include: 'PipelineName', 'Status', 'RunStart', 'RunEnd', 'ActivityName', 'ActivityRunStart', 'ActivityRunEnd', 'ActivityType', 'TriggerName', 'TriggerRunTimestamp', 'RunGroupID', 'LatestOnly' + Operand RunQueryFilterOperand `json:"operand,omitempty"` + // Operator - Operator to be used for filter. Possible values include: 'Equals', 'NotEquals', 'In', 'NotIn' + Operator RunQueryFilterOperator `json:"operator,omitempty"` + // Values - List of filter values. + Values *[]string `json:"values,omitempty"` +} + +// RunQueryOrderBy an object to provide order by options for listing runs. +type RunQueryOrderBy struct { + // OrderBy - Parameter name to be used for order by. The allowed parameters to order by for pipeline runs are PipelineName, RunStart, RunEnd and Status; for activity runs are ActivityName, ActivityRunStart, ActivityRunEnd and Status; for trigger runs are TriggerName, TriggerRunTimestamp and Status. Possible values include: 'RunQueryOrderByFieldRunStart', 'RunQueryOrderByFieldRunEnd', 'RunQueryOrderByFieldPipelineName', 'RunQueryOrderByFieldStatus', 'RunQueryOrderByFieldActivityName', 'RunQueryOrderByFieldActivityRunStart', 'RunQueryOrderByFieldActivityRunEnd', 'RunQueryOrderByFieldTriggerName', 'RunQueryOrderByFieldTriggerRunTimestamp' + OrderBy RunQueryOrderByField `json:"orderBy,omitempty"` + // Order - Sorting order of the parameter. Possible values include: 'ASC', 'DESC' + Order RunQueryOrder `json:"order,omitempty"` +} + +// SalesforceLinkedService linked service for Salesforce. +type SalesforceLinkedService struct { + // SalesforceLinkedServiceTypeProperties - Salesforce linked service properties. + *SalesforceLinkedServiceTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. + Description *string `json:"description,omitempty"` + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the linked service. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for SalesforceLinkedService. +func (sls SalesforceLinkedService) MarshalJSON() ([]byte, error) { + sls.Type = TypeSalesforce + objectMap := make(map[string]interface{}) + if sls.SalesforceLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = sls.SalesforceLinkedServiceTypeProperties + } + if sls.ConnectVia != nil { + objectMap["connectVia"] = sls.ConnectVia + } + if sls.Description != nil { + objectMap["description"] = sls.Description + } + if sls.Parameters != nil { + objectMap["parameters"] = sls.Parameters + } + if sls.Annotations != nil { + objectMap["annotations"] = sls.Annotations + } + if sls.Type != "" { + objectMap["type"] = sls.Type + } + for k, v := range sls.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsDataset() (*Dataset, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for ResponsysObjectDataset. -func (rod ResponsysObjectDataset) AsBasicDataset() (BasicDataset, bool) { - return &rod, true -} - -// UnmarshalJSON is the custom unmarshaler for ResponsysObjectDataset struct. -func (rod *ResponsysObjectDataset) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "typeProperties": - if v != nil { - var genericDatasetTypeProperties GenericDatasetTypeProperties - err = json.Unmarshal(*v, &genericDatasetTypeProperties) - if err != nil { - return err - } - rod.GenericDatasetTypeProperties = &genericDatasetTypeProperties - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if rod.AdditionalProperties == nil { - rod.AdditionalProperties = make(map[string]interface{}) - } - rod.AdditionalProperties[k] = additionalProperties - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - rod.Description = &description - } - case "structure": - if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) - if err != nil { - return err - } - rod.Structure = structure - } - case "schema": - if v != nil { - var schema interface{} - err = json.Unmarshal(*v, &schema) - if err != nil { - return err - } - rod.Schema = schema - } - case "linkedServiceName": - if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) - if err != nil { - return err - } - rod.LinkedServiceName = &linkedServiceName - } - case "parameters": - if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) - if err != nil { - return err - } - rod.Parameters = parameters - } - case "annotations": - if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) - if err != nil { - return err - } - rod.Annotations = &annotations - } - case "folder": - if v != nil { - var folder DatasetFolder - err = json.Unmarshal(*v, &folder) - if err != nil { - return err - } - rod.Folder = &folder - } - case "type": - if v != nil { - var typeVar TypeBasicDataset - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - rod.Type = typeVar - } - } - } - - return nil -} - -// ResponsysSource a copy activity Responsys source. -type ResponsysSource struct { - // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). - Query interface{} `json:"query,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). - SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` - // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' - Type TypeBasicCopySource `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for ResponsysSource. -func (rs ResponsysSource) MarshalJSON() ([]byte, error) { - rs.Type = TypeResponsysSource - objectMap := make(map[string]interface{}) - if rs.Query != nil { - objectMap["query"] = rs.Query - } - if rs.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = rs.SourceRetryCount - } - if rs.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = rs.SourceRetryWait - } - if rs.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = rs.MaxConcurrentConnections - } - if rs.Type != "" { - objectMap["type"] = rs.Type - } - for k, v := range rs.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) -} - -// AsAmazonRedshiftSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsResponsysSource() (*ResponsysSource, bool) { - return &rs, true -} - -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsVerticaSource() (*VerticaSource, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsZohoSource() (*ZohoSource, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsXeroSource() (*XeroSource, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsSquareSource() (*SquareSource, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsSparkSource() (*SparkSource, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsShopifySource() (*ShopifySource, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsPrestoSource() (*PrestoSource, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsPaypalSource() (*PaypalSource, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsMarketoSource() (*MarketoSource, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsMagentoSource() (*MagentoSource, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsJiraSource() (*JiraSource, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsHubspotSource() (*HubspotSource, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsHiveSource() (*HiveSource, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsHBaseSource() (*HBaseSource, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsEloquaSource() (*EloquaSource, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsDrillSource() (*DrillSource, bool) { - return nil, false +// AsSalesforceLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { + return &sls, true } -// AsCouchbaseSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsConcurSource() (*ConcurSource, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsHTTPSource() (*HTTPSource, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsOffice365Source() (*Office365Source, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsCassandraSource() (*CassandraSource, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsWebSource() (*WebSource, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsOracleSource() (*OracleSource, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsHdfsSource() (*HdfsSource, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsSQLSource() (*SQLSource, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsRestSource() (*RestSource, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsSapTableSource() (*SapTableSource, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsSapEccSource() (*SapEccSource, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsRelationalSource() (*RelationalSource, bool) { +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsBlobSource() (*BlobSource, bool) { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsParquetSource() (*ParquetSource, bool) { +// AsAzureStorageLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsCopySource() (*CopySource, bool) { +// AsLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsLinkedService() (*LinkedService, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsBasicCopySource() (BasicCopySource, bool) { - return &rs, true +// AsBasicLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &sls, true } -// UnmarshalJSON is the custom unmarshaler for ResponsysSource struct. -func (rs *ResponsysSource) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for SalesforceLinkedService struct. +func (sls *SalesforceLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -117410,14 +144780,14 @@ func (rs *ResponsysSource) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "query": + case "typeProperties": if v != nil { - var query interface{} - err = json.Unmarshal(*v, &query) + var salesforceLinkedServiceTypeProperties SalesforceLinkedServiceTypeProperties + err = json.Unmarshal(*v, &salesforceLinkedServiceTypeProperties) if err != nil { return err } - rs.Query = query + sls.SalesforceLinkedServiceTypeProperties = &salesforceLinkedServiceTypeProperties } default: if v != nil { @@ -117426,46 +144796,55 @@ func (rs *ResponsysSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - if rs.AdditionalProperties == nil { - rs.AdditionalProperties = make(map[string]interface{}) + if sls.AdditionalProperties == nil { + sls.AdditionalProperties = make(map[string]interface{}) } - rs.AdditionalProperties[k] = additionalProperties + sls.AdditionalProperties[k] = additionalProperties } - case "sourceRetryCount": + case "connectVia": if v != nil { - var sourceRetryCount interface{} - err = json.Unmarshal(*v, &sourceRetryCount) + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) if err != nil { return err } - rs.SourceRetryCount = sourceRetryCount + sls.ConnectVia = &connectVia } - case "sourceRetryWait": + case "description": if v != nil { - var sourceRetryWait interface{} - err = json.Unmarshal(*v, &sourceRetryWait) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - rs.SourceRetryWait = sourceRetryWait + sls.Description = &description } - case "maxConcurrentConnections": + case "parameters": if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - rs.MaxConcurrentConnections = maxConcurrentConnections + sls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + sls.Annotations = &annotations } case "type": if v != nil { - var typeVar TypeBasicCopySource + var typeVar TypeBasicLinkedService err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - rs.Type = typeVar + sls.Type = typeVar } } } @@ -117473,414 +144852,586 @@ func (rs *ResponsysSource) UnmarshalJSON(body []byte) error { return nil } -// RestResourceDataset a Rest service dataset. -type RestResourceDataset struct { - // RestResourceDatasetTypeProperties - Properties specific to this dataset type. - *RestResourceDatasetTypeProperties `json:"typeProperties,omitempty"` +// SalesforceLinkedServiceTypeProperties salesforce linked service properties. +type SalesforceLinkedServiceTypeProperties struct { + // EnvironmentURL - The URL of Salesforce instance. Default is 'https://login.salesforce.com'. To copy data from sandbox, specify 'https://test.salesforce.com'. To copy data from custom domain, specify, for example, 'https://[domain].my.salesforce.com'. Type: string (or Expression with resultType string). + EnvironmentURL interface{} `json:"environmentUrl,omitempty"` + // Username - The username for Basic authentication of the Salesforce instance. Type: string (or Expression with resultType string). + Username interface{} `json:"username,omitempty"` + // Password - The password for Basic authentication of the Salesforce instance. + Password BasicSecretBase `json:"password,omitempty"` + // SecurityToken - The security token is required to remotely access Salesforce instance. + SecurityToken BasicSecretBase `json:"securityToken,omitempty"` + // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` +} + +// UnmarshalJSON is the custom unmarshaler for SalesforceLinkedServiceTypeProperties struct. +func (slstp *SalesforceLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "environmentUrl": + if v != nil { + var environmentURL interface{} + err = json.Unmarshal(*v, &environmentURL) + if err != nil { + return err + } + slstp.EnvironmentURL = environmentURL + } + case "username": + if v != nil { + var username interface{} + err = json.Unmarshal(*v, &username) + if err != nil { + return err + } + slstp.Username = username + } + case "password": + if v != nil { + password, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + slstp.Password = password + } + case "securityToken": + if v != nil { + securityToken, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + slstp.SecurityToken = securityToken + } + case "encryptedCredential": + if v != nil { + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) + if err != nil { + return err + } + slstp.EncryptedCredential = encryptedCredential + } + } + } + + return nil +} + +// SalesforceMarketingCloudLinkedService salesforce Marketing Cloud linked service. +type SalesforceMarketingCloudLinkedService struct { + // SalesforceMarketingCloudLinkedServiceTypeProperties - Salesforce Marketing Cloud linked service properties. + *SalesforceMarketingCloudLinkedServiceTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Description - Dataset description. + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. Description *string `json:"description,omitempty"` - // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. - Structure interface{} `json:"structure,omitempty"` - // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - Schema interface{} `json:"schema,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Parameters - Parameters for dataset. + // Parameters - Parameters for linked service. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the Dataset. + // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' - Type TypeBasicDataset `json:"type,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for RestResourceDataset. -func (rrd RestResourceDataset) MarshalJSON() ([]byte, error) { - rrd.Type = TypeRestResource +// MarshalJSON is the custom marshaler for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) MarshalJSON() ([]byte, error) { + smcls.Type = TypeSalesforceMarketingCloud objectMap := make(map[string]interface{}) - if rrd.RestResourceDatasetTypeProperties != nil { - objectMap["typeProperties"] = rrd.RestResourceDatasetTypeProperties - } - if rrd.Description != nil { - objectMap["description"] = rrd.Description - } - if rrd.Structure != nil { - objectMap["structure"] = rrd.Structure - } - if rrd.Schema != nil { - objectMap["schema"] = rrd.Schema + if smcls.SalesforceMarketingCloudLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = smcls.SalesforceMarketingCloudLinkedServiceTypeProperties } - if rrd.LinkedServiceName != nil { - objectMap["linkedServiceName"] = rrd.LinkedServiceName + if smcls.ConnectVia != nil { + objectMap["connectVia"] = smcls.ConnectVia } - if rrd.Parameters != nil { - objectMap["parameters"] = rrd.Parameters + if smcls.Description != nil { + objectMap["description"] = smcls.Description } - if rrd.Annotations != nil { - objectMap["annotations"] = rrd.Annotations + if smcls.Parameters != nil { + objectMap["parameters"] = smcls.Parameters } - if rrd.Folder != nil { - objectMap["folder"] = rrd.Folder + if smcls.Annotations != nil { + objectMap["annotations"] = smcls.Annotations } - if rrd.Type != "" { - objectMap["type"] = rrd.Type + if smcls.Type != "" { + objectMap["type"] = smcls.Type } - for k, v := range rrd.AdditionalProperties { + for k, v := range smcls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { + return &smcls, true +} + +// AsNetezzaLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { - return &rrd, true +// AsSapHanaLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { + return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { + return nil, false +} + +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { + return nil, false +} + +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + +// AsSalesforceLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { + return nil, false +} + +// AsOffice365LinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { + return nil, false +} + +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { + return nil, false +} + +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { + return nil, false +} + +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { + return nil, false +} + +// AsMongoDbLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { + return nil, false +} + +// AsCassandraLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { + return nil, false +} + +// AsWebLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { + return nil, false +} + +// AsODataLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { + return nil, false +} + +// AsHdfsLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { + return nil, false +} + +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + +// AsOdbcLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { + return nil, false +} + +// AsAzureMLLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { + return nil, false +} + +// AsTeradataLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { + return nil, false +} + +// AsDb2LinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return nil, false +} + +// AsSybaseLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { + return nil, false +} + +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { + return nil, false +} + +// AsMySQLLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsAzureStorageLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsDataset() (*Dataset, bool) { +// AsLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsLinkedService() (*LinkedService, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for RestResourceDataset. -func (rrd RestResourceDataset) AsBasicDataset() (BasicDataset, bool) { - return &rrd, true +// AsBasicLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &smcls, true } -// UnmarshalJSON is the custom unmarshaler for RestResourceDataset struct. -func (rrd *RestResourceDataset) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for SalesforceMarketingCloudLinkedService struct. +func (smcls *SalesforceMarketingCloudLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -117890,12 +145441,12 @@ func (rrd *RestResourceDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var restResourceDatasetTypeProperties RestResourceDatasetTypeProperties - err = json.Unmarshal(*v, &restResourceDatasetTypeProperties) + var salesforceMarketingCloudLinkedServiceTypeProperties SalesforceMarketingCloudLinkedServiceTypeProperties + err = json.Unmarshal(*v, &salesforceMarketingCloudLinkedServiceTypeProperties) if err != nil { return err } - rrd.RestResourceDatasetTypeProperties = &restResourceDatasetTypeProperties + smcls.SalesforceMarketingCloudLinkedServiceTypeProperties = &salesforceMarketingCloudLinkedServiceTypeProperties } default: if v != nil { @@ -117904,10 +145455,19 @@ func (rrd *RestResourceDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if rrd.AdditionalProperties == nil { - rrd.AdditionalProperties = make(map[string]interface{}) + if smcls.AdditionalProperties == nil { + smcls.AdditionalProperties = make(map[string]interface{}) } - rrd.AdditionalProperties[k] = additionalProperties + smcls.AdditionalProperties[k] = additionalProperties + } + case "connectVia": + if v != nil { + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) + if err != nil { + return err + } + smcls.ConnectVia = &connectVia } case "description": if v != nil { @@ -117916,70 +145476,119 @@ func (rrd *RestResourceDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - rrd.Description = &description + smcls.Description = &description } - case "structure": + case "parameters": if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - rrd.Structure = structure + smcls.Parameters = parameters } - case "schema": + case "annotations": if v != nil { - var schema interface{} - err = json.Unmarshal(*v, &schema) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - rrd.Schema = schema + smcls.Annotations = &annotations } - case "linkedServiceName": + case "type": if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) + var typeVar TypeBasicLinkedService + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - rrd.LinkedServiceName = &linkedServiceName + smcls.Type = typeVar } - case "parameters": + } + } + + return nil +} + +// SalesforceMarketingCloudLinkedServiceTypeProperties salesforce Marketing Cloud linked service +// properties. +type SalesforceMarketingCloudLinkedServiceTypeProperties struct { + // ClientID - The client ID associated with the Salesforce Marketing Cloud application. Type: string (or Expression with resultType string). + ClientID interface{} `json:"clientId,omitempty"` + // ClientSecret - The client secret associated with the Salesforce Marketing Cloud application. Type: string (or Expression with resultType string). + ClientSecret BasicSecretBase `json:"clientSecret,omitempty"` + // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. Type: boolean (or Expression with resultType boolean). + UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"` + // UseHostVerification - 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). + UseHostVerification interface{} `json:"useHostVerification,omitempty"` + // UsePeerVerification - 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). + UsePeerVerification interface{} `json:"usePeerVerification,omitempty"` + // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` +} + +// UnmarshalJSON is the custom unmarshaler for SalesforceMarketingCloudLinkedServiceTypeProperties struct. +func (smclstp *SalesforceMarketingCloudLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "clientId": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var clientID interface{} + err = json.Unmarshal(*v, &clientID) if err != nil { return err } - rrd.Parameters = parameters + smclstp.ClientID = clientID } - case "annotations": + case "clientSecret": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + clientSecret, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - rrd.Annotations = &annotations + smclstp.ClientSecret = clientSecret } - case "folder": + case "useEncryptedEndpoints": if v != nil { - var folder DatasetFolder - err = json.Unmarshal(*v, &folder) + var useEncryptedEndpoints interface{} + err = json.Unmarshal(*v, &useEncryptedEndpoints) if err != nil { return err } - rrd.Folder = &folder + smclstp.UseEncryptedEndpoints = useEncryptedEndpoints } - case "type": + case "useHostVerification": if v != nil { - var typeVar TypeBasicDataset - err = json.Unmarshal(*v, &typeVar) + var useHostVerification interface{} + err = json.Unmarshal(*v, &useHostVerification) if err != nil { return err } - rrd.Type = typeVar + smclstp.UseHostVerification = useHostVerification + } + case "usePeerVerification": + if v != nil { + var usePeerVerification interface{} + err = json.Unmarshal(*v, &usePeerVerification) + if err != nil { + return err + } + smclstp.UsePeerVerification = usePeerVerification + } + case "encryptedCredential": + if v != nil { + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) + if err != nil { + return err + } + smclstp.EncryptedCredential = encryptedCredential } } } @@ -117987,498 +145596,469 @@ func (rrd *RestResourceDataset) UnmarshalJSON(body []byte) error { return nil } -// RestResourceDatasetTypeProperties properties specific to this dataset type. -type RestResourceDatasetTypeProperties struct { - // RelativeURL - The relative URL to the resource that the RESTful API provides. Type: string (or Expression with resultType string). - RelativeURL interface{} `json:"relativeUrl,omitempty"` - // RequestMethod - The HTTP method used to call the RESTful API. The default is GET. Type: string (or Expression with resultType string). - RequestMethod interface{} `json:"requestMethod,omitempty"` - // RequestBody - The HTTP request body to the RESTful API if requestMethod is POST. Type: string (or Expression with resultType string). - RequestBody interface{} `json:"requestBody,omitempty"` - // AdditionalHeaders - The additional HTTP headers in the request to the RESTful API. Type: string (or Expression with resultType string). - AdditionalHeaders interface{} `json:"additionalHeaders,omitempty"` - // PaginationRules - The pagination rules to compose next page requests. Type: string (or Expression with resultType string). - PaginationRules interface{} `json:"paginationRules,omitempty"` -} - -// RestServiceLinkedService rest Service linked service. -type RestServiceLinkedService struct { - // RestServiceLinkedServiceTypeProperties - Rest Service linked service properties. - *RestServiceLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// SalesforceMarketingCloudObjectDataset salesforce Marketing Cloud dataset. +type SalesforceMarketingCloudObjectDataset struct { + // GenericDatasetTypeProperties - Properties specific to this dataset type. + *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. + // Description - Dataset description. Description *string `json:"description,omitempty"` - // Parameters - Parameters for linked service. + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the linked service. + // Annotations - List of tags that can be used for describing the Dataset. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for RestServiceLinkedService. -func (rsls RestServiceLinkedService) MarshalJSON() ([]byte, error) { - rsls.Type = TypeRestService +// MarshalJSON is the custom marshaler for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) MarshalJSON() ([]byte, error) { + smcod.Type = TypeSalesforceMarketingCloudObject objectMap := make(map[string]interface{}) - if rsls.RestServiceLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = rsls.RestServiceLinkedServiceTypeProperties + if smcod.GenericDatasetTypeProperties != nil { + objectMap["typeProperties"] = smcod.GenericDatasetTypeProperties } - if rsls.ConnectVia != nil { - objectMap["connectVia"] = rsls.ConnectVia + if smcod.Description != nil { + objectMap["description"] = smcod.Description } - if rsls.Description != nil { - objectMap["description"] = rsls.Description + if smcod.Structure != nil { + objectMap["structure"] = smcod.Structure } - if rsls.Parameters != nil { - objectMap["parameters"] = rsls.Parameters + if smcod.Schema != nil { + objectMap["schema"] = smcod.Schema } - if rsls.Annotations != nil { - objectMap["annotations"] = rsls.Annotations + if smcod.LinkedServiceName != nil { + objectMap["linkedServiceName"] = smcod.LinkedServiceName } - if rsls.Type != "" { - objectMap["type"] = rsls.Type + if smcod.Parameters != nil { + objectMap["parameters"] = smcod.Parameters } - for k, v := range rsls.AdditionalProperties { + if smcod.Annotations != nil { + objectMap["annotations"] = smcod.Annotations + } + if smcod.Folder != nil { + objectMap["folder"] = smcod.Folder + } + if smcod.Type != "" { + objectMap["type"] = smcod.Type + } + for k, v := range smcod.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { - return nil, false -} - -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { - return nil, false -} - -// AsSapTableLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { - return nil, false -} - -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { - return nil, false -} - -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { - return nil, false -} - -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { - return nil, false +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { + return &smcod, true } -// AsNetezzaLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsDrillTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsHTTPDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsWebTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsRestResourceDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { - return &rsls, true -} - -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsInformixTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsOracleTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsODataResourceDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsFileShareDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsOffice365Dataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsCustomDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsAzureTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsBinaryDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsParquetDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAmazonS3Dataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsDataset() (*Dataset, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. -func (rsls RestServiceLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &rsls, true +// AsBasicDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsBasicDataset() (BasicDataset, bool) { + return &smcod, true } -// UnmarshalJSON is the custom unmarshaler for RestServiceLinkedService struct. -func (rsls *RestServiceLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for SalesforceMarketingCloudObjectDataset struct. +func (smcod *SalesforceMarketingCloudObjectDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -118488,12 +146068,12 @@ func (rsls *RestServiceLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var restServiceLinkedServiceTypeProperties RestServiceLinkedServiceTypeProperties - err = json.Unmarshal(*v, &restServiceLinkedServiceTypeProperties) + var genericDatasetTypeProperties GenericDatasetTypeProperties + err = json.Unmarshal(*v, &genericDatasetTypeProperties) if err != nil { return err } - rsls.RestServiceLinkedServiceTypeProperties = &restServiceLinkedServiceTypeProperties + smcod.GenericDatasetTypeProperties = &genericDatasetTypeProperties } default: if v != nil { @@ -118502,19 +146082,10 @@ func (rsls *RestServiceLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if rsls.AdditionalProperties == nil { - rsls.AdditionalProperties = make(map[string]interface{}) - } - rsls.AdditionalProperties[k] = additionalProperties - } - case "connectVia": - if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) - if err != nil { - return err + if smcod.AdditionalProperties == nil { + smcod.AdditionalProperties = make(map[string]interface{}) } - rsls.ConnectVia = &connectVia + smcod.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -118523,161 +146094,70 @@ func (rsls *RestServiceLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - rsls.Description = &description - } - case "parameters": - if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) - if err != nil { - return err - } - rsls.Parameters = parameters - } - case "annotations": - if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) - if err != nil { - return err - } - rsls.Annotations = &annotations - } - case "type": - if v != nil { - var typeVar TypeBasicLinkedService - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - rsls.Type = typeVar - } - } - } - - return nil -} - -// RestServiceLinkedServiceTypeProperties rest Service linked service properties. -type RestServiceLinkedServiceTypeProperties struct { - // URL - The base URL of the REST service. - URL interface{} `json:"url,omitempty"` - // EnableServerCertificateValidation - Whether to validate server side SSL certificate when connecting to the endpoint.The default value is true. Type: boolean (or Expression with resultType boolean). - EnableServerCertificateValidation interface{} `json:"enableServerCertificateValidation,omitempty"` - // AuthenticationType - Type of authentication used to connect to the REST service. Possible values include: 'RestServiceAuthenticationTypeAnonymous', 'RestServiceAuthenticationTypeBasic', 'RestServiceAuthenticationTypeAadServicePrincipal', 'RestServiceAuthenticationTypeManagedServiceIdentity' - AuthenticationType RestServiceAuthenticationType `json:"authenticationType,omitempty"` - // UserName - The user name used in Basic authentication type. - UserName interface{} `json:"userName,omitempty"` - // Password - The password used in Basic authentication type. - Password BasicSecretBase `json:"password,omitempty"` - // ServicePrincipalID - The application's client ID used in AadServicePrincipal authentication type. - ServicePrincipalID interface{} `json:"servicePrincipalId,omitempty"` - // ServicePrincipalKey - The application's key used in AadServicePrincipal authentication type. - ServicePrincipalKey BasicSecretBase `json:"servicePrincipalKey,omitempty"` - // Tenant - The tenant information (domain name or tenant ID) used in AadServicePrincipal authentication type under which your application resides. - Tenant interface{} `json:"tenant,omitempty"` - // AadResourceID - The resource you are requesting authorization to use. - AadResourceID interface{} `json:"aadResourceId,omitempty"` - // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). - EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` -} - -// UnmarshalJSON is the custom unmarshaler for RestServiceLinkedServiceTypeProperties struct. -func (rslstp *RestServiceLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "url": - if v != nil { - var URL interface{} - err = json.Unmarshal(*v, &URL) - if err != nil { - return err - } - rslstp.URL = URL - } - case "enableServerCertificateValidation": - if v != nil { - var enableServerCertificateValidation interface{} - err = json.Unmarshal(*v, &enableServerCertificateValidation) - if err != nil { - return err - } - rslstp.EnableServerCertificateValidation = enableServerCertificateValidation - } - case "authenticationType": - if v != nil { - var authenticationType RestServiceAuthenticationType - err = json.Unmarshal(*v, &authenticationType) - if err != nil { - return err - } - rslstp.AuthenticationType = authenticationType + smcod.Description = &description } - case "userName": + case "structure": if v != nil { - var userName interface{} - err = json.Unmarshal(*v, &userName) + var structure interface{} + err = json.Unmarshal(*v, &structure) if err != nil { return err } - rslstp.UserName = userName + smcod.Structure = structure } - case "password": + case "schema": if v != nil { - password, err := unmarshalBasicSecretBase(*v) + var schema interface{} + err = json.Unmarshal(*v, &schema) if err != nil { return err } - rslstp.Password = password + smcod.Schema = schema } - case "servicePrincipalId": + case "linkedServiceName": if v != nil { - var servicePrincipalID interface{} - err = json.Unmarshal(*v, &servicePrincipalID) + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) if err != nil { return err } - rslstp.ServicePrincipalID = servicePrincipalID + smcod.LinkedServiceName = &linkedServiceName } - case "servicePrincipalKey": + case "parameters": if v != nil { - servicePrincipalKey, err := unmarshalBasicSecretBase(*v) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - rslstp.ServicePrincipalKey = servicePrincipalKey + smcod.Parameters = parameters } - case "tenant": + case "annotations": if v != nil { - var tenant interface{} - err = json.Unmarshal(*v, &tenant) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - rslstp.Tenant = tenant + smcod.Annotations = &annotations } - case "aadResourceId": + case "folder": if v != nil { - var aadResourceID interface{} - err = json.Unmarshal(*v, &aadResourceID) + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) if err != nil { return err } - rslstp.AadResourceID = aadResourceID + smcod.Folder = &folder } - case "encryptedCredential": + case "type": if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) + var typeVar TypeBasicDataset + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - rslstp.EncryptedCredential = encryptedCredential + smcod.Type = typeVar } } } @@ -118685,12 +146165,10 @@ func (rslstp *RestServiceLinkedServiceTypeProperties) UnmarshalJSON(body []byte) return nil } -// RestSource a copy activity Rest service source. -type RestSource struct { - // HTTPRequestTimeout - 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])). - HTTPRequestTimeout interface{} `json:"httpRequestTimeout,omitempty"` - // RequestInterval - The time to await before sending next page request. - RequestInterval interface{} `json:"requestInterval,omitempty"` +// SalesforceMarketingCloudSource a copy activity Salesforce Marketing Cloud source. +type SalesforceMarketingCloudSource struct { + // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). + Query interface{} `json:"query,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -118699,380 +146177,447 @@ type RestSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for RestSource. -func (rs RestSource) MarshalJSON() ([]byte, error) { - rs.Type = TypeRestSource +// MarshalJSON is the custom marshaler for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) MarshalJSON() ([]byte, error) { + smcs.Type = TypeSalesforceMarketingCloudSource objectMap := make(map[string]interface{}) - if rs.HTTPRequestTimeout != nil { - objectMap["httpRequestTimeout"] = rs.HTTPRequestTimeout - } - if rs.RequestInterval != nil { - objectMap["requestInterval"] = rs.RequestInterval + if smcs.Query != nil { + objectMap["query"] = smcs.Query } - if rs.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = rs.SourceRetryCount + if smcs.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = smcs.SourceRetryCount } - if rs.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = rs.SourceRetryWait + if smcs.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = smcs.SourceRetryWait } - if rs.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = rs.MaxConcurrentConnections + if smcs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = smcs.MaxConcurrentConnections } - if rs.Type != "" { - objectMap["type"] = rs.Type + if smcs.Type != "" { + objectMap["type"] = smcs.Type } - for k, v := range rs.AdditionalProperties { + for k, v := range smcs.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsResponsysSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { + return &smcs, true +} + +// AsVerticaSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsVerticaSource() (*VerticaSource, bool) { +// AsNetezzaSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsZohoSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsZohoSource() (*ZohoSource, bool) { +// AsXeroSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsXeroSource() (*XeroSource, bool) { +// AsSquareSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsSquareSource() (*SquareSource, bool) { +// AsSparkSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsSparkSource() (*SparkSource, bool) { +// AsShopifySource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsShopifySource() (*ShopifySource, bool) { +// AsServiceNowSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsPrestoSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsPrestoSource() (*PrestoSource, bool) { +// AsPhoenixSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsPaypalSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsPaypalSource() (*PaypalSource, bool) { +// AsMarketoSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsMarketoSource() (*MarketoSource, bool) { +// AsMariaDBSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsMagentoSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsMagentoSource() (*MagentoSource, bool) { +// AsJiraSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsJiraSource() (*JiraSource, bool) { +// AsImpalaSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsHubspotSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsHubspotSource() (*HubspotSource, bool) { +// AsHiveSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsHiveSource() (*HiveSource, bool) { +// AsHBaseSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsHBaseSource() (*HBaseSource, bool) { +// AsGreenplumSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsEloquaSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsEloquaSource() (*EloquaSource, bool) { +// AsDrillSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsDrillSource() (*DrillSource, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsConcurSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsConcurSource() (*ConcurSource, bool) { + return nil, false +} + +// AsAzurePostgreSQLSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { + return nil, false +} + +// AsAmazonMWSSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { + return nil, false +} + +// AsHTTPSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsCassandraSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsCassandraSource() (*CassandraSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsTeradataSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsConcurSource() (*ConcurSource, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsHdfsSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsHTTPSource() (*HTTPSource, bool) { +// AsFileSystemSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsSQLDWSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsSQLMISource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsOffice365Source() (*Office365Source, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsSQLServerSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsSQLSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsRestSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsCassandraSource() (*CassandraSource, bool) { +// AsSapTableSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsWebSource() (*WebSource, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsOracleSource() (*OracleSource, bool) { +// AsSapHanaSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsSapEccSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsHdfsSource() (*HdfsSource, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsSalesforceSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsODataSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsSybaseSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsSQLSource() (*SQLSource, bool) { +// AsMySQLSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsRestSource() (*RestSource, bool) { - return &rs, true +// AsOdbcSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false } -// AsSapTableSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsSapTableSource() (*SapTableSource, bool) { +// AsDb2Source is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsInformixSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsSapEccSource() (*SapEccSource, bool) { +// AsRelationalSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsRelationalSource() (*RelationalSource, bool) { +// AsDynamicsSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsBlobSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsBlobSource() (*BlobSource, bool) { +// AsAzureTableSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsBinarySource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsDelimitedTextSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsParquetSource() (*ParquetSource, bool) { +// AsParquetSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsCopySource() (*CopySource, bool) { +// AsCopySource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsCopySource() (*CopySource, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsBasicCopySource() (BasicCopySource, bool) { - return &rs, true +// AsBasicCopySource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsBasicCopySource() (BasicCopySource, bool) { + return &smcs, true } -// UnmarshalJSON is the custom unmarshaler for RestSource struct. -func (rs *RestSource) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for SalesforceMarketingCloudSource struct. +func (smcs *SalesforceMarketingCloudSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -119080,23 +146625,14 @@ func (rs *RestSource) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "httpRequestTimeout": - if v != nil { - var HTTPRequestTimeout interface{} - err = json.Unmarshal(*v, &HTTPRequestTimeout) - if err != nil { - return err - } - rs.HTTPRequestTimeout = HTTPRequestTimeout - } - case "requestInterval": + case "query": if v != nil { - var requestInterval interface{} - err = json.Unmarshal(*v, &requestInterval) + var query interface{} + err = json.Unmarshal(*v, &query) if err != nil { return err } - rs.RequestInterval = requestInterval + smcs.Query = query } default: if v != nil { @@ -119105,10 +146641,10 @@ func (rs *RestSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - if rs.AdditionalProperties == nil { - rs.AdditionalProperties = make(map[string]interface{}) + if smcs.AdditionalProperties == nil { + smcs.AdditionalProperties = make(map[string]interface{}) } - rs.AdditionalProperties[k] = additionalProperties + smcs.AdditionalProperties[k] = additionalProperties } case "sourceRetryCount": if v != nil { @@ -119117,7 +146653,7 @@ func (rs *RestSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - rs.SourceRetryCount = sourceRetryCount + smcs.SourceRetryCount = sourceRetryCount } case "sourceRetryWait": if v != nil { @@ -119126,7 +146662,7 @@ func (rs *RestSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - rs.SourceRetryWait = sourceRetryWait + smcs.SourceRetryWait = sourceRetryWait } case "maxConcurrentConnections": if v != nil { @@ -119135,7 +146671,7 @@ func (rs *RestSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - rs.MaxConcurrentConnections = maxConcurrentConnections + smcs.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { @@ -119144,7 +146680,7 @@ func (rs *RestSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - rs.Type = typeVar + smcs.Type = typeVar } } } @@ -119152,524 +146688,469 @@ func (rs *RestSource) UnmarshalJSON(body []byte) error { return nil } -// RetryPolicy execution policy for an activity. -type RetryPolicy struct { - // Count - Maximum ordinary retry attempts. Default is 0. Type: integer (or Expression with resultType integer), minimum: 0. - Count interface{} `json:"count,omitempty"` - // IntervalInSeconds - Interval between retries in seconds. Default is 30. - IntervalInSeconds *int32 `json:"intervalInSeconds,omitempty"` -} - -// RunFilterParameters query parameters for listing runs. -type RunFilterParameters struct { - // ContinuationToken - The continuation token for getting the next page of results. Null for first page. - ContinuationToken *string `json:"continuationToken,omitempty"` - // LastUpdatedAfter - The time at or after which the run event was updated in 'ISO 8601' format. - LastUpdatedAfter *date.Time `json:"lastUpdatedAfter,omitempty"` - // LastUpdatedBefore - The time at or before which the run event was updated in 'ISO 8601' format. - LastUpdatedBefore *date.Time `json:"lastUpdatedBefore,omitempty"` - // Filters - List of filters. - Filters *[]RunQueryFilter `json:"filters,omitempty"` - // OrderBy - List of OrderBy option. - OrderBy *[]RunQueryOrderBy `json:"orderBy,omitempty"` -} - -// RunQueryFilter query filter option for listing runs. -type RunQueryFilter struct { - // Operand - Parameter name to be used for filter. The allowed operands to query pipeline runs are PipelineName, RunStart, RunEnd and Status; to query activity runs are ActivityName, ActivityRunStart, ActivityRunEnd, ActivityType and Status, and to query trigger runs are TriggerName, TriggerRunTimestamp and Status. Possible values include: 'PipelineName', 'Status', 'RunStart', 'RunEnd', 'ActivityName', 'ActivityRunStart', 'ActivityRunEnd', 'ActivityType', 'TriggerName', 'TriggerRunTimestamp', 'RunGroupID', 'LatestOnly' - Operand RunQueryFilterOperand `json:"operand,omitempty"` - // Operator - Operator to be used for filter. Possible values include: 'Equals', 'NotEquals', 'In', 'NotIn' - Operator RunQueryFilterOperator `json:"operator,omitempty"` - // Values - List of filter values. - Values *[]string `json:"values,omitempty"` -} - -// RunQueryOrderBy an object to provide order by options for listing runs. -type RunQueryOrderBy struct { - // OrderBy - Parameter name to be used for order by. The allowed parameters to order by for pipeline runs are PipelineName, RunStart, RunEnd and Status; for activity runs are ActivityName, ActivityRunStart, ActivityRunEnd and Status; for trigger runs are TriggerName, TriggerRunTimestamp and Status. Possible values include: 'RunQueryOrderByFieldRunStart', 'RunQueryOrderByFieldRunEnd', 'RunQueryOrderByFieldPipelineName', 'RunQueryOrderByFieldStatus', 'RunQueryOrderByFieldActivityName', 'RunQueryOrderByFieldActivityRunStart', 'RunQueryOrderByFieldActivityRunEnd', 'RunQueryOrderByFieldTriggerName', 'RunQueryOrderByFieldTriggerRunTimestamp' - OrderBy RunQueryOrderByField `json:"orderBy,omitempty"` - // Order - Sorting order of the parameter. Possible values include: 'ASC', 'DESC' - Order RunQueryOrder `json:"order,omitempty"` -} - -// SalesforceLinkedService linked service for Salesforce. -type SalesforceLinkedService struct { - // SalesforceLinkedServiceTypeProperties - Salesforce linked service properties. - *SalesforceLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// SalesforceObjectDataset the Salesforce object dataset. +type SalesforceObjectDataset struct { + // SalesforceObjectDatasetTypeProperties - Salesforce object dataset properties. + *SalesforceObjectDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. + // Description - Dataset description. Description *string `json:"description,omitempty"` - // Parameters - Parameters for linked service. + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the linked service. + // Annotations - List of tags that can be used for describing the Dataset. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for SalesforceLinkedService. -func (sls SalesforceLinkedService) MarshalJSON() ([]byte, error) { - sls.Type = TypeSalesforce +// MarshalJSON is the custom marshaler for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) MarshalJSON() ([]byte, error) { + sod.Type = TypeSalesforceObject objectMap := make(map[string]interface{}) - if sls.SalesforceLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = sls.SalesforceLinkedServiceTypeProperties + if sod.SalesforceObjectDatasetTypeProperties != nil { + objectMap["typeProperties"] = sod.SalesforceObjectDatasetTypeProperties } - if sls.ConnectVia != nil { - objectMap["connectVia"] = sls.ConnectVia + if sod.Description != nil { + objectMap["description"] = sod.Description } - if sls.Description != nil { - objectMap["description"] = sls.Description + if sod.Structure != nil { + objectMap["structure"] = sod.Structure } - if sls.Parameters != nil { - objectMap["parameters"] = sls.Parameters + if sod.Schema != nil { + objectMap["schema"] = sod.Schema } - if sls.Annotations != nil { - objectMap["annotations"] = sls.Annotations + if sod.LinkedServiceName != nil { + objectMap["linkedServiceName"] = sod.LinkedServiceName } - if sls.Type != "" { - objectMap["type"] = sls.Type + if sod.Parameters != nil { + objectMap["parameters"] = sod.Parameters } - for k, v := range sls.AdditionalProperties { + if sod.Annotations != nil { + objectMap["annotations"] = sod.Annotations + } + if sod.Folder != nil { + objectMap["folder"] = sod.Folder + } + if sod.Type != "" { + objectMap["type"] = sod.Type + } + for k, v := range sod.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { - return nil, false -} - -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { - return nil, false -} - -// AsSapTableLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { - return nil, false -} - -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { - return nil, false -} - -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { - return nil, false -} - -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsDrillTableDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsHTTPDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsWebTableDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsRestResourceDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { - return nil, false +// AsSalesforceObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { + return &sod, true } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { - return &sls, true -} - -// AsOffice365LinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsInformixTableDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsOracleTableDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsODataResourceDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsFileShareDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsOffice365Dataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsCustomDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsAzureTableDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsBinaryDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsParquetDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAmazonS3Dataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsDataset() (*Dataset, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &sls, true +// AsBasicDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsBasicDataset() (BasicDataset, bool) { + return &sod, true } -// UnmarshalJSON is the custom unmarshaler for SalesforceLinkedService struct. -func (sls *SalesforceLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for SalesforceObjectDataset struct. +func (sod *SalesforceObjectDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -119679,12 +147160,12 @@ func (sls *SalesforceLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var salesforceLinkedServiceTypeProperties SalesforceLinkedServiceTypeProperties - err = json.Unmarshal(*v, &salesforceLinkedServiceTypeProperties) + var salesforceObjectDatasetTypeProperties SalesforceObjectDatasetTypeProperties + err = json.Unmarshal(*v, &salesforceObjectDatasetTypeProperties) if err != nil { return err } - sls.SalesforceLinkedServiceTypeProperties = &salesforceLinkedServiceTypeProperties + sod.SalesforceObjectDatasetTypeProperties = &salesforceObjectDatasetTypeProperties } default: if v != nil { @@ -119693,19 +147174,10 @@ func (sls *SalesforceLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if sls.AdditionalProperties == nil { - sls.AdditionalProperties = make(map[string]interface{}) - } - sls.AdditionalProperties[k] = additionalProperties - } - case "connectVia": - if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) - if err != nil { - return err + if sod.AdditionalProperties == nil { + sod.AdditionalProperties = make(map[string]interface{}) } - sls.ConnectVia = &connectVia + sod.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -119714,106 +147186,70 @@ func (sls *SalesforceLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - sls.Description = &description - } - case "parameters": - if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) - if err != nil { - return err - } - sls.Parameters = parameters + sod.Description = &description } - case "annotations": + case "structure": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var structure interface{} + err = json.Unmarshal(*v, &structure) if err != nil { return err } - sls.Annotations = &annotations + sod.Structure = structure } - case "type": + case "schema": if v != nil { - var typeVar TypeBasicLinkedService - err = json.Unmarshal(*v, &typeVar) + var schema interface{} + err = json.Unmarshal(*v, &schema) if err != nil { return err } - sls.Type = typeVar + sod.Schema = schema } - } - } - - return nil -} - -// SalesforceLinkedServiceTypeProperties salesforce linked service properties. -type SalesforceLinkedServiceTypeProperties struct { - // EnvironmentURL - The URL of Salesforce instance. Default is 'https://login.salesforce.com'. To copy data from sandbox, specify 'https://test.salesforce.com'. To copy data from custom domain, specify, for example, 'https://[domain].my.salesforce.com'. Type: string (or Expression with resultType string). - EnvironmentURL interface{} `json:"environmentUrl,omitempty"` - // Username - The username for Basic authentication of the Salesforce instance. Type: string (or Expression with resultType string). - Username interface{} `json:"username,omitempty"` - // Password - The password for Basic authentication of the Salesforce instance. - Password BasicSecretBase `json:"password,omitempty"` - // SecurityToken - The security token is required to remotely access Salesforce instance. - SecurityToken BasicSecretBase `json:"securityToken,omitempty"` - // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). - EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` -} - -// UnmarshalJSON is the custom unmarshaler for SalesforceLinkedServiceTypeProperties struct. -func (slstp *SalesforceLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "environmentUrl": + case "linkedServiceName": if v != nil { - var environmentURL interface{} - err = json.Unmarshal(*v, &environmentURL) + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) if err != nil { return err } - slstp.EnvironmentURL = environmentURL + sod.LinkedServiceName = &linkedServiceName } - case "username": + case "parameters": if v != nil { - var username interface{} - err = json.Unmarshal(*v, &username) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - slstp.Username = username + sod.Parameters = parameters } - case "password": + case "annotations": if v != nil { - password, err := unmarshalBasicSecretBase(*v) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - slstp.Password = password + sod.Annotations = &annotations } - case "securityToken": + case "folder": if v != nil { - securityToken, err := unmarshalBasicSecretBase(*v) + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) if err != nil { return err } - slstp.SecurityToken = securityToken + sod.Folder = &folder } - case "encryptedCredential": + case "type": if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) + var typeVar TypeBasicDataset + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - slstp.EncryptedCredential = encryptedCredential + sod.Type = typeVar } } } @@ -119821,10 +147257,16 @@ func (slstp *SalesforceLinkedServiceTypeProperties) UnmarshalJSON(body []byte) e return nil } -// SalesforceMarketingCloudLinkedService salesforce Marketing Cloud linked service. -type SalesforceMarketingCloudLinkedService struct { - // SalesforceMarketingCloudLinkedServiceTypeProperties - Salesforce Marketing Cloud linked service properties. - *SalesforceMarketingCloudLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// SalesforceObjectDatasetTypeProperties salesforce object dataset properties. +type SalesforceObjectDatasetTypeProperties struct { + // ObjectAPIName - The Salesforce object API name. Type: string (or Expression with resultType string). + ObjectAPIName interface{} `json:"objectApiName,omitempty"` +} + +// SalesforceServiceCloudLinkedService linked service for Salesforce Service Cloud. +type SalesforceServiceCloudLinkedService struct { + // SalesforceServiceCloudLinkedServiceTypeProperties - Salesforce Service Cloud linked service properties. + *SalesforceServiceCloudLinkedServiceTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // ConnectVia - The integration runtime reference. @@ -119835,470 +147277,500 @@ type SalesforceMarketingCloudLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) MarshalJSON() ([]byte, error) { - smcls.Type = TypeSalesforceMarketingCloud +// MarshalJSON is the custom marshaler for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) MarshalJSON() ([]byte, error) { + sscls.Type = TypeSalesforceServiceCloud objectMap := make(map[string]interface{}) - if smcls.SalesforceMarketingCloudLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = smcls.SalesforceMarketingCloudLinkedServiceTypeProperties + if sscls.SalesforceServiceCloudLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = sscls.SalesforceServiceCloudLinkedServiceTypeProperties } - if smcls.ConnectVia != nil { - objectMap["connectVia"] = smcls.ConnectVia + if sscls.ConnectVia != nil { + objectMap["connectVia"] = sscls.ConnectVia } - if smcls.Description != nil { - objectMap["description"] = smcls.Description + if sscls.Description != nil { + objectMap["description"] = sscls.Description } - if smcls.Parameters != nil { - objectMap["parameters"] = smcls.Parameters + if sscls.Parameters != nil { + objectMap["parameters"] = sscls.Parameters } - if smcls.Annotations != nil { - objectMap["annotations"] = smcls.Annotations + if sscls.Annotations != nil { + objectMap["annotations"] = sscls.Annotations } - if smcls.Type != "" { - objectMap["type"] = smcls.Type + if sscls.Type != "" { + objectMap["type"] = sscls.Type } - for k, v := range smcls.AdditionalProperties { + for k, v := range sscls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsSapTableLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { - return &smcls, true +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { + return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return &sscls, true +} + +// AsSalesforceLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. -func (smcls SalesforceMarketingCloudLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &smcls, true +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for SalesforceMarketingCloudLinkedService struct. -func (smcls *SalesforceMarketingCloudLinkedService) UnmarshalJSON(body []byte) error { +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &sscls, true +} + +// UnmarshalJSON is the custom unmarshaler for SalesforceServiceCloudLinkedService struct. +func (sscls *SalesforceServiceCloudLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -120308,12 +147780,12 @@ func (smcls *SalesforceMarketingCloudLinkedService) UnmarshalJSON(body []byte) e switch k { case "typeProperties": if v != nil { - var salesforceMarketingCloudLinkedServiceTypeProperties SalesforceMarketingCloudLinkedServiceTypeProperties - err = json.Unmarshal(*v, &salesforceMarketingCloudLinkedServiceTypeProperties) + var salesforceServiceCloudLinkedServiceTypeProperties SalesforceServiceCloudLinkedServiceTypeProperties + err = json.Unmarshal(*v, &salesforceServiceCloudLinkedServiceTypeProperties) if err != nil { return err } - smcls.SalesforceMarketingCloudLinkedServiceTypeProperties = &salesforceMarketingCloudLinkedServiceTypeProperties + sscls.SalesforceServiceCloudLinkedServiceTypeProperties = &salesforceServiceCloudLinkedServiceTypeProperties } default: if v != nil { @@ -120322,10 +147794,10 @@ func (smcls *SalesforceMarketingCloudLinkedService) UnmarshalJSON(body []byte) e if err != nil { return err } - if smcls.AdditionalProperties == nil { - smcls.AdditionalProperties = make(map[string]interface{}) + if sscls.AdditionalProperties == nil { + sscls.AdditionalProperties = make(map[string]interface{}) } - smcls.AdditionalProperties[k] = additionalProperties + sscls.AdditionalProperties[k] = additionalProperties } case "connectVia": if v != nil { @@ -120334,7 +147806,7 @@ func (smcls *SalesforceMarketingCloudLinkedService) UnmarshalJSON(body []byte) e if err != nil { return err } - smcls.ConnectVia = &connectVia + sscls.ConnectVia = &connectVia } case "description": if v != nil { @@ -120343,7 +147815,7 @@ func (smcls *SalesforceMarketingCloudLinkedService) UnmarshalJSON(body []byte) e if err != nil { return err } - smcls.Description = &description + sscls.Description = &description } case "parameters": if v != nil { @@ -120352,7 +147824,7 @@ func (smcls *SalesforceMarketingCloudLinkedService) UnmarshalJSON(body []byte) e if err != nil { return err } - smcls.Parameters = parameters + sscls.Parameters = parameters } case "annotations": if v != nil { @@ -120361,7 +147833,7 @@ func (smcls *SalesforceMarketingCloudLinkedService) UnmarshalJSON(body []byte) e if err != nil { return err } - smcls.Annotations = &annotations + sscls.Annotations = &annotations } case "type": if v != nil { @@ -120370,7 +147842,7 @@ func (smcls *SalesforceMarketingCloudLinkedService) UnmarshalJSON(body []byte) e if err != nil { return err } - smcls.Type = typeVar + sscls.Type = typeVar } } } @@ -120378,25 +147850,24 @@ func (smcls *SalesforceMarketingCloudLinkedService) UnmarshalJSON(body []byte) e return nil } -// SalesforceMarketingCloudLinkedServiceTypeProperties salesforce Marketing Cloud linked service -// properties. -type SalesforceMarketingCloudLinkedServiceTypeProperties struct { - // ClientID - The client ID associated with the Salesforce Marketing Cloud application. Type: string (or Expression with resultType string). - ClientID interface{} `json:"clientId,omitempty"` - // ClientSecret - The client secret associated with the Salesforce Marketing Cloud application. Type: string (or Expression with resultType string). - ClientSecret BasicSecretBase `json:"clientSecret,omitempty"` - // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. Type: boolean (or Expression with resultType boolean). - UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"` - // UseHostVerification - 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). - UseHostVerification interface{} `json:"useHostVerification,omitempty"` - // UsePeerVerification - 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). - UsePeerVerification interface{} `json:"usePeerVerification,omitempty"` +// SalesforceServiceCloudLinkedServiceTypeProperties salesforce Service Cloud linked service properties. +type SalesforceServiceCloudLinkedServiceTypeProperties struct { + // EnvironmentURL - The URL of Salesforce Service Cloud instance. Default is 'https://login.salesforce.com'. To copy data from sandbox, specify 'https://test.salesforce.com'. To copy data from custom domain, specify, for example, 'https://[domain].my.salesforce.com'. Type: string (or Expression with resultType string). + EnvironmentURL interface{} `json:"environmentUrl,omitempty"` + // Username - The username for Basic authentication of the Salesforce instance. Type: string (or Expression with resultType string). + Username interface{} `json:"username,omitempty"` + // Password - The password for Basic authentication of the Salesforce instance. + Password BasicSecretBase `json:"password,omitempty"` + // SecurityToken - The security token is required to remotely access Salesforce instance. + SecurityToken BasicSecretBase `json:"securityToken,omitempty"` + // ExtendedProperties - Extended properties appended to the connection string. Type: string (or Expression with resultType string). + ExtendedProperties interface{} `json:"extendedProperties,omitempty"` // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` } -// UnmarshalJSON is the custom unmarshaler for SalesforceMarketingCloudLinkedServiceTypeProperties struct. -func (smclstp *SalesforceMarketingCloudLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for SalesforceServiceCloudLinkedServiceTypeProperties struct. +func (ssclstp *SalesforceServiceCloudLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -120404,49 +147875,48 @@ func (smclstp *SalesforceMarketingCloudLinkedServiceTypeProperties) UnmarshalJSO } for k, v := range m { switch k { - case "clientId": + case "environmentUrl": if v != nil { - var clientID interface{} - err = json.Unmarshal(*v, &clientID) + var environmentURL interface{} + err = json.Unmarshal(*v, &environmentURL) if err != nil { return err } - smclstp.ClientID = clientID + ssclstp.EnvironmentURL = environmentURL } - case "clientSecret": + case "username": if v != nil { - clientSecret, err := unmarshalBasicSecretBase(*v) + var username interface{} + err = json.Unmarshal(*v, &username) if err != nil { return err } - smclstp.ClientSecret = clientSecret + ssclstp.Username = username } - case "useEncryptedEndpoints": + case "password": if v != nil { - var useEncryptedEndpoints interface{} - err = json.Unmarshal(*v, &useEncryptedEndpoints) + password, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - smclstp.UseEncryptedEndpoints = useEncryptedEndpoints + ssclstp.Password = password } - case "useHostVerification": + case "securityToken": if v != nil { - var useHostVerification interface{} - err = json.Unmarshal(*v, &useHostVerification) + securityToken, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - smclstp.UseHostVerification = useHostVerification + ssclstp.SecurityToken = securityToken } - case "usePeerVerification": + case "extendedProperties": if v != nil { - var usePeerVerification interface{} - err = json.Unmarshal(*v, &usePeerVerification) + var extendedProperties interface{} + err = json.Unmarshal(*v, &extendedProperties) if err != nil { return err } - smclstp.UsePeerVerification = usePeerVerification + ssclstp.ExtendedProperties = extendedProperties } case "encryptedCredential": if v != nil { @@ -120455,7 +147925,7 @@ func (smclstp *SalesforceMarketingCloudLinkedServiceTypeProperties) UnmarshalJSO if err != nil { return err } - smclstp.EncryptedCredential = encryptedCredential + ssclstp.EncryptedCredential = encryptedCredential } } } @@ -120463,10 +147933,10 @@ func (smclstp *SalesforceMarketingCloudLinkedServiceTypeProperties) UnmarshalJSO return nil } -// SalesforceMarketingCloudObjectDataset salesforce Marketing Cloud dataset. -type SalesforceMarketingCloudObjectDataset struct { - // GenericDatasetTypeProperties - Properties specific to this dataset type. - *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` +// SalesforceServiceCloudObjectDataset the Salesforce Service Cloud object dataset. +type SalesforceServiceCloudObjectDataset struct { + // SalesforceServiceCloudObjectDatasetTypeProperties - Salesforce Service Cloud object dataset properties. + *SalesforceServiceCloudObjectDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // Description - Dataset description. @@ -120483,394 +147953,449 @@ type SalesforceMarketingCloudObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) MarshalJSON() ([]byte, error) { - smcod.Type = TypeSalesforceMarketingCloudObject +// MarshalJSON is the custom marshaler for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) MarshalJSON() ([]byte, error) { + sscod.Type = TypeSalesforceServiceCloudObject objectMap := make(map[string]interface{}) - if smcod.GenericDatasetTypeProperties != nil { - objectMap["typeProperties"] = smcod.GenericDatasetTypeProperties - } - if smcod.Description != nil { - objectMap["description"] = smcod.Description + if sscod.SalesforceServiceCloudObjectDatasetTypeProperties != nil { + objectMap["typeProperties"] = sscod.SalesforceServiceCloudObjectDatasetTypeProperties } - if smcod.Structure != nil { - objectMap["structure"] = smcod.Structure + if sscod.Description != nil { + objectMap["description"] = sscod.Description } - if smcod.Schema != nil { - objectMap["schema"] = smcod.Schema + if sscod.Structure != nil { + objectMap["structure"] = sscod.Structure } - if smcod.LinkedServiceName != nil { - objectMap["linkedServiceName"] = smcod.LinkedServiceName + if sscod.Schema != nil { + objectMap["schema"] = sscod.Schema } - if smcod.Parameters != nil { - objectMap["parameters"] = smcod.Parameters + if sscod.LinkedServiceName != nil { + objectMap["linkedServiceName"] = sscod.LinkedServiceName } - if smcod.Annotations != nil { - objectMap["annotations"] = smcod.Annotations + if sscod.Parameters != nil { + objectMap["parameters"] = sscod.Parameters } - if smcod.Folder != nil { - objectMap["folder"] = smcod.Folder + if sscod.Annotations != nil { + objectMap["annotations"] = sscod.Annotations } - if smcod.Type != "" { - objectMap["type"] = smcod.Type + if sscod.Folder != nil { + objectMap["folder"] = sscod.Folder } - for k, v := range smcod.AdditionalProperties { + if sscod.Type != "" { + objectMap["type"] = sscod.Type + } + for k, v := range sscod.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { - return &smcod, true +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { + return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsDrillTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsHTTPDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsWebTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsRestResourceDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { + return &sscod, true +} + +// AsSalesforceObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsInformixTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsOracleTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsODataResourceDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsFileShareDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsOffice365Dataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsCustomDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsDataset() (*Dataset, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. -func (smcod SalesforceMarketingCloudObjectDataset) AsBasicDataset() (BasicDataset, bool) { - return &smcod, true +// AsAzureSQLDWTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for SalesforceMarketingCloudObjectDataset struct. -func (smcod *SalesforceMarketingCloudObjectDataset) UnmarshalJSON(body []byte) error { +// AsAzureSQLMITableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + +// AsAzureSQLTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { + return nil, false +} + +// AsAzureTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { + return nil, false +} + +// AsAzureBlobDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { + return nil, false +} + +// AsBinaryDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + +// AsDelimitedTextDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { + return nil, false +} + +// AsParquetDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsBasicDataset() (BasicDataset, bool) { + return &sscod, true +} + +// UnmarshalJSON is the custom unmarshaler for SalesforceServiceCloudObjectDataset struct. +func (sscod *SalesforceServiceCloudObjectDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -120880,12 +148405,12 @@ func (smcod *SalesforceMarketingCloudObjectDataset) UnmarshalJSON(body []byte) e switch k { case "typeProperties": if v != nil { - var genericDatasetTypeProperties GenericDatasetTypeProperties - err = json.Unmarshal(*v, &genericDatasetTypeProperties) + var salesforceServiceCloudObjectDatasetTypeProperties SalesforceServiceCloudObjectDatasetTypeProperties + err = json.Unmarshal(*v, &salesforceServiceCloudObjectDatasetTypeProperties) if err != nil { return err } - smcod.GenericDatasetTypeProperties = &genericDatasetTypeProperties + sscod.SalesforceServiceCloudObjectDatasetTypeProperties = &salesforceServiceCloudObjectDatasetTypeProperties } default: if v != nil { @@ -120894,10 +148419,10 @@ func (smcod *SalesforceMarketingCloudObjectDataset) UnmarshalJSON(body []byte) e if err != nil { return err } - if smcod.AdditionalProperties == nil { - smcod.AdditionalProperties = make(map[string]interface{}) + if sscod.AdditionalProperties == nil { + sscod.AdditionalProperties = make(map[string]interface{}) } - smcod.AdditionalProperties[k] = additionalProperties + sscod.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -120906,7 +148431,7 @@ func (smcod *SalesforceMarketingCloudObjectDataset) UnmarshalJSON(body []byte) e if err != nil { return err } - smcod.Description = &description + sscod.Description = &description } case "structure": if v != nil { @@ -120915,7 +148440,7 @@ func (smcod *SalesforceMarketingCloudObjectDataset) UnmarshalJSON(body []byte) e if err != nil { return err } - smcod.Structure = structure + sscod.Structure = structure } case "schema": if v != nil { @@ -120924,7 +148449,7 @@ func (smcod *SalesforceMarketingCloudObjectDataset) UnmarshalJSON(body []byte) e if err != nil { return err } - smcod.Schema = schema + sscod.Schema = schema } case "linkedServiceName": if v != nil { @@ -120933,7 +148458,7 @@ func (smcod *SalesforceMarketingCloudObjectDataset) UnmarshalJSON(body []byte) e if err != nil { return err } - smcod.LinkedServiceName = &linkedServiceName + sscod.LinkedServiceName = &linkedServiceName } case "parameters": if v != nil { @@ -120942,7 +148467,7 @@ func (smcod *SalesforceMarketingCloudObjectDataset) UnmarshalJSON(body []byte) e if err != nil { return err } - smcod.Parameters = parameters + sscod.Parameters = parameters } case "annotations": if v != nil { @@ -120951,7 +148476,7 @@ func (smcod *SalesforceMarketingCloudObjectDataset) UnmarshalJSON(body []byte) e if err != nil { return err } - smcod.Annotations = &annotations + sscod.Annotations = &annotations } case "folder": if v != nil { @@ -120960,7 +148485,7 @@ func (smcod *SalesforceMarketingCloudObjectDataset) UnmarshalJSON(body []byte) e if err != nil { return err } - smcod.Folder = &folder + sscod.Folder = &folder } case "type": if v != nil { @@ -120969,7 +148494,7 @@ func (smcod *SalesforceMarketingCloudObjectDataset) UnmarshalJSON(body []byte) e if err != nil { return err } - smcod.Type = typeVar + sscod.Type = typeVar } } } @@ -120977,389 +148502,230 @@ func (smcod *SalesforceMarketingCloudObjectDataset) UnmarshalJSON(body []byte) e return nil } -// SalesforceMarketingCloudSource a copy activity Salesforce Marketing Cloud source. -type SalesforceMarketingCloudSource struct { - // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). - Query interface{} `json:"query,omitempty"` +// SalesforceServiceCloudObjectDatasetTypeProperties salesforce Service Cloud object dataset properties. +type SalesforceServiceCloudObjectDatasetTypeProperties struct { + // ObjectAPIName - The Salesforce Service Cloud object API name. Type: string (or Expression with resultType string). + ObjectAPIName interface{} `json:"objectApiName,omitempty"` +} + +// SalesforceServiceCloudSink a copy activity Salesforce Service Cloud sink. +type SalesforceServiceCloudSink struct { + // WriteBehavior - The write behavior for the operation. Default is Insert. Possible values include: 'Insert', 'Upsert' + WriteBehavior SalesforceSinkWriteBehavior `json:"writeBehavior,omitempty"` + // ExternalIDFieldName - The name of the external ID field for upsert operation. Default value is 'Id' column. Type: string (or Expression with resultType string). + ExternalIDFieldName interface{} `json:"externalIdFieldName,omitempty"` + // IgnoreNullValues - 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). + IgnoreNullValues interface{} `json:"ignoreNullValues,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). - SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` - // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + WriteBatchSize interface{} `json:"writeBatchSize,omitempty"` + // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"` + // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer). + SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"` + // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' - Type TypeBasicCopySource `json:"type,omitempty"` + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink' + Type TypeBasicCopySink `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) MarshalJSON() ([]byte, error) { - smcs.Type = TypeSalesforceMarketingCloudSource +// MarshalJSON is the custom marshaler for SalesforceServiceCloudSink. +func (sscs SalesforceServiceCloudSink) MarshalJSON() ([]byte, error) { + sscs.Type = TypeSalesforceServiceCloudSink objectMap := make(map[string]interface{}) - if smcs.Query != nil { - objectMap["query"] = smcs.Query + if sscs.WriteBehavior != "" { + objectMap["writeBehavior"] = sscs.WriteBehavior } - if smcs.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = smcs.SourceRetryCount + if sscs.ExternalIDFieldName != nil { + objectMap["externalIdFieldName"] = sscs.ExternalIDFieldName } - if smcs.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = smcs.SourceRetryWait + if sscs.IgnoreNullValues != nil { + objectMap["ignoreNullValues"] = sscs.IgnoreNullValues } - if smcs.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = smcs.MaxConcurrentConnections + if sscs.WriteBatchSize != nil { + objectMap["writeBatchSize"] = sscs.WriteBatchSize } - if smcs.Type != "" { - objectMap["type"] = smcs.Type + if sscs.WriteBatchTimeout != nil { + objectMap["writeBatchTimeout"] = sscs.WriteBatchTimeout } - for k, v := range smcs.AdditionalProperties { + if sscs.SinkRetryCount != nil { + objectMap["sinkRetryCount"] = sscs.SinkRetryCount + } + if sscs.SinkRetryWait != nil { + objectMap["sinkRetryWait"] = sscs.SinkRetryWait + } + if sscs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = sscs.MaxConcurrentConnections + } + if sscs.Type != "" { + objectMap["type"] = sscs.Type + } + for k, v := range sscs.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { - return nil, false -} - -// AsGoogleAdWordsSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { - return nil, false -} - -// AsOracleServiceCloudSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { - return nil, false -} - -// AsDynamicsAXSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { - return nil, false -} - -// AsResponsysSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsResponsysSource() (*ResponsysSource, bool) { - return nil, false -} - -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { - return &smcs, true -} - -// AsVerticaSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsVerticaSource() (*VerticaSource, bool) { - return nil, false -} - -// AsNetezzaSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsNetezzaSource() (*NetezzaSource, bool) { - return nil, false -} - -// AsZohoSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsZohoSource() (*ZohoSource, bool) { - return nil, false -} - -// AsXeroSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsXeroSource() (*XeroSource, bool) { - return nil, false -} - -// AsSquareSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsSquareSource() (*SquareSource, bool) { - return nil, false -} - -// AsSparkSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsSparkSource() (*SparkSource, bool) { - return nil, false -} - -// AsShopifySource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsShopifySource() (*ShopifySource, bool) { - return nil, false -} - -// AsServiceNowSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsServiceNowSource() (*ServiceNowSource, bool) { - return nil, false -} - -// AsQuickBooksSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsQuickBooksSource() (*QuickBooksSource, bool) { - return nil, false -} - -// AsPrestoSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsPrestoSource() (*PrestoSource, bool) { - return nil, false -} - -// AsPhoenixSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsPhoenixSource() (*PhoenixSource, bool) { - return nil, false -} - -// AsPaypalSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsPaypalSource() (*PaypalSource, bool) { - return nil, false -} - -// AsMarketoSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsMarketoSource() (*MarketoSource, bool) { - return nil, false -} - -// AsMariaDBSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsMariaDBSource() (*MariaDBSource, bool) { - return nil, false -} - -// AsMagentoSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsMagentoSource() (*MagentoSource, bool) { - return nil, false -} - -// AsJiraSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsJiraSource() (*JiraSource, bool) { - return nil, false -} - -// AsImpalaSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsImpalaSource() (*ImpalaSource, bool) { - return nil, false -} - -// AsHubspotSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsHubspotSource() (*HubspotSource, bool) { - return nil, false -} - -// AsHiveSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsHiveSource() (*HiveSource, bool) { - return nil, false -} - -// AsHBaseSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsHBaseSource() (*HBaseSource, bool) { - return nil, false -} - -// AsGreenplumSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsGreenplumSource() (*GreenplumSource, bool) { - return nil, false -} - -// AsGoogleBigQuerySource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { - return nil, false -} - -// AsEloquaSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsEloquaSource() (*EloquaSource, bool) { - return nil, false -} - -// AsDrillSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsDrillSource() (*DrillSource, bool) { - return nil, false -} - -// AsCouchbaseSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsCouchbaseSource() (*CouchbaseSource, bool) { - return nil, false -} - -// AsConcurSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsConcurSource() (*ConcurSource, bool) { - return nil, false -} - -// AsAzurePostgreSQLSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { - return nil, false -} - -// AsAmazonMWSSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { - return nil, false -} - -// AsHTTPSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsHTTPSource() (*HTTPSource, bool) { +// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for SalesforceServiceCloudSink. +func (sscs SalesforceServiceCloudSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { - return nil, false -} - -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { - return nil, false -} - -// AsOffice365Source is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsOffice365Source() (*Office365Source, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { - return nil, false +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for SalesforceServiceCloudSink. +func (sscs SalesforceServiceCloudSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { + return &sscs, true } -// AsMongoDbV2Source is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsSalesforceSink is the BasicCopySink implementation for SalesforceServiceCloudSink. +func (sscs SalesforceServiceCloudSink) AsSalesforceSink() (*SalesforceSink, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsAzureDataExplorerSink is the BasicCopySink implementation for SalesforceServiceCloudSink. +func (sscs SalesforceServiceCloudSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsCassandraSource() (*CassandraSource, bool) { +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for SalesforceServiceCloudSink. +func (sscs SalesforceServiceCloudSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsWebSource() (*WebSource, bool) { +// AsDynamicsCrmSink is the BasicCopySink implementation for SalesforceServiceCloudSink. +func (sscs SalesforceServiceCloudSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsOracleSource() (*OracleSource, bool) { +// AsDynamicsSink is the BasicCopySink implementation for SalesforceServiceCloudSink. +func (sscs SalesforceServiceCloudSink) AsDynamicsSink() (*DynamicsSink, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsMicrosoftAccessSink is the BasicCopySink implementation for SalesforceServiceCloudSink. +func (sscs SalesforceServiceCloudSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsInformixSink is the BasicCopySink implementation for SalesforceServiceCloudSink. +func (sscs SalesforceServiceCloudSink) AsInformixSink() (*InformixSink, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsHdfsSource() (*HdfsSource, bool) { +// AsOdbcSink is the BasicCopySink implementation for SalesforceServiceCloudSink. +func (sscs SalesforceServiceCloudSink) AsOdbcSink() (*OdbcSink, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsAzureSearchIndexSink is the BasicCopySink implementation for SalesforceServiceCloudSink. +func (sscs SalesforceServiceCloudSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsAzureBlobFSSink is the BasicCopySink implementation for SalesforceServiceCloudSink. +func (sscs SalesforceServiceCloudSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for SalesforceServiceCloudSink. +func (sscs SalesforceServiceCloudSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsOracleSink is the BasicCopySink implementation for SalesforceServiceCloudSink. +func (sscs SalesforceServiceCloudSink) AsOracleSink() (*OracleSink, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsSQLSource() (*SQLSource, bool) { +// AsSQLDWSink is the BasicCopySink implementation for SalesforceServiceCloudSink. +func (sscs SalesforceServiceCloudSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsRestSource() (*RestSource, bool) { +// AsSQLMISink is the BasicCopySink implementation for SalesforceServiceCloudSink. +func (sscs SalesforceServiceCloudSink) AsSQLMISink() (*SQLMISink, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsSapTableSource() (*SapTableSource, bool) { +// AsAzureSQLSink is the BasicCopySink implementation for SalesforceServiceCloudSink. +func (sscs SalesforceServiceCloudSink) AsAzureSQLSink() (*AzureSQLSink, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsSQLServerSink is the BasicCopySink implementation for SalesforceServiceCloudSink. +func (sscs SalesforceServiceCloudSink) AsSQLServerSink() (*SQLServerSink, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsSQLSink is the BasicCopySink implementation for SalesforceServiceCloudSink. +func (sscs SalesforceServiceCloudSink) AsSQLSink() (*SQLSink, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsSapEccSource() (*SapEccSource, bool) { +// AsDocumentDbCollectionSink is the BasicCopySink implementation for SalesforceServiceCloudSink. +func (sscs SalesforceServiceCloudSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsFileSystemSink is the BasicCopySink implementation for SalesforceServiceCloudSink. +func (sscs SalesforceServiceCloudSink) AsFileSystemSink() (*FileSystemSink, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsBlobSink is the BasicCopySink implementation for SalesforceServiceCloudSink. +func (sscs SalesforceServiceCloudSink) AsBlobSink() (*BlobSink, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsRelationalSource() (*RelationalSource, bool) { +// AsBinarySink is the BasicCopySink implementation for SalesforceServiceCloudSink. +func (sscs SalesforceServiceCloudSink) AsBinarySink() (*BinarySink, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsParquetSink is the BasicCopySink implementation for SalesforceServiceCloudSink. +func (sscs SalesforceServiceCloudSink) AsParquetSink() (*ParquetSink, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsAzureTableSink is the BasicCopySink implementation for SalesforceServiceCloudSink. +func (sscs SalesforceServiceCloudSink) AsAzureTableSink() (*AzureTableSink, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsBlobSource() (*BlobSource, bool) { +// AsAzureQueueSink is the BasicCopySink implementation for SalesforceServiceCloudSink. +func (sscs SalesforceServiceCloudSink) AsAzureQueueSink() (*AzureQueueSink, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsSapCloudForCustomerSink is the BasicCopySink implementation for SalesforceServiceCloudSink. +func (sscs SalesforceServiceCloudSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsAzurePostgreSQLSink is the BasicCopySink implementation for SalesforceServiceCloudSink. +func (sscs SalesforceServiceCloudSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsParquetSource() (*ParquetSource, bool) { +// AsDelimitedTextSink is the BasicCopySink implementation for SalesforceServiceCloudSink. +func (sscs SalesforceServiceCloudSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsCopySource() (*CopySource, bool) { +// AsCopySink is the BasicCopySink implementation for SalesforceServiceCloudSink. +func (sscs SalesforceServiceCloudSink) AsCopySink() (*CopySink, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsBasicCopySource() (BasicCopySource, bool) { - return &smcs, true +// AsBasicCopySink is the BasicCopySink implementation for SalesforceServiceCloudSink. +func (sscs SalesforceServiceCloudSink) AsBasicCopySink() (BasicCopySink, bool) { + return &sscs, true } -// UnmarshalJSON is the custom unmarshaler for SalesforceMarketingCloudSource struct. -func (smcs *SalesforceMarketingCloudSource) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for SalesforceServiceCloudSink struct. +func (sscs *SalesforceServiceCloudSink) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -121367,14 +148733,32 @@ func (smcs *SalesforceMarketingCloudSource) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "query": + case "writeBehavior": if v != nil { - var query interface{} - err = json.Unmarshal(*v, &query) + var writeBehavior SalesforceSinkWriteBehavior + err = json.Unmarshal(*v, &writeBehavior) if err != nil { return err } - smcs.Query = query + sscs.WriteBehavior = writeBehavior + } + case "externalIdFieldName": + if v != nil { + var externalIDFieldName interface{} + err = json.Unmarshal(*v, &externalIDFieldName) + if err != nil { + return err + } + sscs.ExternalIDFieldName = externalIDFieldName + } + case "ignoreNullValues": + if v != nil { + var ignoreNullValues interface{} + err = json.Unmarshal(*v, &ignoreNullValues) + if err != nil { + return err + } + sscs.IgnoreNullValues = ignoreNullValues } default: if v != nil { @@ -121383,28 +148767,46 @@ func (smcs *SalesforceMarketingCloudSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - if smcs.AdditionalProperties == nil { - smcs.AdditionalProperties = make(map[string]interface{}) + if sscs.AdditionalProperties == nil { + sscs.AdditionalProperties = make(map[string]interface{}) } - smcs.AdditionalProperties[k] = additionalProperties + sscs.AdditionalProperties[k] = additionalProperties } - case "sourceRetryCount": + case "writeBatchSize": if v != nil { - var sourceRetryCount interface{} - err = json.Unmarshal(*v, &sourceRetryCount) + var writeBatchSize interface{} + err = json.Unmarshal(*v, &writeBatchSize) if err != nil { return err } - smcs.SourceRetryCount = sourceRetryCount + sscs.WriteBatchSize = writeBatchSize } - case "sourceRetryWait": + case "writeBatchTimeout": if v != nil { - var sourceRetryWait interface{} - err = json.Unmarshal(*v, &sourceRetryWait) + var writeBatchTimeout interface{} + err = json.Unmarshal(*v, &writeBatchTimeout) if err != nil { return err } - smcs.SourceRetryWait = sourceRetryWait + sscs.WriteBatchTimeout = writeBatchTimeout + } + case "sinkRetryCount": + if v != nil { + var sinkRetryCount interface{} + err = json.Unmarshal(*v, &sinkRetryCount) + if err != nil { + return err + } + sscs.SinkRetryCount = sinkRetryCount + } + case "sinkRetryWait": + if v != nil { + var sinkRetryWait interface{} + err = json.Unmarshal(*v, &sinkRetryWait) + if err != nil { + return err + } + sscs.SinkRetryWait = sinkRetryWait } case "maxConcurrentConnections": if v != nil { @@ -121413,16 +148815,16 @@ func (smcs *SalesforceMarketingCloudSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - smcs.MaxConcurrentConnections = maxConcurrentConnections + sscs.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicCopySource + var typeVar TypeBasicCopySink err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - smcs.Type = typeVar + sscs.Type = typeVar } } } @@ -121430,414 +148832,464 @@ func (smcs *SalesforceMarketingCloudSource) UnmarshalJSON(body []byte) error { return nil } -// SalesforceObjectDataset the Salesforce object dataset. -type SalesforceObjectDataset struct { - // SalesforceObjectDatasetTypeProperties - Salesforce object dataset properties. - *SalesforceObjectDatasetTypeProperties `json:"typeProperties,omitempty"` +// SalesforceServiceCloudSource a copy activity Salesforce Service Cloud source. +type SalesforceServiceCloudSource struct { + // Query - Database query. Type: string (or Expression with resultType string). + Query interface{} `json:"query,omitempty"` + // ReadBehavior - The read behavior for the operation. Default is Query. Possible values include: 'Query', 'QueryAll' + ReadBehavior SalesforceSourceReadBehavior `json:"readBehavior,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Description - Dataset description. - Description *string `json:"description,omitempty"` - // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. - Structure interface{} `json:"structure,omitempty"` - // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - Schema interface{} `json:"schema,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Parameters - Parameters for dataset. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the Dataset. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' - Type TypeBasicDataset `json:"type,omitempty"` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) MarshalJSON() ([]byte, error) { - sod.Type = TypeSalesforceObject +// MarshalJSON is the custom marshaler for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) MarshalJSON() ([]byte, error) { + sscs.Type = TypeSalesforceServiceCloudSource objectMap := make(map[string]interface{}) - if sod.SalesforceObjectDatasetTypeProperties != nil { - objectMap["typeProperties"] = sod.SalesforceObjectDatasetTypeProperties - } - if sod.Description != nil { - objectMap["description"] = sod.Description - } - if sod.Structure != nil { - objectMap["structure"] = sod.Structure + if sscs.Query != nil { + objectMap["query"] = sscs.Query } - if sod.Schema != nil { - objectMap["schema"] = sod.Schema - } - if sod.LinkedServiceName != nil { - objectMap["linkedServiceName"] = sod.LinkedServiceName + if sscs.ReadBehavior != "" { + objectMap["readBehavior"] = sscs.ReadBehavior } - if sod.Parameters != nil { - objectMap["parameters"] = sod.Parameters + if sscs.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = sscs.SourceRetryCount } - if sod.Annotations != nil { - objectMap["annotations"] = sod.Annotations + if sscs.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = sscs.SourceRetryWait } - if sod.Folder != nil { - objectMap["folder"] = sod.Folder + if sscs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = sscs.MaxConcurrentConnections } - if sod.Type != "" { - objectMap["type"] = sod.Type + if sscs.Type != "" { + objectMap["type"] = sscs.Type } - for k, v := range sod.AdditionalProperties { + for k, v := range sscs.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsResponsysSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsVerticaSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsNetezzaSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsZohoSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsXeroSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsSquareSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsSparkSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsShopifySource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsServiceNowSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsPrestoSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsPhoenixSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsPaypalSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsMarketoSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsMariaDBSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsMagentoSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsJiraSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsImpalaSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsHubspotSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsHiveSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsHBaseSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsGreenplumSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsEloquaSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsDrillSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsConcurSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsHTTPSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsOffice365Source is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsMongoDbSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsCassandraSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsWebSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsTeradataSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { - return &sod, true +// AsOracleSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsOracleSource() (*OracleSource, bool) { + return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsHdfsSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsFileSystemSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsSQLDWSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsSQLMISource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsSQLServerSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsSQLSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsRestSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsSapTableSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsSapHanaSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsSapEccSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return &sscs, true +} + +// AsSalesforceSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsODataSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsSybaseSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsMySQLSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsOdbcSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsDb2Source is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsDataset() (*Dataset, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsBasicDataset() (BasicDataset, bool) { - return &sod, true +// AsInformixSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsInformixSource() (*InformixSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for SalesforceObjectDataset struct. -func (sod *SalesforceObjectDataset) UnmarshalJSON(body []byte) error { +// AsRelationalSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + +// AsDynamicsSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + +// AsAzureTableSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsBinarySource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsDelimitedTextSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false +} + +// AsParquetSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsBasicCopySource() (BasicCopySource, bool) { + return &sscs, true +} + +// UnmarshalJSON is the custom unmarshaler for SalesforceServiceCloudSource struct. +func (sscs *SalesforceServiceCloudSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -121845,98 +149297,71 @@ func (sod *SalesforceObjectDataset) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": - if v != nil { - var salesforceObjectDatasetTypeProperties SalesforceObjectDatasetTypeProperties - err = json.Unmarshal(*v, &salesforceObjectDatasetTypeProperties) - if err != nil { - return err - } - sod.SalesforceObjectDatasetTypeProperties = &salesforceObjectDatasetTypeProperties - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if sod.AdditionalProperties == nil { - sod.AdditionalProperties = make(map[string]interface{}) - } - sod.AdditionalProperties[k] = additionalProperties - } - case "description": + case "query": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var query interface{} + err = json.Unmarshal(*v, &query) if err != nil { return err } - sod.Description = &description + sscs.Query = query } - case "structure": + case "readBehavior": if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) + var readBehavior SalesforceSourceReadBehavior + err = json.Unmarshal(*v, &readBehavior) if err != nil { return err } - sod.Structure = structure + sscs.ReadBehavior = readBehavior } - case "schema": + default: if v != nil { - var schema interface{} - err = json.Unmarshal(*v, &schema) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - sod.Schema = schema - } - case "linkedServiceName": - if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) - if err != nil { - return err + if sscs.AdditionalProperties == nil { + sscs.AdditionalProperties = make(map[string]interface{}) } - sod.LinkedServiceName = &linkedServiceName + sscs.AdditionalProperties[k] = additionalProperties } - case "parameters": + case "sourceRetryCount": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) if err != nil { return err } - sod.Parameters = parameters + sscs.SourceRetryCount = sourceRetryCount } - case "annotations": + case "sourceRetryWait": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) if err != nil { return err } - sod.Annotations = &annotations + sscs.SourceRetryWait = sourceRetryWait } - case "folder": + case "maxConcurrentConnections": if v != nil { - var folder DatasetFolder - err = json.Unmarshal(*v, &folder) + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) if err != nil { return err } - sod.Folder = &folder + sscs.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicDataset + var typeVar TypeBasicCopySource err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - sod.Type = typeVar + sscs.Type = typeVar } } } @@ -121944,12 +149369,6 @@ func (sod *SalesforceObjectDataset) UnmarshalJSON(body []byte) error { return nil } -// SalesforceObjectDatasetTypeProperties salesforce object dataset properties. -type SalesforceObjectDatasetTypeProperties struct { - // ObjectAPIName - The Salesforce object API name. Type: string (or Expression with resultType string). - ObjectAPIName interface{} `json:"objectApiName,omitempty"` -} - // SalesforceSink a copy activity Salesforce sink. type SalesforceSink struct { // WriteBehavior - The write behavior for the operation. Default is Insert. Possible values include: 'Insert', 'Upsert' @@ -121970,7 +149389,7 @@ type SalesforceSink struct { SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeDelimitedTextSink' + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -122016,6 +149435,11 @@ func (ss SalesforceSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bo return nil, false } +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for SalesforceSink. +func (ss SalesforceSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { + return nil, false +} + // AsSalesforceSink is the BasicCopySink implementation for SalesforceSink. func (ss SalesforceSink) AsSalesforceSink() (*SalesforceSink, bool) { return &ss, true @@ -122026,11 +149450,31 @@ func (ss SalesforceSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool return nil, false } +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for SalesforceSink. +func (ss SalesforceSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { + return nil, false +} + +// AsDynamicsCrmSink is the BasicCopySink implementation for SalesforceSink. +func (ss SalesforceSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { + return nil, false +} + // AsDynamicsSink is the BasicCopySink implementation for SalesforceSink. func (ss SalesforceSink) AsDynamicsSink() (*DynamicsSink, bool) { return nil, false } +// AsMicrosoftAccessSink is the BasicCopySink implementation for SalesforceSink. +func (ss SalesforceSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { + return nil, false +} + +// AsInformixSink is the BasicCopySink implementation for SalesforceSink. +func (ss SalesforceSink) AsInformixSink() (*InformixSink, bool) { + return nil, false +} + // AsOdbcSink is the BasicCopySink implementation for SalesforceSink. func (ss SalesforceSink) AsOdbcSink() (*OdbcSink, bool) { return nil, false @@ -122061,6 +149505,11 @@ func (ss SalesforceSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false } +// AsSQLMISink is the BasicCopySink implementation for SalesforceSink. +func (ss SalesforceSink) AsSQLMISink() (*SQLMISink, bool) { + return nil, false +} + // AsAzureSQLSink is the BasicCopySink implementation for SalesforceSink. func (ss SalesforceSink) AsAzureSQLSink() (*AzureSQLSink, bool) { return nil, false @@ -122091,6 +149540,11 @@ func (ss SalesforceSink) AsBlobSink() (*BlobSink, bool) { return nil, false } +// AsBinarySink is the BasicCopySink implementation for SalesforceSink. +func (ss SalesforceSink) AsBinarySink() (*BinarySink, bool) { + return nil, false +} + // AsParquetSink is the BasicCopySink implementation for SalesforceSink. func (ss SalesforceSink) AsParquetSink() (*ParquetSink, bool) { return nil, false @@ -122111,6 +149565,11 @@ func (ss SalesforceSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, return nil, false } +// AsAzurePostgreSQLSink is the BasicCopySink implementation for SalesforceSink. +func (ss SalesforceSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { + return nil, false +} + // AsDelimitedTextSink is the BasicCopySink implementation for SalesforceSink. func (ss SalesforceSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { return nil, false @@ -122248,7 +149707,7 @@ type SalesforceSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -122495,6 +149954,11 @@ func (ss SalesforceSource) AsWebSource() (*WebSource, bool) { return nil, false } +// AsTeradataSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + // AsOracleSource is the BasicCopySource implementation for SalesforceSource. func (ss SalesforceSource) AsOracleSource() (*OracleSource, bool) { return nil, false @@ -122525,6 +149989,11 @@ func (ss SalesforceSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } +// AsSQLMISource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsSQLMISource() (*SQLMISource, bool) { + return nil, false +} + // AsAzureSQLSource is the BasicCopySource implementation for SalesforceSource. func (ss SalesforceSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false @@ -122570,16 +150039,71 @@ func (ss SalesforceSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSo return nil, false } +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + // AsSalesforceSource is the BasicCopySource implementation for SalesforceSource. func (ss SalesforceSource) AsSalesforceSource() (*SalesforceSource, bool) { return &ss, true } +// AsODataSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsSybaseSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsSybaseSource() (*SybaseSource, bool) { + return nil, false +} + +// AsPostgreSQLSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false +} + +// AsMySQLSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false +} + +// AsOdbcSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false +} + +// AsDb2Source is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsDb2Source() (*Db2Source, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + // AsRelationalSource is the BasicCopySource implementation for SalesforceSource. func (ss SalesforceSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + // AsDynamicsSource is the BasicCopySource implementation for SalesforceSource. func (ss SalesforceSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false @@ -122600,6 +150124,11 @@ func (ss SalesforceSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } +// AsBinarySource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + // AsDelimitedTextSource is the BasicCopySource implementation for SalesforceSource. func (ss SalesforceSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false @@ -122715,7 +150244,7 @@ type SapBWLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -123007,6 +150536,11 @@ func (sbls SapBWLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudFo return nil, false } +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + // AsSalesforceLinkedService is the BasicLinkedService implementation for SapBWLinkedService. func (sbls SapBWLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false @@ -123062,6 +150596,16 @@ func (sbls SapBWLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) return nil, false } +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + // AsOdbcLinkedService is the BasicLinkedService implementation for SapBWLinkedService. func (sbls SapBWLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false @@ -123117,6 +150661,16 @@ func (sbls SapBWLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedServi return nil, false } +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + // AsDynamicsLinkedService is the BasicLinkedService implementation for SapBWLinkedService. func (sbls SapBWLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false @@ -123137,6 +150691,11 @@ func (sbls SapBWLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedSer return nil, false } +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + // AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SapBWLinkedService. func (sbls SapBWLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false @@ -123356,7 +150915,7 @@ type SapCloudForCustomerLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -123648,6 +151207,11 @@ func (scfcls SapCloudForCustomerLinkedService) AsSapCloudForCustomerLinkedServic return &scfcls, true } +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + // AsSalesforceLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. func (scfcls SapCloudForCustomerLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false @@ -123703,6 +151267,16 @@ func (scfcls SapCloudForCustomerLinkedService) AsHdfsLinkedService() (*HdfsLinke return nil, false } +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + // AsOdbcLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. func (scfcls SapCloudForCustomerLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false @@ -123758,6 +151332,16 @@ func (scfcls SapCloudForCustomerLinkedService) AsHDInsightLinkedService() (*HDIn return nil, false } +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + // AsDynamicsLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. func (scfcls SapCloudForCustomerLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false @@ -123778,6 +151362,11 @@ func (scfcls SapCloudForCustomerLinkedService) AsAzureBatchLinkedService() (*Azu return nil, false } +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + // AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. func (scfcls SapCloudForCustomerLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false @@ -123981,7 +151570,7 @@ type SapCloudForCustomerResourceDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -124242,11 +151831,41 @@ func (scfcrd SapCloudForCustomerResourceDataset) AsSapCloudForCustomerResourceDa return &scfcrd, true } +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { + return nil, false +} + // AsSalesforceObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. func (scfcrd SapCloudForCustomerResourceDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { + return nil, false +} + +// AsPostgreSQLTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { + return nil, false +} + +// AsMySQLTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { + return nil, false +} + +// AsOdbcTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { + return nil, false +} + +// AsInformixTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { + return nil, false +} + // AsRelationalTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. func (scfcrd SapCloudForCustomerResourceDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false @@ -124257,6 +151876,11 @@ func (scfcrd SapCloudForCustomerResourceDataset) AsAzureMySQLTableDataset() (*Az return nil, false } +// AsTeradataTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { + return nil, false +} + // AsOracleTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. func (scfcrd SapCloudForCustomerResourceDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false @@ -124302,6 +151926,16 @@ func (scfcrd SapCloudForCustomerResourceDataset) AsAzureDataLakeStoreDataset() ( return nil, false } +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { + return nil, false +} + +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { + return nil, false +} + // AsDynamicsEntityDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. func (scfcrd SapCloudForCustomerResourceDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false @@ -124327,6 +151961,11 @@ func (scfcrd SapCloudForCustomerResourceDataset) AsAzureSQLDWTableDataset() (*Az return nil, false } +// AsAzureSQLMITableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + // AsAzureSQLTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. func (scfcrd SapCloudForCustomerResourceDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false @@ -124342,6 +151981,11 @@ func (scfcrd SapCloudForCustomerResourceDataset) AsAzureBlobDataset() (*AzureBlo return nil, false } +// AsBinaryDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. func (scfcrd SapCloudForCustomerResourceDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -124498,7 +152142,7 @@ type SapCloudForCustomerSink struct { SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeDelimitedTextSink' + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -124538,6 +152182,11 @@ func (scfcs SapCloudForCustomerSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoD return nil, false } +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for SapCloudForCustomerSink. +func (scfcs SapCloudForCustomerSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { + return nil, false +} + // AsSalesforceSink is the BasicCopySink implementation for SapCloudForCustomerSink. func (scfcs SapCloudForCustomerSink) AsSalesforceSink() (*SalesforceSink, bool) { return nil, false @@ -124548,11 +152197,31 @@ func (scfcs SapCloudForCustomerSink) AsAzureDataExplorerSink() (*AzureDataExplor return nil, false } +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for SapCloudForCustomerSink. +func (scfcs SapCloudForCustomerSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { + return nil, false +} + +// AsDynamicsCrmSink is the BasicCopySink implementation for SapCloudForCustomerSink. +func (scfcs SapCloudForCustomerSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { + return nil, false +} + // AsDynamicsSink is the BasicCopySink implementation for SapCloudForCustomerSink. func (scfcs SapCloudForCustomerSink) AsDynamicsSink() (*DynamicsSink, bool) { return nil, false } +// AsMicrosoftAccessSink is the BasicCopySink implementation for SapCloudForCustomerSink. +func (scfcs SapCloudForCustomerSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { + return nil, false +} + +// AsInformixSink is the BasicCopySink implementation for SapCloudForCustomerSink. +func (scfcs SapCloudForCustomerSink) AsInformixSink() (*InformixSink, bool) { + return nil, false +} + // AsOdbcSink is the BasicCopySink implementation for SapCloudForCustomerSink. func (scfcs SapCloudForCustomerSink) AsOdbcSink() (*OdbcSink, bool) { return nil, false @@ -124583,6 +152252,11 @@ func (scfcs SapCloudForCustomerSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false } +// AsSQLMISink is the BasicCopySink implementation for SapCloudForCustomerSink. +func (scfcs SapCloudForCustomerSink) AsSQLMISink() (*SQLMISink, bool) { + return nil, false +} + // AsAzureSQLSink is the BasicCopySink implementation for SapCloudForCustomerSink. func (scfcs SapCloudForCustomerSink) AsAzureSQLSink() (*AzureSQLSink, bool) { return nil, false @@ -124613,6 +152287,11 @@ func (scfcs SapCloudForCustomerSink) AsBlobSink() (*BlobSink, bool) { return nil, false } +// AsBinarySink is the BasicCopySink implementation for SapCloudForCustomerSink. +func (scfcs SapCloudForCustomerSink) AsBinarySink() (*BinarySink, bool) { + return nil, false +} + // AsParquetSink is the BasicCopySink implementation for SapCloudForCustomerSink. func (scfcs SapCloudForCustomerSink) AsParquetSink() (*ParquetSink, bool) { return nil, false @@ -124633,6 +152312,11 @@ func (scfcs SapCloudForCustomerSink) AsSapCloudForCustomerSink() (*SapCloudForCu return &scfcs, true } +// AsAzurePostgreSQLSink is the BasicCopySink implementation for SapCloudForCustomerSink. +func (scfcs SapCloudForCustomerSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { + return nil, false +} + // AsDelimitedTextSink is the BasicCopySink implementation for SapCloudForCustomerSink. func (scfcs SapCloudForCustomerSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { return nil, false @@ -124750,7 +152434,7 @@ type SapCloudForCustomerSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -124994,6 +152678,11 @@ func (scfcs SapCloudForCustomerSource) AsWebSource() (*WebSource, bool) { return nil, false } +// AsTeradataSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + // AsOracleSource is the BasicCopySource implementation for SapCloudForCustomerSource. func (scfcs SapCloudForCustomerSource) AsOracleSource() (*OracleSource, bool) { return nil, false @@ -125024,6 +152713,11 @@ func (scfcs SapCloudForCustomerSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } +// AsSQLMISource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsSQLMISource() (*SQLMISource, bool) { + return nil, false +} + // AsAzureSQLSource is the BasicCopySource implementation for SapCloudForCustomerSource. func (scfcs SapCloudForCustomerSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false @@ -125069,16 +152763,71 @@ func (scfcs SapCloudForCustomerSource) AsSapCloudForCustomerSource() (*SapCloudF return &scfcs, true } +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + // AsSalesforceSource is the BasicCopySource implementation for SapCloudForCustomerSource. func (scfcs SapCloudForCustomerSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } +// AsODataSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsSybaseSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsSybaseSource() (*SybaseSource, bool) { + return nil, false +} + +// AsPostgreSQLSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false +} + +// AsMySQLSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false +} + +// AsOdbcSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false +} + +// AsDb2Source is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsDb2Source() (*Db2Source, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + // AsRelationalSource is the BasicCopySource implementation for SapCloudForCustomerSource. func (scfcs SapCloudForCustomerSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + // AsDynamicsSource is the BasicCopySource implementation for SapCloudForCustomerSource. func (scfcs SapCloudForCustomerSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false @@ -125099,6 +152848,11 @@ func (scfcs SapCloudForCustomerSource) AsAzureTableSource() (*AzureTableSource, return nil, false } +// AsBinarySource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + // AsDelimitedTextSource is the BasicCopySource implementation for SapCloudForCustomerSource. func (scfcs SapCloudForCustomerSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false @@ -125205,7 +152959,7 @@ type SapEccLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -125497,6 +153251,11 @@ func (sels SapEccLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudF return nil, false } +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + // AsSalesforceLinkedService is the BasicLinkedService implementation for SapEccLinkedService. func (sels SapEccLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false @@ -125552,6 +153311,16 @@ func (sels SapEccLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) return nil, false } +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + // AsOdbcLinkedService is the BasicLinkedService implementation for SapEccLinkedService. func (sels SapEccLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false @@ -125607,6 +153376,16 @@ func (sels SapEccLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedServ return nil, false } +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + // AsDynamicsLinkedService is the BasicLinkedService implementation for SapEccLinkedService. func (sels SapEccLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false @@ -125627,6 +153406,11 @@ func (sels SapEccLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedSe return nil, false } +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + // AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SapEccLinkedService. func (sels SapEccLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false @@ -125830,7 +153614,7 @@ type SapEccResourceDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -126091,11 +153875,41 @@ func (serd SapEccResourceDataset) AsSapCloudForCustomerResourceDataset() (*SapCl return nil, false } +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { + return nil, false +} + // AsSalesforceObjectDataset is the BasicDataset implementation for SapEccResourceDataset. func (serd SapEccResourceDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { + return nil, false +} + +// AsPostgreSQLTableDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { + return nil, false +} + +// AsMySQLTableDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { + return nil, false +} + +// AsOdbcTableDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { + return nil, false +} + +// AsInformixTableDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { + return nil, false +} + // AsRelationalTableDataset is the BasicDataset implementation for SapEccResourceDataset. func (serd SapEccResourceDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false @@ -126106,6 +153920,11 @@ func (serd SapEccResourceDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDa return nil, false } +// AsTeradataTableDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { + return nil, false +} + // AsOracleTableDataset is the BasicDataset implementation for SapEccResourceDataset. func (serd SapEccResourceDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false @@ -126151,6 +153970,16 @@ func (serd SapEccResourceDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeS return nil, false } +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { + return nil, false +} + +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { + return nil, false +} + // AsDynamicsEntityDataset is the BasicDataset implementation for SapEccResourceDataset. func (serd SapEccResourceDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false @@ -126176,6 +154005,11 @@ func (serd SapEccResourceDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDa return nil, false } +// AsAzureSQLMITableDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + // AsAzureSQLTableDataset is the BasicDataset implementation for SapEccResourceDataset. func (serd SapEccResourceDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false @@ -126191,6 +154025,11 @@ func (serd SapEccResourceDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) return nil, false } +// AsBinaryDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for SapEccResourceDataset. func (serd SapEccResourceDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -126342,7 +154181,7 @@ type SapEccSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -126586,6 +154425,11 @@ func (ses SapEccSource) AsWebSource() (*WebSource, bool) { return nil, false } +// AsTeradataSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + // AsOracleSource is the BasicCopySource implementation for SapEccSource. func (ses SapEccSource) AsOracleSource() (*OracleSource, bool) { return nil, false @@ -126616,6 +154460,11 @@ func (ses SapEccSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } +// AsSQLMISource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsSQLMISource() (*SQLMISource, bool) { + return nil, false +} + // AsAzureSQLSource is the BasicCopySource implementation for SapEccSource. func (ses SapEccSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false @@ -126661,16 +154510,71 @@ func (ses SapEccSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSourc return nil, false } +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + // AsSalesforceSource is the BasicCopySource implementation for SapEccSource. func (ses SapEccSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } +// AsODataSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsSybaseSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsSybaseSource() (*SybaseSource, bool) { + return nil, false +} + +// AsPostgreSQLSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false +} + +// AsMySQLSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false +} + +// AsOdbcSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false +} + +// AsDb2Source is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsDb2Source() (*Db2Source, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + // AsRelationalSource is the BasicCopySource implementation for SapEccSource. func (ses SapEccSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + // AsDynamicsSource is the BasicCopySource implementation for SapEccSource. func (ses SapEccSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false @@ -126691,6 +154595,11 @@ func (ses SapEccSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } +// AsBinarySource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + // AsDelimitedTextSource is the BasicCopySource implementation for SapEccSource. func (ses SapEccSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false @@ -126797,7 +154706,7 @@ type SapHanaLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -127089,6 +154998,11 @@ func (shls SapHanaLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloud return nil, false } +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + // AsSalesforceLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. func (shls SapHanaLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false @@ -127144,6 +155058,16 @@ func (shls SapHanaLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool return nil, false } +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + // AsOdbcLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. func (shls SapHanaLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false @@ -127199,6 +155123,16 @@ func (shls SapHanaLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedSer return nil, false } +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + // AsDynamicsLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. func (shls SapHanaLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false @@ -127219,6 +155153,11 @@ func (shls SapHanaLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedS return nil, false } +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + // AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. func (shls SapHanaLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false @@ -127438,7 +155377,7 @@ type SapHanaSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -127685,6 +155624,11 @@ func (shs SapHanaSource) AsWebSource() (*WebSource, bool) { return nil, false } +// AsTeradataSource is the BasicCopySource implementation for SapHanaSource. +func (shs SapHanaSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + // AsOracleSource is the BasicCopySource implementation for SapHanaSource. func (shs SapHanaSource) AsOracleSource() (*OracleSource, bool) { return nil, false @@ -127715,6 +155659,11 @@ func (shs SapHanaSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } +// AsSQLMISource is the BasicCopySource implementation for SapHanaSource. +func (shs SapHanaSource) AsSQLMISource() (*SQLMISource, bool) { + return nil, false +} + // AsAzureSQLSource is the BasicCopySource implementation for SapHanaSource. func (shs SapHanaSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false @@ -127760,16 +155709,71 @@ func (shs SapHanaSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSour return nil, false } +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SapHanaSource. +func (shs SapHanaSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + // AsSalesforceSource is the BasicCopySource implementation for SapHanaSource. func (shs SapHanaSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } +// AsODataSource is the BasicCopySource implementation for SapHanaSource. +func (shs SapHanaSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsSybaseSource is the BasicCopySource implementation for SapHanaSource. +func (shs SapHanaSource) AsSybaseSource() (*SybaseSource, bool) { + return nil, false +} + +// AsPostgreSQLSource is the BasicCopySource implementation for SapHanaSource. +func (shs SapHanaSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false +} + +// AsMySQLSource is the BasicCopySource implementation for SapHanaSource. +func (shs SapHanaSource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false +} + +// AsOdbcSource is the BasicCopySource implementation for SapHanaSource. +func (shs SapHanaSource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false +} + +// AsDb2Source is the BasicCopySource implementation for SapHanaSource. +func (shs SapHanaSource) AsDb2Source() (*Db2Source, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for SapHanaSource. +func (shs SapHanaSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for SapHanaSource. +func (shs SapHanaSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + // AsRelationalSource is the BasicCopySource implementation for SapHanaSource. func (shs SapHanaSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SapHanaSource. +func (shs SapHanaSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for SapHanaSource. +func (shs SapHanaSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + // AsDynamicsSource is the BasicCopySource implementation for SapHanaSource. func (shs SapHanaSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false @@ -127790,6 +155794,11 @@ func (shs SapHanaSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } +// AsBinarySource is the BasicCopySource implementation for SapHanaSource. +func (shs SapHanaSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + // AsDelimitedTextSource is the BasicCopySource implementation for SapHanaSource. func (shs SapHanaSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false @@ -127911,7 +155920,7 @@ type SapHanaTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -128172,11 +156181,41 @@ func (shtd SapHanaTableDataset) AsSapCloudForCustomerResourceDataset() (*SapClou return nil, false } +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for SapHanaTableDataset. +func (shtd SapHanaTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { + return nil, false +} + // AsSalesforceObjectDataset is the BasicDataset implementation for SapHanaTableDataset. func (shtd SapHanaTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for SapHanaTableDataset. +func (shtd SapHanaTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { + return nil, false +} + +// AsPostgreSQLTableDataset is the BasicDataset implementation for SapHanaTableDataset. +func (shtd SapHanaTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { + return nil, false +} + +// AsMySQLTableDataset is the BasicDataset implementation for SapHanaTableDataset. +func (shtd SapHanaTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { + return nil, false +} + +// AsOdbcTableDataset is the BasicDataset implementation for SapHanaTableDataset. +func (shtd SapHanaTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { + return nil, false +} + +// AsInformixTableDataset is the BasicDataset implementation for SapHanaTableDataset. +func (shtd SapHanaTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { + return nil, false +} + // AsRelationalTableDataset is the BasicDataset implementation for SapHanaTableDataset. func (shtd SapHanaTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false @@ -128187,6 +156226,11 @@ func (shtd SapHanaTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableData return nil, false } +// AsTeradataTableDataset is the BasicDataset implementation for SapHanaTableDataset. +func (shtd SapHanaTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { + return nil, false +} + // AsOracleTableDataset is the BasicDataset implementation for SapHanaTableDataset. func (shtd SapHanaTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false @@ -128232,6 +156276,16 @@ func (shtd SapHanaTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeSto return nil, false } +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for SapHanaTableDataset. +func (shtd SapHanaTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { + return nil, false +} + +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for SapHanaTableDataset. +func (shtd SapHanaTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { + return nil, false +} + // AsDynamicsEntityDataset is the BasicDataset implementation for SapHanaTableDataset. func (shtd SapHanaTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false @@ -128257,6 +156311,11 @@ func (shtd SapHanaTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableData return nil, false } +// AsAzureSQLMITableDataset is the BasicDataset implementation for SapHanaTableDataset. +func (shtd SapHanaTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + // AsAzureSQLTableDataset is the BasicDataset implementation for SapHanaTableDataset. func (shtd SapHanaTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false @@ -128272,6 +156331,11 @@ func (shtd SapHanaTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } +// AsBinaryDataset is the BasicDataset implementation for SapHanaTableDataset. +func (shtd SapHanaTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for SapHanaTableDataset. func (shtd SapHanaTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -128427,7 +156491,7 @@ type SapOpenHubLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -128719,6 +156783,11 @@ func (sohls SapOpenHubLinkedService) AsSapCloudForCustomerLinkedService() (*SapC return nil, false } +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for SapOpenHubLinkedService. +func (sohls SapOpenHubLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + // AsSalesforceLinkedService is the BasicLinkedService implementation for SapOpenHubLinkedService. func (sohls SapOpenHubLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false @@ -128774,6 +156843,16 @@ func (sohls SapOpenHubLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, return nil, false } +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for SapOpenHubLinkedService. +func (sohls SapOpenHubLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for SapOpenHubLinkedService. +func (sohls SapOpenHubLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + // AsOdbcLinkedService is the BasicLinkedService implementation for SapOpenHubLinkedService. func (sohls SapOpenHubLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false @@ -128829,6 +156908,16 @@ func (sohls SapOpenHubLinkedService) AsHDInsightLinkedService() (*HDInsightLinke return nil, false } +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for SapOpenHubLinkedService. +func (sohls SapOpenHubLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for SapOpenHubLinkedService. +func (sohls SapOpenHubLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + // AsDynamicsLinkedService is the BasicLinkedService implementation for SapOpenHubLinkedService. func (sohls SapOpenHubLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false @@ -128849,6 +156938,11 @@ func (sohls SapOpenHubLinkedService) AsAzureBatchLinkedService() (*AzureBatchLin return nil, false } +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for SapOpenHubLinkedService. +func (sohls SapOpenHubLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + // AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SapOpenHubLinkedService. func (sohls SapOpenHubLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false @@ -129076,7 +157170,7 @@ type SapOpenHubSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -129317,6 +157411,11 @@ func (sohs SapOpenHubSource) AsWebSource() (*WebSource, bool) { return nil, false } +// AsTeradataSource is the BasicCopySource implementation for SapOpenHubSource. +func (sohs SapOpenHubSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + // AsOracleSource is the BasicCopySource implementation for SapOpenHubSource. func (sohs SapOpenHubSource) AsOracleSource() (*OracleSource, bool) { return nil, false @@ -129347,6 +157446,11 @@ func (sohs SapOpenHubSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } +// AsSQLMISource is the BasicCopySource implementation for SapOpenHubSource. +func (sohs SapOpenHubSource) AsSQLMISource() (*SQLMISource, bool) { + return nil, false +} + // AsAzureSQLSource is the BasicCopySource implementation for SapOpenHubSource. func (sohs SapOpenHubSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false @@ -129392,16 +157496,71 @@ func (sohs SapOpenHubSource) AsSapCloudForCustomerSource() (*SapCloudForCustomer return nil, false } +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SapOpenHubSource. +func (sohs SapOpenHubSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + // AsSalesforceSource is the BasicCopySource implementation for SapOpenHubSource. func (sohs SapOpenHubSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } +// AsODataSource is the BasicCopySource implementation for SapOpenHubSource. +func (sohs SapOpenHubSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsSybaseSource is the BasicCopySource implementation for SapOpenHubSource. +func (sohs SapOpenHubSource) AsSybaseSource() (*SybaseSource, bool) { + return nil, false +} + +// AsPostgreSQLSource is the BasicCopySource implementation for SapOpenHubSource. +func (sohs SapOpenHubSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false +} + +// AsMySQLSource is the BasicCopySource implementation for SapOpenHubSource. +func (sohs SapOpenHubSource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false +} + +// AsOdbcSource is the BasicCopySource implementation for SapOpenHubSource. +func (sohs SapOpenHubSource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false +} + +// AsDb2Source is the BasicCopySource implementation for SapOpenHubSource. +func (sohs SapOpenHubSource) AsDb2Source() (*Db2Source, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for SapOpenHubSource. +func (sohs SapOpenHubSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for SapOpenHubSource. +func (sohs SapOpenHubSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + // AsRelationalSource is the BasicCopySource implementation for SapOpenHubSource. func (sohs SapOpenHubSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SapOpenHubSource. +func (sohs SapOpenHubSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for SapOpenHubSource. +func (sohs SapOpenHubSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + // AsDynamicsSource is the BasicCopySource implementation for SapOpenHubSource. func (sohs SapOpenHubSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false @@ -129422,6 +157581,11 @@ func (sohs SapOpenHubSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } +// AsBinarySource is the BasicCopySource implementation for SapOpenHubSource. +func (sohs SapOpenHubSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + // AsDelimitedTextSource is the BasicCopySource implementation for SapOpenHubSource. func (sohs SapOpenHubSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false @@ -129525,7 +157689,7 @@ type SapOpenHubTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -129786,11 +157950,41 @@ func (sohtd SapOpenHubTableDataset) AsSapCloudForCustomerResourceDataset() (*Sap return nil, false } +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for SapOpenHubTableDataset. +func (sohtd SapOpenHubTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { + return nil, false +} + // AsSalesforceObjectDataset is the BasicDataset implementation for SapOpenHubTableDataset. func (sohtd SapOpenHubTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for SapOpenHubTableDataset. +func (sohtd SapOpenHubTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { + return nil, false +} + +// AsPostgreSQLTableDataset is the BasicDataset implementation for SapOpenHubTableDataset. +func (sohtd SapOpenHubTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { + return nil, false +} + +// AsMySQLTableDataset is the BasicDataset implementation for SapOpenHubTableDataset. +func (sohtd SapOpenHubTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { + return nil, false +} + +// AsOdbcTableDataset is the BasicDataset implementation for SapOpenHubTableDataset. +func (sohtd SapOpenHubTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { + return nil, false +} + +// AsInformixTableDataset is the BasicDataset implementation for SapOpenHubTableDataset. +func (sohtd SapOpenHubTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { + return nil, false +} + // AsRelationalTableDataset is the BasicDataset implementation for SapOpenHubTableDataset. func (sohtd SapOpenHubTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false @@ -129801,6 +157995,11 @@ func (sohtd SapOpenHubTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTable return nil, false } +// AsTeradataTableDataset is the BasicDataset implementation for SapOpenHubTableDataset. +func (sohtd SapOpenHubTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { + return nil, false +} + // AsOracleTableDataset is the BasicDataset implementation for SapOpenHubTableDataset. func (sohtd SapOpenHubTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false @@ -129846,6 +158045,16 @@ func (sohtd SapOpenHubTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLak return nil, false } +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for SapOpenHubTableDataset. +func (sohtd SapOpenHubTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { + return nil, false +} + +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for SapOpenHubTableDataset. +func (sohtd SapOpenHubTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { + return nil, false +} + // AsDynamicsEntityDataset is the BasicDataset implementation for SapOpenHubTableDataset. func (sohtd SapOpenHubTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false @@ -129871,6 +158080,11 @@ func (sohtd SapOpenHubTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTable return nil, false } +// AsAzureSQLMITableDataset is the BasicDataset implementation for SapOpenHubTableDataset. +func (sohtd SapOpenHubTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + // AsAzureSQLTableDataset is the BasicDataset implementation for SapOpenHubTableDataset. func (sohtd SapOpenHubTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false @@ -129886,6 +158100,11 @@ func (sohtd SapOpenHubTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, boo return nil, false } +// AsBinaryDataset is the BasicDataset implementation for SapOpenHubTableDataset. +func (sohtd SapOpenHubTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for SapOpenHubTableDataset. func (sohtd SapOpenHubTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -130043,7 +158262,7 @@ type SapTableLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -130335,6 +158554,11 @@ func (stls SapTableLinkedService) AsSapCloudForCustomerLinkedService() (*SapClou return nil, false } +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for SapTableLinkedService. +func (stls SapTableLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + // AsSalesforceLinkedService is the BasicLinkedService implementation for SapTableLinkedService. func (stls SapTableLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false @@ -130390,6 +158614,16 @@ func (stls SapTableLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, boo return nil, false } +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for SapTableLinkedService. +func (stls SapTableLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for SapTableLinkedService. +func (stls SapTableLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + // AsOdbcLinkedService is the BasicLinkedService implementation for SapTableLinkedService. func (stls SapTableLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false @@ -130445,6 +158679,16 @@ func (stls SapTableLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedSe return nil, false } +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for SapTableLinkedService. +func (stls SapTableLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for SapTableLinkedService. +func (stls SapTableLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + // AsDynamicsLinkedService is the BasicLinkedService implementation for SapTableLinkedService. func (stls SapTableLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false @@ -130465,6 +158709,11 @@ func (stls SapTableLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinked return nil, false } +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for SapTableLinkedService. +func (stls SapTableLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + // AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SapTableLinkedService. func (stls SapTableLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false @@ -130780,6 +159029,18 @@ func (stlstp *SapTableLinkedServiceTypeProperties) UnmarshalJSON(body []byte) er return nil } +// SapTablePartitionSettings the settings that will be leveraged for SAP table source partitioning. +type SapTablePartitionSettings struct { + // PartitionColumnName - The name of the column that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). + PartitionColumnName interface{} `json:"partitionColumnName,omitempty"` + // PartitionUpperBound - The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). + PartitionUpperBound interface{} `json:"partitionUpperBound,omitempty"` + // PartitionLowerBound - The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). + PartitionLowerBound interface{} `json:"partitionLowerBound,omitempty"` + // MaxPartitionsNumber - The maximum value of partitions the table will be split into. Type: integer (or Expression with resultType string). + MaxPartitionsNumber interface{} `json:"maxPartitionsNumber,omitempty"` +} + // SapTableResourceDataset SAP Table Resource properties. type SapTableResourceDataset struct { // SapTableResourceDatasetTypeProperties - SAP Table Resource properties. @@ -130800,7 +159061,7 @@ type SapTableResourceDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -131061,11 +159322,41 @@ func (strd SapTableResourceDataset) AsSapCloudForCustomerResourceDataset() (*Sap return nil, false } +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for SapTableResourceDataset. +func (strd SapTableResourceDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { + return nil, false +} + // AsSalesforceObjectDataset is the BasicDataset implementation for SapTableResourceDataset. func (strd SapTableResourceDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for SapTableResourceDataset. +func (strd SapTableResourceDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { + return nil, false +} + +// AsPostgreSQLTableDataset is the BasicDataset implementation for SapTableResourceDataset. +func (strd SapTableResourceDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { + return nil, false +} + +// AsMySQLTableDataset is the BasicDataset implementation for SapTableResourceDataset. +func (strd SapTableResourceDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { + return nil, false +} + +// AsOdbcTableDataset is the BasicDataset implementation for SapTableResourceDataset. +func (strd SapTableResourceDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { + return nil, false +} + +// AsInformixTableDataset is the BasicDataset implementation for SapTableResourceDataset. +func (strd SapTableResourceDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { + return nil, false +} + // AsRelationalTableDataset is the BasicDataset implementation for SapTableResourceDataset. func (strd SapTableResourceDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false @@ -131076,6 +159367,11 @@ func (strd SapTableResourceDataset) AsAzureMySQLTableDataset() (*AzureMySQLTable return nil, false } +// AsTeradataTableDataset is the BasicDataset implementation for SapTableResourceDataset. +func (strd SapTableResourceDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { + return nil, false +} + // AsOracleTableDataset is the BasicDataset implementation for SapTableResourceDataset. func (strd SapTableResourceDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false @@ -131121,6 +159417,16 @@ func (strd SapTableResourceDataset) AsAzureDataLakeStoreDataset() (*AzureDataLak return nil, false } +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for SapTableResourceDataset. +func (strd SapTableResourceDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { + return nil, false +} + +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for SapTableResourceDataset. +func (strd SapTableResourceDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { + return nil, false +} + // AsDynamicsEntityDataset is the BasicDataset implementation for SapTableResourceDataset. func (strd SapTableResourceDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false @@ -131146,6 +159452,11 @@ func (strd SapTableResourceDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTable return nil, false } +// AsAzureSQLMITableDataset is the BasicDataset implementation for SapTableResourceDataset. +func (strd SapTableResourceDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + // AsAzureSQLTableDataset is the BasicDataset implementation for SapTableResourceDataset. func (strd SapTableResourceDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false @@ -131161,6 +159472,11 @@ func (strd SapTableResourceDataset) AsAzureBlobDataset() (*AzureBlobDataset, boo return nil, false } +// AsBinaryDataset is the BasicDataset implementation for SapTableResourceDataset. +func (strd SapTableResourceDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for SapTableResourceDataset. func (strd SapTableResourceDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -131314,6 +159630,10 @@ type SapTableSource struct { BatchSize interface{} `json:"batchSize,omitempty"` // CustomRfcReadTableFunctionModule - Specifies the custom RFC function module that will be used to read data from SAP Table. Type: string (or Expression with resultType string). CustomRfcReadTableFunctionModule interface{} `json:"customRfcReadTableFunctionModule,omitempty"` + // PartitionOption - The partition mechanism that will be used for SAP table read in parallel. Possible values include: 'SapTablePartitionOptionNone', 'SapTablePartitionOptionPartitionOnInt', 'SapTablePartitionOptionPartitionOnCalendarYear', 'SapTablePartitionOptionPartitionOnCalendarMonth', 'SapTablePartitionOptionPartitionOnCalendarDate', 'SapTablePartitionOptionPartitionOnTime' + PartitionOption SapTablePartitionOption `json:"partitionOption,omitempty"` + // PartitionSettings - The settings that will be leveraged for SAP table source partitioning. + PartitionSettings *SapTablePartitionSettings `json:"partitionSettings,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -131322,7 +159642,7 @@ type SapTableSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -131348,6 +159668,12 @@ func (sts SapTableSource) MarshalJSON() ([]byte, error) { if sts.CustomRfcReadTableFunctionModule != nil { objectMap["customRfcReadTableFunctionModule"] = sts.CustomRfcReadTableFunctionModule } + if sts.PartitionOption != "" { + objectMap["partitionOption"] = sts.PartitionOption + } + if sts.PartitionSettings != nil { + objectMap["partitionSettings"] = sts.PartitionSettings + } if sts.SourceRetryCount != nil { objectMap["sourceRetryCount"] = sts.SourceRetryCount } @@ -131581,6 +159907,11 @@ func (sts SapTableSource) AsWebSource() (*WebSource, bool) { return nil, false } +// AsTeradataSource is the BasicCopySource implementation for SapTableSource. +func (sts SapTableSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + // AsOracleSource is the BasicCopySource implementation for SapTableSource. func (sts SapTableSource) AsOracleSource() (*OracleSource, bool) { return nil, false @@ -131611,6 +159942,11 @@ func (sts SapTableSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } +// AsSQLMISource is the BasicCopySource implementation for SapTableSource. +func (sts SapTableSource) AsSQLMISource() (*SQLMISource, bool) { + return nil, false +} + // AsAzureSQLSource is the BasicCopySource implementation for SapTableSource. func (sts SapTableSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false @@ -131656,16 +159992,71 @@ func (sts SapTableSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSou return nil, false } +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SapTableSource. +func (sts SapTableSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + // AsSalesforceSource is the BasicCopySource implementation for SapTableSource. func (sts SapTableSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } +// AsODataSource is the BasicCopySource implementation for SapTableSource. +func (sts SapTableSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsSybaseSource is the BasicCopySource implementation for SapTableSource. +func (sts SapTableSource) AsSybaseSource() (*SybaseSource, bool) { + return nil, false +} + +// AsPostgreSQLSource is the BasicCopySource implementation for SapTableSource. +func (sts SapTableSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false +} + +// AsMySQLSource is the BasicCopySource implementation for SapTableSource. +func (sts SapTableSource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false +} + +// AsOdbcSource is the BasicCopySource implementation for SapTableSource. +func (sts SapTableSource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false +} + +// AsDb2Source is the BasicCopySource implementation for SapTableSource. +func (sts SapTableSource) AsDb2Source() (*Db2Source, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for SapTableSource. +func (sts SapTableSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for SapTableSource. +func (sts SapTableSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + // AsRelationalSource is the BasicCopySource implementation for SapTableSource. func (sts SapTableSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SapTableSource. +func (sts SapTableSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for SapTableSource. +func (sts SapTableSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + // AsDynamicsSource is the BasicCopySource implementation for SapTableSource. func (sts SapTableSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false @@ -131686,6 +160077,11 @@ func (sts SapTableSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } +// AsBinarySource is the BasicCopySource implementation for SapTableSource. +func (sts SapTableSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + // AsDelimitedTextSource is the BasicCopySource implementation for SapTableSource. func (sts SapTableSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false @@ -131769,6 +160165,24 @@ func (sts *SapTableSource) UnmarshalJSON(body []byte) error { } sts.CustomRfcReadTableFunctionModule = customRfcReadTableFunctionModule } + case "partitionOption": + if v != nil { + var partitionOption SapTablePartitionOption + err = json.Unmarshal(*v, &partitionOption) + if err != nil { + return err + } + sts.PartitionOption = partitionOption + } + case "partitionSettings": + if v != nil { + var partitionSettings SapTablePartitionSettings + err = json.Unmarshal(*v, &partitionSettings) + if err != nil { + return err + } + sts.PartitionSettings = &partitionSettings + } default: if v != nil { var additionalProperties interface{} @@ -131833,7 +160247,7 @@ type ScheduleTrigger struct { AdditionalProperties map[string]interface{} `json:""` // Description - Trigger description. Description *string `json:"description,omitempty"` - // RuntimeState - READ-ONLY; Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: 'TriggerRuntimeStateStarted', 'TriggerRuntimeStateStopped', 'TriggerRuntimeStateDisabled' + // RuntimeState - READ-ONLY; Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: 'Started', 'Stopped', 'Disabled' RuntimeState TriggerRuntimeState `json:"runtimeState,omitempty"` // Annotations - List of tags that can be used for describing the trigger. Annotations *[]interface{} `json:"annotations,omitempty"` @@ -132478,7 +160892,7 @@ type SelfHostedIntegrationRuntimeStatus struct { AdditionalProperties map[string]interface{} `json:""` // DataFactoryName - READ-ONLY; The data factory name which the integration runtime belong to. DataFactoryName *string `json:"dataFactoryName,omitempty"` - // State - READ-ONLY; The state of integration runtime. Possible values include: 'Initial', 'Stopped', 'Started', 'Starting', 'Stopping', 'NeedRegistration', 'Online', 'Limited', 'Offline', 'AccessDenied' + // State - READ-ONLY; The state of integration runtime. Possible values include: 'IntegrationRuntimeStateInitial', 'IntegrationRuntimeStateStopped', 'IntegrationRuntimeStateStarted', 'IntegrationRuntimeStateStarting', 'IntegrationRuntimeStateStopping', 'IntegrationRuntimeStateNeedRegistration', 'IntegrationRuntimeStateOnline', 'IntegrationRuntimeStateLimited', 'IntegrationRuntimeStateOffline', 'IntegrationRuntimeStateAccessDenied' State IntegrationRuntimeState `json:"state,omitempty"` // Type - Possible values include: 'TypeBasicIntegrationRuntimeStatusTypeIntegrationRuntimeStatus', 'TypeBasicIntegrationRuntimeStatusTypeSelfHosted', 'TypeBasicIntegrationRuntimeStatusTypeManaged' Type TypeBasicIntegrationRuntimeStatus `json:"type,omitempty"` @@ -132673,7 +161087,7 @@ type ServiceNowLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -132965,6 +161379,11 @@ func (snls ServiceNowLinkedService) AsSapCloudForCustomerLinkedService() (*SapCl return nil, false } +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + // AsSalesforceLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. func (snls ServiceNowLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false @@ -133020,6 +161439,16 @@ func (snls ServiceNowLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, b return nil, false } +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + // AsOdbcLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. func (snls ServiceNowLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false @@ -133075,6 +161504,16 @@ func (snls ServiceNowLinkedService) AsHDInsightLinkedService() (*HDInsightLinked return nil, false } +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + // AsDynamicsLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. func (snls ServiceNowLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false @@ -133095,6 +161534,11 @@ func (snls ServiceNowLinkedService) AsAzureBatchLinkedService() (*AzureBatchLink return nil, false } +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + // AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. func (snls ServiceNowLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false @@ -133363,7 +161807,7 @@ type ServiceNowObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -133624,11 +162068,41 @@ func (snod ServiceNowObjectDataset) AsSapCloudForCustomerResourceDataset() (*Sap return nil, false } +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { + return nil, false +} + // AsSalesforceObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset. func (snod ServiceNowObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { + return nil, false +} + +// AsPostgreSQLTableDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { + return nil, false +} + +// AsMySQLTableDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { + return nil, false +} + +// AsOdbcTableDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { + return nil, false +} + +// AsInformixTableDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { + return nil, false +} + // AsRelationalTableDataset is the BasicDataset implementation for ServiceNowObjectDataset. func (snod ServiceNowObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false @@ -133639,6 +162113,11 @@ func (snod ServiceNowObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTable return nil, false } +// AsTeradataTableDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { + return nil, false +} + // AsOracleTableDataset is the BasicDataset implementation for ServiceNowObjectDataset. func (snod ServiceNowObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false @@ -133684,6 +162163,16 @@ func (snod ServiceNowObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLak return nil, false } +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { + return nil, false +} + +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { + return nil, false +} + // AsDynamicsEntityDataset is the BasicDataset implementation for ServiceNowObjectDataset. func (snod ServiceNowObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false @@ -133709,6 +162198,11 @@ func (snod ServiceNowObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTable return nil, false } +// AsAzureSQLMITableDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + // AsAzureSQLTableDataset is the BasicDataset implementation for ServiceNowObjectDataset. func (snod ServiceNowObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false @@ -133724,6 +162218,11 @@ func (snod ServiceNowObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, boo return nil, false } +// AsBinaryDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for ServiceNowObjectDataset. func (snod ServiceNowObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -133869,7 +162368,7 @@ type ServiceNowSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -134113,6 +162612,11 @@ func (sns ServiceNowSource) AsWebSource() (*WebSource, bool) { return nil, false } +// AsTeradataSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + // AsOracleSource is the BasicCopySource implementation for ServiceNowSource. func (sns ServiceNowSource) AsOracleSource() (*OracleSource, bool) { return nil, false @@ -134143,6 +162647,11 @@ func (sns ServiceNowSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } +// AsSQLMISource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsSQLMISource() (*SQLMISource, bool) { + return nil, false +} + // AsAzureSQLSource is the BasicCopySource implementation for ServiceNowSource. func (sns ServiceNowSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false @@ -134188,16 +162697,71 @@ func (sns ServiceNowSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerS return nil, false } +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + // AsSalesforceSource is the BasicCopySource implementation for ServiceNowSource. func (sns ServiceNowSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } +// AsODataSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsSybaseSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsSybaseSource() (*SybaseSource, bool) { + return nil, false +} + +// AsPostgreSQLSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false +} + +// AsMySQLSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false +} + +// AsOdbcSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false +} + +// AsDb2Source is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsDb2Source() (*Db2Source, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + // AsRelationalSource is the BasicCopySource implementation for ServiceNowSource. func (sns ServiceNowSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + // AsDynamicsSource is the BasicCopySource implementation for ServiceNowSource. func (sns ServiceNowSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false @@ -134218,6 +162782,11 @@ func (sns ServiceNowSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } +// AsBinarySource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + // AsDelimitedTextSource is the BasicCopySource implementation for ServiceNowSource. func (sns ServiceNowSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false @@ -134863,7 +163432,7 @@ type SftpServerLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -135155,6 +163724,11 @@ func (ssls SftpServerLinkedService) AsSapCloudForCustomerLinkedService() (*SapCl return nil, false } +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + // AsSalesforceLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. func (ssls SftpServerLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false @@ -135210,6 +163784,16 @@ func (ssls SftpServerLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, b return nil, false } +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + // AsOdbcLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. func (ssls SftpServerLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false @@ -135265,6 +163849,16 @@ func (ssls SftpServerLinkedService) AsHDInsightLinkedService() (*HDInsightLinked return nil, false } +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + // AsDynamicsLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. func (ssls SftpServerLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false @@ -135285,6 +163879,11 @@ func (ssls SftpServerLinkedService) AsAzureBatchLinkedService() (*AzureBatchLink return nil, false } +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + // AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. func (ssls SftpServerLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false @@ -135557,7 +164156,7 @@ type ShopifyLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -135849,6 +164448,11 @@ func (sls ShopifyLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudF return nil, false } +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + // AsSalesforceLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. func (sls ShopifyLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false @@ -135904,6 +164508,16 @@ func (sls ShopifyLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) return nil, false } +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + // AsOdbcLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. func (sls ShopifyLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false @@ -135959,6 +164573,16 @@ func (sls ShopifyLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedServ return nil, false } +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + // AsDynamicsLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. func (sls ShopifyLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false @@ -135979,6 +164603,11 @@ func (sls ShopifyLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedSe return nil, false } +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + // AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. func (sls ShopifyLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false @@ -136204,7 +164833,7 @@ type ShopifyObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -136465,11 +165094,41 @@ func (sod ShopifyObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapClou return nil, false } +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { + return nil, false +} + // AsSalesforceObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. func (sod ShopifyObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { + return nil, false +} + +// AsPostgreSQLTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { + return nil, false +} + +// AsMySQLTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { + return nil, false +} + +// AsOdbcTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { + return nil, false +} + +// AsInformixTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { + return nil, false +} + // AsRelationalTableDataset is the BasicDataset implementation for ShopifyObjectDataset. func (sod ShopifyObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false @@ -136480,6 +165139,11 @@ func (sod ShopifyObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableData return nil, false } +// AsTeradataTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { + return nil, false +} + // AsOracleTableDataset is the BasicDataset implementation for ShopifyObjectDataset. func (sod ShopifyObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false @@ -136525,6 +165189,16 @@ func (sod ShopifyObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeSto return nil, false } +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { + return nil, false +} + +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { + return nil, false +} + // AsDynamicsEntityDataset is the BasicDataset implementation for ShopifyObjectDataset. func (sod ShopifyObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false @@ -136550,6 +165224,11 @@ func (sod ShopifyObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableData return nil, false } +// AsAzureSQLMITableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + // AsAzureSQLTableDataset is the BasicDataset implementation for ShopifyObjectDataset. func (sod ShopifyObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false @@ -136565,6 +165244,11 @@ func (sod ShopifyObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } +// AsBinaryDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for ShopifyObjectDataset. func (sod ShopifyObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -136710,7 +165394,7 @@ type ShopifySource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -136954,6 +165638,11 @@ func (ss ShopifySource) AsWebSource() (*WebSource, bool) { return nil, false } +// AsTeradataSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + // AsOracleSource is the BasicCopySource implementation for ShopifySource. func (ss ShopifySource) AsOracleSource() (*OracleSource, bool) { return nil, false @@ -136984,6 +165673,11 @@ func (ss ShopifySource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } +// AsSQLMISource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsSQLMISource() (*SQLMISource, bool) { + return nil, false +} + // AsAzureSQLSource is the BasicCopySource implementation for ShopifySource. func (ss ShopifySource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false @@ -137029,16 +165723,71 @@ func (ss ShopifySource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSourc return nil, false } +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + // AsSalesforceSource is the BasicCopySource implementation for ShopifySource. func (ss ShopifySource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } +// AsODataSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsSybaseSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsSybaseSource() (*SybaseSource, bool) { + return nil, false +} + +// AsPostgreSQLSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false +} + +// AsMySQLSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false +} + +// AsOdbcSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false +} + +// AsDb2Source is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsDb2Source() (*Db2Source, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + // AsRelationalSource is the BasicCopySource implementation for ShopifySource. func (ss ShopifySource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + // AsDynamicsSource is the BasicCopySource implementation for ShopifySource. func (ss ShopifySource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false @@ -137059,6 +165808,11 @@ func (ss ShopifySource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } +// AsBinarySource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + // AsDelimitedTextSource is the BasicCopySource implementation for ShopifySource. func (ss ShopifySource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false @@ -137165,7 +165919,7 @@ type SparkLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -137457,6 +166211,11 @@ func (sls SparkLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudFor return nil, false } +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + // AsSalesforceLinkedService is the BasicLinkedService implementation for SparkLinkedService. func (sls SparkLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false @@ -137512,6 +166271,16 @@ func (sls SparkLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + // AsOdbcLinkedService is the BasicLinkedService implementation for SparkLinkedService. func (sls SparkLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false @@ -137567,6 +166336,16 @@ func (sls SparkLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedServic return nil, false } +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + // AsDynamicsLinkedService is the BasicLinkedService implementation for SparkLinkedService. func (sls SparkLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false @@ -137587,6 +166366,11 @@ func (sls SparkLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedServ return nil, false } +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + // AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SparkLinkedService. func (sls SparkLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false @@ -137900,7 +166684,7 @@ type SparkObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -138161,11 +166945,41 @@ func (sod SparkObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudF return nil, false } +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { + return nil, false +} + // AsSalesforceObjectDataset is the BasicDataset implementation for SparkObjectDataset. func (sod SparkObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { + return nil, false +} + +// AsPostgreSQLTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { + return nil, false +} + +// AsMySQLTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { + return nil, false +} + +// AsOdbcTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { + return nil, false +} + +// AsInformixTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { + return nil, false +} + // AsRelationalTableDataset is the BasicDataset implementation for SparkObjectDataset. func (sod SparkObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false @@ -138176,6 +166990,11 @@ func (sod SparkObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDatase return nil, false } +// AsTeradataTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { + return nil, false +} + // AsOracleTableDataset is the BasicDataset implementation for SparkObjectDataset. func (sod SparkObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false @@ -138221,6 +167040,16 @@ func (sod SparkObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStore return nil, false } +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { + return nil, false +} + +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { + return nil, false +} + // AsDynamicsEntityDataset is the BasicDataset implementation for SparkObjectDataset. func (sod SparkObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false @@ -138246,6 +167075,11 @@ func (sod SparkObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDatase return nil, false } +// AsAzureSQLMITableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + // AsAzureSQLTableDataset is the BasicDataset implementation for SparkObjectDataset. func (sod SparkObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false @@ -138261,6 +167095,11 @@ func (sod SparkObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } +// AsBinaryDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for SparkObjectDataset. func (sod SparkObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -138406,7 +167245,7 @@ type SparkSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -138650,6 +167489,11 @@ func (ss SparkSource) AsWebSource() (*WebSource, bool) { return nil, false } +// AsTeradataSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + // AsOracleSource is the BasicCopySource implementation for SparkSource. func (ss SparkSource) AsOracleSource() (*OracleSource, bool) { return nil, false @@ -138680,6 +167524,11 @@ func (ss SparkSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } +// AsSQLMISource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsSQLMISource() (*SQLMISource, bool) { + return nil, false +} + // AsAzureSQLSource is the BasicCopySource implementation for SparkSource. func (ss SparkSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false @@ -138725,16 +167574,71 @@ func (ss SparkSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, return nil, false } +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + // AsSalesforceSource is the BasicCopySource implementation for SparkSource. func (ss SparkSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } +// AsODataSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsSybaseSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsSybaseSource() (*SybaseSource, bool) { + return nil, false +} + +// AsPostgreSQLSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false +} + +// AsMySQLSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false +} + +// AsOdbcSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false +} + +// AsDb2Source is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsDb2Source() (*Db2Source, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + // AsRelationalSource is the BasicCopySource implementation for SparkSource. func (ss SparkSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + // AsDynamicsSource is the BasicCopySource implementation for SparkSource. func (ss SparkSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false @@ -138755,6 +167659,11 @@ func (ss SparkSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } +// AsBinarySource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + // AsDelimitedTextSource is the BasicCopySource implementation for SparkSource. func (ss SparkSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false @@ -138867,7 +167776,7 @@ type SQLDWSink struct { SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeDelimitedTextSink' + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -138913,6 +167822,11 @@ func (sds SQLDWSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) return nil, false } +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { + return nil, false +} + // AsSalesforceSink is the BasicCopySink implementation for SQLDWSink. func (sds SQLDWSink) AsSalesforceSink() (*SalesforceSink, bool) { return nil, false @@ -138923,11 +167837,31 @@ func (sds SQLDWSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { return nil, false } +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { + return nil, false +} + +// AsDynamicsCrmSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { + return nil, false +} + // AsDynamicsSink is the BasicCopySink implementation for SQLDWSink. func (sds SQLDWSink) AsDynamicsSink() (*DynamicsSink, bool) { return nil, false } +// AsMicrosoftAccessSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { + return nil, false +} + +// AsInformixSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsInformixSink() (*InformixSink, bool) { + return nil, false +} + // AsOdbcSink is the BasicCopySink implementation for SQLDWSink. func (sds SQLDWSink) AsOdbcSink() (*OdbcSink, bool) { return nil, false @@ -138958,6 +167892,11 @@ func (sds SQLDWSink) AsSQLDWSink() (*SQLDWSink, bool) { return &sds, true } +// AsSQLMISink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsSQLMISink() (*SQLMISink, bool) { + return nil, false +} + // AsAzureSQLSink is the BasicCopySink implementation for SQLDWSink. func (sds SQLDWSink) AsAzureSQLSink() (*AzureSQLSink, bool) { return nil, false @@ -138988,6 +167927,11 @@ func (sds SQLDWSink) AsBlobSink() (*BlobSink, bool) { return nil, false } +// AsBinarySink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsBinarySink() (*BinarySink, bool) { + return nil, false +} + // AsParquetSink is the BasicCopySink implementation for SQLDWSink. func (sds SQLDWSink) AsParquetSink() (*ParquetSink, bool) { return nil, false @@ -139008,6 +167952,11 @@ func (sds SQLDWSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool return nil, false } +// AsAzurePostgreSQLSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { + return nil, false +} + // AsDelimitedTextSink is the BasicCopySink implementation for SQLDWSink. func (sds SQLDWSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { return nil, false @@ -139147,7 +168096,7 @@ type SQLDWSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -139397,6 +168346,11 @@ func (sds SQLDWSource) AsWebSource() (*WebSource, bool) { return nil, false } +// AsTeradataSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + // AsOracleSource is the BasicCopySource implementation for SQLDWSource. func (sds SQLDWSource) AsOracleSource() (*OracleSource, bool) { return nil, false @@ -139427,6 +168381,11 @@ func (sds SQLDWSource) AsSQLDWSource() (*SQLDWSource, bool) { return &sds, true } +// AsSQLMISource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsSQLMISource() (*SQLMISource, bool) { + return nil, false +} + // AsAzureSQLSource is the BasicCopySource implementation for SQLDWSource. func (sds SQLDWSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false @@ -139472,16 +168431,71 @@ func (sds SQLDWSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource return nil, false } +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + // AsSalesforceSource is the BasicCopySource implementation for SQLDWSource. func (sds SQLDWSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } +// AsODataSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsSybaseSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsSybaseSource() (*SybaseSource, bool) { + return nil, false +} + +// AsPostgreSQLSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false +} + +// AsMySQLSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false +} + +// AsOdbcSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false +} + +// AsDb2Source is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsDb2Source() (*Db2Source, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + // AsRelationalSource is the BasicCopySource implementation for SQLDWSource. func (sds SQLDWSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + // AsDynamicsSource is the BasicCopySource implementation for SQLDWSource. func (sds SQLDWSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false @@ -139502,6 +168516,11 @@ func (sds SQLDWSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } +// AsBinarySource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + // AsDelimitedTextSource is the BasicCopySource implementation for SQLDWSource. func (sds SQLDWSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false @@ -139612,6 +168631,923 @@ func (sds *SQLDWSource) UnmarshalJSON(body []byte) error { return nil } +// SQLMISink a copy activity Azure SQL Managed Instance sink. +type SQLMISink struct { + // SQLWriterStoredProcedureName - SQL writer stored procedure name. Type: string (or Expression with resultType string). + SQLWriterStoredProcedureName interface{} `json:"sqlWriterStoredProcedureName,omitempty"` + // SQLWriterTableType - SQL writer table type. Type: string (or Expression with resultType string). + SQLWriterTableType interface{} `json:"sqlWriterTableType,omitempty"` + // PreCopyScript - SQL pre-copy script. Type: string (or Expression with resultType string). + PreCopyScript interface{} `json:"preCopyScript,omitempty"` + // StoredProcedureParameters - SQL stored procedure parameters. + StoredProcedureParameters map[string]*StoredProcedureParameter `json:"storedProcedureParameters"` + // StoredProcedureTableTypeParameterName - The stored procedure parameter name of the table type. Type: string (or Expression with resultType string). + StoredProcedureTableTypeParameterName interface{} `json:"storedProcedureTableTypeParameterName,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + WriteBatchSize interface{} `json:"writeBatchSize,omitempty"` + // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"` + // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer). + SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"` + // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink' + Type TypeBasicCopySink `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for SQLMISink. +func (sms SQLMISink) MarshalJSON() ([]byte, error) { + sms.Type = TypeSQLMISink + objectMap := make(map[string]interface{}) + if sms.SQLWriterStoredProcedureName != nil { + objectMap["sqlWriterStoredProcedureName"] = sms.SQLWriterStoredProcedureName + } + if sms.SQLWriterTableType != nil { + objectMap["sqlWriterTableType"] = sms.SQLWriterTableType + } + if sms.PreCopyScript != nil { + objectMap["preCopyScript"] = sms.PreCopyScript + } + if sms.StoredProcedureParameters != nil { + objectMap["storedProcedureParameters"] = sms.StoredProcedureParameters + } + if sms.StoredProcedureTableTypeParameterName != nil { + objectMap["storedProcedureTableTypeParameterName"] = sms.StoredProcedureTableTypeParameterName + } + if sms.WriteBatchSize != nil { + objectMap["writeBatchSize"] = sms.WriteBatchSize + } + if sms.WriteBatchTimeout != nil { + objectMap["writeBatchTimeout"] = sms.WriteBatchTimeout + } + if sms.SinkRetryCount != nil { + objectMap["sinkRetryCount"] = sms.SinkRetryCount + } + if sms.SinkRetryWait != nil { + objectMap["sinkRetryWait"] = sms.SinkRetryWait + } + if sms.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = sms.MaxConcurrentConnections + } + if sms.Type != "" { + objectMap["type"] = sms.Type + } + for k, v := range sms.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { + return nil, false +} + +// AsSalesforceSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsSalesforceSink() (*SalesforceSink, bool) { + return nil, false +} + +// AsAzureDataExplorerSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { + return nil, false +} + +// AsDynamicsCrmSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { + return nil, false +} + +// AsDynamicsSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsDynamicsSink() (*DynamicsSink, bool) { + return nil, false +} + +// AsMicrosoftAccessSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { + return nil, false +} + +// AsInformixSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsInformixSink() (*InformixSink, bool) { + return nil, false +} + +// AsOdbcSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsOdbcSink() (*OdbcSink, bool) { + return nil, false +} + +// AsAzureSearchIndexSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { + return nil, false +} + +// AsAzureBlobFSSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { + return nil, false +} + +// AsOracleSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsOracleSink() (*OracleSink, bool) { + return nil, false +} + +// AsSQLDWSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsSQLDWSink() (*SQLDWSink, bool) { + return nil, false +} + +// AsSQLMISink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsSQLMISink() (*SQLMISink, bool) { + return &sms, true +} + +// AsAzureSQLSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsAzureSQLSink() (*AzureSQLSink, bool) { + return nil, false +} + +// AsSQLServerSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsSQLServerSink() (*SQLServerSink, bool) { + return nil, false +} + +// AsSQLSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsSQLSink() (*SQLSink, bool) { + return nil, false +} + +// AsDocumentDbCollectionSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { + return nil, false +} + +// AsFileSystemSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsFileSystemSink() (*FileSystemSink, bool) { + return nil, false +} + +// AsBlobSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsBlobSink() (*BlobSink, bool) { + return nil, false +} + +// AsBinarySink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsBinarySink() (*BinarySink, bool) { + return nil, false +} + +// AsParquetSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsParquetSink() (*ParquetSink, bool) { + return nil, false +} + +// AsAzureTableSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsAzureTableSink() (*AzureTableSink, bool) { + return nil, false +} + +// AsAzureQueueSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsAzureQueueSink() (*AzureQueueSink, bool) { + return nil, false +} + +// AsSapCloudForCustomerSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { + return nil, false +} + +// AsAzurePostgreSQLSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { + return nil, false +} + +// AsDelimitedTextSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { + return nil, false +} + +// AsCopySink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsCopySink() (*CopySink, bool) { + return nil, false +} + +// AsBasicCopySink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsBasicCopySink() (BasicCopySink, bool) { + return &sms, true +} + +// UnmarshalJSON is the custom unmarshaler for SQLMISink struct. +func (sms *SQLMISink) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "sqlWriterStoredProcedureName": + if v != nil { + var SQLWriterStoredProcedureName interface{} + err = json.Unmarshal(*v, &SQLWriterStoredProcedureName) + if err != nil { + return err + } + sms.SQLWriterStoredProcedureName = SQLWriterStoredProcedureName + } + case "sqlWriterTableType": + if v != nil { + var SQLWriterTableType interface{} + err = json.Unmarshal(*v, &SQLWriterTableType) + if err != nil { + return err + } + sms.SQLWriterTableType = SQLWriterTableType + } + case "preCopyScript": + if v != nil { + var preCopyScript interface{} + err = json.Unmarshal(*v, &preCopyScript) + if err != nil { + return err + } + sms.PreCopyScript = preCopyScript + } + case "storedProcedureParameters": + if v != nil { + var storedProcedureParameters map[string]*StoredProcedureParameter + err = json.Unmarshal(*v, &storedProcedureParameters) + if err != nil { + return err + } + sms.StoredProcedureParameters = storedProcedureParameters + } + case "storedProcedureTableTypeParameterName": + if v != nil { + var storedProcedureTableTypeParameterName interface{} + err = json.Unmarshal(*v, &storedProcedureTableTypeParameterName) + if err != nil { + return err + } + sms.StoredProcedureTableTypeParameterName = storedProcedureTableTypeParameterName + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if sms.AdditionalProperties == nil { + sms.AdditionalProperties = make(map[string]interface{}) + } + sms.AdditionalProperties[k] = additionalProperties + } + case "writeBatchSize": + if v != nil { + var writeBatchSize interface{} + err = json.Unmarshal(*v, &writeBatchSize) + if err != nil { + return err + } + sms.WriteBatchSize = writeBatchSize + } + case "writeBatchTimeout": + if v != nil { + var writeBatchTimeout interface{} + err = json.Unmarshal(*v, &writeBatchTimeout) + if err != nil { + return err + } + sms.WriteBatchTimeout = writeBatchTimeout + } + case "sinkRetryCount": + if v != nil { + var sinkRetryCount interface{} + err = json.Unmarshal(*v, &sinkRetryCount) + if err != nil { + return err + } + sms.SinkRetryCount = sinkRetryCount + } + case "sinkRetryWait": + if v != nil { + var sinkRetryWait interface{} + err = json.Unmarshal(*v, &sinkRetryWait) + if err != nil { + return err + } + sms.SinkRetryWait = sinkRetryWait + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + sms.MaxConcurrentConnections = maxConcurrentConnections + } + case "type": + if v != nil { + var typeVar TypeBasicCopySink + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + sms.Type = typeVar + } + } + } + + return nil +} + +// SQLMISource a copy activity Azure SQL Managed Instance source. +type SQLMISource struct { + // SQLReaderQuery - SQL reader query. Type: string (or Expression with resultType string). + SQLReaderQuery interface{} `json:"sqlReaderQuery,omitempty"` + // SQLReaderStoredProcedureName - Name of the stored procedure for a Azure SQL Managed Instance source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string). + SQLReaderStoredProcedureName interface{} `json:"sqlReaderStoredProcedureName,omitempty"` + // StoredProcedureParameters - Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". + StoredProcedureParameters map[string]*StoredProcedureParameter `json:"storedProcedureParameters"` + // ProduceAdditionalTypes - Which additional types to produce. + ProduceAdditionalTypes interface{} `json:"produceAdditionalTypes,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + Type TypeBasicCopySource `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for SQLMISource. +func (sms SQLMISource) MarshalJSON() ([]byte, error) { + sms.Type = TypeSQLMISource + objectMap := make(map[string]interface{}) + if sms.SQLReaderQuery != nil { + objectMap["sqlReaderQuery"] = sms.SQLReaderQuery + } + if sms.SQLReaderStoredProcedureName != nil { + objectMap["sqlReaderStoredProcedureName"] = sms.SQLReaderStoredProcedureName + } + if sms.StoredProcedureParameters != nil { + objectMap["storedProcedureParameters"] = sms.StoredProcedureParameters + } + if sms.ProduceAdditionalTypes != nil { + objectMap["produceAdditionalTypes"] = sms.ProduceAdditionalTypes + } + if sms.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = sms.SourceRetryCount + } + if sms.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = sms.SourceRetryWait + } + if sms.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = sms.MaxConcurrentConnections + } + if sms.Type != "" { + objectMap["type"] = sms.Type + } + for k, v := range sms.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAmazonRedshiftSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { + return nil, false +} + +// AsGoogleAdWordsSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { + return nil, false +} + +// AsOracleServiceCloudSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { + return nil, false +} + +// AsDynamicsAXSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { + return nil, false +} + +// AsResponsysSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsResponsysSource() (*ResponsysSource, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { + return nil, false +} + +// AsVerticaSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false +} + +// AsNetezzaSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false +} + +// AsZohoSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsZohoSource() (*ZohoSource, bool) { + return nil, false +} + +// AsXeroSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsXeroSource() (*XeroSource, bool) { + return nil, false +} + +// AsSquareSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsSquareSource() (*SquareSource, bool) { + return nil, false +} + +// AsSparkSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsSparkSource() (*SparkSource, bool) { + return nil, false +} + +// AsShopifySource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsShopifySource() (*ShopifySource, bool) { + return nil, false +} + +// AsServiceNowSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsServiceNowSource() (*ServiceNowSource, bool) { + return nil, false +} + +// AsQuickBooksSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsQuickBooksSource() (*QuickBooksSource, bool) { + return nil, false +} + +// AsPrestoSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsPrestoSource() (*PrestoSource, bool) { + return nil, false +} + +// AsPhoenixSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsPhoenixSource() (*PhoenixSource, bool) { + return nil, false +} + +// AsPaypalSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsPaypalSource() (*PaypalSource, bool) { + return nil, false +} + +// AsMarketoSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsMarketoSource() (*MarketoSource, bool) { + return nil, false +} + +// AsMariaDBSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsMariaDBSource() (*MariaDBSource, bool) { + return nil, false +} + +// AsMagentoSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsMagentoSource() (*MagentoSource, bool) { + return nil, false +} + +// AsJiraSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsJiraSource() (*JiraSource, bool) { + return nil, false +} + +// AsImpalaSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsImpalaSource() (*ImpalaSource, bool) { + return nil, false +} + +// AsHubspotSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsHubspotSource() (*HubspotSource, bool) { + return nil, false +} + +// AsHiveSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsHiveSource() (*HiveSource, bool) { + return nil, false +} + +// AsHBaseSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsHBaseSource() (*HBaseSource, bool) { + return nil, false +} + +// AsGreenplumSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsGreenplumSource() (*GreenplumSource, bool) { + return nil, false +} + +// AsGoogleBigQuerySource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { + return nil, false +} + +// AsEloquaSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsEloquaSource() (*EloquaSource, bool) { + return nil, false +} + +// AsDrillSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsDrillSource() (*DrillSource, bool) { + return nil, false +} + +// AsCouchbaseSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsCouchbaseSource() (*CouchbaseSource, bool) { + return nil, false +} + +// AsConcurSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsConcurSource() (*ConcurSource, bool) { + return nil, false +} + +// AsAzurePostgreSQLSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { + return nil, false +} + +// AsAmazonMWSSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { + return nil, false +} + +// AsHTTPSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsCassandraSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsCassandraSource() (*CassandraSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsTeradataSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsAzureMySQLSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsSQLDWSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsSQLDWSource() (*SQLDWSource, bool) { + return nil, false +} + +// AsSQLMISource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsSQLMISource() (*SQLMISource, bool) { + return &sms, true +} + +// AsAzureSQLSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsAzureSQLSource() (*AzureSQLSource, bool) { + return nil, false +} + +// AsSQLServerSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsSQLServerSource() (*SQLServerSource, bool) { + return nil, false +} + +// AsSQLSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsSQLSource() (*SQLSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSapTableSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsSapTableSource() (*SapTableSource, bool) { + return nil, false +} + +// AsSapOpenHubSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { + return nil, false +} + +// AsSapHanaSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsSapHanaSource() (*SapHanaSource, bool) { + return nil, false +} + +// AsSapEccSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsSapEccSource() (*SapEccSource, bool) { + return nil, false +} + +// AsSapCloudForCustomerSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsSalesforceSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsSalesforceSource() (*SalesforceSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsSybaseSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsSybaseSource() (*SybaseSource, bool) { + return nil, false +} + +// AsPostgreSQLSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false +} + +// AsMySQLSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false +} + +// AsOdbcSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false +} + +// AsDb2Source is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsDb2Source() (*Db2Source, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + +// AsRelationalSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + +// AsDynamicsSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + +// AsAzureTableSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsBinarySource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsDelimitedTextSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false +} + +// AsParquetSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsBasicCopySource() (BasicCopySource, bool) { + return &sms, true +} + +// UnmarshalJSON is the custom unmarshaler for SQLMISource struct. +func (sms *SQLMISource) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "sqlReaderQuery": + if v != nil { + var SQLReaderQuery interface{} + err = json.Unmarshal(*v, &SQLReaderQuery) + if err != nil { + return err + } + sms.SQLReaderQuery = SQLReaderQuery + } + case "sqlReaderStoredProcedureName": + if v != nil { + var SQLReaderStoredProcedureName interface{} + err = json.Unmarshal(*v, &SQLReaderStoredProcedureName) + if err != nil { + return err + } + sms.SQLReaderStoredProcedureName = SQLReaderStoredProcedureName + } + case "storedProcedureParameters": + if v != nil { + var storedProcedureParameters map[string]*StoredProcedureParameter + err = json.Unmarshal(*v, &storedProcedureParameters) + if err != nil { + return err + } + sms.StoredProcedureParameters = storedProcedureParameters + } + case "produceAdditionalTypes": + if v != nil { + var produceAdditionalTypes interface{} + err = json.Unmarshal(*v, &produceAdditionalTypes) + if err != nil { + return err + } + sms.ProduceAdditionalTypes = produceAdditionalTypes + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if sms.AdditionalProperties == nil { + sms.AdditionalProperties = make(map[string]interface{}) + } + sms.AdditionalProperties[k] = additionalProperties + } + case "sourceRetryCount": + if v != nil { + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) + if err != nil { + return err + } + sms.SourceRetryCount = sourceRetryCount + } + case "sourceRetryWait": + if v != nil { + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) + if err != nil { + return err + } + sms.SourceRetryWait = sourceRetryWait + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + sms.MaxConcurrentConnections = maxConcurrentConnections + } + case "type": + if v != nil { + var typeVar TypeBasicCopySource + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + sms.Type = typeVar + } + } + } + + return nil +} + // SQLServerLinkedService SQL Server linked service. type SQLServerLinkedService struct { // SQLServerLinkedServiceTypeProperties - SQL Server linked service properties. @@ -139626,7 +169562,7 @@ type SQLServerLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -139918,6 +169854,11 @@ func (ssls SQLServerLinkedService) AsSapCloudForCustomerLinkedService() (*SapClo return nil, false } +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + // AsSalesforceLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. func (ssls SQLServerLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false @@ -139973,6 +169914,16 @@ func (ssls SQLServerLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bo return nil, false } +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + // AsOdbcLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. func (ssls SQLServerLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false @@ -140028,6 +169979,16 @@ func (ssls SQLServerLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedS return nil, false } +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + // AsDynamicsLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. func (ssls SQLServerLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false @@ -140048,6 +170009,11 @@ func (ssls SQLServerLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinke return nil, false } +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + // AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. func (ssls SQLServerLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false @@ -140255,7 +170221,7 @@ type SQLServerSink struct { SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeDelimitedTextSink' + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -140307,6 +170273,11 @@ func (sss SQLServerSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bo return nil, false } +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { + return nil, false +} + // AsSalesforceSink is the BasicCopySink implementation for SQLServerSink. func (sss SQLServerSink) AsSalesforceSink() (*SalesforceSink, bool) { return nil, false @@ -140317,11 +170288,31 @@ func (sss SQLServerSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool return nil, false } +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { + return nil, false +} + +// AsDynamicsCrmSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { + return nil, false +} + // AsDynamicsSink is the BasicCopySink implementation for SQLServerSink. func (sss SQLServerSink) AsDynamicsSink() (*DynamicsSink, bool) { return nil, false } +// AsMicrosoftAccessSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { + return nil, false +} + +// AsInformixSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsInformixSink() (*InformixSink, bool) { + return nil, false +} + // AsOdbcSink is the BasicCopySink implementation for SQLServerSink. func (sss SQLServerSink) AsOdbcSink() (*OdbcSink, bool) { return nil, false @@ -140352,6 +170343,11 @@ func (sss SQLServerSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false } +// AsSQLMISink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsSQLMISink() (*SQLMISink, bool) { + return nil, false +} + // AsAzureSQLSink is the BasicCopySink implementation for SQLServerSink. func (sss SQLServerSink) AsAzureSQLSink() (*AzureSQLSink, bool) { return nil, false @@ -140382,6 +170378,11 @@ func (sss SQLServerSink) AsBlobSink() (*BlobSink, bool) { return nil, false } +// AsBinarySink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsBinarySink() (*BinarySink, bool) { + return nil, false +} + // AsParquetSink is the BasicCopySink implementation for SQLServerSink. func (sss SQLServerSink) AsParquetSink() (*ParquetSink, bool) { return nil, false @@ -140402,6 +170403,11 @@ func (sss SQLServerSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, return nil, false } +// AsAzurePostgreSQLSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { + return nil, false +} + // AsDelimitedTextSink is the BasicCopySink implementation for SQLServerSink. func (sss SQLServerSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { return nil, false @@ -140561,7 +170567,7 @@ type SQLServerSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -140814,6 +170820,11 @@ func (sss SQLServerSource) AsWebSource() (*WebSource, bool) { return nil, false } +// AsTeradataSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + // AsOracleSource is the BasicCopySource implementation for SQLServerSource. func (sss SQLServerSource) AsOracleSource() (*OracleSource, bool) { return nil, false @@ -140844,6 +170855,11 @@ func (sss SQLServerSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } +// AsSQLMISource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsSQLMISource() (*SQLMISource, bool) { + return nil, false +} + // AsAzureSQLSource is the BasicCopySource implementation for SQLServerSource. func (sss SQLServerSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false @@ -140889,16 +170905,71 @@ func (sss SQLServerSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSo return nil, false } +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + // AsSalesforceSource is the BasicCopySource implementation for SQLServerSource. func (sss SQLServerSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } +// AsODataSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsSybaseSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsSybaseSource() (*SybaseSource, bool) { + return nil, false +} + +// AsPostgreSQLSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false +} + +// AsMySQLSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false +} + +// AsOdbcSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false +} + +// AsDb2Source is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsDb2Source() (*Db2Source, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + // AsRelationalSource is the BasicCopySource implementation for SQLServerSource. func (sss SQLServerSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + // AsDynamicsSource is the BasicCopySource implementation for SQLServerSource. func (sss SQLServerSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false @@ -140919,6 +170990,11 @@ func (sss SQLServerSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } +// AsBinarySource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + // AsDelimitedTextSource is the BasicCopySource implementation for SQLServerSource. func (sss SQLServerSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false @@ -141413,7 +171489,7 @@ type SQLServerTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -141674,11 +171750,41 @@ func (sstd SQLServerTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCl return nil, false } +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { + return nil, false +} + // AsSalesforceObjectDataset is the BasicDataset implementation for SQLServerTableDataset. func (sstd SQLServerTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { + return nil, false +} + +// AsPostgreSQLTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { + return nil, false +} + +// AsMySQLTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { + return nil, false +} + +// AsOdbcTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { + return nil, false +} + +// AsInformixTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { + return nil, false +} + // AsRelationalTableDataset is the BasicDataset implementation for SQLServerTableDataset. func (sstd SQLServerTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false @@ -141689,6 +171795,11 @@ func (sstd SQLServerTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDa return nil, false } +// AsTeradataTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { + return nil, false +} + // AsOracleTableDataset is the BasicDataset implementation for SQLServerTableDataset. func (sstd SQLServerTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false @@ -141734,6 +171845,16 @@ func (sstd SQLServerTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeS return nil, false } +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { + return nil, false +} + +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { + return nil, false +} + // AsDynamicsEntityDataset is the BasicDataset implementation for SQLServerTableDataset. func (sstd SQLServerTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false @@ -141759,6 +171880,11 @@ func (sstd SQLServerTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDa return nil, false } +// AsAzureSQLMITableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + // AsAzureSQLTableDataset is the BasicDataset implementation for SQLServerTableDataset. func (sstd SQLServerTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false @@ -141774,6 +171900,11 @@ func (sstd SQLServerTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) return nil, false } +// AsBinaryDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for SQLServerTableDataset. func (sstd SQLServerTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -141937,7 +172068,7 @@ type SQLSink struct { SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeDelimitedTextSink' + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -141989,6 +172120,11 @@ func (ss SQLSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { return nil, false } +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { + return nil, false +} + // AsSalesforceSink is the BasicCopySink implementation for SQLSink. func (ss SQLSink) AsSalesforceSink() (*SalesforceSink, bool) { return nil, false @@ -141999,11 +172135,31 @@ func (ss SQLSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { return nil, false } +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { + return nil, false +} + +// AsDynamicsCrmSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { + return nil, false +} + // AsDynamicsSink is the BasicCopySink implementation for SQLSink. func (ss SQLSink) AsDynamicsSink() (*DynamicsSink, bool) { return nil, false } +// AsMicrosoftAccessSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { + return nil, false +} + +// AsInformixSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsInformixSink() (*InformixSink, bool) { + return nil, false +} + // AsOdbcSink is the BasicCopySink implementation for SQLSink. func (ss SQLSink) AsOdbcSink() (*OdbcSink, bool) { return nil, false @@ -142034,6 +172190,11 @@ func (ss SQLSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false } +// AsSQLMISink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsSQLMISink() (*SQLMISink, bool) { + return nil, false +} + // AsAzureSQLSink is the BasicCopySink implementation for SQLSink. func (ss SQLSink) AsAzureSQLSink() (*AzureSQLSink, bool) { return nil, false @@ -142064,6 +172225,11 @@ func (ss SQLSink) AsBlobSink() (*BlobSink, bool) { return nil, false } +// AsBinarySink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsBinarySink() (*BinarySink, bool) { + return nil, false +} + // AsParquetSink is the BasicCopySink implementation for SQLSink. func (ss SQLSink) AsParquetSink() (*ParquetSink, bool) { return nil, false @@ -142084,6 +172250,11 @@ func (ss SQLSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { return nil, false } +// AsAzurePostgreSQLSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { + return nil, false +} + // AsDelimitedTextSink is the BasicCopySink implementation for SQLSink. func (ss SQLSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { return nil, false @@ -142241,7 +172412,7 @@ type SQLSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -142491,6 +172662,11 @@ func (ss SQLSource) AsWebSource() (*WebSource, bool) { return nil, false } +// AsTeradataSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + // AsOracleSource is the BasicCopySource implementation for SQLSource. func (ss SQLSource) AsOracleSource() (*OracleSource, bool) { return nil, false @@ -142521,6 +172697,11 @@ func (ss SQLSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } +// AsSQLMISource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsSQLMISource() (*SQLMISource, bool) { + return nil, false +} + // AsAzureSQLSource is the BasicCopySource implementation for SQLSource. func (ss SQLSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false @@ -142566,16 +172747,71 @@ func (ss SQLSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, b return nil, false } +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + // AsSalesforceSource is the BasicCopySource implementation for SQLSource. func (ss SQLSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } +// AsODataSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsSybaseSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsSybaseSource() (*SybaseSource, bool) { + return nil, false +} + +// AsPostgreSQLSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false +} + +// AsMySQLSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false +} + +// AsOdbcSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false +} + +// AsDb2Source is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsDb2Source() (*Db2Source, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + // AsRelationalSource is the BasicCopySource implementation for SQLSource. func (ss SQLSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + // AsDynamicsSource is the BasicCopySource implementation for SQLSource. func (ss SQLSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false @@ -142596,6 +172832,11 @@ func (ss SQLSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } +// AsBinarySource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + // AsDelimitedTextSource is the BasicCopySource implementation for SQLSource. func (ss SQLSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false @@ -142720,7 +172961,7 @@ type SquareLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -143012,6 +173253,11 @@ func (sls SquareLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudFo return nil, false } +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + // AsSalesforceLinkedService is the BasicLinkedService implementation for SquareLinkedService. func (sls SquareLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false @@ -143067,6 +173313,16 @@ func (sls SquareLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) return nil, false } +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + // AsOdbcLinkedService is the BasicLinkedService implementation for SquareLinkedService. func (sls SquareLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false @@ -143122,6 +173378,16 @@ func (sls SquareLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedServi return nil, false } +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + // AsDynamicsLinkedService is the BasicLinkedService implementation for SquareLinkedService. func (sls SquareLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false @@ -143142,6 +173408,11 @@ func (sls SquareLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedSer return nil, false } +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + // AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SquareLinkedService. func (sls SquareLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false @@ -143389,7 +173660,7 @@ type SquareObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -143650,11 +173921,41 @@ func (sod SquareObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloud return nil, false } +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { + return nil, false +} + // AsSalesforceObjectDataset is the BasicDataset implementation for SquareObjectDataset. func (sod SquareObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { + return nil, false +} + +// AsPostgreSQLTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { + return nil, false +} + +// AsMySQLTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { + return nil, false +} + +// AsOdbcTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { + return nil, false +} + +// AsInformixTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { + return nil, false +} + // AsRelationalTableDataset is the BasicDataset implementation for SquareObjectDataset. func (sod SquareObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false @@ -143665,6 +173966,11 @@ func (sod SquareObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDatas return nil, false } +// AsTeradataTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { + return nil, false +} + // AsOracleTableDataset is the BasicDataset implementation for SquareObjectDataset. func (sod SquareObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false @@ -143710,6 +174016,16 @@ func (sod SquareObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStor return nil, false } +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { + return nil, false +} + +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { + return nil, false +} + // AsDynamicsEntityDataset is the BasicDataset implementation for SquareObjectDataset. func (sod SquareObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false @@ -143735,6 +174051,11 @@ func (sod SquareObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDatas return nil, false } +// AsAzureSQLMITableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + // AsAzureSQLTableDataset is the BasicDataset implementation for SquareObjectDataset. func (sod SquareObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false @@ -143750,6 +174071,11 @@ func (sod SquareObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } +// AsBinaryDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for SquareObjectDataset. func (sod SquareObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -143895,7 +174221,7 @@ type SquareSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -144139,6 +174465,11 @@ func (ss SquareSource) AsWebSource() (*WebSource, bool) { return nil, false } +// AsTeradataSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + // AsOracleSource is the BasicCopySource implementation for SquareSource. func (ss SquareSource) AsOracleSource() (*OracleSource, bool) { return nil, false @@ -144169,6 +174500,11 @@ func (ss SquareSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } +// AsSQLMISource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsSQLMISource() (*SQLMISource, bool) { + return nil, false +} + // AsAzureSQLSource is the BasicCopySource implementation for SquareSource. func (ss SquareSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false @@ -144214,16 +174550,71 @@ func (ss SquareSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource return nil, false } +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + // AsSalesforceSource is the BasicCopySource implementation for SquareSource. func (ss SquareSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } +// AsODataSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsSybaseSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsSybaseSource() (*SybaseSource, bool) { + return nil, false +} + +// AsPostgreSQLSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false +} + +// AsMySQLSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false +} + +// AsOdbcSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false +} + +// AsDb2Source is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsDb2Source() (*Db2Source, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + // AsRelationalSource is the BasicCopySource implementation for SquareSource. func (ss SquareSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + // AsDynamicsSource is the BasicCopySource implementation for SquareSource. func (ss SquareSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false @@ -144244,6 +174635,11 @@ func (ss SquareSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } +// AsBinarySource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + // AsDelimitedTextSource is the BasicCopySource implementation for SquareSource. func (ss SquareSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false @@ -144336,6 +174732,16 @@ func (ss *SquareSource) UnmarshalJSON(body []byte) error { return nil } +// SSISAccessCredential SSIS access credential. +type SSISAccessCredential struct { + // Domain - Domain for windows authentication. + Domain interface{} `json:"domain,omitempty"` + // UserName - UseName for windows authentication. + UserName interface{} `json:"userName,omitempty"` + // Password - Password for windows authentication. + Password *SecureString `json:"password,omitempty"` +} + // SsisEnvironment ssis environment. type SsisEnvironment struct { // FolderID - Folder id which contains environment. @@ -144496,6 +174902,81 @@ func (sf SsisFolder) AsBasicSsisObjectMetadata() (BasicSsisObjectMetadata, bool) return &sf, true } +// SSISLogLocation SSIS package execution log location +type SSISLogLocation struct { + // LogPath - The SSIS package execution log path. Type: string (or Expression with resultType string). + LogPath interface{} `json:"logPath,omitempty"` + // Type - The type of SSIS log location. + Type *string `json:"type,omitempty"` + // SSISLogLocationTypeProperties - SSIS package execution log location properties. + *SSISLogLocationTypeProperties `json:"typeProperties,omitempty"` +} + +// MarshalJSON is the custom marshaler for SSISLogLocation. +func (sll SSISLogLocation) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if sll.LogPath != nil { + objectMap["logPath"] = sll.LogPath + } + if sll.Type != nil { + objectMap["type"] = sll.Type + } + if sll.SSISLogLocationTypeProperties != nil { + objectMap["typeProperties"] = sll.SSISLogLocationTypeProperties + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for SSISLogLocation struct. +func (sll *SSISLogLocation) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "logPath": + if v != nil { + var logPath interface{} + err = json.Unmarshal(*v, &logPath) + if err != nil { + return err + } + sll.LogPath = logPath + } + case "type": + if v != nil { + var typeVar string + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + sll.Type = &typeVar + } + case "typeProperties": + if v != nil { + var sSISLogLocationTypeProperties SSISLogLocationTypeProperties + err = json.Unmarshal(*v, &sSISLogLocationTypeProperties) + if err != nil { + return err + } + sll.SSISLogLocationTypeProperties = &sSISLogLocationTypeProperties + } + } + } + + return nil +} + +// SSISLogLocationTypeProperties SSIS package execution log location properties. +type SSISLogLocationTypeProperties struct { + // AccessCredential - The package execution log access credential. + AccessCredential *SSISAccessCredential `json:"accessCredential,omitempty"` + // LogRefreshInterval - Specifies the interval to refresh log. The default interval is 5 minutes. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + LogRefreshInterval interface{} `json:"logRefreshInterval,omitempty"` +} + // BasicSsisObjectMetadata SSIS object metadata. type BasicSsisObjectMetadata interface { AsSsisEnvironment() (*SsisEnvironment, bool) @@ -144754,6 +175235,77 @@ func (sp SsisPackage) AsBasicSsisObjectMetadata() (BasicSsisObjectMetadata, bool type SSISPackageLocation struct { // PackagePath - The SSIS package path. Type: string (or Expression with resultType string). PackagePath interface{} `json:"packagePath,omitempty"` + // Type - The type of SSIS package location. Possible values include: 'SSISDB', 'File' + Type SsisPackageLocationType `json:"type,omitempty"` + // SSISPackageLocationTypeProperties - SSIS package location properties. + *SSISPackageLocationTypeProperties `json:"typeProperties,omitempty"` +} + +// MarshalJSON is the custom marshaler for SSISPackageLocation. +func (spl SSISPackageLocation) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if spl.PackagePath != nil { + objectMap["packagePath"] = spl.PackagePath + } + if spl.Type != "" { + objectMap["type"] = spl.Type + } + if spl.SSISPackageLocationTypeProperties != nil { + objectMap["typeProperties"] = spl.SSISPackageLocationTypeProperties + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for SSISPackageLocation struct. +func (spl *SSISPackageLocation) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "packagePath": + if v != nil { + var packagePath interface{} + err = json.Unmarshal(*v, &packagePath) + if err != nil { + return err + } + spl.PackagePath = packagePath + } + case "type": + if v != nil { + var typeVar SsisPackageLocationType + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + spl.Type = typeVar + } + case "typeProperties": + if v != nil { + var sSISPackageLocationTypeProperties SSISPackageLocationTypeProperties + err = json.Unmarshal(*v, &sSISPackageLocationTypeProperties) + if err != nil { + return err + } + spl.SSISPackageLocationTypeProperties = &sSISPackageLocationTypeProperties + } + } + } + + return nil +} + +// SSISPackageLocationTypeProperties SSIS package location properties. +type SSISPackageLocationTypeProperties struct { + // PackagePassword - Password of the package. + PackagePassword *SecureString `json:"packagePassword,omitempty"` + // AccessCredential - The package access credential. + AccessCredential *SSISAccessCredential `json:"accessCredential,omitempty"` + // ConfigurationPath - The configuration file of the package execution. Type: string (or Expression with resultType string). + ConfigurationPath interface{} `json:"configurationPath,omitempty"` } // SsisParameter ssis parameter. @@ -145163,7 +175715,7 @@ type SybaseLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -145455,6 +176007,11 @@ func (sls SybaseLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudFo return nil, false } +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + // AsSalesforceLinkedService is the BasicLinkedService implementation for SybaseLinkedService. func (sls SybaseLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false @@ -145510,6 +176067,16 @@ func (sls SybaseLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) return nil, false } +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + // AsOdbcLinkedService is the BasicLinkedService implementation for SybaseLinkedService. func (sls SybaseLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false @@ -145565,6 +176132,16 @@ func (sls SybaseLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedServi return nil, false } +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + // AsDynamicsLinkedService is the BasicLinkedService implementation for SybaseLinkedService. func (sls SybaseLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false @@ -145585,6 +176162,11 @@ func (sls SybaseLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedSer return nil, false } +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + // AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SybaseLinkedService. func (sls SybaseLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false @@ -145801,6 +176383,529 @@ func (slstp *SybaseLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error return nil } +// SybaseSource a copy activity source for Sybase databases. +type SybaseSource struct { + // Query - Database query. Type: string (or Expression with resultType string). + Query interface{} `json:"query,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + Type TypeBasicCopySource `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for SybaseSource. +func (ss SybaseSource) MarshalJSON() ([]byte, error) { + ss.Type = TypeSybaseSource + objectMap := make(map[string]interface{}) + if ss.Query != nil { + objectMap["query"] = ss.Query + } + if ss.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = ss.SourceRetryCount + } + if ss.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = ss.SourceRetryWait + } + if ss.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = ss.MaxConcurrentConnections + } + if ss.Type != "" { + objectMap["type"] = ss.Type + } + for k, v := range ss.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAmazonRedshiftSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { + return nil, false +} + +// AsGoogleAdWordsSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { + return nil, false +} + +// AsOracleServiceCloudSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { + return nil, false +} + +// AsDynamicsAXSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { + return nil, false +} + +// AsResponsysSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsResponsysSource() (*ResponsysSource, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { + return nil, false +} + +// AsVerticaSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false +} + +// AsNetezzaSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false +} + +// AsZohoSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsZohoSource() (*ZohoSource, bool) { + return nil, false +} + +// AsXeroSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsXeroSource() (*XeroSource, bool) { + return nil, false +} + +// AsSquareSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsSquareSource() (*SquareSource, bool) { + return nil, false +} + +// AsSparkSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsSparkSource() (*SparkSource, bool) { + return nil, false +} + +// AsShopifySource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsShopifySource() (*ShopifySource, bool) { + return nil, false +} + +// AsServiceNowSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsServiceNowSource() (*ServiceNowSource, bool) { + return nil, false +} + +// AsQuickBooksSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsQuickBooksSource() (*QuickBooksSource, bool) { + return nil, false +} + +// AsPrestoSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsPrestoSource() (*PrestoSource, bool) { + return nil, false +} + +// AsPhoenixSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsPhoenixSource() (*PhoenixSource, bool) { + return nil, false +} + +// AsPaypalSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsPaypalSource() (*PaypalSource, bool) { + return nil, false +} + +// AsMarketoSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsMarketoSource() (*MarketoSource, bool) { + return nil, false +} + +// AsMariaDBSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsMariaDBSource() (*MariaDBSource, bool) { + return nil, false +} + +// AsMagentoSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsMagentoSource() (*MagentoSource, bool) { + return nil, false +} + +// AsJiraSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsJiraSource() (*JiraSource, bool) { + return nil, false +} + +// AsImpalaSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsImpalaSource() (*ImpalaSource, bool) { + return nil, false +} + +// AsHubspotSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsHubspotSource() (*HubspotSource, bool) { + return nil, false +} + +// AsHiveSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsHiveSource() (*HiveSource, bool) { + return nil, false +} + +// AsHBaseSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsHBaseSource() (*HBaseSource, bool) { + return nil, false +} + +// AsGreenplumSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsGreenplumSource() (*GreenplumSource, bool) { + return nil, false +} + +// AsGoogleBigQuerySource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { + return nil, false +} + +// AsEloquaSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsEloquaSource() (*EloquaSource, bool) { + return nil, false +} + +// AsDrillSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsDrillSource() (*DrillSource, bool) { + return nil, false +} + +// AsCouchbaseSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsCouchbaseSource() (*CouchbaseSource, bool) { + return nil, false +} + +// AsConcurSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsConcurSource() (*ConcurSource, bool) { + return nil, false +} + +// AsAzurePostgreSQLSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { + return nil, false +} + +// AsAmazonMWSSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { + return nil, false +} + +// AsHTTPSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsCassandraSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsCassandraSource() (*CassandraSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsTeradataSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsAzureMySQLSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsSQLDWSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsSQLDWSource() (*SQLDWSource, bool) { + return nil, false +} + +// AsSQLMISource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsSQLMISource() (*SQLMISource, bool) { + return nil, false +} + +// AsAzureSQLSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsAzureSQLSource() (*AzureSQLSource, bool) { + return nil, false +} + +// AsSQLServerSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsSQLServerSource() (*SQLServerSource, bool) { + return nil, false +} + +// AsSQLSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsSQLSource() (*SQLSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSapTableSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsSapTableSource() (*SapTableSource, bool) { + return nil, false +} + +// AsSapOpenHubSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { + return nil, false +} + +// AsSapHanaSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsSapHanaSource() (*SapHanaSource, bool) { + return nil, false +} + +// AsSapEccSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsSapEccSource() (*SapEccSource, bool) { + return nil, false +} + +// AsSapCloudForCustomerSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsSalesforceSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsSalesforceSource() (*SalesforceSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsSybaseSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsSybaseSource() (*SybaseSource, bool) { + return &ss, true +} + +// AsPostgreSQLSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false +} + +// AsMySQLSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false +} + +// AsOdbcSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false +} + +// AsDb2Source is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsDb2Source() (*Db2Source, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + +// AsRelationalSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + +// AsDynamicsSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + +// AsAzureTableSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsBinarySource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsDelimitedTextSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false +} + +// AsParquetSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsBasicCopySource() (BasicCopySource, bool) { + return &ss, true +} + +// UnmarshalJSON is the custom unmarshaler for SybaseSource struct. +func (ss *SybaseSource) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "query": + if v != nil { + var query interface{} + err = json.Unmarshal(*v, &query) + if err != nil { + return err + } + ss.Query = query + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if ss.AdditionalProperties == nil { + ss.AdditionalProperties = make(map[string]interface{}) + } + ss.AdditionalProperties[k] = additionalProperties + } + case "sourceRetryCount": + if v != nil { + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) + if err != nil { + return err + } + ss.SourceRetryCount = sourceRetryCount + } + case "sourceRetryWait": + if v != nil { + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) + if err != nil { + return err + } + ss.SourceRetryWait = sourceRetryWait + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + ss.MaxConcurrentConnections = maxConcurrentConnections + } + case "type": + if v != nil { + var typeVar TypeBasicCopySource + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + ss.Type = typeVar + } + } + } + + return nil +} + // TeradataLinkedService linked service for Teradata data source. type TeradataLinkedService struct { // TeradataLinkedServiceTypeProperties - Teradata linked service properties. @@ -145815,7 +176920,7 @@ type TeradataLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -146107,6 +177212,11 @@ func (TLSVar TeradataLinkedService) AsSapCloudForCustomerLinkedService() (*SapCl return nil, false } +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + // AsSalesforceLinkedService is the BasicLinkedService implementation for TeradataLinkedService. func (TLSVar TeradataLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false @@ -146162,6 +177272,16 @@ func (TLSVar TeradataLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, b return nil, false } +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + // AsOdbcLinkedService is the BasicLinkedService implementation for TeradataLinkedService. func (TLSVar TeradataLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false @@ -146217,6 +177337,16 @@ func (TLSVar TeradataLinkedService) AsHDInsightLinkedService() (*HDInsightLinked return nil, false } +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + // AsDynamicsLinkedService is the BasicLinkedService implementation for TeradataLinkedService. func (TLSVar TeradataLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false @@ -146237,6 +177367,11 @@ func (TLSVar TeradataLinkedService) AsAzureBatchLinkedService() (*AzureBatchLink return nil, false } +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + // AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for TeradataLinkedService. func (TLSVar TeradataLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false @@ -146360,6 +177495,8 @@ func (TLSVar *TeradataLinkedService) UnmarshalJSON(body []byte) error { // TeradataLinkedServiceTypeProperties teradata linked service properties. type TeradataLinkedServiceTypeProperties struct { + // ConnectionString - Teradata ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + ConnectionString interface{} `json:"connectionString,omitempty"` // Server - Server name for connection. Type: string (or Expression with resultType string). Server interface{} `json:"server,omitempty"` // AuthenticationType - AuthenticationType to be used for connection. Possible values include: 'TeradataAuthenticationTypeBasic', 'TeradataAuthenticationTypeWindows' @@ -146381,6 +177518,15 @@ func (tlstp *TeradataLinkedServiceTypeProperties) UnmarshalJSON(body []byte) err } for k, v := range m { switch k { + case "connectionString": + if v != nil { + var connectionString interface{} + err = json.Unmarshal(*v, &connectionString) + if err != nil { + return err + } + tlstp.ConnectionString = connectionString + } case "server": if v != nil { var server interface{} @@ -146431,6 +177577,1144 @@ func (tlstp *TeradataLinkedServiceTypeProperties) UnmarshalJSON(body []byte) err return nil } +// TeradataPartitionSettings the settings that will be leveraged for teradata source partitioning. +type TeradataPartitionSettings struct { + // PartitionColumnName - The name of the column that will be used for proceeding range or hash partitioning. Type: string (or Expression with resultType string). + PartitionColumnName interface{} `json:"partitionColumnName,omitempty"` + // PartitionUpperBound - The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). + PartitionUpperBound interface{} `json:"partitionUpperBound,omitempty"` + // PartitionLowerBound - The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). + PartitionLowerBound interface{} `json:"partitionLowerBound,omitempty"` +} + +// TeradataSource a copy activity Teradata source. +type TeradataSource struct { + // Query - Teradata query. Type: string (or Expression with resultType string). + Query interface{} `json:"query,omitempty"` + // PartitionOption - The partition mechanism that will be used for teradata read in parallel. Possible values include: 'TeradataPartitionOptionNone', 'TeradataPartitionOptionHash', 'TeradataPartitionOptionDynamicRange' + PartitionOption TeradataPartitionOption `json:"partitionOption,omitempty"` + // PartitionSettings - The settings that will be leveraged for teradata source partitioning. + PartitionSettings *TeradataPartitionSettings `json:"partitionSettings,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + Type TypeBasicCopySource `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for TeradataSource. +func (ts TeradataSource) MarshalJSON() ([]byte, error) { + ts.Type = TypeTeradataSource + objectMap := make(map[string]interface{}) + if ts.Query != nil { + objectMap["query"] = ts.Query + } + if ts.PartitionOption != "" { + objectMap["partitionOption"] = ts.PartitionOption + } + if ts.PartitionSettings != nil { + objectMap["partitionSettings"] = ts.PartitionSettings + } + if ts.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = ts.SourceRetryCount + } + if ts.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = ts.SourceRetryWait + } + if ts.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = ts.MaxConcurrentConnections + } + if ts.Type != "" { + objectMap["type"] = ts.Type + } + for k, v := range ts.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAmazonRedshiftSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { + return nil, false +} + +// AsGoogleAdWordsSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { + return nil, false +} + +// AsOracleServiceCloudSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { + return nil, false +} + +// AsDynamicsAXSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { + return nil, false +} + +// AsResponsysSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsResponsysSource() (*ResponsysSource, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { + return nil, false +} + +// AsVerticaSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false +} + +// AsNetezzaSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false +} + +// AsZohoSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsZohoSource() (*ZohoSource, bool) { + return nil, false +} + +// AsXeroSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsXeroSource() (*XeroSource, bool) { + return nil, false +} + +// AsSquareSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsSquareSource() (*SquareSource, bool) { + return nil, false +} + +// AsSparkSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsSparkSource() (*SparkSource, bool) { + return nil, false +} + +// AsShopifySource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsShopifySource() (*ShopifySource, bool) { + return nil, false +} + +// AsServiceNowSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsServiceNowSource() (*ServiceNowSource, bool) { + return nil, false +} + +// AsQuickBooksSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsQuickBooksSource() (*QuickBooksSource, bool) { + return nil, false +} + +// AsPrestoSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsPrestoSource() (*PrestoSource, bool) { + return nil, false +} + +// AsPhoenixSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsPhoenixSource() (*PhoenixSource, bool) { + return nil, false +} + +// AsPaypalSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsPaypalSource() (*PaypalSource, bool) { + return nil, false +} + +// AsMarketoSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsMarketoSource() (*MarketoSource, bool) { + return nil, false +} + +// AsMariaDBSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsMariaDBSource() (*MariaDBSource, bool) { + return nil, false +} + +// AsMagentoSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsMagentoSource() (*MagentoSource, bool) { + return nil, false +} + +// AsJiraSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsJiraSource() (*JiraSource, bool) { + return nil, false +} + +// AsImpalaSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsImpalaSource() (*ImpalaSource, bool) { + return nil, false +} + +// AsHubspotSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsHubspotSource() (*HubspotSource, bool) { + return nil, false +} + +// AsHiveSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsHiveSource() (*HiveSource, bool) { + return nil, false +} + +// AsHBaseSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsHBaseSource() (*HBaseSource, bool) { + return nil, false +} + +// AsGreenplumSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsGreenplumSource() (*GreenplumSource, bool) { + return nil, false +} + +// AsGoogleBigQuerySource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { + return nil, false +} + +// AsEloquaSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsEloquaSource() (*EloquaSource, bool) { + return nil, false +} + +// AsDrillSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsDrillSource() (*DrillSource, bool) { + return nil, false +} + +// AsCouchbaseSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsCouchbaseSource() (*CouchbaseSource, bool) { + return nil, false +} + +// AsConcurSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsConcurSource() (*ConcurSource, bool) { + return nil, false +} + +// AsAzurePostgreSQLSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { + return nil, false +} + +// AsAmazonMWSSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { + return nil, false +} + +// AsHTTPSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsCassandraSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsCassandraSource() (*CassandraSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsTeradataSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsTeradataSource() (*TeradataSource, bool) { + return &ts, true +} + +// AsOracleSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsAzureMySQLSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsSQLDWSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsSQLDWSource() (*SQLDWSource, bool) { + return nil, false +} + +// AsSQLMISource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsSQLMISource() (*SQLMISource, bool) { + return nil, false +} + +// AsAzureSQLSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsAzureSQLSource() (*AzureSQLSource, bool) { + return nil, false +} + +// AsSQLServerSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsSQLServerSource() (*SQLServerSource, bool) { + return nil, false +} + +// AsSQLSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsSQLSource() (*SQLSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSapTableSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsSapTableSource() (*SapTableSource, bool) { + return nil, false +} + +// AsSapOpenHubSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { + return nil, false +} + +// AsSapHanaSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsSapHanaSource() (*SapHanaSource, bool) { + return nil, false +} + +// AsSapEccSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsSapEccSource() (*SapEccSource, bool) { + return nil, false +} + +// AsSapCloudForCustomerSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsSalesforceSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsSalesforceSource() (*SalesforceSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsSybaseSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsSybaseSource() (*SybaseSource, bool) { + return nil, false +} + +// AsPostgreSQLSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false +} + +// AsMySQLSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false +} + +// AsOdbcSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false +} + +// AsDb2Source is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsDb2Source() (*Db2Source, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + +// AsRelationalSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + +// AsDynamicsSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + +// AsAzureTableSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsBinarySource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsDelimitedTextSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false +} + +// AsParquetSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsBasicCopySource() (BasicCopySource, bool) { + return &ts, true +} + +// UnmarshalJSON is the custom unmarshaler for TeradataSource struct. +func (ts *TeradataSource) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "query": + if v != nil { + var query interface{} + err = json.Unmarshal(*v, &query) + if err != nil { + return err + } + ts.Query = query + } + case "partitionOption": + if v != nil { + var partitionOption TeradataPartitionOption + err = json.Unmarshal(*v, &partitionOption) + if err != nil { + return err + } + ts.PartitionOption = partitionOption + } + case "partitionSettings": + if v != nil { + var partitionSettings TeradataPartitionSettings + err = json.Unmarshal(*v, &partitionSettings) + if err != nil { + return err + } + ts.PartitionSettings = &partitionSettings + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if ts.AdditionalProperties == nil { + ts.AdditionalProperties = make(map[string]interface{}) + } + ts.AdditionalProperties[k] = additionalProperties + } + case "sourceRetryCount": + if v != nil { + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) + if err != nil { + return err + } + ts.SourceRetryCount = sourceRetryCount + } + case "sourceRetryWait": + if v != nil { + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) + if err != nil { + return err + } + ts.SourceRetryWait = sourceRetryWait + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + ts.MaxConcurrentConnections = maxConcurrentConnections + } + case "type": + if v != nil { + var typeVar TypeBasicCopySource + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + ts.Type = typeVar + } + } + } + + return nil +} + +// TeradataTableDataset the Teradata database dataset. +type TeradataTableDataset struct { + // TeradataTableDatasetTypeProperties - Teradata dataset properties. + *TeradataTableDatasetTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Description - Dataset description. + Description *string `json:"description,omitempty"` + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for TeradataTableDataset. +func (ttd TeradataTableDataset) MarshalJSON() ([]byte, error) { + ttd.Type = TypeTeradataTable + objectMap := make(map[string]interface{}) + if ttd.TeradataTableDatasetTypeProperties != nil { + objectMap["typeProperties"] = ttd.TeradataTableDatasetTypeProperties + } + if ttd.Description != nil { + objectMap["description"] = ttd.Description + } + if ttd.Structure != nil { + objectMap["structure"] = ttd.Structure + } + if ttd.Schema != nil { + objectMap["schema"] = ttd.Schema + } + if ttd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = ttd.LinkedServiceName + } + if ttd.Parameters != nil { + objectMap["parameters"] = ttd.Parameters + } + if ttd.Annotations != nil { + objectMap["annotations"] = ttd.Annotations + } + if ttd.Folder != nil { + objectMap["folder"] = ttd.Folder + } + if ttd.Type != "" { + objectMap["type"] = ttd.Type + } + for k, v := range ttd.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { + return nil, false +} + +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { + return nil, false +} + +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { + return nil, false +} + +// AsDynamicsAXResourceDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { + return nil, false +} + +// AsResponsysObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { + return nil, false +} + +// AsVerticaTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false +} + +// AsNetezzaTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false +} + +// AsZohoObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { + return nil, false +} + +// AsXeroObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { + return nil, false +} + +// AsSquareObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { + return nil, false +} + +// AsSparkObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { + return nil, false +} + +// AsShopifyObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { + return nil, false +} + +// AsServiceNowObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { + return nil, false +} + +// AsQuickBooksObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { + return nil, false +} + +// AsPrestoObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { + return nil, false +} + +// AsPhoenixObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { + return nil, false +} + +// AsPaypalObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { + return nil, false +} + +// AsMarketoObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { + return nil, false +} + +// AsMariaDBTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { + return nil, false +} + +// AsMagentoObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { + return nil, false +} + +// AsJiraObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { + return nil, false +} + +// AsImpalaObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { + return nil, false +} + +// AsHubspotObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { + return nil, false +} + +// AsHiveObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { + return nil, false +} + +// AsHBaseObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { + return nil, false +} + +// AsGreenplumTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { + return nil, false +} + +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { + return nil, false +} + +// AsEloquaObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { + return nil, false +} + +// AsDrillTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { + return nil, false +} + +// AsCouchbaseTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { + return nil, false +} + +// AsConcurObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { + return nil, false +} + +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { + return nil, false +} + +// AsAmazonMWSObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { + return nil, false +} + +// AsHTTPDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { + return nil, false +} + +// AsAzureSearchIndexDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { + return nil, false +} + +// AsWebTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { + return nil, false +} + +// AsSapTableResourceDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { + return nil, false +} + +// AsRestResourceDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { + return nil, false +} + +// AsSQLServerTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { + return nil, false +} + +// AsSapOpenHubTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { + return nil, false +} + +// AsSapHanaTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { + return nil, false +} + +// AsSapEccResourceDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { + return nil, false +} + +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { + return nil, false +} + +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { + return nil, false +} + +// AsSalesforceObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { + return nil, false +} + +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { + return nil, false +} + +// AsPostgreSQLTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { + return nil, false +} + +// AsMySQLTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { + return nil, false +} + +// AsOdbcTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { + return nil, false +} + +// AsInformixTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { + return nil, false +} + +// AsRelationalTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { + return nil, false +} + +// AsAzureMySQLTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { + return nil, false +} + +// AsTeradataTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { + return &ttd, true +} + +// AsOracleTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { + return nil, false +} + +// AsODataResourceDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { + return nil, false +} + +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { + return nil, false +} + +// AsMongoDbCollectionDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { + return nil, false +} + +// AsFileShareDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { + return nil, false +} + +// AsOffice365Dataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { + return nil, false +} + +// AsAzureBlobFSDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { + return nil, false +} + +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { + return nil, false +} + +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { + return nil, false +} + +// AsDynamicsEntityDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { + return nil, false +} + +// AsDocumentDbCollectionDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { + return nil, false +} + +// AsCustomDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsCustomDataset() (*CustomDataset, bool) { + return nil, false +} + +// AsCassandraTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { + return nil, false +} + +// AsAzureSQLDWTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { + return nil, false +} + +// AsAzureSQLMITableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + +// AsAzureSQLTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { + return nil, false +} + +// AsAzureTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { + return nil, false +} + +// AsAzureBlobDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { + return nil, false +} + +// AsBinaryDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + +// AsDelimitedTextDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { + return nil, false +} + +// AsParquetDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsBasicDataset() (BasicDataset, bool) { + return &ttd, true +} + +// UnmarshalJSON is the custom unmarshaler for TeradataTableDataset struct. +func (ttd *TeradataTableDataset) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "typeProperties": + if v != nil { + var teradataTableDatasetTypeProperties TeradataTableDatasetTypeProperties + err = json.Unmarshal(*v, &teradataTableDatasetTypeProperties) + if err != nil { + return err + } + ttd.TeradataTableDatasetTypeProperties = &teradataTableDatasetTypeProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if ttd.AdditionalProperties == nil { + ttd.AdditionalProperties = make(map[string]interface{}) + } + ttd.AdditionalProperties[k] = additionalProperties + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + ttd.Description = &description + } + case "structure": + if v != nil { + var structure interface{} + err = json.Unmarshal(*v, &structure) + if err != nil { + return err + } + ttd.Structure = structure + } + case "schema": + if v != nil { + var schema interface{} + err = json.Unmarshal(*v, &schema) + if err != nil { + return err + } + ttd.Schema = schema + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + ttd.LinkedServiceName = &linkedServiceName + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + ttd.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + ttd.Annotations = &annotations + } + case "folder": + if v != nil { + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) + if err != nil { + return err + } + ttd.Folder = &folder + } + case "type": + if v != nil { + var typeVar TypeBasicDataset + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + ttd.Type = typeVar + } + } + } + + return nil +} + +// TeradataTableDatasetTypeProperties teradata dataset properties. +type TeradataTableDatasetTypeProperties struct { + // Database - The database name of Teradata. Type: string (or Expression with resultType string). + Database interface{} `json:"database,omitempty"` + // Table - The table name of Teradata. Type: string (or Expression with resultType string). + Table interface{} `json:"table,omitempty"` +} + // TextFormat the data stored in text format. type TextFormat struct { // ColumnDelimiter - The column delimiter. Type: string (or Expression with resultType string). @@ -146695,7 +178979,7 @@ type Trigger struct { AdditionalProperties map[string]interface{} `json:""` // Description - Trigger description. Description *string `json:"description,omitempty"` - // RuntimeState - READ-ONLY; Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: 'TriggerRuntimeStateStarted', 'TriggerRuntimeStateStopped', 'TriggerRuntimeStateDisabled' + // RuntimeState - READ-ONLY; Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: 'Started', 'Stopped', 'Disabled' RuntimeState TriggerRuntimeState `json:"runtimeState,omitempty"` // Annotations - List of tags that can be used for describing the trigger. Annotations *[]interface{} `json:"annotations,omitempty"` @@ -147424,7 +179708,7 @@ type TumblingWindowTrigger struct { AdditionalProperties map[string]interface{} `json:""` // Description - Trigger description. Description *string `json:"description,omitempty"` - // RuntimeState - READ-ONLY; Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: 'TriggerRuntimeStateStarted', 'TriggerRuntimeStateStopped', 'TriggerRuntimeStateDisabled' + // RuntimeState - READ-ONLY; Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: 'Started', 'Stopped', 'Disabled' RuntimeState TriggerRuntimeState `json:"runtimeState,omitempty"` // Annotations - List of tags that can be used for describing the trigger. Annotations *[]interface{} `json:"annotations,omitempty"` @@ -148488,7 +180772,7 @@ type VerticaLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -148780,6 +181064,11 @@ func (vls VerticaLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudF return nil, false } +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + // AsSalesforceLinkedService is the BasicLinkedService implementation for VerticaLinkedService. func (vls VerticaLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false @@ -148835,6 +181124,16 @@ func (vls VerticaLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) return nil, false } +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + // AsOdbcLinkedService is the BasicLinkedService implementation for VerticaLinkedService. func (vls VerticaLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false @@ -148890,6 +181189,16 @@ func (vls VerticaLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedServ return nil, false } +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + // AsDynamicsLinkedService is the BasicLinkedService implementation for VerticaLinkedService. func (vls VerticaLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false @@ -148910,6 +181219,11 @@ func (vls VerticaLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedSe return nil, false } +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + // AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for VerticaLinkedService. func (vls VerticaLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false @@ -149053,7 +181367,7 @@ type VerticaSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -149297,6 +181611,11 @@ func (vs VerticaSource) AsWebSource() (*WebSource, bool) { return nil, false } +// AsTeradataSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + // AsOracleSource is the BasicCopySource implementation for VerticaSource. func (vs VerticaSource) AsOracleSource() (*OracleSource, bool) { return nil, false @@ -149327,6 +181646,11 @@ func (vs VerticaSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } +// AsSQLMISource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsSQLMISource() (*SQLMISource, bool) { + return nil, false +} + // AsAzureSQLSource is the BasicCopySource implementation for VerticaSource. func (vs VerticaSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false @@ -149372,16 +181696,71 @@ func (vs VerticaSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSourc return nil, false } +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + // AsSalesforceSource is the BasicCopySource implementation for VerticaSource. func (vs VerticaSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } +// AsODataSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsSybaseSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsSybaseSource() (*SybaseSource, bool) { + return nil, false +} + +// AsPostgreSQLSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false +} + +// AsMySQLSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false +} + +// AsOdbcSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false +} + +// AsDb2Source is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsDb2Source() (*Db2Source, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + // AsRelationalSource is the BasicCopySource implementation for VerticaSource. func (vs VerticaSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + // AsDynamicsSource is the BasicCopySource implementation for VerticaSource. func (vs VerticaSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false @@ -149402,6 +181781,11 @@ func (vs VerticaSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } +// AsBinarySource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + // AsDelimitedTextSource is the BasicCopySource implementation for VerticaSource. func (vs VerticaSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false @@ -149514,7 +181898,7 @@ type VerticaTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -149775,11 +182159,41 @@ func (vtd VerticaTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloud return nil, false } +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { + return nil, false +} + // AsSalesforceObjectDataset is the BasicDataset implementation for VerticaTableDataset. func (vtd VerticaTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { + return nil, false +} + +// AsPostgreSQLTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { + return nil, false +} + +// AsMySQLTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { + return nil, false +} + +// AsOdbcTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { + return nil, false +} + +// AsInformixTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { + return nil, false +} + // AsRelationalTableDataset is the BasicDataset implementation for VerticaTableDataset. func (vtd VerticaTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false @@ -149790,6 +182204,11 @@ func (vtd VerticaTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDatas return nil, false } +// AsTeradataTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { + return nil, false +} + // AsOracleTableDataset is the BasicDataset implementation for VerticaTableDataset. func (vtd VerticaTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false @@ -149835,6 +182254,16 @@ func (vtd VerticaTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStor return nil, false } +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { + return nil, false +} + +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { + return nil, false +} + // AsDynamicsEntityDataset is the BasicDataset implementation for VerticaTableDataset. func (vtd VerticaTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false @@ -149860,6 +182289,11 @@ func (vtd VerticaTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDatas return nil, false } +// AsAzureSQLMITableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + // AsAzureSQLTableDataset is the BasicDataset implementation for VerticaTableDataset. func (vtd VerticaTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false @@ -149875,6 +182309,11 @@ func (vtd VerticaTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } +// AsBinaryDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for VerticaTableDataset. func (vtd VerticaTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -151280,7 +183719,7 @@ type WebLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -151570,6 +184009,11 @@ func (wls WebLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCu return nil, false } +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + // AsSalesforceLinkedService is the BasicLinkedService implementation for WebLinkedService. func (wls WebLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false @@ -151625,6 +184069,16 @@ func (wls WebLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + // AsOdbcLinkedService is the BasicLinkedService implementation for WebLinkedService. func (wls WebLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false @@ -151680,6 +184134,16 @@ func (wls WebLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, return nil, false } +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + // AsDynamicsLinkedService is the BasicLinkedService implementation for WebLinkedService. func (wls WebLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false @@ -151700,6 +184164,11 @@ func (wls WebLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedServic return nil, false } +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + // AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for WebLinkedService. func (wls WebLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false @@ -151931,7 +184400,7 @@ type WebSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -152172,6 +184641,11 @@ func (ws WebSource) AsWebSource() (*WebSource, bool) { return &ws, true } +// AsTeradataSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + // AsOracleSource is the BasicCopySource implementation for WebSource. func (ws WebSource) AsOracleSource() (*OracleSource, bool) { return nil, false @@ -152202,6 +184676,11 @@ func (ws WebSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } +// AsSQLMISource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsSQLMISource() (*SQLMISource, bool) { + return nil, false +} + // AsAzureSQLSource is the BasicCopySource implementation for WebSource. func (ws WebSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false @@ -152247,16 +184726,71 @@ func (ws WebSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, b return nil, false } +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + // AsSalesforceSource is the BasicCopySource implementation for WebSource. func (ws WebSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } +// AsODataSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsSybaseSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsSybaseSource() (*SybaseSource, bool) { + return nil, false +} + +// AsPostgreSQLSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false +} + +// AsMySQLSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false +} + +// AsOdbcSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false +} + +// AsDb2Source is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsDb2Source() (*Db2Source, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + // AsRelationalSource is the BasicCopySource implementation for WebSource. func (ws WebSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + // AsDynamicsSource is the BasicCopySource implementation for WebSource. func (ws WebSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false @@ -152277,6 +184811,11 @@ func (ws WebSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } +// AsBinarySource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + // AsDelimitedTextSource is the BasicCopySource implementation for WebSource. func (ws WebSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false @@ -152380,7 +184919,7 @@ type WebTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -152641,11 +185180,41 @@ func (wtd WebTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForC return nil, false } +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { + return nil, false +} + // AsSalesforceObjectDataset is the BasicDataset implementation for WebTableDataset. func (wtd WebTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { + return nil, false +} + +// AsPostgreSQLTableDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { + return nil, false +} + +// AsMySQLTableDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { + return nil, false +} + +// AsOdbcTableDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { + return nil, false +} + +// AsInformixTableDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { + return nil, false +} + // AsRelationalTableDataset is the BasicDataset implementation for WebTableDataset. func (wtd WebTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false @@ -152656,6 +185225,11 @@ func (wtd WebTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, return nil, false } +// AsTeradataTableDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { + return nil, false +} + // AsOracleTableDataset is the BasicDataset implementation for WebTableDataset. func (wtd WebTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false @@ -152701,6 +185275,16 @@ func (wtd WebTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDat return nil, false } +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { + return nil, false +} + +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { + return nil, false +} + // AsDynamicsEntityDataset is the BasicDataset implementation for WebTableDataset. func (wtd WebTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false @@ -152726,6 +185310,11 @@ func (wtd WebTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, return nil, false } +// AsAzureSQLMITableDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + // AsAzureSQLTableDataset is the BasicDataset implementation for WebTableDataset. func (wtd WebTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false @@ -152741,6 +185330,11 @@ func (wtd WebTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } +// AsBinaryDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for WebTableDataset. func (wtd WebTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -152896,7 +185490,7 @@ type XeroLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -153188,6 +185782,11 @@ func (xls XeroLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForC return nil, false } +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + // AsSalesforceLinkedService is the BasicLinkedService implementation for XeroLinkedService. func (xls XeroLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false @@ -153243,6 +185842,16 @@ func (xls XeroLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + // AsOdbcLinkedService is the BasicLinkedService implementation for XeroLinkedService. func (xls XeroLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false @@ -153298,6 +185907,16 @@ func (xls XeroLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService return nil, false } +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + // AsDynamicsLinkedService is the BasicLinkedService implementation for XeroLinkedService. func (xls XeroLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false @@ -153318,6 +185937,11 @@ func (xls XeroLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedServi return nil, false } +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + // AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for XeroLinkedService. func (xls XeroLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false @@ -153554,7 +186178,7 @@ type XeroObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -153815,11 +186439,41 @@ func (xod XeroObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudFo return nil, false } +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { + return nil, false +} + // AsSalesforceObjectDataset is the BasicDataset implementation for XeroObjectDataset. func (xod XeroObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { + return nil, false +} + +// AsPostgreSQLTableDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { + return nil, false +} + +// AsMySQLTableDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { + return nil, false +} + +// AsOdbcTableDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { + return nil, false +} + +// AsInformixTableDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { + return nil, false +} + // AsRelationalTableDataset is the BasicDataset implementation for XeroObjectDataset. func (xod XeroObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false @@ -153830,6 +186484,11 @@ func (xod XeroObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset return nil, false } +// AsTeradataTableDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { + return nil, false +} + // AsOracleTableDataset is the BasicDataset implementation for XeroObjectDataset. func (xod XeroObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false @@ -153875,6 +186534,16 @@ func (xod XeroObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreD return nil, false } +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { + return nil, false +} + +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { + return nil, false +} + // AsDynamicsEntityDataset is the BasicDataset implementation for XeroObjectDataset. func (xod XeroObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false @@ -153900,6 +186569,11 @@ func (xod XeroObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset return nil, false } +// AsAzureSQLMITableDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + // AsAzureSQLTableDataset is the BasicDataset implementation for XeroObjectDataset. func (xod XeroObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false @@ -153915,6 +186589,11 @@ func (xod XeroObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } +// AsBinaryDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for XeroObjectDataset. func (xod XeroObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -154060,7 +186739,7 @@ type XeroSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -154304,6 +186983,11 @@ func (xs XeroSource) AsWebSource() (*WebSource, bool) { return nil, false } +// AsTeradataSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + // AsOracleSource is the BasicCopySource implementation for XeroSource. func (xs XeroSource) AsOracleSource() (*OracleSource, bool) { return nil, false @@ -154334,6 +187018,11 @@ func (xs XeroSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } +// AsSQLMISource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsSQLMISource() (*SQLMISource, bool) { + return nil, false +} + // AsAzureSQLSource is the BasicCopySource implementation for XeroSource. func (xs XeroSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false @@ -154379,16 +187068,71 @@ func (xs XeroSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, return nil, false } +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + // AsSalesforceSource is the BasicCopySource implementation for XeroSource. func (xs XeroSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } +// AsODataSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsSybaseSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsSybaseSource() (*SybaseSource, bool) { + return nil, false +} + +// AsPostgreSQLSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false +} + +// AsMySQLSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false +} + +// AsOdbcSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false +} + +// AsDb2Source is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsDb2Source() (*Db2Source, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + // AsRelationalSource is the BasicCopySource implementation for XeroSource. func (xs XeroSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + // AsDynamicsSource is the BasicCopySource implementation for XeroSource. func (xs XeroSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false @@ -154409,6 +187153,11 @@ func (xs XeroSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } +// AsBinarySource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + // AsDelimitedTextSource is the BasicCopySource implementation for XeroSource. func (xs XeroSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false @@ -154515,7 +187264,7 @@ type ZohoLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -154807,6 +187556,11 @@ func (zls ZohoLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForC return nil, false } +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for ZohoLinkedService. +func (zls ZohoLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + // AsSalesforceLinkedService is the BasicLinkedService implementation for ZohoLinkedService. func (zls ZohoLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false @@ -154862,6 +187616,16 @@ func (zls ZohoLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for ZohoLinkedService. +func (zls ZohoLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for ZohoLinkedService. +func (zls ZohoLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + // AsOdbcLinkedService is the BasicLinkedService implementation for ZohoLinkedService. func (zls ZohoLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false @@ -154917,6 +187681,16 @@ func (zls ZohoLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService return nil, false } +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for ZohoLinkedService. +func (zls ZohoLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for ZohoLinkedService. +func (zls ZohoLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + // AsDynamicsLinkedService is the BasicLinkedService implementation for ZohoLinkedService. func (zls ZohoLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false @@ -154937,6 +187711,11 @@ func (zls ZohoLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedServi return nil, false } +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for ZohoLinkedService. +func (zls ZohoLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + // AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for ZohoLinkedService. func (zls ZohoLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false @@ -155162,7 +187941,7 @@ type ZohoObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -155423,11 +188202,41 @@ func (zod ZohoObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudFo return nil, false } +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for ZohoObjectDataset. +func (zod ZohoObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { + return nil, false +} + // AsSalesforceObjectDataset is the BasicDataset implementation for ZohoObjectDataset. func (zod ZohoObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for ZohoObjectDataset. +func (zod ZohoObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { + return nil, false +} + +// AsPostgreSQLTableDataset is the BasicDataset implementation for ZohoObjectDataset. +func (zod ZohoObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { + return nil, false +} + +// AsMySQLTableDataset is the BasicDataset implementation for ZohoObjectDataset. +func (zod ZohoObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { + return nil, false +} + +// AsOdbcTableDataset is the BasicDataset implementation for ZohoObjectDataset. +func (zod ZohoObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { + return nil, false +} + +// AsInformixTableDataset is the BasicDataset implementation for ZohoObjectDataset. +func (zod ZohoObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { + return nil, false +} + // AsRelationalTableDataset is the BasicDataset implementation for ZohoObjectDataset. func (zod ZohoObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false @@ -155438,6 +188247,11 @@ func (zod ZohoObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset return nil, false } +// AsTeradataTableDataset is the BasicDataset implementation for ZohoObjectDataset. +func (zod ZohoObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { + return nil, false +} + // AsOracleTableDataset is the BasicDataset implementation for ZohoObjectDataset. func (zod ZohoObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false @@ -155483,6 +188297,16 @@ func (zod ZohoObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreD return nil, false } +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for ZohoObjectDataset. +func (zod ZohoObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { + return nil, false +} + +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for ZohoObjectDataset. +func (zod ZohoObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { + return nil, false +} + // AsDynamicsEntityDataset is the BasicDataset implementation for ZohoObjectDataset. func (zod ZohoObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false @@ -155508,6 +188332,11 @@ func (zod ZohoObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset return nil, false } +// AsAzureSQLMITableDataset is the BasicDataset implementation for ZohoObjectDataset. +func (zod ZohoObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + // AsAzureSQLTableDataset is the BasicDataset implementation for ZohoObjectDataset. func (zod ZohoObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false @@ -155523,6 +188352,11 @@ func (zod ZohoObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } +// AsBinaryDataset is the BasicDataset implementation for ZohoObjectDataset. +func (zod ZohoObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for ZohoObjectDataset. func (zod ZohoObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -155668,7 +188502,7 @@ type ZohoSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -155912,6 +188746,11 @@ func (zs ZohoSource) AsWebSource() (*WebSource, bool) { return nil, false } +// AsTeradataSource is the BasicCopySource implementation for ZohoSource. +func (zs ZohoSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + // AsOracleSource is the BasicCopySource implementation for ZohoSource. func (zs ZohoSource) AsOracleSource() (*OracleSource, bool) { return nil, false @@ -155942,6 +188781,11 @@ func (zs ZohoSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } +// AsSQLMISource is the BasicCopySource implementation for ZohoSource. +func (zs ZohoSource) AsSQLMISource() (*SQLMISource, bool) { + return nil, false +} + // AsAzureSQLSource is the BasicCopySource implementation for ZohoSource. func (zs ZohoSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false @@ -155987,16 +188831,71 @@ func (zs ZohoSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, return nil, false } +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for ZohoSource. +func (zs ZohoSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + // AsSalesforceSource is the BasicCopySource implementation for ZohoSource. func (zs ZohoSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } +// AsODataSource is the BasicCopySource implementation for ZohoSource. +func (zs ZohoSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsSybaseSource is the BasicCopySource implementation for ZohoSource. +func (zs ZohoSource) AsSybaseSource() (*SybaseSource, bool) { + return nil, false +} + +// AsPostgreSQLSource is the BasicCopySource implementation for ZohoSource. +func (zs ZohoSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false +} + +// AsMySQLSource is the BasicCopySource implementation for ZohoSource. +func (zs ZohoSource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false +} + +// AsOdbcSource is the BasicCopySource implementation for ZohoSource. +func (zs ZohoSource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false +} + +// AsDb2Source is the BasicCopySource implementation for ZohoSource. +func (zs ZohoSource) AsDb2Source() (*Db2Source, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for ZohoSource. +func (zs ZohoSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for ZohoSource. +func (zs ZohoSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + // AsRelationalSource is the BasicCopySource implementation for ZohoSource. func (zs ZohoSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for ZohoSource. +func (zs ZohoSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for ZohoSource. +func (zs ZohoSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + // AsDynamicsSource is the BasicCopySource implementation for ZohoSource. func (zs ZohoSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false @@ -156017,6 +188916,11 @@ func (zs ZohoSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } +// AsBinarySource is the BasicCopySource implementation for ZohoSource. +func (zs ZohoSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + // AsDelimitedTextSource is the BasicCopySource implementation for ZohoSource. func (zs ZohoSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/operations.go b/services/datafactory/mgmt/2018-06-01/datafactory/operations.go index 7c0e810c7901..f5ccc98dcddf 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/operations.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/operations.go @@ -93,8 +93,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, // ListSender sends the List request. The method will close the // http.Response Body if it receives an error. func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) + sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) + return autorest.SendWithSender(client, req, sd...) } // ListResponder handles the response to the List request. The method always diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/pipelineruns.go b/services/datafactory/mgmt/2018-06-01/datafactory/pipelineruns.go index f935a13d6f14..446ab3d5c2ba 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/pipelineruns.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/pipelineruns.go @@ -120,8 +120,8 @@ func (client PipelineRunsClient) CancelPreparer(ctx context.Context, resourceGro // CancelSender sends the Cancel request. The method will close the // http.Response Body if it receives an error. func (client PipelineRunsClient) CancelSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // CancelResponder handles the response to the Cancel request. The method always @@ -210,8 +210,8 @@ func (client PipelineRunsClient) GetPreparer(ctx context.Context, resourceGroupN // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client PipelineRunsClient) GetSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // GetResponder handles the response to the Get request. The method always @@ -305,8 +305,8 @@ func (client PipelineRunsClient) QueryByFactoryPreparer(ctx context.Context, res // QueryByFactorySender sends the QueryByFactory request. The method will close the // http.Response Body if it receives an error. func (client PipelineRunsClient) QueryByFactorySender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // QueryByFactoryResponder handles the response to the QueryByFactory request. The method always diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/pipelines.go b/services/datafactory/mgmt/2018-06-01/datafactory/pipelines.go index 9b2bab665398..be7036d65efd 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/pipelines.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/pipelines.go @@ -134,8 +134,8 @@ func (client PipelinesClient) CreateOrUpdatePreparer(ctx context.Context, resour // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client PipelinesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always @@ -251,8 +251,8 @@ func (client PipelinesClient) CreateRunPreparer(ctx context.Context, resourceGro // CreateRunSender sends the CreateRun request. The method will close the // http.Response Body if it receives an error. func (client PipelinesClient) CreateRunSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // CreateRunResponder handles the response to the CreateRun request. The method always @@ -346,8 +346,8 @@ func (client PipelinesClient) DeletePreparer(ctx context.Context, resourceGroupN // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client PipelinesClient) DeleteSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // DeleteResponder handles the response to the Delete request. The method always @@ -446,8 +446,8 @@ func (client PipelinesClient) GetPreparer(ctx context.Context, resourceGroupName // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client PipelinesClient) GetSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // GetResponder handles the response to the Get request. The method always @@ -536,8 +536,8 @@ func (client PipelinesClient) ListByFactoryPreparer(ctx context.Context, resourc // ListByFactorySender sends the ListByFactory request. The method will close the // http.Response Body if it receives an error. func (client PipelinesClient) ListByFactorySender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // ListByFactoryResponder handles the response to the ListByFactory request. The method always diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/reruntriggers.go b/services/datafactory/mgmt/2018-06-01/datafactory/reruntriggers.go index 0ed2209b93c3..cd696df0ab31 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/reruntriggers.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/reruntriggers.go @@ -120,9 +120,9 @@ func (client RerunTriggersClient) CancelPreparer(ctx context.Context, resourceGr // CancelSender sends the Cancel request. The method will close the // http.Response Body if it receives an error. func (client RerunTriggersClient) CancelSender(req *http.Request) (future RerunTriggersCancelFuture, err error) { + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) var resp *http.Response - resp, err = autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + resp, err = autorest.SendWithSender(client, req, sd...) if err != nil { return } @@ -236,8 +236,8 @@ func (client RerunTriggersClient) CreatePreparer(ctx context.Context, resourceGr // CreateSender sends the Create request. The method will close the // http.Response Body if it receives an error. func (client RerunTriggersClient) CreateSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // CreateResponder handles the response to the Create request. The method always @@ -332,8 +332,8 @@ func (client RerunTriggersClient) ListByTriggerPreparer(ctx context.Context, res // ListByTriggerSender sends the ListByTrigger request. The method will close the // http.Response Body if it receives an error. func (client RerunTriggersClient) ListByTriggerSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // ListByTriggerResponder handles the response to the ListByTrigger request. The method always @@ -464,9 +464,9 @@ func (client RerunTriggersClient) StartPreparer(ctx context.Context, resourceGro // StartSender sends the Start request. The method will close the // http.Response Body if it receives an error. func (client RerunTriggersClient) StartSender(req *http.Request) (future RerunTriggersStartFuture, err error) { + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) var resp *http.Response - resp, err = autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + resp, err = autorest.SendWithSender(client, req, sd...) if err != nil { return } @@ -564,9 +564,9 @@ func (client RerunTriggersClient) StopPreparer(ctx context.Context, resourceGrou // StopSender sends the Stop request. The method will close the // http.Response Body if it receives an error. func (client RerunTriggersClient) StopSender(req *http.Request) (future RerunTriggersStopFuture, err error) { + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) var resp *http.Response - resp, err = autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + resp, err = autorest.SendWithSender(client, req, sd...) if err != nil { return } diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/triggerruns.go b/services/datafactory/mgmt/2018-06-01/datafactory/triggerruns.go index b98db1993e25..a77a9d36a8ea 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/triggerruns.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/triggerruns.go @@ -120,8 +120,8 @@ func (client TriggerRunsClient) QueryByFactoryPreparer(ctx context.Context, reso // QueryByFactorySender sends the QueryByFactory request. The method will close the // http.Response Body if it receives an error. func (client TriggerRunsClient) QueryByFactorySender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // QueryByFactoryResponder handles the response to the QueryByFactory request. The method always diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/triggers.go b/services/datafactory/mgmt/2018-06-01/datafactory/triggers.go index 794f087bf936..cc6fc803c787 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/triggers.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/triggers.go @@ -131,8 +131,8 @@ func (client TriggersClient) CreateOrUpdatePreparer(ctx context.Context, resourc // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client TriggersClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always @@ -226,8 +226,8 @@ func (client TriggersClient) DeletePreparer(ctx context.Context, resourceGroupNa // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client TriggersClient) DeleteSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // DeleteResponder handles the response to the Delete request. The method always @@ -326,8 +326,8 @@ func (client TriggersClient) GetPreparer(ctx context.Context, resourceGroupName // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client TriggersClient) GetSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // GetResponder handles the response to the Get request. The method always @@ -416,8 +416,8 @@ func (client TriggersClient) ListByFactoryPreparer(ctx context.Context, resource // ListByFactorySender sends the ListByFactory request. The method will close the // http.Response Body if it receives an error. func (client TriggersClient) ListByFactorySender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // ListByFactoryResponder handles the response to the ListByFactory request. The method always @@ -542,9 +542,9 @@ func (client TriggersClient) StartPreparer(ctx context.Context, resourceGroupNam // StartSender sends the Start request. The method will close the // http.Response Body if it receives an error. func (client TriggersClient) StartSender(req *http.Request) (future TriggersStartFuture, err error) { + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) var resp *http.Response - resp, err = autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + resp, err = autorest.SendWithSender(client, req, sd...) if err != nil { return } @@ -636,9 +636,9 @@ func (client TriggersClient) StopPreparer(ctx context.Context, resourceGroupName // StopSender sends the Stop request. The method will close the // http.Response Body if it receives an error. func (client TriggersClient) StopSender(req *http.Request) (future TriggersStopFuture, err error) { + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) var resp *http.Response - resp, err = autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + resp, err = autorest.SendWithSender(client, req, sd...) if err != nil { return } diff --git a/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/activityruns.go b/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/activityruns.go index 5e740a7a08af..6ccdcd449d5a 100644 --- a/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/activityruns.go +++ b/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/activityruns.go @@ -138,8 +138,8 @@ func (client ActivityRunsClient) ListByPipelineRunPreparer(ctx context.Context, // ListByPipelineRunSender sends the ListByPipelineRun request. The method will close the // http.Response Body if it receives an error. func (client ActivityRunsClient) ListByPipelineRunSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // ListByPipelineRunResponder handles the response to the ListByPipelineRun request. The method always diff --git a/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/datasets.go b/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/datasets.go index c503422332c0..cec2fd22bd74 100644 --- a/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/datasets.go +++ b/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/datasets.go @@ -136,8 +136,8 @@ func (client DatasetsClient) CreateOrUpdatePreparer(ctx context.Context, resourc // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client DatasetsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always @@ -231,8 +231,8 @@ func (client DatasetsClient) DeletePreparer(ctx context.Context, resourceGroupNa // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client DatasetsClient) DeleteSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // DeleteResponder handles the response to the Delete request. The method always @@ -325,8 +325,8 @@ func (client DatasetsClient) GetPreparer(ctx context.Context, resourceGroupName // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client DatasetsClient) GetSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // GetResponder handles the response to the Get request. The method always @@ -415,8 +415,8 @@ func (client DatasetsClient) ListByFactoryPreparer(ctx context.Context, resource // ListByFactorySender sends the ListByFactory request. The method will close the // http.Response Body if it receives an error. func (client DatasetsClient) ListByFactorySender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // ListByFactoryResponder handles the response to the ListByFactory request. The method always diff --git a/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/factories.go b/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/factories.go index 84559ad5a05b..8f58269adfb4 100644 --- a/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/factories.go +++ b/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/factories.go @@ -116,8 +116,8 @@ func (client FactoriesClient) CancelPipelineRunPreparer(ctx context.Context, res // CancelPipelineRunSender sends the CancelPipelineRun request. The method will close the // http.Response Body if it receives an error. func (client FactoriesClient) CancelPipelineRunSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // CancelPipelineRunResponder handles the response to the CancelPipelineRun request. The method always @@ -193,8 +193,8 @@ func (client FactoriesClient) ConfigureFactoryRepoPreparer(ctx context.Context, // ConfigureFactoryRepoSender sends the ConfigureFactoryRepo request. The method will close the // http.Response Body if it receives an error. func (client FactoriesClient) ConfigureFactoryRepoSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // ConfigureFactoryRepoResponder handles the response to the ConfigureFactoryRepo request. The method always @@ -288,8 +288,8 @@ func (client FactoriesClient) CreateOrUpdatePreparer(ctx context.Context, resour // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client FactoriesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always @@ -377,8 +377,8 @@ func (client FactoriesClient) DeletePreparer(ctx context.Context, resourceGroupN // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client FactoriesClient) DeleteSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // DeleteResponder handles the response to the Delete request. The method always @@ -465,8 +465,8 @@ func (client FactoriesClient) GetPreparer(ctx context.Context, resourceGroupName // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client FactoriesClient) GetSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // GetResponder handles the response to the Get request. The method always @@ -538,8 +538,8 @@ func (client FactoriesClient) ListPreparer(ctx context.Context) (*http.Request, // ListSender sends the List request. The method will close the // http.Response Body if it receives an error. func (client FactoriesClient) ListSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // ListResponder handles the response to the List request. The method always @@ -659,8 +659,8 @@ func (client FactoriesClient) ListByResourceGroupPreparer(ctx context.Context, r // ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the // http.Response Body if it receives an error. func (client FactoriesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always @@ -788,8 +788,8 @@ func (client FactoriesClient) UpdatePreparer(ctx context.Context, resourceGroupN // UpdateSender sends the Update request. The method will close the // http.Response Body if it receives an error. func (client FactoriesClient) UpdateSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // UpdateResponder handles the response to the Update request. The method always diff --git a/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/integrationruntimenodes.go b/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/integrationruntimenodes.go index 892ad80c341b..1aa49a991f7c 100644 --- a/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/integrationruntimenodes.go +++ b/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/integrationruntimenodes.go @@ -126,8 +126,8 @@ func (client IntegrationRuntimeNodesClient) DeletePreparer(ctx context.Context, // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimeNodesClient) DeleteSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // DeleteResponder handles the response to the Delete request. The method always @@ -226,8 +226,8 @@ func (client IntegrationRuntimeNodesClient) GetIPAddressPreparer(ctx context.Con // GetIPAddressSender sends the GetIPAddress request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimeNodesClient) GetIPAddressSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // GetIPAddressResponder handles the response to the GetIPAddress request. The method always @@ -330,8 +330,8 @@ func (client IntegrationRuntimeNodesClient) UpdatePreparer(ctx context.Context, // UpdateSender sends the Update request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimeNodesClient) UpdateSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // UpdateResponder handles the response to the Update request. The method always diff --git a/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/integrationruntimes.go b/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/integrationruntimes.go index aca64dd65fb2..4ca1d27c3550 100644 --- a/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/integrationruntimes.go +++ b/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/integrationruntimes.go @@ -131,8 +131,8 @@ func (client IntegrationRuntimesClient) CreateOrUpdatePreparer(ctx context.Conte // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always @@ -226,8 +226,8 @@ func (client IntegrationRuntimesClient) DeletePreparer(ctx context.Context, reso // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimesClient) DeleteSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // DeleteResponder handles the response to the Delete request. The method always @@ -320,8 +320,8 @@ func (client IntegrationRuntimesClient) GetPreparer(ctx context.Context, resourc // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimesClient) GetSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // GetResponder handles the response to the Get request. The method always @@ -416,8 +416,8 @@ func (client IntegrationRuntimesClient) GetConnectionInfoPreparer(ctx context.Co // GetConnectionInfoSender sends the GetConnectionInfo request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimesClient) GetConnectionInfoSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // GetConnectionInfoResponder handles the response to the GetConnectionInfo request. The method always @@ -512,8 +512,8 @@ func (client IntegrationRuntimesClient) GetMonitoringDataPreparer(ctx context.Co // GetMonitoringDataSender sends the GetMonitoringData request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimesClient) GetMonitoringDataSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // GetMonitoringDataResponder handles the response to the GetMonitoringData request. The method always @@ -607,8 +607,8 @@ func (client IntegrationRuntimesClient) GetStatusPreparer(ctx context.Context, r // GetStatusSender sends the GetStatus request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimesClient) GetStatusSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // GetStatusResponder handles the response to the GetStatus request. The method always @@ -702,8 +702,8 @@ func (client IntegrationRuntimesClient) ListAuthKeysPreparer(ctx context.Context // ListAuthKeysSender sends the ListAuthKeys request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimesClient) ListAuthKeysSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // ListAuthKeysResponder handles the response to the ListAuthKeys request. The method always @@ -792,8 +792,8 @@ func (client IntegrationRuntimesClient) ListByFactoryPreparer(ctx context.Contex // ListByFactorySender sends the ListByFactory request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimesClient) ListByFactorySender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // ListByFactoryResponder handles the response to the ListByFactory request. The method always @@ -927,8 +927,8 @@ func (client IntegrationRuntimesClient) RegenerateAuthKeyPreparer(ctx context.Co // RegenerateAuthKeySender sends the RegenerateAuthKey request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimesClient) RegenerateAuthKeySender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // RegenerateAuthKeyResponder handles the response to the RegenerateAuthKey request. The method always @@ -1025,8 +1025,8 @@ func (client IntegrationRuntimesClient) RemoveNodePreparer(ctx context.Context, // RemoveNodeSender sends the RemoveNode request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimesClient) RemoveNodeSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // RemoveNodeResponder handles the response to the RemoveNode request. The method always @@ -1113,9 +1113,9 @@ func (client IntegrationRuntimesClient) StartPreparer(ctx context.Context, resou // StartSender sends the Start request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimesClient) StartSender(req *http.Request) (future IntegrationRuntimesStartFuture, err error) { + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) var resp *http.Response - resp, err = autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + resp, err = autorest.SendWithSender(client, req, sd...) if err != nil { return } @@ -1208,9 +1208,9 @@ func (client IntegrationRuntimesClient) StopPreparer(ctx context.Context, resour // StopSender sends the Stop request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimesClient) StopSender(req *http.Request) (future IntegrationRuntimesStopFuture, err error) { + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) var resp *http.Response - resp, err = autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + resp, err = autorest.SendWithSender(client, req, sd...) if err != nil { return } @@ -1311,8 +1311,8 @@ func (client IntegrationRuntimesClient) SyncCredentialsPreparer(ctx context.Cont // SyncCredentialsSender sends the SyncCredentials request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimesClient) SyncCredentialsSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // SyncCredentialsResponder handles the response to the SyncCredentials request. The method always @@ -1408,8 +1408,8 @@ func (client IntegrationRuntimesClient) UpdatePreparer(ctx context.Context, reso // UpdateSender sends the Update request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimesClient) UpdateSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // UpdateResponder handles the response to the Update request. The method always @@ -1503,8 +1503,8 @@ func (client IntegrationRuntimesClient) UpgradePreparer(ctx context.Context, res // UpgradeSender sends the Upgrade request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimesClient) UpgradeSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // UpgradeResponder handles the response to the Upgrade request. The method always diff --git a/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/linkedservices.go b/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/linkedservices.go index 98e4c86d2901..586d2f867c5b 100644 --- a/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/linkedservices.go +++ b/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/linkedservices.go @@ -136,8 +136,8 @@ func (client LinkedServicesClient) CreateOrUpdatePreparer(ctx context.Context, r // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client LinkedServicesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always @@ -231,8 +231,8 @@ func (client LinkedServicesClient) DeletePreparer(ctx context.Context, resourceG // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client LinkedServicesClient) DeleteSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // DeleteResponder handles the response to the Delete request. The method always @@ -325,8 +325,8 @@ func (client LinkedServicesClient) GetPreparer(ctx context.Context, resourceGrou // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client LinkedServicesClient) GetSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // GetResponder handles the response to the Get request. The method always @@ -415,8 +415,8 @@ func (client LinkedServicesClient) ListByFactoryPreparer(ctx context.Context, re // ListByFactorySender sends the ListByFactory request. The method will close the // http.Response Body if it receives an error. func (client LinkedServicesClient) ListByFactorySender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // ListByFactoryResponder handles the response to the ListByFactory request. The method always diff --git a/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/models.go b/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/models.go index efa55c0ad581..b207dd6b13b7 100644 --- a/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/models.go +++ b/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/models.go @@ -808,6 +808,21 @@ func PossibleSparkThriftTransportProtocolValues() []SparkThriftTransportProtocol return []SparkThriftTransportProtocol{SparkThriftTransportProtocolBinary, SparkThriftTransportProtocolHTTP, SparkThriftTransportProtocolSASL} } +// SsisPackageLocationType enumerates the values for ssis package location type. +type SsisPackageLocationType string + +const ( + // File ... + File SsisPackageLocationType = "File" + // SSISDB ... + SSISDB SsisPackageLocationType = "SSISDB" +) + +// PossibleSsisPackageLocationTypeValues returns an array of possible values for the SsisPackageLocationType const type. +func PossibleSsisPackageLocationTypeValues() []SsisPackageLocationType { + return []SsisPackageLocationType{File, SSISDB} +} + // SybaseAuthenticationType enumerates the values for sybase authentication type. type SybaseAuthenticationType string @@ -35970,6 +35985,8 @@ type ExecuteSSISPackageActivityTypeProperties struct { PackageConnectionManagers map[string]map[string]*SSISExecutionParameter `json:"packageConnectionManagers"` // PropertyOverrides - The property overrides to execute the SSIS package. PropertyOverrides map[string]*SSISPropertyOverride `json:"propertyOverrides"` + // LogLocation - SSIS package execution log location. + LogLocation *SSISLogLocation `json:"logLocation,omitempty"` } // MarshalJSON is the custom marshaler for ExecuteSSISPackageActivityTypeProperties. @@ -36008,6 +36025,9 @@ func (espatp ExecuteSSISPackageActivityTypeProperties) MarshalJSON() ([]byte, er if espatp.PropertyOverrides != nil { objectMap["propertyOverrides"] = espatp.PropertyOverrides } + if espatp.LogLocation != nil { + objectMap["logLocation"] = espatp.LogLocation + } return json.Marshal(objectMap) } @@ -94986,6 +95006,57 @@ func (ss *SquareSource) UnmarshalJSON(body []byte) error { return nil } +// SSISAccessCredential SSIS access credential. +type SSISAccessCredential struct { + // Domain - Domain for windows authentication. + Domain interface{} `json:"domain,omitempty"` + // UserName - UseName for windows authentication. + UserName interface{} `json:"userName,omitempty"` + // Password - Password for windows authentication. + Password BasicSecretBase `json:"password,omitempty"` +} + +// UnmarshalJSON is the custom unmarshaler for SSISAccessCredential struct. +func (sac *SSISAccessCredential) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "domain": + if v != nil { + var domain interface{} + err = json.Unmarshal(*v, &domain) + if err != nil { + return err + } + sac.Domain = domain + } + case "userName": + if v != nil { + var userName interface{} + err = json.Unmarshal(*v, &userName) + if err != nil { + return err + } + sac.UserName = userName + } + case "password": + if v != nil { + password, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + sac.Password = password + } + } + } + + return nil +} + // SSISExecutionCredential SSIS package execution credential. type SSISExecutionCredential struct { // Domain - Domain for windows authentication. @@ -95002,10 +95073,197 @@ type SSISExecutionParameter struct { Value interface{} `json:"value,omitempty"` } +// SSISLogLocation SSIS package execution log location +type SSISLogLocation struct { + // LogPath - The SSIS package execution log path. Type: string (or Expression with resultType string). + LogPath interface{} `json:"logPath,omitempty"` + // Type - The type of SSIS log location. + Type *string `json:"type,omitempty"` + // SSISLogLocationTypeProperties - SSIS package execution log location properties. + *SSISLogLocationTypeProperties `json:"typeProperties,omitempty"` +} + +// MarshalJSON is the custom marshaler for SSISLogLocation. +func (sll SSISLogLocation) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if sll.LogPath != nil { + objectMap["logPath"] = sll.LogPath + } + if sll.Type != nil { + objectMap["type"] = sll.Type + } + if sll.SSISLogLocationTypeProperties != nil { + objectMap["typeProperties"] = sll.SSISLogLocationTypeProperties + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for SSISLogLocation struct. +func (sll *SSISLogLocation) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "logPath": + if v != nil { + var logPath interface{} + err = json.Unmarshal(*v, &logPath) + if err != nil { + return err + } + sll.LogPath = logPath + } + case "type": + if v != nil { + var typeVar string + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + sll.Type = &typeVar + } + case "typeProperties": + if v != nil { + var sSISLogLocationTypeProperties SSISLogLocationTypeProperties + err = json.Unmarshal(*v, &sSISLogLocationTypeProperties) + if err != nil { + return err + } + sll.SSISLogLocationTypeProperties = &sSISLogLocationTypeProperties + } + } + } + + return nil +} + +// SSISLogLocationTypeProperties SSIS package execution log location properties. +type SSISLogLocationTypeProperties struct { + // AccessCredential - The package execution log access credential. + AccessCredential *SSISAccessCredential `json:"accessCredential,omitempty"` + // LogRefreshInterval - Specifies the interval to refresh log. The default interval is 5 minutes. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + LogRefreshInterval interface{} `json:"logRefreshInterval,omitempty"` +} + // SSISPackageLocation SSIS package location. type SSISPackageLocation struct { // PackagePath - The SSIS package path. Type: string (or Expression with resultType string). PackagePath interface{} `json:"packagePath,omitempty"` + // Type - The type of SSIS package location. Possible values include: 'SSISDB', 'File' + Type SsisPackageLocationType `json:"type,omitempty"` + // SSISPackageLocationTypeProperties - SSIS package location properties. + *SSISPackageLocationTypeProperties `json:"typeProperties,omitempty"` +} + +// MarshalJSON is the custom marshaler for SSISPackageLocation. +func (spl SSISPackageLocation) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if spl.PackagePath != nil { + objectMap["packagePath"] = spl.PackagePath + } + if spl.Type != "" { + objectMap["type"] = spl.Type + } + if spl.SSISPackageLocationTypeProperties != nil { + objectMap["typeProperties"] = spl.SSISPackageLocationTypeProperties + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for SSISPackageLocation struct. +func (spl *SSISPackageLocation) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "packagePath": + if v != nil { + var packagePath interface{} + err = json.Unmarshal(*v, &packagePath) + if err != nil { + return err + } + spl.PackagePath = packagePath + } + case "type": + if v != nil { + var typeVar SsisPackageLocationType + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + spl.Type = typeVar + } + case "typeProperties": + if v != nil { + var sSISPackageLocationTypeProperties SSISPackageLocationTypeProperties + err = json.Unmarshal(*v, &sSISPackageLocationTypeProperties) + if err != nil { + return err + } + spl.SSISPackageLocationTypeProperties = &sSISPackageLocationTypeProperties + } + } + } + + return nil +} + +// SSISPackageLocationTypeProperties SSIS package location properties. +type SSISPackageLocationTypeProperties struct { + // PackagePassword - Password of the package. + PackagePassword BasicSecretBase `json:"packagePassword,omitempty"` + // AccessCredential - The package access credential. + AccessCredential *SSISAccessCredential `json:"accessCredential,omitempty"` + // ConfigurationPath - The configuration file of the package execution. Type: string (or Expression with resultType string). + ConfigurationPath interface{} `json:"configurationPath,omitempty"` +} + +// UnmarshalJSON is the custom unmarshaler for SSISPackageLocationTypeProperties struct. +func (spltp *SSISPackageLocationTypeProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "packagePassword": + if v != nil { + packagePassword, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + spltp.PackagePassword = packagePassword + } + case "accessCredential": + if v != nil { + var accessCredential SSISAccessCredential + err = json.Unmarshal(*v, &accessCredential) + if err != nil { + return err + } + spltp.AccessCredential = &accessCredential + } + case "configurationPath": + if v != nil { + var configurationPath interface{} + err = json.Unmarshal(*v, &configurationPath) + if err != nil { + return err + } + spltp.ConfigurationPath = configurationPath + } + } + } + + return nil } // SSISPropertyOverride SSIS property override. diff --git a/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/operations.go b/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/operations.go index 8d168db377b6..e7a7da5e553c 100644 --- a/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/operations.go +++ b/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/operations.go @@ -92,8 +92,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, // ListSender sends the List request. The method will close the // http.Response Body if it receives an error. func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) + sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) + return autorest.SendWithSender(client, req, sd...) } // ListResponder handles the response to the List request. The method always diff --git a/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/pipelineruns.go b/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/pipelineruns.go index 93bbdd140f35..432390d33770 100644 --- a/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/pipelineruns.go +++ b/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/pipelineruns.go @@ -116,8 +116,8 @@ func (client PipelineRunsClient) GetPreparer(ctx context.Context, resourceGroupN // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client PipelineRunsClient) GetSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // GetResponder handles the response to the Get request. The method always @@ -211,8 +211,8 @@ func (client PipelineRunsClient) QueryByFactoryPreparer(ctx context.Context, res // QueryByFactorySender sends the QueryByFactory request. The method will close the // http.Response Body if it receives an error. func (client PipelineRunsClient) QueryByFactorySender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // QueryByFactoryResponder handles the response to the QueryByFactory request. The method always diff --git a/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/pipelines.go b/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/pipelines.go index cb68b90545df..9300c51800b2 100644 --- a/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/pipelines.go +++ b/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/pipelines.go @@ -134,8 +134,8 @@ func (client PipelinesClient) CreateOrUpdatePreparer(ctx context.Context, resour // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client PipelinesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always @@ -235,8 +235,8 @@ func (client PipelinesClient) CreateRunPreparer(ctx context.Context, resourceGro // CreateRunSender sends the CreateRun request. The method will close the // http.Response Body if it receives an error. func (client PipelinesClient) CreateRunSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // CreateRunResponder handles the response to the CreateRun request. The method always @@ -330,8 +330,8 @@ func (client PipelinesClient) DeletePreparer(ctx context.Context, resourceGroupN // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client PipelinesClient) DeleteSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // DeleteResponder handles the response to the Delete request. The method always @@ -424,8 +424,8 @@ func (client PipelinesClient) GetPreparer(ctx context.Context, resourceGroupName // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client PipelinesClient) GetSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // GetResponder handles the response to the Get request. The method always @@ -514,8 +514,8 @@ func (client PipelinesClient) ListByFactoryPreparer(ctx context.Context, resourc // ListByFactorySender sends the ListByFactory request. The method will close the // http.Response Body if it receives an error. func (client PipelinesClient) ListByFactorySender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // ListByFactoryResponder handles the response to the ListByFactory request. The method always diff --git a/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/triggers.go b/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/triggers.go index 2e978c99f44e..fd742501271d 100644 --- a/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/triggers.go +++ b/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/triggers.go @@ -132,8 +132,8 @@ func (client TriggersClient) CreateOrUpdatePreparer(ctx context.Context, resourc // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client TriggersClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always @@ -227,8 +227,8 @@ func (client TriggersClient) DeletePreparer(ctx context.Context, resourceGroupNa // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client TriggersClient) DeleteSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // DeleteResponder handles the response to the Delete request. The method always @@ -321,8 +321,8 @@ func (client TriggersClient) GetPreparer(ctx context.Context, resourceGroupName // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client TriggersClient) GetSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // GetResponder handles the response to the Get request. The method always @@ -411,8 +411,8 @@ func (client TriggersClient) ListByFactoryPreparer(ctx context.Context, resource // ListByFactorySender sends the ListByFactory request. The method will close the // http.Response Body if it receives an error. func (client TriggersClient) ListByFactorySender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // ListByFactoryResponder handles the response to the ListByFactory request. The method always @@ -548,8 +548,8 @@ func (client TriggersClient) ListRunsPreparer(ctx context.Context, resourceGroup // ListRunsSender sends the ListRuns request. The method will close the // http.Response Body if it receives an error. func (client TriggersClient) ListRunsSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) } // ListRunsResponder handles the response to the ListRuns request. The method always @@ -674,9 +674,9 @@ func (client TriggersClient) StartPreparer(ctx context.Context, resourceGroupNam // StartSender sends the Start request. The method will close the // http.Response Body if it receives an error. func (client TriggersClient) StartSender(req *http.Request) (future TriggersStartFuture, err error) { + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) var resp *http.Response - resp, err = autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + resp, err = autorest.SendWithSender(client, req, sd...) if err != nil { return } @@ -768,9 +768,9 @@ func (client TriggersClient) StopPreparer(ctx context.Context, resourceGroupName // StopSender sends the Stop request. The method will close the // http.Response Body if it receives an error. func (client TriggersClient) StopSender(req *http.Request) (future TriggersStopFuture, err error) { + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) var resp *http.Response - resp, err = autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) + resp, err = autorest.SendWithSender(client, req, sd...) if err != nil { return } From 1ee7b84d814132d7226f24964c1e7fe08ceed800 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Tue, 23 Jul 2019 12:00:25 -0700 Subject: [PATCH 2/5] [AutoPR datafactory/resource-manager] fix: datafactory character encoding (#5311) * Generated from 1f768e0b1251c521df6386353c805af1f1980b87 fix: datafactory character encoding * Generated from 1f768e0b1251c521df6386353c805af1f1980b87 fix: datafactory character encoding --- .../datafactory/mgmt/datafactory/models.go | 3 + .../datafactory/mgmt/datafactory/models.go | 3 + .../mgmt/2018-06-01/datafactory/models.go | 595 ++++++++++++++++-- 3 files changed, 565 insertions(+), 36 deletions(-) diff --git a/profiles/latest/datafactory/mgmt/datafactory/models.go b/profiles/latest/datafactory/mgmt/datafactory/models.go index fd5d5138ce9b..3995ed79e8ed 100644 --- a/profiles/latest/datafactory/mgmt/datafactory/models.go +++ b/profiles/latest/datafactory/mgmt/datafactory/models.go @@ -628,6 +628,7 @@ type TypeBasicActivity = original.TypeBasicActivity const ( TypeActivity TypeBasicActivity = original.TypeActivity TypeAppendVariable TypeBasicActivity = original.TypeAppendVariable + TypeAzureDataExplorerCommand TypeBasicActivity = original.TypeAzureDataExplorerCommand TypeAzureFunctionActivity TypeBasicActivity = original.TypeAzureFunctionActivity TypeAzureMLBatchExecution TypeBasicActivity = original.TypeAzureMLBatchExecution TypeAzureMLUpdateResource TypeBasicActivity = original.TypeAzureMLUpdateResource @@ -1102,6 +1103,8 @@ type AzureBlobStorageLinkedServiceTypeProperties = original.AzureBlobStorageLink type AzureBlobStorageLocation = original.AzureBlobStorageLocation type AzureBlobStorageReadSettings = original.AzureBlobStorageReadSettings type AzureBlobStorageWriteSettings = original.AzureBlobStorageWriteSettings +type AzureDataExplorerCommand = original.AzureDataExplorerCommand +type AzureDataExplorerCommandActivityTypeProperties = original.AzureDataExplorerCommandActivityTypeProperties type AzureDataExplorerDatasetTypeProperties = original.AzureDataExplorerDatasetTypeProperties type AzureDataExplorerLinkedService = original.AzureDataExplorerLinkedService type AzureDataExplorerLinkedServiceTypeProperties = original.AzureDataExplorerLinkedServiceTypeProperties diff --git a/profiles/preview/datafactory/mgmt/datafactory/models.go b/profiles/preview/datafactory/mgmt/datafactory/models.go index eafb88c325c0..7dbf978d2a5a 100644 --- a/profiles/preview/datafactory/mgmt/datafactory/models.go +++ b/profiles/preview/datafactory/mgmt/datafactory/models.go @@ -628,6 +628,7 @@ type TypeBasicActivity = original.TypeBasicActivity const ( TypeActivity TypeBasicActivity = original.TypeActivity TypeAppendVariable TypeBasicActivity = original.TypeAppendVariable + TypeAzureDataExplorerCommand TypeBasicActivity = original.TypeAzureDataExplorerCommand TypeAzureFunctionActivity TypeBasicActivity = original.TypeAzureFunctionActivity TypeAzureMLBatchExecution TypeBasicActivity = original.TypeAzureMLBatchExecution TypeAzureMLUpdateResource TypeBasicActivity = original.TypeAzureMLUpdateResource @@ -1102,6 +1103,8 @@ type AzureBlobStorageLinkedServiceTypeProperties = original.AzureBlobStorageLink type AzureBlobStorageLocation = original.AzureBlobStorageLocation type AzureBlobStorageReadSettings = original.AzureBlobStorageReadSettings type AzureBlobStorageWriteSettings = original.AzureBlobStorageWriteSettings +type AzureDataExplorerCommand = original.AzureDataExplorerCommand +type AzureDataExplorerCommandActivityTypeProperties = original.AzureDataExplorerCommandActivityTypeProperties type AzureDataExplorerDatasetTypeProperties = original.AzureDataExplorerDatasetTypeProperties type AzureDataExplorerLinkedService = original.AzureDataExplorerLinkedService type AzureDataExplorerLinkedServiceTypeProperties = original.AzureDataExplorerLinkedServiceTypeProperties diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/models.go b/services/datafactory/mgmt/2018-06-01/datafactory/models.go index b9da4929a35e..c587e899070c 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/models.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/models.go @@ -1301,6 +1301,8 @@ const ( TypeActivity TypeBasicActivity = "Activity" // TypeAppendVariable ... TypeAppendVariable TypeBasicActivity = "AppendVariable" + // TypeAzureDataExplorerCommand ... + TypeAzureDataExplorerCommand TypeBasicActivity = "AzureDataExplorerCommand" // TypeAzureFunctionActivity ... TypeAzureFunctionActivity TypeBasicActivity = "AzureFunctionActivity" // TypeAzureMLBatchExecution ... @@ -1367,7 +1369,7 @@ const ( // PossibleTypeBasicActivityValues returns an array of possible values for the TypeBasicActivity const type. func PossibleTypeBasicActivityValues() []TypeBasicActivity { - return []TypeBasicActivity{TypeActivity, TypeAppendVariable, TypeAzureFunctionActivity, TypeAzureMLBatchExecution, TypeAzureMLUpdateResource, TypeContainer, TypeCopy, TypeCustom, TypeDatabricksNotebook, TypeDatabricksSparkJar, TypeDatabricksSparkPython, TypeDataLakeAnalyticsUSQL, TypeDelete, TypeExecutePipeline, TypeExecuteSSISPackage, TypeExecution, TypeFilter, TypeForEach, TypeGetMetadata, TypeHDInsightHive, TypeHDInsightMapReduce, TypeHDInsightPig, TypeHDInsightSpark, TypeHDInsightStreaming, TypeIfCondition, TypeLookup, TypeSetVariable, TypeSQLServerStoredProcedure, TypeUntil, TypeValidation, TypeWait, TypeWebActivity, TypeWebHook} + return []TypeBasicActivity{TypeActivity, TypeAppendVariable, TypeAzureDataExplorerCommand, TypeAzureFunctionActivity, TypeAzureMLBatchExecution, TypeAzureMLUpdateResource, TypeContainer, TypeCopy, TypeCustom, TypeDatabricksNotebook, TypeDatabricksSparkJar, TypeDatabricksSparkPython, TypeDataLakeAnalyticsUSQL, TypeDelete, TypeExecutePipeline, TypeExecuteSSISPackage, TypeExecution, TypeFilter, TypeForEach, TypeGetMetadata, TypeHDInsightHive, TypeHDInsightMapReduce, TypeHDInsightPig, TypeHDInsightSpark, TypeHDInsightStreaming, TypeIfCondition, TypeLookup, TypeSetVariable, TypeSQLServerStoredProcedure, TypeUntil, TypeValidation, TypeWait, TypeWebActivity, TypeWebHook} } // TypeBasicCopySink enumerates the values for type basic copy sink. @@ -2208,6 +2210,7 @@ type BasicActivity interface { AsGetMetadataActivity() (*GetMetadataActivity, bool) AsWebActivity() (*WebActivity, bool) AsLookupActivity() (*LookupActivity, bool) + AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) AsDeleteActivity() (*DeleteActivity, bool) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) AsCustomActivity() (*CustomActivity, bool) @@ -2247,7 +2250,7 @@ type Activity struct { DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` // UserProperties - Activity user properties. UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -2299,6 +2302,10 @@ func unmarshalBasicActivity(body []byte) (BasicActivity, error) { var la LookupActivity err := json.Unmarshal(body, &la) return la, err + case string(TypeAzureDataExplorerCommand): + var adec AzureDataExplorerCommand + err := json.Unmarshal(body, &adec) + return adec, err case string(TypeDelete): var da DeleteActivity err := json.Unmarshal(body, &da) @@ -2487,6 +2494,11 @@ func (a Activity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } +// AsAzureDataExplorerCommand is the BasicActivity implementation for Activity. +func (a Activity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { + return nil, false +} + // AsDeleteActivity is the BasicActivity implementation for Activity. func (a Activity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false @@ -7696,7 +7708,7 @@ type AppendVariableActivity struct { DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` // UserProperties - Activity user properties. UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -7778,6 +7790,11 @@ func (ava AppendVariableActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } +// AsAzureDataExplorerCommand is the BasicActivity implementation for AppendVariableActivity. +func (ava AppendVariableActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { + return nil, false +} + // AsDeleteActivity is the BasicActivity implementation for AppendVariableActivity. func (ava AppendVariableActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false @@ -13766,6 +13783,352 @@ func (adlstp *AzureDatabricksLinkedServiceTypeProperties) UnmarshalJSON(body []b return nil } +// AzureDataExplorerCommand azure Data Explorer command activity. +type AzureDataExplorerCommand struct { + // AzureDataExplorerCommandActivityTypeProperties - Azure Data Explorer command activity properties. + *AzureDataExplorerCommandActivityTypeProperties `json:"typeProperties,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Policy - Activity policy. + Policy *ActivityPolicy `json:"policy,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Name - Activity name. + Name *string `json:"name,omitempty"` + // Description - Activity description. + Description *string `json:"description,omitempty"` + // DependsOn - Activity depends on condition. + DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` + // UserProperties - Activity user properties. + UserProperties *[]UserProperty `json:"userProperties,omitempty"` + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + Type TypeBasicActivity `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for AzureDataExplorerCommand. +func (adec AzureDataExplorerCommand) MarshalJSON() ([]byte, error) { + adec.Type = TypeAzureDataExplorerCommand + objectMap := make(map[string]interface{}) + if adec.AzureDataExplorerCommandActivityTypeProperties != nil { + objectMap["typeProperties"] = adec.AzureDataExplorerCommandActivityTypeProperties + } + if adec.LinkedServiceName != nil { + objectMap["linkedServiceName"] = adec.LinkedServiceName + } + if adec.Policy != nil { + objectMap["policy"] = adec.Policy + } + if adec.Name != nil { + objectMap["name"] = adec.Name + } + if adec.Description != nil { + objectMap["description"] = adec.Description + } + if adec.DependsOn != nil { + objectMap["dependsOn"] = adec.DependsOn + } + if adec.UserProperties != nil { + objectMap["userProperties"] = adec.UserProperties + } + if adec.Type != "" { + objectMap["type"] = adec.Type + } + for k, v := range adec.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAzureFunctionActivity is the BasicActivity implementation for AzureDataExplorerCommand. +func (adec AzureDataExplorerCommand) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { + return nil, false +} + +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for AzureDataExplorerCommand. +func (adec AzureDataExplorerCommand) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { + return nil, false +} + +// AsDatabricksSparkJarActivity is the BasicActivity implementation for AzureDataExplorerCommand. +func (adec AzureDataExplorerCommand) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { + return nil, false +} + +// AsDatabricksNotebookActivity is the BasicActivity implementation for AzureDataExplorerCommand. +func (adec AzureDataExplorerCommand) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { + return nil, false +} + +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for AzureDataExplorerCommand. +func (adec AzureDataExplorerCommand) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { + return nil, false +} + +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for AzureDataExplorerCommand. +func (adec AzureDataExplorerCommand) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { + return nil, false +} + +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for AzureDataExplorerCommand. +func (adec AzureDataExplorerCommand) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { + return nil, false +} + +// AsGetMetadataActivity is the BasicActivity implementation for AzureDataExplorerCommand. +func (adec AzureDataExplorerCommand) AsGetMetadataActivity() (*GetMetadataActivity, bool) { + return nil, false +} + +// AsWebActivity is the BasicActivity implementation for AzureDataExplorerCommand. +func (adec AzureDataExplorerCommand) AsWebActivity() (*WebActivity, bool) { + return nil, false +} + +// AsLookupActivity is the BasicActivity implementation for AzureDataExplorerCommand. +func (adec AzureDataExplorerCommand) AsLookupActivity() (*LookupActivity, bool) { + return nil, false +} + +// AsAzureDataExplorerCommand is the BasicActivity implementation for AzureDataExplorerCommand. +func (adec AzureDataExplorerCommand) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { + return &adec, true +} + +// AsDeleteActivity is the BasicActivity implementation for AzureDataExplorerCommand. +func (adec AzureDataExplorerCommand) AsDeleteActivity() (*DeleteActivity, bool) { + return nil, false +} + +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for AzureDataExplorerCommand. +func (adec AzureDataExplorerCommand) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { + return nil, false +} + +// AsCustomActivity is the BasicActivity implementation for AzureDataExplorerCommand. +func (adec AzureDataExplorerCommand) AsCustomActivity() (*CustomActivity, bool) { + return nil, false +} + +// AsExecuteSSISPackageActivity is the BasicActivity implementation for AzureDataExplorerCommand. +func (adec AzureDataExplorerCommand) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { + return nil, false +} + +// AsHDInsightSparkActivity is the BasicActivity implementation for AzureDataExplorerCommand. +func (adec AzureDataExplorerCommand) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { + return nil, false +} + +// AsHDInsightStreamingActivity is the BasicActivity implementation for AzureDataExplorerCommand. +func (adec AzureDataExplorerCommand) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { + return nil, false +} + +// AsHDInsightMapReduceActivity is the BasicActivity implementation for AzureDataExplorerCommand. +func (adec AzureDataExplorerCommand) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { + return nil, false +} + +// AsHDInsightPigActivity is the BasicActivity implementation for AzureDataExplorerCommand. +func (adec AzureDataExplorerCommand) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { + return nil, false +} + +// AsHDInsightHiveActivity is the BasicActivity implementation for AzureDataExplorerCommand. +func (adec AzureDataExplorerCommand) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { + return nil, false +} + +// AsCopyActivity is the BasicActivity implementation for AzureDataExplorerCommand. +func (adec AzureDataExplorerCommand) AsCopyActivity() (*CopyActivity, bool) { + return nil, false +} + +// AsExecutionActivity is the BasicActivity implementation for AzureDataExplorerCommand. +func (adec AzureDataExplorerCommand) AsExecutionActivity() (*ExecutionActivity, bool) { + return nil, false +} + +// AsBasicExecutionActivity is the BasicActivity implementation for AzureDataExplorerCommand. +func (adec AzureDataExplorerCommand) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return &adec, true +} + +// AsWebHookActivity is the BasicActivity implementation for AzureDataExplorerCommand. +func (adec AzureDataExplorerCommand) AsWebHookActivity() (*WebHookActivity, bool) { + return nil, false +} + +// AsAppendVariableActivity is the BasicActivity implementation for AzureDataExplorerCommand. +func (adec AzureDataExplorerCommand) AsAppendVariableActivity() (*AppendVariableActivity, bool) { + return nil, false +} + +// AsSetVariableActivity is the BasicActivity implementation for AzureDataExplorerCommand. +func (adec AzureDataExplorerCommand) AsSetVariableActivity() (*SetVariableActivity, bool) { + return nil, false +} + +// AsFilterActivity is the BasicActivity implementation for AzureDataExplorerCommand. +func (adec AzureDataExplorerCommand) AsFilterActivity() (*FilterActivity, bool) { + return nil, false +} + +// AsValidationActivity is the BasicActivity implementation for AzureDataExplorerCommand. +func (adec AzureDataExplorerCommand) AsValidationActivity() (*ValidationActivity, bool) { + return nil, false +} + +// AsUntilActivity is the BasicActivity implementation for AzureDataExplorerCommand. +func (adec AzureDataExplorerCommand) AsUntilActivity() (*UntilActivity, bool) { + return nil, false +} + +// AsWaitActivity is the BasicActivity implementation for AzureDataExplorerCommand. +func (adec AzureDataExplorerCommand) AsWaitActivity() (*WaitActivity, bool) { + return nil, false +} + +// AsForEachActivity is the BasicActivity implementation for AzureDataExplorerCommand. +func (adec AzureDataExplorerCommand) AsForEachActivity() (*ForEachActivity, bool) { + return nil, false +} + +// AsIfConditionActivity is the BasicActivity implementation for AzureDataExplorerCommand. +func (adec AzureDataExplorerCommand) AsIfConditionActivity() (*IfConditionActivity, bool) { + return nil, false +} + +// AsExecutePipelineActivity is the BasicActivity implementation for AzureDataExplorerCommand. +func (adec AzureDataExplorerCommand) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { + return nil, false +} + +// AsControlActivity is the BasicActivity implementation for AzureDataExplorerCommand. +func (adec AzureDataExplorerCommand) AsControlActivity() (*ControlActivity, bool) { + return nil, false +} + +// AsBasicControlActivity is the BasicActivity implementation for AzureDataExplorerCommand. +func (adec AzureDataExplorerCommand) AsBasicControlActivity() (BasicControlActivity, bool) { + return nil, false +} + +// AsActivity is the BasicActivity implementation for AzureDataExplorerCommand. +func (adec AzureDataExplorerCommand) AsActivity() (*Activity, bool) { + return nil, false +} + +// AsBasicActivity is the BasicActivity implementation for AzureDataExplorerCommand. +func (adec AzureDataExplorerCommand) AsBasicActivity() (BasicActivity, bool) { + return &adec, true +} + +// UnmarshalJSON is the custom unmarshaler for AzureDataExplorerCommand struct. +func (adec *AzureDataExplorerCommand) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "typeProperties": + if v != nil { + var azureDataExplorerCommandActivityTypeProperties AzureDataExplorerCommandActivityTypeProperties + err = json.Unmarshal(*v, &azureDataExplorerCommandActivityTypeProperties) + if err != nil { + return err + } + adec.AzureDataExplorerCommandActivityTypeProperties = &azureDataExplorerCommandActivityTypeProperties + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + adec.LinkedServiceName = &linkedServiceName + } + case "policy": + if v != nil { + var policy ActivityPolicy + err = json.Unmarshal(*v, &policy) + if err != nil { + return err + } + adec.Policy = &policy + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if adec.AdditionalProperties == nil { + adec.AdditionalProperties = make(map[string]interface{}) + } + adec.AdditionalProperties[k] = additionalProperties + } + case "name": + if v != nil { + var name string + err = json.Unmarshal(*v, &name) + if err != nil { + return err + } + adec.Name = &name + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + adec.Description = &description + } + case "dependsOn": + if v != nil { + var dependsOn []ActivityDependency + err = json.Unmarshal(*v, &dependsOn) + if err != nil { + return err + } + adec.DependsOn = &dependsOn + } + case "userProperties": + if v != nil { + var userProperties []UserProperty + err = json.Unmarshal(*v, &userProperties) + if err != nil { + return err + } + adec.UserProperties = &userProperties + } + case "type": + if v != nil { + var typeVar TypeBasicActivity + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + adec.Type = typeVar + } + } + } + + return nil +} + +// AzureDataExplorerCommandActivityTypeProperties azure Data Explorer command activity properties. +type AzureDataExplorerCommandActivityTypeProperties struct { + // Command - A control command, according to the Azure Data Explorer command syntax. Type: string (or Expression with resultType string). + Command interface{} `json:"command,omitempty"` +} + // AzureDataExplorerDatasetTypeProperties azure Data Explorer (Kusto) dataset properties. type AzureDataExplorerDatasetTypeProperties struct { // Table - The table name of the Azure Data Explorer database. Type: string (or Expression with resultType string). @@ -19065,7 +19428,7 @@ type AzureFunctionActivity struct { DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` // UserProperties - Activity user properties. UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -19153,6 +19516,11 @@ func (afa AzureFunctionActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } +// AsAzureDataExplorerCommand is the BasicActivity implementation for AzureFunctionActivity. +func (afa AzureFunctionActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { + return nil, false +} + // AsDeleteActivity is the BasicActivity implementation for AzureFunctionActivity. func (afa AzureFunctionActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false @@ -20694,7 +21062,7 @@ type AzureMLBatchExecutionActivity struct { DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` // UserProperties - Activity user properties. UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -20782,6 +21150,11 @@ func (ambea AzureMLBatchExecutionActivity) AsLookupActivity() (*LookupActivity, return nil, false } +// AsAzureDataExplorerCommand is the BasicActivity implementation for AzureMLBatchExecutionActivity. +func (ambea AzureMLBatchExecutionActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { + return nil, false +} + // AsDeleteActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. func (ambea AzureMLBatchExecutionActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false @@ -21735,7 +22108,7 @@ type AzureMLUpdateResourceActivity struct { DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` // UserProperties - Activity user properties. UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -21823,6 +22196,11 @@ func (amura AzureMLUpdateResourceActivity) AsLookupActivity() (*LookupActivity, return nil, false } +// AsAzureDataExplorerCommand is the BasicActivity implementation for AzureMLUpdateResourceActivity. +func (amura AzureMLUpdateResourceActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { + return nil, false +} + // AsDeleteActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. func (amura AzureMLUpdateResourceActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false @@ -43276,7 +43654,7 @@ type ControlActivity struct { DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` // UserProperties - Activity user properties. UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -43428,6 +43806,11 @@ func (ca ControlActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } +// AsAzureDataExplorerCommand is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { + return nil, false +} + // AsDeleteActivity is the BasicActivity implementation for ControlActivity. func (ca ControlActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false @@ -43652,7 +44035,7 @@ type CopyActivity struct { DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` // UserProperties - Activity user properties. UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -43746,6 +44129,11 @@ func (ca CopyActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } +// AsAzureDataExplorerCommand is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { + return nil, false +} + // AsDeleteActivity is the BasicActivity implementation for CopyActivity. func (ca CopyActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false @@ -47612,7 +48000,7 @@ type CosmosDbMongoDbAPISource struct { Filter interface{} `json:"filter,omitempty"` // CursorMethods - Cursor methods for Mongodb query. CursorMethods *MongoDbCursorMethodsProperties `json:"cursorMethods,omitempty"` - // BatchSize - 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). + // BatchSize - 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). BatchSize interface{} `json:"batchSize,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` @@ -49883,7 +50271,7 @@ type CustomActivity struct { DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` // UserProperties - Activity user properties. UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -49971,6 +50359,11 @@ func (ca CustomActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } +// AsAzureDataExplorerCommand is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { + return nil, false +} + // AsDeleteActivity is the BasicActivity implementation for CustomActivity. func (ca CustomActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false @@ -51422,7 +51815,7 @@ type DatabricksNotebookActivity struct { DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` // UserProperties - Activity user properties. UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -51510,6 +51903,11 @@ func (dna DatabricksNotebookActivity) AsLookupActivity() (*LookupActivity, bool) return nil, false } +// AsAzureDataExplorerCommand is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { + return nil, false +} + // AsDeleteActivity is the BasicActivity implementation for DatabricksNotebookActivity. func (dna DatabricksNotebookActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false @@ -51782,7 +52180,7 @@ type DatabricksSparkJarActivity struct { DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` // UserProperties - Activity user properties. UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -51870,6 +52268,11 @@ func (dsja DatabricksSparkJarActivity) AsLookupActivity() (*LookupActivity, bool return nil, false } +// AsAzureDataExplorerCommand is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { + return nil, false +} + // AsDeleteActivity is the BasicActivity implementation for DatabricksSparkJarActivity. func (dsja DatabricksSparkJarActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false @@ -52127,7 +52530,7 @@ type DatabricksSparkPythonActivity struct { DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` // UserProperties - Activity user properties. UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -52215,6 +52618,11 @@ func (dspa DatabricksSparkPythonActivity) AsLookupActivity() (*LookupActivity, b return nil, false } +// AsAzureDataExplorerCommand is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { + return nil, false +} + // AsDeleteActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. func (dspa DatabricksSparkPythonActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false @@ -52472,7 +52880,7 @@ type DataLakeAnalyticsUSQLActivity struct { DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` // UserProperties - Activity user properties. UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -52560,6 +52968,11 @@ func (dlaua DataLakeAnalyticsUSQLActivity) AsLookupActivity() (*LookupActivity, return nil, false } +// AsAzureDataExplorerCommand is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { + return nil, false +} + // AsDeleteActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. func (dlaua DataLakeAnalyticsUSQLActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false @@ -56085,7 +56498,7 @@ type DeleteActivity struct { DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` // UserProperties - Activity user properties. UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -56173,6 +56586,11 @@ func (da DeleteActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } +// AsAzureDataExplorerCommand is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { + return nil, false +} + // AsDeleteActivity is the BasicActivity implementation for DeleteActivity. func (da DeleteActivity) AsDeleteActivity() (*DeleteActivity, bool) { return &da, true @@ -69019,7 +69437,7 @@ type ExecutePipelineActivity struct { DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` // UserProperties - Activity user properties. UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -69101,6 +69519,11 @@ func (epa ExecutePipelineActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } +// AsAzureDataExplorerCommand is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { + return nil, false +} + // AsDeleteActivity is the BasicActivity implementation for ExecutePipelineActivity. func (epa ExecutePipelineActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false @@ -69355,7 +69778,7 @@ type ExecuteSSISPackageActivity struct { DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` // UserProperties - Activity user properties. UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -69443,6 +69866,11 @@ func (espa ExecuteSSISPackageActivity) AsLookupActivity() (*LookupActivity, bool return nil, false } +// AsAzureDataExplorerCommand is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { + return nil, false +} + // AsDeleteActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. func (espa ExecuteSSISPackageActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false @@ -69754,6 +70182,7 @@ type BasicExecutionActivity interface { AsGetMetadataActivity() (*GetMetadataActivity, bool) AsWebActivity() (*WebActivity, bool) AsLookupActivity() (*LookupActivity, bool) + AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) AsDeleteActivity() (*DeleteActivity, bool) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) AsCustomActivity() (*CustomActivity, bool) @@ -69783,7 +70212,7 @@ type ExecutionActivity struct { DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` // UserProperties - Activity user properties. UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -69835,6 +70264,10 @@ func unmarshalBasicExecutionActivity(body []byte) (BasicExecutionActivity, error var la LookupActivity err := json.Unmarshal(body, &la) return la, err + case string(TypeAzureDataExplorerCommand): + var adec AzureDataExplorerCommand + err := json.Unmarshal(body, &adec) + return adec, err case string(TypeDelete): var da DeleteActivity err := json.Unmarshal(body, &da) @@ -69981,6 +70414,11 @@ func (ea ExecutionActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } +// AsAzureDataExplorerCommand is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { + return nil, false +} + // AsDeleteActivity is the BasicActivity implementation for ExecutionActivity. func (ea ExecutionActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false @@ -73360,7 +73798,7 @@ type FilterActivity struct { DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` // UserProperties - Activity user properties. UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -73442,6 +73880,11 @@ func (fa FilterActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } +// AsAzureDataExplorerCommand is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { + return nil, false +} + // AsDeleteActivity is the BasicActivity implementation for FilterActivity. func (fa FilterActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false @@ -73675,7 +74118,7 @@ type ForEachActivity struct { DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` // UserProperties - Activity user properties. UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -73757,6 +74200,11 @@ func (fea ForEachActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } +// AsAzureDataExplorerCommand is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { + return nil, false +} + // AsDeleteActivity is the BasicActivity implementation for ForEachActivity. func (fea ForEachActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false @@ -75069,7 +75517,7 @@ type GetMetadataActivity struct { DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` // UserProperties - Activity user properties. UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -75157,6 +75605,11 @@ func (gma GetMetadataActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } +// AsAzureDataExplorerCommand is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { + return nil, false +} + // AsDeleteActivity is the BasicActivity implementation for GetMetadataActivity. func (gma GetMetadataActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false @@ -84033,7 +84486,7 @@ type HDInsightHiveActivity struct { DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` // UserProperties - Activity user properties. UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -84121,6 +84574,11 @@ func (hiha HDInsightHiveActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } +// AsAzureDataExplorerCommand is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { + return nil, false +} + // AsDeleteActivity is the BasicActivity implementation for HDInsightHiveActivity. func (hiha HDInsightHiveActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false @@ -85111,7 +85569,7 @@ type HDInsightMapReduceActivity struct { DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` // UserProperties - Activity user properties. UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -85199,6 +85657,11 @@ func (himra HDInsightMapReduceActivity) AsLookupActivity() (*LookupActivity, boo return nil, false } +// AsAzureDataExplorerCommand is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { + return nil, false +} + // AsDeleteActivity is the BasicActivity implementation for HDInsightMapReduceActivity. func (himra HDInsightMapReduceActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false @@ -86462,7 +86925,7 @@ type HDInsightPigActivity struct { DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` // UserProperties - Activity user properties. UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -86550,6 +87013,11 @@ func (hipa HDInsightPigActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } +// AsAzureDataExplorerCommand is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { + return nil, false +} + // AsDeleteActivity is the BasicActivity implementation for HDInsightPigActivity. func (hipa HDInsightPigActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false @@ -86837,7 +87305,7 @@ type HDInsightSparkActivity struct { DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` // UserProperties - Activity user properties. UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -86925,6 +87393,11 @@ func (hisa HDInsightSparkActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } +// AsAzureDataExplorerCommand is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { + return nil, false +} + // AsDeleteActivity is the BasicActivity implementation for HDInsightSparkActivity. func (hisa HDInsightSparkActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false @@ -87222,7 +87695,7 @@ type HDInsightStreamingActivity struct { DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` // UserProperties - Activity user properties. UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -87310,6 +87783,11 @@ func (hisa HDInsightStreamingActivity) AsLookupActivity() (*LookupActivity, bool return nil, false } +// AsAzureDataExplorerCommand is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { + return nil, false +} + // AsDeleteActivity is the BasicActivity implementation for HDInsightStreamingActivity. func (hisa HDInsightStreamingActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false @@ -93386,7 +93864,7 @@ type IfConditionActivity struct { DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` // UserProperties - Activity user properties. UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -93468,6 +93946,11 @@ func (ica IfConditionActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } +// AsAzureDataExplorerCommand is the BasicActivity implementation for IfConditionActivity. +func (ica IfConditionActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { + return nil, false +} + // AsDeleteActivity is the BasicActivity implementation for IfConditionActivity. func (ica IfConditionActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false @@ -102513,7 +102996,7 @@ type LookupActivity struct { DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` // UserProperties - Activity user properties. UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -102601,6 +103084,11 @@ func (la LookupActivity) AsLookupActivity() (*LookupActivity, bool) { return &la, true } +// AsAzureDataExplorerCommand is the BasicActivity implementation for LookupActivity. +func (la LookupActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { + return nil, false +} + // AsDeleteActivity is the BasicActivity implementation for LookupActivity. func (la LookupActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false @@ -113546,7 +114034,7 @@ type MongoDbV2Source struct { Filter interface{} `json:"filter,omitempty"` // CursorMethods - Cursor methods for Mongodb query CursorMethods *MongoDbCursorMethodsProperties `json:"cursorMethods,omitempty"` - // BatchSize - 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). + // BatchSize - 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). BatchSize interface{} `json:"batchSize,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` @@ -162893,7 +163381,7 @@ type SetVariableActivity struct { DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` // UserProperties - Activity user properties. UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -162975,6 +163463,11 @@ func (sva SetVariableActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } +// AsAzureDataExplorerCommand is the BasicActivity implementation for SetVariableActivity. +func (sva SetVariableActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { + return nil, false +} + // AsDeleteActivity is the BasicActivity implementation for SetVariableActivity. func (sva SetVariableActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false @@ -171132,7 +171625,7 @@ type SQLServerStoredProcedureActivity struct { DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` // UserProperties - Activity user properties. UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -171220,6 +171713,11 @@ func (ssspa SQLServerStoredProcedureActivity) AsLookupActivity() (*LookupActivit return nil, false } +// AsAzureDataExplorerCommand is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { + return nil, false +} + // AsDeleteActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. func (ssspa SQLServerStoredProcedureActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false @@ -180049,7 +180547,7 @@ type UntilActivity struct { DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` // UserProperties - Activity user properties. UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -180131,6 +180629,11 @@ func (ua UntilActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } +// AsAzureDataExplorerCommand is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { + return nil, false +} + // AsDeleteActivity is the BasicActivity implementation for UntilActivity. func (ua UntilActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false @@ -180443,7 +180946,7 @@ type ValidationActivity struct { DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` // UserProperties - Activity user properties. UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -180525,6 +181028,11 @@ func (va ValidationActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } +// AsAzureDataExplorerCommand is the BasicActivity implementation for ValidationActivity. +func (va ValidationActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { + return nil, false +} + // AsDeleteActivity is the BasicActivity implementation for ValidationActivity. func (va ValidationActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false @@ -182461,7 +182969,7 @@ type WaitActivity struct { DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` // UserProperties - Activity user properties. UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -182543,6 +183051,11 @@ func (wa WaitActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } +// AsAzureDataExplorerCommand is the BasicActivity implementation for WaitActivity. +func (wa WaitActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { + return nil, false +} + // AsDeleteActivity is the BasicActivity implementation for WaitActivity. func (wa WaitActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false @@ -182778,7 +183291,7 @@ type WebActivity struct { DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` // UserProperties - Activity user properties. UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -182866,6 +183379,11 @@ func (wa WebActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } +// AsAzureDataExplorerCommand is the BasicActivity implementation for WebActivity. +func (wa WebActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { + return nil, false +} + // AsDeleteActivity is the BasicActivity implementation for WebActivity. func (wa WebActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false @@ -183396,7 +183914,7 @@ type WebHookActivity struct { DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` // UserProperties - Activity user properties. UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -183478,6 +183996,11 @@ func (wha WebHookActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } +// AsAzureDataExplorerCommand is the BasicActivity implementation for WebHookActivity. +func (wha WebHookActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { + return nil, false +} + // AsDeleteActivity is the BasicActivity implementation for WebHookActivity. func (wha WebHookActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false From 3d23d56e7f5d0d3a3ca1b32af2cd56074e00632b Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Thu, 25 Jul 2019 12:09:45 -0700 Subject: [PATCH 3/5] Generated from 6daaa9ba96f917b57001720be038e62850d1ccbc (#5340) Change type name and add timeout property --- .../datafactory/mgmt/datafactory/models.go | 2 +- .../datafactory/mgmt/datafactory/models.go | 2 +- .../mgmt/2018-06-01/datafactory/models.go | 374 +++++++++--------- 3 files changed, 190 insertions(+), 188 deletions(-) diff --git a/profiles/latest/datafactory/mgmt/datafactory/models.go b/profiles/latest/datafactory/mgmt/datafactory/models.go index 3995ed79e8ed..d33ae6666569 100644 --- a/profiles/latest/datafactory/mgmt/datafactory/models.go +++ b/profiles/latest/datafactory/mgmt/datafactory/models.go @@ -1103,7 +1103,7 @@ type AzureBlobStorageLinkedServiceTypeProperties = original.AzureBlobStorageLink type AzureBlobStorageLocation = original.AzureBlobStorageLocation type AzureBlobStorageReadSettings = original.AzureBlobStorageReadSettings type AzureBlobStorageWriteSettings = original.AzureBlobStorageWriteSettings -type AzureDataExplorerCommand = original.AzureDataExplorerCommand +type AzureDataExplorerCommandActivity = original.AzureDataExplorerCommandActivity type AzureDataExplorerCommandActivityTypeProperties = original.AzureDataExplorerCommandActivityTypeProperties type AzureDataExplorerDatasetTypeProperties = original.AzureDataExplorerDatasetTypeProperties type AzureDataExplorerLinkedService = original.AzureDataExplorerLinkedService diff --git a/profiles/preview/datafactory/mgmt/datafactory/models.go b/profiles/preview/datafactory/mgmt/datafactory/models.go index 7dbf978d2a5a..753d632f3246 100644 --- a/profiles/preview/datafactory/mgmt/datafactory/models.go +++ b/profiles/preview/datafactory/mgmt/datafactory/models.go @@ -1103,7 +1103,7 @@ type AzureBlobStorageLinkedServiceTypeProperties = original.AzureBlobStorageLink type AzureBlobStorageLocation = original.AzureBlobStorageLocation type AzureBlobStorageReadSettings = original.AzureBlobStorageReadSettings type AzureBlobStorageWriteSettings = original.AzureBlobStorageWriteSettings -type AzureDataExplorerCommand = original.AzureDataExplorerCommand +type AzureDataExplorerCommandActivity = original.AzureDataExplorerCommandActivity type AzureDataExplorerCommandActivityTypeProperties = original.AzureDataExplorerCommandActivityTypeProperties type AzureDataExplorerDatasetTypeProperties = original.AzureDataExplorerDatasetTypeProperties type AzureDataExplorerLinkedService = original.AzureDataExplorerLinkedService diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/models.go b/services/datafactory/mgmt/2018-06-01/datafactory/models.go index c587e899070c..59b25301eaed 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/models.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/models.go @@ -2210,7 +2210,7 @@ type BasicActivity interface { AsGetMetadataActivity() (*GetMetadataActivity, bool) AsWebActivity() (*WebActivity, bool) AsLookupActivity() (*LookupActivity, bool) - AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) + AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) AsDeleteActivity() (*DeleteActivity, bool) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) AsCustomActivity() (*CustomActivity, bool) @@ -2303,9 +2303,9 @@ func unmarshalBasicActivity(body []byte) (BasicActivity, error) { err := json.Unmarshal(body, &la) return la, err case string(TypeAzureDataExplorerCommand): - var adec AzureDataExplorerCommand - err := json.Unmarshal(body, &adec) - return adec, err + var adeca AzureDataExplorerCommandActivity + err := json.Unmarshal(body, &adeca) + return adeca, err case string(TypeDelete): var da DeleteActivity err := json.Unmarshal(body, &da) @@ -2494,8 +2494,8 @@ func (a Activity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for Activity. -func (a Activity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for Activity. +func (a Activity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -7790,8 +7790,8 @@ func (ava AppendVariableActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for AppendVariableActivity. -func (ava AppendVariableActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for AppendVariableActivity. +func (ava AppendVariableActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -13783,8 +13783,8 @@ func (adlstp *AzureDatabricksLinkedServiceTypeProperties) UnmarshalJSON(body []b return nil } -// AzureDataExplorerCommand azure Data Explorer command activity. -type AzureDataExplorerCommand struct { +// AzureDataExplorerCommandActivity azure Data Explorer command activity. +type AzureDataExplorerCommandActivity struct { // AzureDataExplorerCommandActivityTypeProperties - Azure Data Explorer command activity properties. *AzureDataExplorerCommandActivityTypeProperties `json:"typeProperties,omitempty"` // LinkedServiceName - Linked service reference. @@ -13805,227 +13805,227 @@ type AzureDataExplorerCommand struct { Type TypeBasicActivity `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) MarshalJSON() ([]byte, error) { - adec.Type = TypeAzureDataExplorerCommand +// MarshalJSON is the custom marshaler for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) MarshalJSON() ([]byte, error) { + adeca.Type = TypeAzureDataExplorerCommand objectMap := make(map[string]interface{}) - if adec.AzureDataExplorerCommandActivityTypeProperties != nil { - objectMap["typeProperties"] = adec.AzureDataExplorerCommandActivityTypeProperties + if adeca.AzureDataExplorerCommandActivityTypeProperties != nil { + objectMap["typeProperties"] = adeca.AzureDataExplorerCommandActivityTypeProperties } - if adec.LinkedServiceName != nil { - objectMap["linkedServiceName"] = adec.LinkedServiceName + if adeca.LinkedServiceName != nil { + objectMap["linkedServiceName"] = adeca.LinkedServiceName } - if adec.Policy != nil { - objectMap["policy"] = adec.Policy + if adeca.Policy != nil { + objectMap["policy"] = adeca.Policy } - if adec.Name != nil { - objectMap["name"] = adec.Name + if adeca.Name != nil { + objectMap["name"] = adeca.Name } - if adec.Description != nil { - objectMap["description"] = adec.Description + if adeca.Description != nil { + objectMap["description"] = adeca.Description } - if adec.DependsOn != nil { - objectMap["dependsOn"] = adec.DependsOn + if adeca.DependsOn != nil { + objectMap["dependsOn"] = adeca.DependsOn } - if adec.UserProperties != nil { - objectMap["userProperties"] = adec.UserProperties + if adeca.UserProperties != nil { + objectMap["userProperties"] = adeca.UserProperties } - if adec.Type != "" { - objectMap["type"] = adec.Type + if adeca.Type != "" { + objectMap["type"] = adeca.Type } - for k, v := range adec.AdditionalProperties { + for k, v := range adeca.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsAzureFunctionActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsDatabricksSparkJarActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { +// AsDatabricksNotebookActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsGetMetadataActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsWebActivity() (*WebActivity, bool) { +// AsWebActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsWebActivity() (*WebActivity, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsLookupActivity() (*LookupActivity, bool) { +// AsLookupActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { - return &adec, true +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { + return &adeca, true } -// AsDeleteActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsDeleteActivity() (*DeleteActivity, bool) { +// AsDeleteActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsCustomActivity() (*CustomActivity, bool) { +// AsCustomActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsCustomActivity() (*CustomActivity, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsExecuteSSISPackageActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsHDInsightSparkActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsHDInsightStreamingActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsHDInsightMapReduceActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsHDInsightPigActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsHDInsightHiveActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsCopyActivity() (*CopyActivity, bool) { +// AsCopyActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsCopyActivity() (*CopyActivity, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsExecutionActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsExecutionActivity() (*ExecutionActivity, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { - return &adec, true +// AsBasicExecutionActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return &adeca, true } -// AsWebHookActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsWebHookActivity() (*WebHookActivity, bool) { +// AsWebHookActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsWebHookActivity() (*WebHookActivity, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsAppendVariableActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsSetVariableActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsFilterActivity() (*FilterActivity, bool) { +// AsFilterActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsFilterActivity() (*FilterActivity, bool) { return nil, false } -// AsValidationActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsValidationActivity() (*ValidationActivity, bool) { +// AsValidationActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsValidationActivity() (*ValidationActivity, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsUntilActivity() (*UntilActivity, bool) { +// AsUntilActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsWaitActivity() (*WaitActivity, bool) { +// AsWaitActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsWaitActivity() (*WaitActivity, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsForEachActivity() (*ForEachActivity, bool) { +// AsForEachActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsForEachActivity() (*ForEachActivity, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsIfConditionActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsExecutePipelineActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsControlActivity() (*ControlActivity, bool) { +// AsControlActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsControlActivity() (*ControlActivity, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsBasicControlActivity() (BasicControlActivity, bool) { +// AsBasicControlActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsBasicControlActivity() (BasicControlActivity, bool) { return nil, false } -// AsActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsActivity() (*Activity, bool) { +// AsActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsActivity() (*Activity, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsBasicActivity() (BasicActivity, bool) { - return &adec, true +// AsBasicActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsBasicActivity() (BasicActivity, bool) { + return &adeca, true } -// UnmarshalJSON is the custom unmarshaler for AzureDataExplorerCommand struct. -func (adec *AzureDataExplorerCommand) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for AzureDataExplorerCommandActivity struct. +func (adeca *AzureDataExplorerCommandActivity) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -14040,7 +14040,7 @@ func (adec *AzureDataExplorerCommand) UnmarshalJSON(body []byte) error { if err != nil { return err } - adec.AzureDataExplorerCommandActivityTypeProperties = &azureDataExplorerCommandActivityTypeProperties + adeca.AzureDataExplorerCommandActivityTypeProperties = &azureDataExplorerCommandActivityTypeProperties } case "linkedServiceName": if v != nil { @@ -14049,7 +14049,7 @@ func (adec *AzureDataExplorerCommand) UnmarshalJSON(body []byte) error { if err != nil { return err } - adec.LinkedServiceName = &linkedServiceName + adeca.LinkedServiceName = &linkedServiceName } case "policy": if v != nil { @@ -14058,7 +14058,7 @@ func (adec *AzureDataExplorerCommand) UnmarshalJSON(body []byte) error { if err != nil { return err } - adec.Policy = &policy + adeca.Policy = &policy } default: if v != nil { @@ -14067,10 +14067,10 @@ func (adec *AzureDataExplorerCommand) UnmarshalJSON(body []byte) error { if err != nil { return err } - if adec.AdditionalProperties == nil { - adec.AdditionalProperties = make(map[string]interface{}) + if adeca.AdditionalProperties == nil { + adeca.AdditionalProperties = make(map[string]interface{}) } - adec.AdditionalProperties[k] = additionalProperties + adeca.AdditionalProperties[k] = additionalProperties } case "name": if v != nil { @@ -14079,7 +14079,7 @@ func (adec *AzureDataExplorerCommand) UnmarshalJSON(body []byte) error { if err != nil { return err } - adec.Name = &name + adeca.Name = &name } case "description": if v != nil { @@ -14088,7 +14088,7 @@ func (adec *AzureDataExplorerCommand) UnmarshalJSON(body []byte) error { if err != nil { return err } - adec.Description = &description + adeca.Description = &description } case "dependsOn": if v != nil { @@ -14097,7 +14097,7 @@ func (adec *AzureDataExplorerCommand) UnmarshalJSON(body []byte) error { if err != nil { return err } - adec.DependsOn = &dependsOn + adeca.DependsOn = &dependsOn } case "userProperties": if v != nil { @@ -14106,7 +14106,7 @@ func (adec *AzureDataExplorerCommand) UnmarshalJSON(body []byte) error { if err != nil { return err } - adec.UserProperties = &userProperties + adeca.UserProperties = &userProperties } case "type": if v != nil { @@ -14115,7 +14115,7 @@ func (adec *AzureDataExplorerCommand) UnmarshalJSON(body []byte) error { if err != nil { return err } - adec.Type = typeVar + adeca.Type = typeVar } } } @@ -14127,6 +14127,8 @@ func (adec *AzureDataExplorerCommand) UnmarshalJSON(body []byte) error { type AzureDataExplorerCommandActivityTypeProperties struct { // Command - A control command, according to the Azure Data Explorer command syntax. Type: string (or Expression with resultType string). Command interface{} `json:"command,omitempty"` + // CommandTimeout - Control command timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9]))..) + CommandTimeout interface{} `json:"commandTimeout,omitempty"` } // AzureDataExplorerDatasetTypeProperties azure Data Explorer (Kusto) dataset properties. @@ -19516,8 +19518,8 @@ func (afa AzureFunctionActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for AzureFunctionActivity. -func (afa AzureFunctionActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for AzureFunctionActivity. +func (afa AzureFunctionActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -21150,8 +21152,8 @@ func (ambea AzureMLBatchExecutionActivity) AsLookupActivity() (*LookupActivity, return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for AzureMLBatchExecutionActivity. -func (ambea AzureMLBatchExecutionActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. +func (ambea AzureMLBatchExecutionActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -22196,8 +22198,8 @@ func (amura AzureMLUpdateResourceActivity) AsLookupActivity() (*LookupActivity, return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for AzureMLUpdateResourceActivity. -func (amura AzureMLUpdateResourceActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. +func (amura AzureMLUpdateResourceActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -43806,8 +43808,8 @@ func (ca ControlActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -44129,8 +44131,8 @@ func (ca CopyActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -50359,8 +50361,8 @@ func (ca CustomActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -51903,8 +51905,8 @@ func (dna DatabricksNotebookActivity) AsLookupActivity() (*LookupActivity, bool) return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -52268,8 +52270,8 @@ func (dsja DatabricksSparkJarActivity) AsLookupActivity() (*LookupActivity, bool return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -52618,8 +52620,8 @@ func (dspa DatabricksSparkPythonActivity) AsLookupActivity() (*LookupActivity, b return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -52968,8 +52970,8 @@ func (dlaua DataLakeAnalyticsUSQLActivity) AsLookupActivity() (*LookupActivity, return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -56586,8 +56588,8 @@ func (da DeleteActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -69519,8 +69521,8 @@ func (epa ExecutePipelineActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -69866,8 +69868,8 @@ func (espa ExecuteSSISPackageActivity) AsLookupActivity() (*LookupActivity, bool return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -70182,7 +70184,7 @@ type BasicExecutionActivity interface { AsGetMetadataActivity() (*GetMetadataActivity, bool) AsWebActivity() (*WebActivity, bool) AsLookupActivity() (*LookupActivity, bool) - AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) + AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) AsDeleteActivity() (*DeleteActivity, bool) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) AsCustomActivity() (*CustomActivity, bool) @@ -70265,9 +70267,9 @@ func unmarshalBasicExecutionActivity(body []byte) (BasicExecutionActivity, error err := json.Unmarshal(body, &la) return la, err case string(TypeAzureDataExplorerCommand): - var adec AzureDataExplorerCommand - err := json.Unmarshal(body, &adec) - return adec, err + var adeca AzureDataExplorerCommandActivity + err := json.Unmarshal(body, &adeca) + return adeca, err case string(TypeDelete): var da DeleteActivity err := json.Unmarshal(body, &da) @@ -70414,8 +70416,8 @@ func (ea ExecutionActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -73880,8 +73882,8 @@ func (fa FilterActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -74200,8 +74202,8 @@ func (fea ForEachActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -75605,8 +75607,8 @@ func (gma GetMetadataActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -84574,8 +84576,8 @@ func (hiha HDInsightHiveActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -85657,8 +85659,8 @@ func (himra HDInsightMapReduceActivity) AsLookupActivity() (*LookupActivity, boo return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for HDInsightMapReduceActivity. -func (himra HDInsightMapReduceActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -87013,8 +87015,8 @@ func (hipa HDInsightPigActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -87393,8 +87395,8 @@ func (hisa HDInsightSparkActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -87783,8 +87785,8 @@ func (hisa HDInsightStreamingActivity) AsLookupActivity() (*LookupActivity, bool return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -93946,8 +93948,8 @@ func (ica IfConditionActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for IfConditionActivity. -func (ica IfConditionActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for IfConditionActivity. +func (ica IfConditionActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -103084,8 +103086,8 @@ func (la LookupActivity) AsLookupActivity() (*LookupActivity, bool) { return &la, true } -// AsAzureDataExplorerCommand is the BasicActivity implementation for LookupActivity. -func (la LookupActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for LookupActivity. +func (la LookupActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -163463,8 +163465,8 @@ func (sva SetVariableActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for SetVariableActivity. -func (sva SetVariableActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for SetVariableActivity. +func (sva SetVariableActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -171713,8 +171715,8 @@ func (ssspa SQLServerStoredProcedureActivity) AsLookupActivity() (*LookupActivit return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -180629,8 +180631,8 @@ func (ua UntilActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -181028,8 +181030,8 @@ func (va ValidationActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for ValidationActivity. -func (va ValidationActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for ValidationActivity. +func (va ValidationActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -183051,8 +183053,8 @@ func (wa WaitActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for WaitActivity. -func (wa WaitActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for WaitActivity. +func (wa WaitActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -183379,8 +183381,8 @@ func (wa WebActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for WebActivity. -func (wa WebActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for WebActivity. +func (wa WebActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -183996,8 +183998,8 @@ func (wha WebHookActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for WebHookActivity. -func (wha WebHookActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for WebHookActivity. +func (wha WebHookActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } From e4362c370a76a930d714df3adaca806ef9a7d21e Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Sun, 28 Jul 2019 23:50:13 -0700 Subject: [PATCH 4/5] Generated from 04df2c4ad1350ec47a500e1a1d1a609d43398aee (#5349) support dataset v2 split name --- .../datafactory/mgmt/datafactory/models.go | 9 + .../datafactory/mgmt/datafactory/models.go | 9 + .../mgmt/2018-06-01/datafactory/models.go | 240 +++++++++++++----- 3 files changed, 191 insertions(+), 67 deletions(-) diff --git a/profiles/latest/datafactory/mgmt/datafactory/models.go b/profiles/latest/datafactory/mgmt/datafactory/models.go index d33ae6666569..21dc39fc7970 100644 --- a/profiles/latest/datafactory/mgmt/datafactory/models.go +++ b/profiles/latest/datafactory/mgmt/datafactory/models.go @@ -1288,6 +1288,7 @@ type DocumentDbCollectionDataset = original.DocumentDbCollectionDataset type DocumentDbCollectionDatasetTypeProperties = original.DocumentDbCollectionDatasetTypeProperties type DocumentDbCollectionSink = original.DocumentDbCollectionSink type DocumentDbCollectionSource = original.DocumentDbCollectionSource +type DrillDatasetTypeProperties = original.DrillDatasetTypeProperties type DrillLinkedService = original.DrillLinkedService type DrillLinkedServiceTypeProperties = original.DrillLinkedServiceTypeProperties type DrillSource = original.DrillSource @@ -1364,10 +1365,12 @@ type GoogleAdWordsLinkedService = original.GoogleAdWordsLinkedService type GoogleAdWordsLinkedServiceTypeProperties = original.GoogleAdWordsLinkedServiceTypeProperties type GoogleAdWordsObjectDataset = original.GoogleAdWordsObjectDataset type GoogleAdWordsSource = original.GoogleAdWordsSource +type GoogleBigQueryDatasetTypeProperties = original.GoogleBigQueryDatasetTypeProperties type GoogleBigQueryLinkedService = original.GoogleBigQueryLinkedService type GoogleBigQueryLinkedServiceTypeProperties = original.GoogleBigQueryLinkedServiceTypeProperties type GoogleBigQueryObjectDataset = original.GoogleBigQueryObjectDataset type GoogleBigQuerySource = original.GoogleBigQuerySource +type GreenplumDatasetTypeProperties = original.GreenplumDatasetTypeProperties type GreenplumLinkedService = original.GreenplumLinkedService type GreenplumLinkedServiceTypeProperties = original.GreenplumLinkedServiceTypeProperties type GreenplumSource = original.GreenplumSource @@ -1402,6 +1405,7 @@ type HdfsLinkedServiceTypeProperties = original.HdfsLinkedServiceTypeProperties type HdfsLocation = original.HdfsLocation type HdfsReadSettings = original.HdfsReadSettings type HdfsSource = original.HdfsSource +type HiveDatasetTypeProperties = original.HiveDatasetTypeProperties type HiveLinkedService = original.HiveLinkedService type HiveLinkedServiceTypeProperties = original.HiveLinkedServiceTypeProperties type HiveObjectDataset = original.HiveObjectDataset @@ -1412,6 +1416,7 @@ type HubspotObjectDataset = original.HubspotObjectDataset type HubspotSource = original.HubspotSource type IfConditionActivity = original.IfConditionActivity type IfConditionActivityTypeProperties = original.IfConditionActivityTypeProperties +type ImpalaDatasetTypeProperties = original.ImpalaDatasetTypeProperties type ImpalaLinkedService = original.ImpalaLinkedService type ImpalaLinkedServiceTypeProperties = original.ImpalaLinkedServiceTypeProperties type ImpalaObjectDataset = original.ImpalaObjectDataset @@ -1566,6 +1571,7 @@ type PaypalLinkedService = original.PaypalLinkedService type PaypalLinkedServiceTypeProperties = original.PaypalLinkedServiceTypeProperties type PaypalObjectDataset = original.PaypalObjectDataset type PaypalSource = original.PaypalSource +type PhoenixDatasetTypeProperties = original.PhoenixDatasetTypeProperties type PhoenixLinkedService = original.PhoenixLinkedService type PhoenixLinkedServiceTypeProperties = original.PhoenixLinkedServiceTypeProperties type PhoenixObjectDataset = original.PhoenixObjectDataset @@ -1588,6 +1594,7 @@ type PostgreSQLLinkedServiceTypeProperties = original.PostgreSQLLinkedServiceTyp type PostgreSQLSource = original.PostgreSQLSource type PostgreSQLTableDataset = original.PostgreSQLTableDataset type PostgreSQLTableDatasetTypeProperties = original.PostgreSQLTableDatasetTypeProperties +type PrestoDatasetTypeProperties = original.PrestoDatasetTypeProperties type PrestoLinkedService = original.PrestoLinkedService type PrestoLinkedServiceTypeProperties = original.PrestoLinkedServiceTypeProperties type PrestoObjectDataset = original.PrestoObjectDataset @@ -1721,6 +1728,7 @@ type ShopifyLinkedService = original.ShopifyLinkedService type ShopifyLinkedServiceTypeProperties = original.ShopifyLinkedServiceTypeProperties type ShopifyObjectDataset = original.ShopifyObjectDataset type ShopifySource = original.ShopifySource +type SparkDatasetTypeProperties = original.SparkDatasetTypeProperties type SparkLinkedService = original.SparkLinkedService type SparkLinkedServiceTypeProperties = original.SparkLinkedServiceTypeProperties type SparkObjectDataset = original.SparkObjectDataset @@ -1780,6 +1788,7 @@ type UserProperty = original.UserProperty type ValidationActivity = original.ValidationActivity type ValidationActivityTypeProperties = original.ValidationActivityTypeProperties type VariableSpecification = original.VariableSpecification +type VerticaDatasetTypeProperties = original.VerticaDatasetTypeProperties type VerticaLinkedService = original.VerticaLinkedService type VerticaLinkedServiceTypeProperties = original.VerticaLinkedServiceTypeProperties type VerticaSource = original.VerticaSource diff --git a/profiles/preview/datafactory/mgmt/datafactory/models.go b/profiles/preview/datafactory/mgmt/datafactory/models.go index 753d632f3246..334d97ceb0ee 100644 --- a/profiles/preview/datafactory/mgmt/datafactory/models.go +++ b/profiles/preview/datafactory/mgmt/datafactory/models.go @@ -1288,6 +1288,7 @@ type DocumentDbCollectionDataset = original.DocumentDbCollectionDataset type DocumentDbCollectionDatasetTypeProperties = original.DocumentDbCollectionDatasetTypeProperties type DocumentDbCollectionSink = original.DocumentDbCollectionSink type DocumentDbCollectionSource = original.DocumentDbCollectionSource +type DrillDatasetTypeProperties = original.DrillDatasetTypeProperties type DrillLinkedService = original.DrillLinkedService type DrillLinkedServiceTypeProperties = original.DrillLinkedServiceTypeProperties type DrillSource = original.DrillSource @@ -1364,10 +1365,12 @@ type GoogleAdWordsLinkedService = original.GoogleAdWordsLinkedService type GoogleAdWordsLinkedServiceTypeProperties = original.GoogleAdWordsLinkedServiceTypeProperties type GoogleAdWordsObjectDataset = original.GoogleAdWordsObjectDataset type GoogleAdWordsSource = original.GoogleAdWordsSource +type GoogleBigQueryDatasetTypeProperties = original.GoogleBigQueryDatasetTypeProperties type GoogleBigQueryLinkedService = original.GoogleBigQueryLinkedService type GoogleBigQueryLinkedServiceTypeProperties = original.GoogleBigQueryLinkedServiceTypeProperties type GoogleBigQueryObjectDataset = original.GoogleBigQueryObjectDataset type GoogleBigQuerySource = original.GoogleBigQuerySource +type GreenplumDatasetTypeProperties = original.GreenplumDatasetTypeProperties type GreenplumLinkedService = original.GreenplumLinkedService type GreenplumLinkedServiceTypeProperties = original.GreenplumLinkedServiceTypeProperties type GreenplumSource = original.GreenplumSource @@ -1402,6 +1405,7 @@ type HdfsLinkedServiceTypeProperties = original.HdfsLinkedServiceTypeProperties type HdfsLocation = original.HdfsLocation type HdfsReadSettings = original.HdfsReadSettings type HdfsSource = original.HdfsSource +type HiveDatasetTypeProperties = original.HiveDatasetTypeProperties type HiveLinkedService = original.HiveLinkedService type HiveLinkedServiceTypeProperties = original.HiveLinkedServiceTypeProperties type HiveObjectDataset = original.HiveObjectDataset @@ -1412,6 +1416,7 @@ type HubspotObjectDataset = original.HubspotObjectDataset type HubspotSource = original.HubspotSource type IfConditionActivity = original.IfConditionActivity type IfConditionActivityTypeProperties = original.IfConditionActivityTypeProperties +type ImpalaDatasetTypeProperties = original.ImpalaDatasetTypeProperties type ImpalaLinkedService = original.ImpalaLinkedService type ImpalaLinkedServiceTypeProperties = original.ImpalaLinkedServiceTypeProperties type ImpalaObjectDataset = original.ImpalaObjectDataset @@ -1566,6 +1571,7 @@ type PaypalLinkedService = original.PaypalLinkedService type PaypalLinkedServiceTypeProperties = original.PaypalLinkedServiceTypeProperties type PaypalObjectDataset = original.PaypalObjectDataset type PaypalSource = original.PaypalSource +type PhoenixDatasetTypeProperties = original.PhoenixDatasetTypeProperties type PhoenixLinkedService = original.PhoenixLinkedService type PhoenixLinkedServiceTypeProperties = original.PhoenixLinkedServiceTypeProperties type PhoenixObjectDataset = original.PhoenixObjectDataset @@ -1588,6 +1594,7 @@ type PostgreSQLLinkedServiceTypeProperties = original.PostgreSQLLinkedServiceTyp type PostgreSQLSource = original.PostgreSQLSource type PostgreSQLTableDataset = original.PostgreSQLTableDataset type PostgreSQLTableDatasetTypeProperties = original.PostgreSQLTableDatasetTypeProperties +type PrestoDatasetTypeProperties = original.PrestoDatasetTypeProperties type PrestoLinkedService = original.PrestoLinkedService type PrestoLinkedServiceTypeProperties = original.PrestoLinkedServiceTypeProperties type PrestoObjectDataset = original.PrestoObjectDataset @@ -1721,6 +1728,7 @@ type ShopifyLinkedService = original.ShopifyLinkedService type ShopifyLinkedServiceTypeProperties = original.ShopifyLinkedServiceTypeProperties type ShopifyObjectDataset = original.ShopifyObjectDataset type ShopifySource = original.ShopifySource +type SparkDatasetTypeProperties = original.SparkDatasetTypeProperties type SparkLinkedService = original.SparkLinkedService type SparkLinkedServiceTypeProperties = original.SparkLinkedServiceTypeProperties type SparkObjectDataset = original.SparkObjectDataset @@ -1780,6 +1788,7 @@ type UserProperty = original.UserProperty type ValidationActivity = original.ValidationActivity type ValidationActivityTypeProperties = original.ValidationActivityTypeProperties type VariableSpecification = original.VariableSpecification +type VerticaDatasetTypeProperties = original.VerticaDatasetTypeProperties type VerticaLinkedService = original.VerticaLinkedService type VerticaLinkedServiceTypeProperties = original.VerticaLinkedServiceTypeProperties type VerticaSource = original.VerticaSource diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/models.go b/services/datafactory/mgmt/2018-06-01/datafactory/models.go index 59b25301eaed..b9d22f48180e 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/models.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/models.go @@ -29844,8 +29844,12 @@ func (asdtd *AzureSQLDWTableDataset) UnmarshalJSON(body []byte) error { // AzureSQLDWTableDatasetTypeProperties azure SQL Data Warehouse dataset properties. type AzureSQLDWTableDatasetTypeProperties struct { - // TableName - The table name of the Azure SQL Data Warehouse. Type: string (or Expression with resultType string). + // TableName - This property will be retired. Please consider using schema + table properties instead. TableName interface{} `json:"tableName,omitempty"` + // Schema - The schema name of the Azure SQL Data Warehouse. Type: string (or Expression with resultType string). + Schema interface{} `json:"schema,omitempty"` + // Table - The table name of the Azure SQL Data Warehouse. Type: string (or Expression with resultType string). + Table interface{} `json:"table,omitempty"` } // AzureSQLMILinkedService azure SQL Managed Instance linked service. @@ -32586,8 +32590,12 @@ func (astd *AzureSQLTableDataset) UnmarshalJSON(body []byte) error { // AzureSQLTableDatasetTypeProperties azure SQL dataset properties. type AzureSQLTableDatasetTypeProperties struct { - // TableName - The table name of the Azure SQL database. Type: string (or Expression with resultType string). + // TableName - This property will be retired. Please consider using schema + table properties instead. TableName interface{} `json:"tableName,omitempty"` + // Schema - The schema name of the Azure SQL database. Type: string (or Expression with resultType string). + Schema interface{} `json:"schema,omitempty"` + // Table - The table name of the Azure SQL database. Type: string (or Expression with resultType string). + Table interface{} `json:"table,omitempty"` } // AzureStorageLinkedService the storage account linked service. @@ -59961,6 +59969,16 @@ func (ddcs *DocumentDbCollectionSource) UnmarshalJSON(body []byte) error { return nil } +// DrillDatasetTypeProperties drill Dataset Properties +type DrillDatasetTypeProperties struct { + // TableName - This property will be retired. Please consider using schema + table properties instead. + TableName interface{} `json:"tableName,omitempty"` + // Table - The table name of the Drill. Type: string (or Expression with resultType string). + Table interface{} `json:"table,omitempty"` + // Schema - The schema name of the Drill. Type: string (or Expression with resultType string). + Schema interface{} `json:"schema,omitempty"` +} + // DrillLinkedService drill server linked service. type DrillLinkedService struct { // DrillLinkedServiceTypeProperties - Drill server linked service properties. @@ -61083,8 +61101,8 @@ func (ds *DrillSource) UnmarshalJSON(body []byte) error { // DrillTableDataset drill server dataset. type DrillTableDataset struct { - // GenericDatasetTypeProperties - Properties specific to this dataset type. - *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` + // DrillDatasetTypeProperties - Properties specific to this dataset type. + *DrillDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // Description - Dataset description. @@ -61109,8 +61127,8 @@ type DrillTableDataset struct { func (dtd DrillTableDataset) MarshalJSON() ([]byte, error) { dtd.Type = TypeDrillTable objectMap := make(map[string]interface{}) - if dtd.GenericDatasetTypeProperties != nil { - objectMap["typeProperties"] = dtd.GenericDatasetTypeProperties + if dtd.DrillDatasetTypeProperties != nil { + objectMap["typeProperties"] = dtd.DrillDatasetTypeProperties } if dtd.Description != nil { objectMap["description"] = dtd.Description @@ -61553,12 +61571,12 @@ func (dtd *DrillTableDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var genericDatasetTypeProperties GenericDatasetTypeProperties - err = json.Unmarshal(*v, &genericDatasetTypeProperties) + var drillDatasetTypeProperties DrillDatasetTypeProperties + err = json.Unmarshal(*v, &drillDatasetTypeProperties) if err != nil { return err } - dtd.GenericDatasetTypeProperties = &genericDatasetTypeProperties + dtd.DrillDatasetTypeProperties = &drillDatasetTypeProperties } default: if v != nil { @@ -77687,6 +77705,16 @@ func (gaws *GoogleAdWordsSource) UnmarshalJSON(body []byte) error { return nil } +// GoogleBigQueryDatasetTypeProperties google BigQuery Dataset Properties +type GoogleBigQueryDatasetTypeProperties struct { + // TableName - This property will be retired. Please consider using database + table properties instead. + TableName interface{} `json:"tableName,omitempty"` + // Table - The table name of the Google BigQuery. Type: string (or Expression with resultType string). + Table interface{} `json:"table,omitempty"` + // Dataset - The database name of the Google BigQuery. Type: string (or Expression with resultType string). + Dataset interface{} `json:"dataset,omitempty"` +} + // GoogleBigQueryLinkedService google BigQuery service linked service. type GoogleBigQueryLinkedService struct { // GoogleBigQueryLinkedServiceTypeProperties - Google BigQuery service linked service properties. @@ -78424,8 +78452,8 @@ func (gbqlstp *GoogleBigQueryLinkedServiceTypeProperties) UnmarshalJSON(body []b // GoogleBigQueryObjectDataset google BigQuery service dataset. type GoogleBigQueryObjectDataset struct { - // GenericDatasetTypeProperties - Properties specific to this dataset type. - *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` + // GoogleBigQueryDatasetTypeProperties - Properties specific to this dataset type. + *GoogleBigQueryDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // Description - Dataset description. @@ -78450,8 +78478,8 @@ type GoogleBigQueryObjectDataset struct { func (gbqod GoogleBigQueryObjectDataset) MarshalJSON() ([]byte, error) { gbqod.Type = TypeGoogleBigQueryObject objectMap := make(map[string]interface{}) - if gbqod.GenericDatasetTypeProperties != nil { - objectMap["typeProperties"] = gbqod.GenericDatasetTypeProperties + if gbqod.GoogleBigQueryDatasetTypeProperties != nil { + objectMap["typeProperties"] = gbqod.GoogleBigQueryDatasetTypeProperties } if gbqod.Description != nil { objectMap["description"] = gbqod.Description @@ -78894,12 +78922,12 @@ func (gbqod *GoogleBigQueryObjectDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var genericDatasetTypeProperties GenericDatasetTypeProperties - err = json.Unmarshal(*v, &genericDatasetTypeProperties) + var googleBigQueryDatasetTypeProperties GoogleBigQueryDatasetTypeProperties + err = json.Unmarshal(*v, &googleBigQueryDatasetTypeProperties) if err != nil { return err } - gbqod.GenericDatasetTypeProperties = &genericDatasetTypeProperties + gbqod.GoogleBigQueryDatasetTypeProperties = &googleBigQueryDatasetTypeProperties } default: if v != nil { @@ -79514,6 +79542,16 @@ func (gbqs *GoogleBigQuerySource) UnmarshalJSON(body []byte) error { return nil } +// GreenplumDatasetTypeProperties greenplum Dataset Properties +type GreenplumDatasetTypeProperties struct { + // TableName - This property will be retired. Please consider using schema + table properties instead. + TableName interface{} `json:"tableName,omitempty"` + // Table - The table name of Greenplum. Type: string (or Expression with resultType string). + Table interface{} `json:"table,omitempty"` + // Schema - The schema name of Greenplum. Type: string (or Expression with resultType string). + Schema interface{} `json:"schema,omitempty"` +} + // GreenplumLinkedService greenplum Database linked service. type GreenplumLinkedService struct { // GreenplumLinkedServiceTypeProperties - Greenplum Database linked service properties. @@ -80636,8 +80674,8 @@ func (gs *GreenplumSource) UnmarshalJSON(body []byte) error { // GreenplumTableDataset greenplum Database dataset. type GreenplumTableDataset struct { - // GenericDatasetTypeProperties - Properties specific to this dataset type. - *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` + // GreenplumDatasetTypeProperties - Properties specific to this dataset type. + *GreenplumDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // Description - Dataset description. @@ -80662,8 +80700,8 @@ type GreenplumTableDataset struct { func (gtd GreenplumTableDataset) MarshalJSON() ([]byte, error) { gtd.Type = TypeGreenplumTable objectMap := make(map[string]interface{}) - if gtd.GenericDatasetTypeProperties != nil { - objectMap["typeProperties"] = gtd.GenericDatasetTypeProperties + if gtd.GreenplumDatasetTypeProperties != nil { + objectMap["typeProperties"] = gtd.GreenplumDatasetTypeProperties } if gtd.Description != nil { objectMap["description"] = gtd.Description @@ -81106,12 +81144,12 @@ func (gtd *GreenplumTableDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var genericDatasetTypeProperties GenericDatasetTypeProperties - err = json.Unmarshal(*v, &genericDatasetTypeProperties) + var greenplumDatasetTypeProperties GreenplumDatasetTypeProperties + err = json.Unmarshal(*v, &greenplumDatasetTypeProperties) if err != nil { return err } - gtd.GenericDatasetTypeProperties = &genericDatasetTypeProperties + gtd.GreenplumDatasetTypeProperties = &greenplumDatasetTypeProperties } default: if v != nil { @@ -88089,6 +88127,16 @@ func (hisatp HDInsightStreamingActivityTypeProperties) MarshalJSON() ([]byte, er return json.Marshal(objectMap) } +// HiveDatasetTypeProperties hive Properties +type HiveDatasetTypeProperties struct { + // TableName - This property will be retired. Please consider using schema + table properties instead. + TableName interface{} `json:"tableName,omitempty"` + // Table - The table name of the Hive. Type: string (or Expression with resultType string). + Table interface{} `json:"table,omitempty"` + // Schema - The schema name of the Hive. Type: string (or Expression with resultType string). + Schema interface{} `json:"schema,omitempty"` +} + // HiveLinkedService hive Server linked service. type HiveLinkedService struct { // HiveLinkedServiceTypeProperties - Hive Server linked service properties. @@ -88883,8 +88931,8 @@ func (hlstp *HiveLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { // HiveObjectDataset hive Server dataset. type HiveObjectDataset struct { - // GenericDatasetTypeProperties - Properties specific to this dataset type. - *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` + // HiveDatasetTypeProperties - Properties specific to this dataset type. + *HiveDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // Description - Dataset description. @@ -88909,8 +88957,8 @@ type HiveObjectDataset struct { func (hod HiveObjectDataset) MarshalJSON() ([]byte, error) { hod.Type = TypeHiveObject objectMap := make(map[string]interface{}) - if hod.GenericDatasetTypeProperties != nil { - objectMap["typeProperties"] = hod.GenericDatasetTypeProperties + if hod.HiveDatasetTypeProperties != nil { + objectMap["typeProperties"] = hod.HiveDatasetTypeProperties } if hod.Description != nil { objectMap["description"] = hod.Description @@ -89353,12 +89401,12 @@ func (hod *HiveObjectDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var genericDatasetTypeProperties GenericDatasetTypeProperties - err = json.Unmarshal(*v, &genericDatasetTypeProperties) + var hiveDatasetTypeProperties HiveDatasetTypeProperties + err = json.Unmarshal(*v, &hiveDatasetTypeProperties) if err != nil { return err } - hod.GenericDatasetTypeProperties = &genericDatasetTypeProperties + hod.HiveDatasetTypeProperties = &hiveDatasetTypeProperties } default: if v != nil { @@ -94214,6 +94262,16 @@ func (icatp *IfConditionActivityTypeProperties) UnmarshalJSON(body []byte) error return nil } +// ImpalaDatasetTypeProperties impala Dataset Properties +type ImpalaDatasetTypeProperties struct { + // TableName - This property will be retired. Please consider using schema + table properties instead. + TableName interface{} `json:"tableName,omitempty"` + // Table - The table name of the Impala. Type: string (or Expression with resultType string). + Table interface{} `json:"table,omitempty"` + // Schema - The schema name of the Impala. Type: string (or Expression with resultType string). + Schema interface{} `json:"schema,omitempty"` +} + // ImpalaLinkedService impala server linked service. type ImpalaLinkedService struct { // ImpalaLinkedServiceTypeProperties - Impala server linked service properties. @@ -94942,8 +95000,8 @@ func (ilstp *ImpalaLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error // ImpalaObjectDataset impala server dataset. type ImpalaObjectDataset struct { - // GenericDatasetTypeProperties - Properties specific to this dataset type. - *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` + // ImpalaDatasetTypeProperties - Properties specific to this dataset type. + *ImpalaDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // Description - Dataset description. @@ -94968,8 +95026,8 @@ type ImpalaObjectDataset struct { func (iod ImpalaObjectDataset) MarshalJSON() ([]byte, error) { iod.Type = TypeImpalaObject objectMap := make(map[string]interface{}) - if iod.GenericDatasetTypeProperties != nil { - objectMap["typeProperties"] = iod.GenericDatasetTypeProperties + if iod.ImpalaDatasetTypeProperties != nil { + objectMap["typeProperties"] = iod.ImpalaDatasetTypeProperties } if iod.Description != nil { objectMap["description"] = iod.Description @@ -95412,12 +95470,12 @@ func (iod *ImpalaObjectDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var genericDatasetTypeProperties GenericDatasetTypeProperties - err = json.Unmarshal(*v, &genericDatasetTypeProperties) + var impalaDatasetTypeProperties ImpalaDatasetTypeProperties + err = json.Unmarshal(*v, &impalaDatasetTypeProperties) if err != nil { return err } - iod.GenericDatasetTypeProperties = &genericDatasetTypeProperties + iod.ImpalaDatasetTypeProperties = &impalaDatasetTypeProperties } default: if v != nil { @@ -128014,8 +128072,12 @@ func (otd *OracleTableDataset) UnmarshalJSON(body []byte) error { // OracleTableDatasetTypeProperties on-premises Oracle dataset properties. type OracleTableDatasetTypeProperties struct { - // TableName - The table name of the on-premises Oracle database. Type: string (or Expression with resultType string). + // TableName - This property will be retired. Please consider using schema + table properties instead. TableName interface{} `json:"tableName,omitempty"` + // Schema - The schema name of the on-premises Oracle database. Type: string (or Expression with resultType string). + Schema interface{} `json:"schema,omitempty"` + // Table - The table name of the on-premises Oracle database. Type: string (or Expression with resultType string). + Table interface{} `json:"table,omitempty"` } // OrcFormat the data stored in Optimized Row Columnar (ORC) format. @@ -131435,6 +131497,16 @@ func (ps *PaypalSource) UnmarshalJSON(body []byte) error { return nil } +// PhoenixDatasetTypeProperties phoenix Dataset Properties +type PhoenixDatasetTypeProperties struct { + // TableName - This property will be retired. Please consider using schema + table properties instead. + TableName interface{} `json:"tableName,omitempty"` + // Table - The table name of the Phoenix. Type: string (or Expression with resultType string). + Table interface{} `json:"table,omitempty"` + // Schema - The schema name of the Phoenix. Type: string (or Expression with resultType string). + Schema interface{} `json:"schema,omitempty"` +} + // PhoenixLinkedService phoenix server linked service. type PhoenixLinkedService struct { // PhoenixLinkedServiceTypeProperties - Phoenix server linked service properties. @@ -132174,8 +132246,8 @@ func (plstp *PhoenixLinkedServiceTypeProperties) UnmarshalJSON(body []byte) erro // PhoenixObjectDataset phoenix server dataset. type PhoenixObjectDataset struct { - // GenericDatasetTypeProperties - Properties specific to this dataset type. - *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` + // PhoenixDatasetTypeProperties - Properties specific to this dataset type. + *PhoenixDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // Description - Dataset description. @@ -132200,8 +132272,8 @@ type PhoenixObjectDataset struct { func (pod PhoenixObjectDataset) MarshalJSON() ([]byte, error) { pod.Type = TypePhoenixObject objectMap := make(map[string]interface{}) - if pod.GenericDatasetTypeProperties != nil { - objectMap["typeProperties"] = pod.GenericDatasetTypeProperties + if pod.PhoenixDatasetTypeProperties != nil { + objectMap["typeProperties"] = pod.PhoenixDatasetTypeProperties } if pod.Description != nil { objectMap["description"] = pod.Description @@ -132644,12 +132716,12 @@ func (pod *PhoenixObjectDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var genericDatasetTypeProperties GenericDatasetTypeProperties - err = json.Unmarshal(*v, &genericDatasetTypeProperties) + var phoenixDatasetTypeProperties PhoenixDatasetTypeProperties + err = json.Unmarshal(*v, &phoenixDatasetTypeProperties) if err != nil { return err } - pod.GenericDatasetTypeProperties = &genericDatasetTypeProperties + pod.PhoenixDatasetTypeProperties = &phoenixDatasetTypeProperties } default: if v != nil { @@ -135678,6 +135750,16 @@ type PostgreSQLTableDatasetTypeProperties struct { TableName interface{} `json:"tableName,omitempty"` } +// PrestoDatasetTypeProperties presto Dataset Properties +type PrestoDatasetTypeProperties struct { + // TableName - This property will be retired. Please consider using schema + table properties instead. + TableName interface{} `json:"tableName,omitempty"` + // Table - The table name of the Presto. Type: string (or Expression with resultType string). + Table interface{} `json:"table,omitempty"` + // Schema - The schema name of the Presto. Type: string (or Expression with resultType string). + Schema interface{} `json:"schema,omitempty"` +} + // PrestoLinkedService presto server linked service. type PrestoLinkedService struct { // PrestoLinkedServiceTypeProperties - Presto server linked service properties. @@ -136439,8 +136521,8 @@ func (plstp *PrestoLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error // PrestoObjectDataset presto server dataset. type PrestoObjectDataset struct { - // GenericDatasetTypeProperties - Properties specific to this dataset type. - *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` + // PrestoDatasetTypeProperties - Properties specific to this dataset type. + *PrestoDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // Description - Dataset description. @@ -136465,8 +136547,8 @@ type PrestoObjectDataset struct { func (pod PrestoObjectDataset) MarshalJSON() ([]byte, error) { pod.Type = TypePrestoObject objectMap := make(map[string]interface{}) - if pod.GenericDatasetTypeProperties != nil { - objectMap["typeProperties"] = pod.GenericDatasetTypeProperties + if pod.PrestoDatasetTypeProperties != nil { + objectMap["typeProperties"] = pod.PrestoDatasetTypeProperties } if pod.Description != nil { objectMap["description"] = pod.Description @@ -136909,12 +136991,12 @@ func (pod *PrestoObjectDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var genericDatasetTypeProperties GenericDatasetTypeProperties - err = json.Unmarshal(*v, &genericDatasetTypeProperties) + var prestoDatasetTypeProperties PrestoDatasetTypeProperties + err = json.Unmarshal(*v, &prestoDatasetTypeProperties) if err != nil { return err } - pod.GenericDatasetTypeProperties = &genericDatasetTypeProperties + pod.PrestoDatasetTypeProperties = &prestoDatasetTypeProperties } default: if v != nil { @@ -166400,6 +166482,16 @@ func (ss *ShopifySource) UnmarshalJSON(body []byte) error { return nil } +// SparkDatasetTypeProperties spark Properties +type SparkDatasetTypeProperties struct { + // TableName - This property will be retired. Please consider using schema + table properties instead. + TableName interface{} `json:"tableName,omitempty"` + // Table - The table name of the Spark. Type: string (or Expression with resultType string). + Table interface{} `json:"table,omitempty"` + // Schema - The schema name of the Spark. Type: string (or Expression with resultType string). + Schema interface{} `json:"schema,omitempty"` +} + // SparkLinkedService spark Server linked service. type SparkLinkedService struct { // SparkLinkedServiceTypeProperties - Spark Server linked service properties. @@ -167161,8 +167253,8 @@ func (slstp *SparkLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error // SparkObjectDataset spark Server dataset. type SparkObjectDataset struct { - // GenericDatasetTypeProperties - Properties specific to this dataset type. - *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` + // SparkDatasetTypeProperties - Properties specific to this dataset type. + *SparkDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // Description - Dataset description. @@ -167187,8 +167279,8 @@ type SparkObjectDataset struct { func (sod SparkObjectDataset) MarshalJSON() ([]byte, error) { sod.Type = TypeSparkObject objectMap := make(map[string]interface{}) - if sod.GenericDatasetTypeProperties != nil { - objectMap["typeProperties"] = sod.GenericDatasetTypeProperties + if sod.SparkDatasetTypeProperties != nil { + objectMap["typeProperties"] = sod.SparkDatasetTypeProperties } if sod.Description != nil { objectMap["description"] = sod.Description @@ -167631,12 +167723,12 @@ func (sod *SparkObjectDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var genericDatasetTypeProperties GenericDatasetTypeProperties - err = json.Unmarshal(*v, &genericDatasetTypeProperties) + var sparkDatasetTypeProperties SparkDatasetTypeProperties + err = json.Unmarshal(*v, &sparkDatasetTypeProperties) if err != nil { return err } - sod.GenericDatasetTypeProperties = &genericDatasetTypeProperties + sod.SparkDatasetTypeProperties = &sparkDatasetTypeProperties } default: if v != nil { @@ -172540,8 +172632,12 @@ func (sstd *SQLServerTableDataset) UnmarshalJSON(body []byte) error { // SQLServerTableDatasetTypeProperties on-premises SQL Server dataset properties. type SQLServerTableDatasetTypeProperties struct { - // TableName - The table name of the SQL Server dataset. Type: string (or Expression with resultType string). + // TableName - This property will be retired. Please consider using schema + table properties instead. TableName interface{} `json:"tableName,omitempty"` + // Schema - The schema name of the SQL Server dataset. Type: string (or Expression with resultType string). + Schema interface{} `json:"schema,omitempty"` + // Table - The table name of the SQL Server dataset. Type: string (or Expression with resultType string). + Table interface{} `json:"table,omitempty"` } // SQLSink a copy activity SQL sink. @@ -181268,6 +181364,16 @@ type VariableSpecification struct { DefaultValue interface{} `json:"defaultValue,omitempty"` } +// VerticaDatasetTypeProperties vertica Properties +type VerticaDatasetTypeProperties struct { + // TableName - This property will be retired. Please consider using schema + table properties instead. + TableName interface{} `json:"tableName,omitempty"` + // Table - The table name of the Vertica. Type: string (or Expression with resultType string). + Table interface{} `json:"table,omitempty"` + // Schema - The schema name of the Vertica. Type: string (or Expression with resultType string). + Schema interface{} `json:"schema,omitempty"` +} + // VerticaLinkedService vertica linked service. type VerticaLinkedService struct { // VerticaLinkedServiceTypeProperties - Vertica linked service properties. @@ -182390,8 +182496,8 @@ func (vs *VerticaSource) UnmarshalJSON(body []byte) error { // VerticaTableDataset vertica dataset. type VerticaTableDataset struct { - // GenericDatasetTypeProperties - Properties specific to this dataset type. - *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` + // VerticaDatasetTypeProperties - Properties specific to this dataset type. + *VerticaDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // Description - Dataset description. @@ -182416,8 +182522,8 @@ type VerticaTableDataset struct { func (vtd VerticaTableDataset) MarshalJSON() ([]byte, error) { vtd.Type = TypeVerticaTable objectMap := make(map[string]interface{}) - if vtd.GenericDatasetTypeProperties != nil { - objectMap["typeProperties"] = vtd.GenericDatasetTypeProperties + if vtd.VerticaDatasetTypeProperties != nil { + objectMap["typeProperties"] = vtd.VerticaDatasetTypeProperties } if vtd.Description != nil { objectMap["description"] = vtd.Description @@ -182860,12 +182966,12 @@ func (vtd *VerticaTableDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var genericDatasetTypeProperties GenericDatasetTypeProperties - err = json.Unmarshal(*v, &genericDatasetTypeProperties) + var verticaDatasetTypeProperties VerticaDatasetTypeProperties + err = json.Unmarshal(*v, &verticaDatasetTypeProperties) if err != nil { return err } - vtd.GenericDatasetTypeProperties = &genericDatasetTypeProperties + vtd.VerticaDatasetTypeProperties = &verticaDatasetTypeProperties } default: if v != nil { From 638f1e5f8abd7869d871a627b69e7191d1710085 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Mon, 29 Jul 2019 09:23:08 -0700 Subject: [PATCH 5/5] [AutoPR datafactory/resource-manager] [DataFactory]SapBwCube and Sybase Dataset (#5358) * Generated from b88af2e2b065a6ff559d879d690d65096d1bb56f [DataFactory]SapBwCube and Sybase Dataset * Generated from b88af2e2b065a6ff559d879d690d65096d1bb56f [DataFactory]SapBwCube and Sybase Dataset --- .../datafactory/mgmt/datafactory/models.go | 7 + .../datafactory/mgmt/datafactory/models.go | 7 + .../mgmt/2018-06-01/datafactory/models.go | 3218 ++++++++++++++++- 3 files changed, 3070 insertions(+), 162 deletions(-) diff --git a/profiles/latest/datafactory/mgmt/datafactory/models.go b/profiles/latest/datafactory/mgmt/datafactory/models.go index 21dc39fc7970..1c9d96bf584b 100644 --- a/profiles/latest/datafactory/mgmt/datafactory/models.go +++ b/profiles/latest/datafactory/mgmt/datafactory/models.go @@ -762,6 +762,7 @@ const ( TypeSalesforceMarketingCloudSource TypeBasicCopySource = original.TypeSalesforceMarketingCloudSource TypeSalesforceServiceCloudSource TypeBasicCopySource = original.TypeSalesforceServiceCloudSource TypeSalesforceSource TypeBasicCopySource = original.TypeSalesforceSource + TypeSapBwSource TypeBasicCopySource = original.TypeSapBwSource TypeSapCloudForCustomerSource TypeBasicCopySource = original.TypeSapCloudForCustomerSource TypeSapEccSource TypeBasicCopySource = original.TypeSapEccSource TypeSapHanaSource TypeBasicCopySource = original.TypeSapHanaSource @@ -850,6 +851,7 @@ const ( TypeSalesforceMarketingCloudObject TypeBasicDataset = original.TypeSalesforceMarketingCloudObject TypeSalesforceObject TypeBasicDataset = original.TypeSalesforceObject TypeSalesforceServiceCloudObject TypeBasicDataset = original.TypeSalesforceServiceCloudObject + TypeSapBwCube TypeBasicDataset = original.TypeSapBwCube TypeSapCloudForCustomerResource TypeBasicDataset = original.TypeSapCloudForCustomerResource TypeSapEccResource TypeBasicDataset = original.TypeSapEccResource TypeSapHanaTable TypeBasicDataset = original.TypeSapHanaTable @@ -860,6 +862,7 @@ const ( TypeSparkObject TypeBasicDataset = original.TypeSparkObject TypeSQLServerTable TypeBasicDataset = original.TypeSQLServerTable TypeSquareObject TypeBasicDataset = original.TypeSquareObject + TypeSybaseTable TypeBasicDataset = original.TypeSybaseTable TypeTeradataTable TypeBasicDataset = original.TypeTeradataTable TypeVerticaTable TypeBasicDataset = original.TypeVerticaTable TypeWebTable TypeBasicDataset = original.TypeWebTable @@ -1675,6 +1678,8 @@ type SalesforceSink = original.SalesforceSink type SalesforceSource = original.SalesforceSource type SapBWLinkedService = original.SapBWLinkedService type SapBWLinkedServiceTypeProperties = original.SapBWLinkedServiceTypeProperties +type SapBwCubeDataset = original.SapBwCubeDataset +type SapBwSource = original.SapBwSource type SapCloudForCustomerLinkedService = original.SapCloudForCustomerLinkedService type SapCloudForCustomerLinkedServiceTypeProperties = original.SapCloudForCustomerLinkedServiceTypeProperties type SapCloudForCustomerResourceDataset = original.SapCloudForCustomerResourceDataset @@ -1755,6 +1760,8 @@ type SubResource = original.SubResource type SybaseLinkedService = original.SybaseLinkedService type SybaseLinkedServiceTypeProperties = original.SybaseLinkedServiceTypeProperties type SybaseSource = original.SybaseSource +type SybaseTableDataset = original.SybaseTableDataset +type SybaseTableDatasetTypeProperties = original.SybaseTableDatasetTypeProperties type TeradataLinkedService = original.TeradataLinkedService type TeradataLinkedServiceTypeProperties = original.TeradataLinkedServiceTypeProperties type TeradataPartitionSettings = original.TeradataPartitionSettings diff --git a/profiles/preview/datafactory/mgmt/datafactory/models.go b/profiles/preview/datafactory/mgmt/datafactory/models.go index 334d97ceb0ee..3c8fe3b6e05c 100644 --- a/profiles/preview/datafactory/mgmt/datafactory/models.go +++ b/profiles/preview/datafactory/mgmt/datafactory/models.go @@ -762,6 +762,7 @@ const ( TypeSalesforceMarketingCloudSource TypeBasicCopySource = original.TypeSalesforceMarketingCloudSource TypeSalesforceServiceCloudSource TypeBasicCopySource = original.TypeSalesforceServiceCloudSource TypeSalesforceSource TypeBasicCopySource = original.TypeSalesforceSource + TypeSapBwSource TypeBasicCopySource = original.TypeSapBwSource TypeSapCloudForCustomerSource TypeBasicCopySource = original.TypeSapCloudForCustomerSource TypeSapEccSource TypeBasicCopySource = original.TypeSapEccSource TypeSapHanaSource TypeBasicCopySource = original.TypeSapHanaSource @@ -850,6 +851,7 @@ const ( TypeSalesforceMarketingCloudObject TypeBasicDataset = original.TypeSalesforceMarketingCloudObject TypeSalesforceObject TypeBasicDataset = original.TypeSalesforceObject TypeSalesforceServiceCloudObject TypeBasicDataset = original.TypeSalesforceServiceCloudObject + TypeSapBwCube TypeBasicDataset = original.TypeSapBwCube TypeSapCloudForCustomerResource TypeBasicDataset = original.TypeSapCloudForCustomerResource TypeSapEccResource TypeBasicDataset = original.TypeSapEccResource TypeSapHanaTable TypeBasicDataset = original.TypeSapHanaTable @@ -860,6 +862,7 @@ const ( TypeSparkObject TypeBasicDataset = original.TypeSparkObject TypeSQLServerTable TypeBasicDataset = original.TypeSQLServerTable TypeSquareObject TypeBasicDataset = original.TypeSquareObject + TypeSybaseTable TypeBasicDataset = original.TypeSybaseTable TypeTeradataTable TypeBasicDataset = original.TypeTeradataTable TypeVerticaTable TypeBasicDataset = original.TypeVerticaTable TypeWebTable TypeBasicDataset = original.TypeWebTable @@ -1675,6 +1678,8 @@ type SalesforceSink = original.SalesforceSink type SalesforceSource = original.SalesforceSource type SapBWLinkedService = original.SapBWLinkedService type SapBWLinkedServiceTypeProperties = original.SapBWLinkedServiceTypeProperties +type SapBwCubeDataset = original.SapBwCubeDataset +type SapBwSource = original.SapBwSource type SapCloudForCustomerLinkedService = original.SapCloudForCustomerLinkedService type SapCloudForCustomerLinkedServiceTypeProperties = original.SapCloudForCustomerLinkedServiceTypeProperties type SapCloudForCustomerResourceDataset = original.SapCloudForCustomerResourceDataset @@ -1755,6 +1760,8 @@ type SubResource = original.SubResource type SybaseLinkedService = original.SybaseLinkedService type SybaseLinkedServiceTypeProperties = original.SybaseLinkedServiceTypeProperties type SybaseSource = original.SybaseSource +type SybaseTableDataset = original.SybaseTableDataset +type SybaseTableDatasetTypeProperties = original.SybaseTableDatasetTypeProperties type TeradataLinkedService = original.TeradataLinkedService type TeradataLinkedServiceTypeProperties = original.TeradataLinkedServiceTypeProperties type TeradataPartitionSettings = original.TeradataPartitionSettings diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/models.go b/services/datafactory/mgmt/2018-06-01/datafactory/models.go index b9d22f48180e..57a13c3c4586 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/models.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/models.go @@ -1571,6 +1571,8 @@ const ( TypeSalesforceServiceCloudSource TypeBasicCopySource = "SalesforceServiceCloudSource" // TypeSalesforceSource ... TypeSalesforceSource TypeBasicCopySource = "SalesforceSource" + // TypeSapBwSource ... + TypeSapBwSource TypeBasicCopySource = "SapBwSource" // TypeSapCloudForCustomerSource ... TypeSapCloudForCustomerSource TypeBasicCopySource = "SapCloudForCustomerSource" // TypeSapEccSource ... @@ -1613,7 +1615,7 @@ const ( // PossibleTypeBasicCopySourceValues returns an array of possible values for the TypeBasicCopySource const type. func PossibleTypeBasicCopySourceValues() []TypeBasicCopySource { - return []TypeBasicCopySource{TypeAmazonMWSSource, TypeAmazonRedshiftSource, TypeAzureBlobFSSource, TypeAzureDataExplorerSource, TypeAzureDataLakeStoreSource, TypeAzureMySQLSource, TypeAzurePostgreSQLSource, TypeAzureSQLSource, TypeAzureTableSource, TypeBinarySource, TypeBlobSource, TypeCassandraSource, TypeCommonDataServiceForAppsSource, TypeConcurSource, TypeCopySource, TypeCosmosDbMongoDbAPISource, TypeCouchbaseSource, TypeDb2Source, TypeDelimitedTextSource, TypeDocumentDbCollectionSource, TypeDrillSource, TypeDynamicsAXSource, TypeDynamicsCrmSource, TypeDynamicsSource, TypeEloquaSource, TypeFileSystemSource, TypeGoogleAdWordsSource, TypeGoogleBigQuerySource, TypeGreenplumSource, TypeHBaseSource, TypeHdfsSource, TypeHiveSource, TypeHTTPSource, TypeHubspotSource, TypeImpalaSource, TypeInformixSource, TypeJiraSource, TypeMagentoSource, TypeMariaDBSource, TypeMarketoSource, TypeMicrosoftAccessSource, TypeMongoDbSource, TypeMongoDbV2Source, TypeMySQLSource, TypeNetezzaSource, TypeODataSource, TypeOdbcSource, TypeOffice365Source, TypeOracleServiceCloudSource, TypeOracleSource, TypeParquetSource, TypePaypalSource, TypePhoenixSource, TypePostgreSQLSource, TypePrestoSource, TypeQuickBooksSource, TypeRelationalSource, TypeResponsysSource, TypeRestSource, TypeSalesforceMarketingCloudSource, TypeSalesforceServiceCloudSource, TypeSalesforceSource, TypeSapCloudForCustomerSource, TypeSapEccSource, TypeSapHanaSource, TypeSapOpenHubSource, TypeSapTableSource, TypeServiceNowSource, TypeShopifySource, TypeSparkSource, TypeSQLDWSource, TypeSQLMISource, TypeSQLServerSource, TypeSQLSource, TypeSquareSource, TypeSybaseSource, TypeTeradataSource, TypeVerticaSource, TypeWebSource, TypeXeroSource, TypeZohoSource} + return []TypeBasicCopySource{TypeAmazonMWSSource, TypeAmazonRedshiftSource, TypeAzureBlobFSSource, TypeAzureDataExplorerSource, TypeAzureDataLakeStoreSource, TypeAzureMySQLSource, TypeAzurePostgreSQLSource, TypeAzureSQLSource, TypeAzureTableSource, TypeBinarySource, TypeBlobSource, TypeCassandraSource, TypeCommonDataServiceForAppsSource, TypeConcurSource, TypeCopySource, TypeCosmosDbMongoDbAPISource, TypeCouchbaseSource, TypeDb2Source, TypeDelimitedTextSource, TypeDocumentDbCollectionSource, TypeDrillSource, TypeDynamicsAXSource, TypeDynamicsCrmSource, TypeDynamicsSource, TypeEloquaSource, TypeFileSystemSource, TypeGoogleAdWordsSource, TypeGoogleBigQuerySource, TypeGreenplumSource, TypeHBaseSource, TypeHdfsSource, TypeHiveSource, TypeHTTPSource, TypeHubspotSource, TypeImpalaSource, TypeInformixSource, TypeJiraSource, TypeMagentoSource, TypeMariaDBSource, TypeMarketoSource, TypeMicrosoftAccessSource, TypeMongoDbSource, TypeMongoDbV2Source, TypeMySQLSource, TypeNetezzaSource, TypeODataSource, TypeOdbcSource, TypeOffice365Source, TypeOracleServiceCloudSource, TypeOracleSource, TypeParquetSource, TypePaypalSource, TypePhoenixSource, TypePostgreSQLSource, TypePrestoSource, TypeQuickBooksSource, TypeRelationalSource, TypeResponsysSource, TypeRestSource, TypeSalesforceMarketingCloudSource, TypeSalesforceServiceCloudSource, TypeSalesforceSource, TypeSapBwSource, TypeSapCloudForCustomerSource, TypeSapEccSource, TypeSapHanaSource, TypeSapOpenHubSource, TypeSapTableSource, TypeServiceNowSource, TypeShopifySource, TypeSparkSource, TypeSQLDWSource, TypeSQLMISource, TypeSQLServerSource, TypeSQLSource, TypeSquareSource, TypeSybaseSource, TypeTeradataSource, TypeVerticaSource, TypeWebSource, TypeXeroSource, TypeZohoSource} } // TypeBasicDataset enumerates the values for type basic dataset. @@ -1748,6 +1750,8 @@ const ( TypeSalesforceObject TypeBasicDataset = "SalesforceObject" // TypeSalesforceServiceCloudObject ... TypeSalesforceServiceCloudObject TypeBasicDataset = "SalesforceServiceCloudObject" + // TypeSapBwCube ... + TypeSapBwCube TypeBasicDataset = "SapBwCube" // TypeSapCloudForCustomerResource ... TypeSapCloudForCustomerResource TypeBasicDataset = "SapCloudForCustomerResource" // TypeSapEccResource ... @@ -1768,6 +1772,8 @@ const ( TypeSQLServerTable TypeBasicDataset = "SqlServerTable" // TypeSquareObject ... TypeSquareObject TypeBasicDataset = "SquareObject" + // TypeSybaseTable ... + TypeSybaseTable TypeBasicDataset = "SybaseTable" // TypeTeradataTable ... TypeTeradataTable TypeBasicDataset = "TeradataTable" // TypeVerticaTable ... @@ -1782,7 +1788,7 @@ const ( // PossibleTypeBasicDatasetValues returns an array of possible values for the TypeBasicDataset const type. func PossibleTypeBasicDatasetValues() []TypeBasicDataset { - return []TypeBasicDataset{TypeAmazonMWSObject, TypeAmazonS3Object, TypeAzureBlob, TypeAzureBlobFSFile, TypeAzureDataExplorerTable, TypeAzureDataLakeStoreFile, TypeAzureMySQLTable, TypeAzurePostgreSQLTable, TypeAzureSearchIndex, TypeAzureSQLDWTable, TypeAzureSQLMITable, TypeAzureSQLTable, TypeAzureTable, TypeBinary, TypeCassandraTable, TypeCommonDataServiceForAppsEntity, TypeConcurObject, TypeCosmosDbMongoDbAPICollection, TypeCouchbaseTable, TypeCustomDataset, TypeDataset, TypeDelimitedText, TypeDocumentDbCollection, TypeDrillTable, TypeDynamicsAXResource, TypeDynamicsCrmEntity, TypeDynamicsEntity, TypeEloquaObject, TypeFileShare, TypeGoogleAdWordsObject, TypeGoogleBigQueryObject, TypeGreenplumTable, TypeHBaseObject, TypeHiveObject, TypeHTTPFile, TypeHubspotObject, TypeImpalaObject, TypeInformixTable, TypeJiraObject, TypeMagentoObject, TypeMariaDBTable, TypeMarketoObject, TypeMicrosoftAccessTable, TypeMongoDbCollection, TypeMongoDbV2Collection, TypeMySQLTable, TypeNetezzaTable, TypeODataResource, TypeOdbcTable, TypeOffice365Table, TypeOracleServiceCloudObject, TypeOracleTable, TypeParquet, TypePaypalObject, TypePhoenixObject, TypePostgreSQLTable, TypePrestoObject, TypeQuickBooksObject, TypeRelationalTable, TypeResponsysObject, TypeRestResource, TypeSalesforceMarketingCloudObject, TypeSalesforceObject, TypeSalesforceServiceCloudObject, TypeSapCloudForCustomerResource, TypeSapEccResource, TypeSapHanaTable, TypeSapOpenHubTable, TypeSapTableResource, TypeServiceNowObject, TypeShopifyObject, TypeSparkObject, TypeSQLServerTable, TypeSquareObject, TypeTeradataTable, TypeVerticaTable, TypeWebTable, TypeXeroObject, TypeZohoObject} + return []TypeBasicDataset{TypeAmazonMWSObject, TypeAmazonS3Object, TypeAzureBlob, TypeAzureBlobFSFile, TypeAzureDataExplorerTable, TypeAzureDataLakeStoreFile, TypeAzureMySQLTable, TypeAzurePostgreSQLTable, TypeAzureSearchIndex, TypeAzureSQLDWTable, TypeAzureSQLMITable, TypeAzureSQLTable, TypeAzureTable, TypeBinary, TypeCassandraTable, TypeCommonDataServiceForAppsEntity, TypeConcurObject, TypeCosmosDbMongoDbAPICollection, TypeCouchbaseTable, TypeCustomDataset, TypeDataset, TypeDelimitedText, TypeDocumentDbCollection, TypeDrillTable, TypeDynamicsAXResource, TypeDynamicsCrmEntity, TypeDynamicsEntity, TypeEloquaObject, TypeFileShare, TypeGoogleAdWordsObject, TypeGoogleBigQueryObject, TypeGreenplumTable, TypeHBaseObject, TypeHiveObject, TypeHTTPFile, TypeHubspotObject, TypeImpalaObject, TypeInformixTable, TypeJiraObject, TypeMagentoObject, TypeMariaDBTable, TypeMarketoObject, TypeMicrosoftAccessTable, TypeMongoDbCollection, TypeMongoDbV2Collection, TypeMySQLTable, TypeNetezzaTable, TypeODataResource, TypeOdbcTable, TypeOffice365Table, TypeOracleServiceCloudObject, TypeOracleTable, TypeParquet, TypePaypalObject, TypePhoenixObject, TypePostgreSQLTable, TypePrestoObject, TypeQuickBooksObject, TypeRelationalTable, TypeResponsysObject, TypeRestResource, TypeSalesforceMarketingCloudObject, TypeSalesforceObject, TypeSalesforceServiceCloudObject, TypeSapBwCube, TypeSapCloudForCustomerResource, TypeSapEccResource, TypeSapHanaTable, TypeSapOpenHubTable, TypeSapTableResource, TypeServiceNowObject, TypeShopifyObject, TypeSparkObject, TypeSQLServerTable, TypeSquareObject, TypeSybaseTable, TypeTeradataTable, TypeVerticaTable, TypeWebTable, TypeXeroObject, TypeZohoObject} } // TypeBasicDatasetCompression enumerates the values for type basic dataset compression. @@ -3811,7 +3817,7 @@ type AmazonMWSObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -4072,6 +4078,16 @@ func (amod AmazonMWSObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapC return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for AmazonMWSObjectDataset. +func (amod AmazonMWSObjectDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for AmazonMWSObjectDataset. +func (amod AmazonMWSObjectDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AmazonMWSObjectDataset. func (amod AmazonMWSObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -4372,7 +4388,7 @@ type AmazonMWSSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -4716,6 +4732,11 @@ func (ams AmazonMWSSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for AmazonMWSSource. +func (ams AmazonMWSSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for AmazonMWSSource. func (ams AmazonMWSSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -5568,7 +5589,7 @@ type AmazonRedshiftSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -5915,6 +5936,11 @@ func (ars AmazonRedshiftSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for AmazonRedshiftSource. func (ars AmazonRedshiftSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -6111,7 +6137,7 @@ type AmazonS3Dataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -6372,6 +6398,16 @@ func (asd AmazonS3Dataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForC return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for AmazonS3Dataset. +func (asd AmazonS3Dataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for AmazonS3Dataset. +func (asd AmazonS3Dataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AmazonS3Dataset. func (asd AmazonS3Dataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -8825,7 +8861,7 @@ type AzureBlobDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -9086,6 +9122,16 @@ func (abd AzureBlobDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudFor return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for AzureBlobDataset. +func (abd AzureBlobDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for AzureBlobDataset. +func (abd AzureBlobDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AzureBlobDataset. func (abd AzureBlobDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -9488,7 +9534,7 @@ type AzureBlobFSDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -9749,6 +9795,16 @@ func (abfd AzureBlobFSDataset) AsSapCloudForCustomerResourceDataset() (*SapCloud return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for AzureBlobFSDataset. +func (abfd AzureBlobFSDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for AzureBlobFSDataset. +func (abfd AzureBlobFSDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AzureBlobFSDataset. func (abfd AzureBlobFSDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -11333,7 +11389,7 @@ type AzureBlobFSSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -11683,6 +11739,11 @@ func (abfs AzureBlobFSSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for AzureBlobFSSource. +func (abfs AzureBlobFSSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for AzureBlobFSSource. func (abfs AzureBlobFSSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -15137,7 +15198,7 @@ type AzureDataExplorerSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -15487,6 +15548,11 @@ func (ades AzureDataExplorerSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for AzureDataExplorerSource. func (ades AzureDataExplorerSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -15692,7 +15758,7 @@ type AzureDataExplorerTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -15953,6 +16019,16 @@ func (adetd AzureDataExplorerTableDataset) AsSapCloudForCustomerResourceDataset( return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for AzureDataExplorerTableDataset. +func (adetd AzureDataExplorerTableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for AzureDataExplorerTableDataset. +func (adetd AzureDataExplorerTableDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AzureDataExplorerTableDataset. func (adetd AzureDataExplorerTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -16954,7 +17030,7 @@ type AzureDataLakeStoreDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -17215,6 +17291,16 @@ func (adlsd AzureDataLakeStoreDataset) AsSapCloudForCustomerResourceDataset() (* return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. func (adlsd AzureDataLakeStoreDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -18817,7 +18903,7 @@ type AzureDataLakeStoreSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -19161,6 +19247,11 @@ func (adlss AzureDataLakeStoreSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for AzureDataLakeStoreSource. +func (adlss AzureDataLakeStoreSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for AzureDataLakeStoreSource. func (adlss AzureDataLakeStoreSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -23059,7 +23150,7 @@ type AzureMySQLSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -23403,6 +23494,11 @@ func (amss AzureMySQLSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for AzureMySQLSource. func (amss AzureMySQLSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -23590,7 +23686,7 @@ type AzureMySQLTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -23851,6 +23947,16 @@ func (amstd AzureMySQLTableDataset) AsSapCloudForCustomerResourceDataset() (*Sap return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. func (amstd AzureMySQLTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -25050,7 +25156,7 @@ type AzurePostgreSQLSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -25394,6 +25500,11 @@ func (apss AzurePostgreSQLSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for AzurePostgreSQLSource. func (apss AzurePostgreSQLSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -25581,7 +25692,7 @@ type AzurePostgreSQLTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -25842,6 +25953,16 @@ func (apstd AzurePostgreSQLTableDataset) AsSapCloudForCustomerResourceDataset() return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. func (apstd AzurePostgreSQLTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -26442,7 +26563,7 @@ type AzureSearchIndexDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -26703,6 +26824,16 @@ func (asid AzureSearchIndexDataset) AsSapCloudForCustomerResourceDataset() (*Sap return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. func (asid AzureSearchIndexDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -29293,7 +29424,7 @@ type AzureSQLDWTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -29554,6 +29685,16 @@ func (asdtd AzureSQLDWTableDataset) AsSapCloudForCustomerResourceDataset() (*Sap return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset. func (asdtd AzureSQLDWTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -30543,7 +30684,7 @@ type AzureSQLMITableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -30804,6 +30945,16 @@ func (asmtd AzureSQLMITableDataset) AsSapCloudForCustomerResourceDataset() (*Sap return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. func (asmtd AzureSQLMITableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -31472,7 +31623,7 @@ type AzureSQLSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -31825,6 +31976,11 @@ func (ass AzureSQLSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for AzureSQLSource. func (ass AzureSQLSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -32039,7 +32195,7 @@ type AzureSQLTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -32300,6 +32456,16 @@ func (astd AzureSQLTableDataset) AsSapCloudForCustomerResourceDataset() (*SapClo return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. func (astd AzureSQLTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -33219,7 +33385,7 @@ type AzureTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -33480,6 +33646,16 @@ func (atd AzureTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudFo return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AzureTableDataset. func (atd AzureTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -34126,7 +34302,7 @@ type AzureTableSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -34473,6 +34649,11 @@ func (ats AzureTableSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for AzureTableSource. func (ats AzureTableSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -35256,7 +35437,7 @@ type BinaryDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -35517,6 +35698,16 @@ func (bd BinaryDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCust return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for BinaryDataset. func (bd BinaryDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -36153,7 +36344,7 @@ type BinarySource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -36497,6 +36688,11 @@ func (bs BinarySource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for BinarySource. func (bs BinarySource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -37199,7 +37395,7 @@ type BlobSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -37549,6 +37745,11 @@ func (bs BlobSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for BlobSource. func (bs BlobSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -38598,7 +38799,7 @@ type CassandraSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -38945,6 +39146,11 @@ func (cs CassandraSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for CassandraSource. func (cs CassandraSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -39141,7 +39347,7 @@ type CassandraTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -39402,6 +39608,16 @@ func (ctd CassandraTableDataset) AsSapCloudForCustomerResourceDataset() (*SapClo return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for CassandraTableDataset. func (ctd CassandraTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -39769,7 +39985,7 @@ type CommonDataServiceForAppsEntityDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -40030,6 +40246,16 @@ func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSapCloudForCustomerResour return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -41352,7 +41578,7 @@ type CommonDataServiceForAppsSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -41696,6 +41922,11 @@ func (cdsfas CommonDataServiceForAppsSource) AsODataSource() (*ODataSource, bool return nil, false } +// AsSapBwSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. func (cdsfas CommonDataServiceForAppsSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -42565,7 +42796,7 @@ type ConcurObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -42826,6 +43057,16 @@ func (cod ConcurObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloud return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for ConcurObjectDataset. func (cod ConcurObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -43126,7 +43367,7 @@ type ConcurSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -43470,6 +43711,11 @@ func (cs ConcurSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for ConcurSource. func (cs ConcurSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -45059,6 +45305,7 @@ type BasicCopySource interface { AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) AsSalesforceSource() (*SalesforceSource, bool) AsODataSource() (*ODataSource, bool) + AsSapBwSource() (*SapBwSource, bool) AsSybaseSource() (*SybaseSource, bool) AsPostgreSQLSource() (*PostgreSQLSource, bool) AsMySQLSource() (*MySQLSource, bool) @@ -45089,7 +45336,7 @@ type CopySource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -45353,6 +45600,10 @@ func unmarshalBasicCopySource(body []byte) (BasicCopySource, error) { var ods ODataSource err := json.Unmarshal(body, &ods) return ods, err + case string(TypeSapBwSource): + var sbs SapBwSource + err := json.Unmarshal(body, &sbs) + return sbs, err case string(TypeSybaseSource): var ss SybaseSource err := json.Unmarshal(body, &ss) @@ -45783,6 +46034,11 @@ func (cs CopySource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for CopySource. func (cs CopySource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -46558,7 +46814,7 @@ type CosmosDbMongoDbAPICollectionDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -46819,6 +47075,16 @@ func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSapCloudForCustomerResource return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -48020,7 +48286,7 @@ type CosmosDbMongoDbAPISource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -48370,6 +48636,11 @@ func (cdmdas CosmosDbMongoDbAPISource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. func (cdmdas CosmosDbMongoDbAPISource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -49164,7 +49435,7 @@ type CouchbaseSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -49508,6 +49779,11 @@ func (cs CouchbaseSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for CouchbaseSource. func (cs CouchbaseSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -49695,7 +49971,7 @@ type CouchbaseTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -49956,6 +50232,16 @@ func (ctd CouchbaseTableDataset) AsSapCloudForCustomerResourceDataset() (*SapClo return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. func (ctd CouchbaseTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -50671,7 +50957,7 @@ type CustomDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -50932,6 +51218,16 @@ func (cd CustomDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCust return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for CustomDataset. func (cd CustomDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -53304,6 +53600,8 @@ type BasicDataset interface { AsSapHanaTableDataset() (*SapHanaTableDataset, bool) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) + AsSapBwCubeDataset() (*SapBwCubeDataset, bool) + AsSybaseTableDataset() (*SybaseTableDataset, bool) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) @@ -53360,7 +53658,7 @@ type Dataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -53548,6 +53846,14 @@ func unmarshalBasicDataset(body []byte) (BasicDataset, error) { var scfcrd SapCloudForCustomerResourceDataset err := json.Unmarshal(body, &scfcrd) return scfcrd, err + case string(TypeSapBwCube): + var sbcd SapBwCubeDataset + err := json.Unmarshal(body, &sbcd) + return sbcd, err + case string(TypeSybaseTable): + var std SybaseTableDataset + err := json.Unmarshal(body, &std) + return std, err case string(TypeSalesforceServiceCloudObject): var sscod SalesforceServiceCloudObjectDataset err := json.Unmarshal(body, &sscod) @@ -53963,6 +54269,16 @@ func (d Dataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerRes return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for Dataset. func (d Dataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -55979,7 +56295,7 @@ type Db2Source struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -56323,6 +56639,11 @@ func (d2s Db2Source) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for Db2Source. func (d2s Db2Source) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -56864,7 +57185,7 @@ type DelimitedTextDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -57125,6 +57446,16 @@ func (dtd DelimitedTextDataset) AsSapCloudForCustomerResourceDataset() (*SapClou return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for DelimitedTextDataset. func (dtd DelimitedTextDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -57830,7 +58161,7 @@ type DelimitedTextSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -58177,6 +58508,11 @@ func (dts DelimitedTextSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for DelimitedTextSource. func (dts DelimitedTextSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -58567,7 +58903,7 @@ type DocumentDbCollectionDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -58828,6 +59164,16 @@ func (ddcd DocumentDbCollectionDataset) AsSapCloudForCustomerResourceDataset() ( return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. func (ddcd DocumentDbCollectionDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -59446,7 +59792,7 @@ type DocumentDbCollectionSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -59793,6 +60139,11 @@ func (ddcs DocumentDbCollectionSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for DocumentDbCollectionSource. func (ddcs DocumentDbCollectionSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -60588,7 +60939,7 @@ type DrillSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -60932,6 +61283,11 @@ func (ds DrillSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for DrillSource. func (ds DrillSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -61119,7 +61475,7 @@ type DrillTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -61380,6 +61736,16 @@ func (dtd DrillTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudFo return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for DrillTableDataset. func (dtd DrillTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -62359,7 +62725,7 @@ type DynamicsAXResourceDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -62620,6 +62986,16 @@ func (dard DynamicsAXResourceDataset) AsSapCloudForCustomerResourceDataset() (*S return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. func (dard DynamicsAXResourceDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -62926,7 +63302,7 @@ type DynamicsAXSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -63270,6 +63646,11 @@ func (das DynamicsAXSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for DynamicsAXSource. func (das DynamicsAXSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -63457,7 +63838,7 @@ type DynamicsCrmEntityDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -63718,6 +64099,16 @@ func (dced DynamicsCrmEntityDataset) AsSapCloudForCustomerResourceDataset() (*Sa return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. func (dced DynamicsCrmEntityDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -65038,7 +65429,7 @@ type DynamicsCrmSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -65382,6 +65773,11 @@ func (dcs DynamicsCrmSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for DynamicsCrmSource. func (dcs DynamicsCrmSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -65569,7 +65965,7 @@ type DynamicsEntityDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -65830,6 +66226,16 @@ func (ded DynamicsEntityDataset) AsSapCloudForCustomerResourceDataset() (*SapClo return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. func (ded DynamicsEntityDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -67150,7 +67556,7 @@ type DynamicsSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -67494,6 +67900,11 @@ func (ds DynamicsSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for DynamicsSource. func (ds DynamicsSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -68363,7 +68774,7 @@ type EloquaObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -68624,6 +69035,16 @@ func (eod EloquaObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloud return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for EloquaObjectDataset. func (eod EloquaObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -68924,7 +69345,7 @@ type EloquaSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -69268,6 +69689,11 @@ func (es EloquaSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for EloquaSource. func (es EloquaSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -72342,7 +72768,7 @@ type FileShareDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -72603,6 +73029,16 @@ func (fsd FileShareDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudFor return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for FileShareDataset. func (fsd FileShareDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -73293,7 +73729,7 @@ type FileSystemSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -73637,6 +74073,11 @@ func (fss FileSystemSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for FileSystemSource. func (fss FileSystemSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -76633,7 +77074,7 @@ type GoogleAdWordsObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -76894,6 +77335,16 @@ func (gawod GoogleAdWordsObjectDataset) AsSapCloudForCustomerResourceDataset() ( return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. func (gawod GoogleAdWordsObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -77194,7 +77645,7 @@ type GoogleAdWordsSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -77538,6 +77989,11 @@ func (gaws GoogleAdWordsSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for GoogleAdWordsSource. func (gaws GoogleAdWordsSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -78470,7 +78926,7 @@ type GoogleBigQueryObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -78731,6 +79187,16 @@ func (gbqod GoogleBigQueryObjectDataset) AsSapCloudForCustomerResourceDataset() return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. func (gbqod GoogleBigQueryObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -79031,7 +79497,7 @@ type GoogleBigQuerySource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -79375,6 +79841,11 @@ func (gbqs GoogleBigQuerySource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for GoogleBigQuerySource. func (gbqs GoogleBigQuerySource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -80161,7 +80632,7 @@ type GreenplumSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -80505,6 +80976,11 @@ func (gs GreenplumSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for GreenplumSource. func (gs GreenplumSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -80692,7 +81168,7 @@ type GreenplumTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -80953,6 +81429,16 @@ func (gtd GreenplumTableDataset) AsSapCloudForCustomerResourceDataset() (*SapClo return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for GreenplumTableDataset. func (gtd GreenplumTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -81987,7 +82473,7 @@ type HBaseObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -82248,6 +82734,16 @@ func (hbod HBaseObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloud return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for HBaseObjectDataset. func (hbod HBaseObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -82548,7 +83044,7 @@ type HBaseSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -82892,6 +83388,11 @@ func (hbs HBaseSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for HBaseSource. func (hbs HBaseSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -83985,7 +84486,7 @@ type HdfsSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -84332,6 +84833,11 @@ func (hs HdfsSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for HdfsSource. func (hs HdfsSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -88949,7 +89455,7 @@ type HiveObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -89210,6 +89716,16 @@ func (hod HiveObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudFo return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for HiveObjectDataset. func (hod HiveObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -89510,7 +90026,7 @@ type HiveSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -89854,6 +90370,11 @@ func (hs HiveSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for HiveSource. func (hs HiveSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -90041,7 +90562,7 @@ type HTTPDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -90302,6 +90823,16 @@ func (hd HTTPDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustom return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for HTTPDataset. func (hd HTTPDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -91604,7 +92135,7 @@ type HTTPSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -91948,6 +92479,11 @@ func (hs HTTPSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for HTTPSource. func (hs HTTPSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -92826,7 +93362,7 @@ type HubspotObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -93087,6 +93623,16 @@ func (hod HubspotObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapClou return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for HubspotObjectDataset. func (hod HubspotObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -93387,7 +93933,7 @@ type HubspotSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -93731,6 +94277,11 @@ func (hs HubspotSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for HubspotSource. func (hs HubspotSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -95018,7 +95569,7 @@ type ImpalaObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -95279,6 +95830,16 @@ func (iod ImpalaObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloud return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. func (iod ImpalaObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -95579,7 +96140,7 @@ type ImpalaSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -95923,6 +96484,11 @@ func (is ImpalaSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for ImpalaSource. func (is ImpalaSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -97068,7 +97634,7 @@ type InformixSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -97412,6 +97978,11 @@ func (is InformixSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for InformixSource. func (is InformixSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -97599,7 +98170,7 @@ type InformixTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -97860,6 +98431,16 @@ func (itd InformixTableDataset) AsSapCloudForCustomerResourceDataset() (*SapClou return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for InformixTableDataset. func (itd InformixTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -100211,7 +100792,7 @@ type JiraObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -100472,6 +101053,16 @@ func (jod JiraObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudFo return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for JiraObjectDataset. func (jod JiraObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -100772,7 +101363,7 @@ type JiraSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -101116,6 +101707,11 @@ func (js JiraSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for JiraSource. func (js JiraSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -104120,7 +104716,7 @@ type MagentoObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -104381,6 +104977,16 @@ func (mod MagentoObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapClou return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for MagentoObjectDataset. func (mod MagentoObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -104681,7 +105287,7 @@ type MagentoSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -105025,6 +105631,11 @@ func (ms MagentoSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for MagentoSource. func (ms MagentoSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -106089,7 +106700,7 @@ type MariaDBSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -106433,6 +107044,11 @@ func (mds MariaDBSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for MariaDBSource. func (mds MariaDBSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -106620,7 +107236,7 @@ type MariaDBTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -106881,6 +107497,16 @@ func (mdtd MariaDBTableDataset) AsSapCloudForCustomerResourceDataset() (*SapClou return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for MariaDBTableDataset. func (mdtd MariaDBTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -107871,7 +108497,7 @@ type MarketoObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -108132,6 +108758,16 @@ func (mod MarketoObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapClou return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for MarketoObjectDataset. func (mod MarketoObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -108432,7 +109068,7 @@ type MarketoSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -108776,6 +109412,11 @@ func (ms MarketoSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for MarketoSource. func (ms MarketoSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -109921,7 +110562,7 @@ type MicrosoftAccessSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -110265,6 +110906,11 @@ func (mas MicrosoftAccessSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for MicrosoftAccessSource. func (mas MicrosoftAccessSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -110452,7 +111098,7 @@ type MicrosoftAccessTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -110713,6 +111359,16 @@ func (matd MicrosoftAccessTableDataset) AsSapCloudForCustomerResourceDataset() ( return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. func (matd MicrosoftAccessTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -111027,7 +111683,7 @@ type MongoDbCollectionDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -111288,6 +111944,16 @@ func (mdcd MongoDbCollectionDataset) AsSapCloudForCustomerResourceDataset() (*Sa return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. func (mdcd MongoDbCollectionDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -112407,7 +113073,7 @@ type MongoDbSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -112751,6 +113417,11 @@ func (mds MongoDbSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for MongoDbSource. func (mds MongoDbSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -112938,7 +113609,7 @@ type MongoDbV2CollectionDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -113199,6 +113870,16 @@ func (mdvcd MongoDbV2CollectionDataset) AsSapCloudForCustomerResourceDataset() ( return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. func (mdvcd MongoDbV2CollectionDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -114104,7 +114785,7 @@ type MongoDbV2Source struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -114454,6 +115135,11 @@ func (mdvs MongoDbV2Source) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for MongoDbV2Source. func (mdvs MongoDbV2Source) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -115497,7 +116183,7 @@ type MySQLSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -115841,6 +116527,11 @@ func (mss MySQLSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for MySQLSource. func (mss MySQLSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -116028,7 +116719,7 @@ type MySQLTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -116289,6 +116980,16 @@ func (mstd MySQLTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudF return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for MySQLTableDataset. func (mstd MySQLTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -117206,7 +117907,7 @@ type NetezzaSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -117556,6 +118257,11 @@ func (ns NetezzaSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for NetezzaSource. func (ns NetezzaSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -117761,7 +118467,7 @@ type NetezzaTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -118022,6 +118728,16 @@ func (ntd NetezzaTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloud return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for NetezzaTableDataset. func (ntd NetezzaTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -119064,7 +119780,7 @@ type ODataResourceDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -119325,6 +120041,16 @@ func (odrd ODataResourceDataset) AsSapCloudForCustomerResourceDataset() (*SapClo return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for ODataResourceDataset. func (odrd ODataResourceDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -119631,7 +120357,7 @@ type ODataSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -119975,6 +120701,11 @@ func (ods ODataSource) AsODataSource() (*ODataSource, bool) { return &ods, true } +// AsSapBwSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for ODataSource. func (ods ODataSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -121120,7 +121851,7 @@ type OdbcSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -121464,6 +122195,11 @@ func (osVar OdbcSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for OdbcSource. func (osVar OdbcSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -121651,7 +122387,7 @@ type OdbcTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -121912,6 +122648,16 @@ func (otd OdbcTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudFor return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for OdbcTableDataset. func (otd OdbcTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -122226,7 +122972,7 @@ type Office365Dataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -122487,6 +123233,16 @@ func (o3d Office365Dataset) AsSapCloudForCustomerResourceDataset() (*SapCloudFor return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for Office365Dataset. func (o3d Office365Dataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -123453,7 +124209,7 @@ type Office365Source struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -123794,6 +124550,11 @@ func (o3s Office365Source) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for Office365Source. func (o3s Office365Source) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -125568,7 +126329,7 @@ type OracleServiceCloudObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -125829,6 +126590,16 @@ func (oscod OracleServiceCloudObjectDataset) AsSapCloudForCustomerResourceDatase return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. func (oscod OracleServiceCloudObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -126129,7 +126900,7 @@ type OracleServiceCloudSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -126473,6 +127244,11 @@ func (oscs OracleServiceCloudSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for OracleServiceCloudSource. func (oscs OracleServiceCloudSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -126954,7 +127730,7 @@ type OracleSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -127307,6 +128083,11 @@ func (osVar OracleSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for OracleSource. func (osVar OracleSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -127521,7 +128302,7 @@ type OracleTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -127782,6 +128563,16 @@ func (otd OracleTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudF return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for OracleTableDataset. func (otd OracleTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -128228,7 +129019,7 @@ type ParquetDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -128489,6 +129280,16 @@ func (pd ParquetDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCus return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for ParquetDataset. func (pd ParquetDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -129212,7 +130013,7 @@ type ParquetSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -129556,6 +130357,11 @@ func (ps ParquetSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for ParquetSource. func (ps ParquetSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -130425,7 +131231,7 @@ type PaypalObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -130686,6 +131492,16 @@ func (pod PaypalObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloud return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for PaypalObjectDataset. func (pod PaypalObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -130986,7 +131802,7 @@ type PaypalSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -131330,6 +132146,11 @@ func (ps PaypalSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for PaypalSource. func (ps PaypalSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -132264,7 +133085,7 @@ type PhoenixObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -132525,6 +133346,16 @@ func (pod PhoenixObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapClou return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. func (pod PhoenixObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -132825,7 +133656,7 @@ type PhoenixSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -133169,6 +134000,11 @@ func (ps PhoenixSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for PhoenixSource. func (ps PhoenixSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -134664,7 +135500,7 @@ type PostgreSQLSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -135008,6 +135844,11 @@ func (pss PostgreSQLSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for PostgreSQLSource. func (pss PostgreSQLSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -135195,7 +136036,7 @@ type PostgreSQLTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -135456,6 +136297,16 @@ func (pstd PostgreSQLTableDataset) AsSapCloudForCustomerResourceDataset() (*SapC return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset. func (pstd PostgreSQLTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -136539,7 +137390,7 @@ type PrestoObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -136800,6 +137651,16 @@ func (pod PrestoObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloud return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for PrestoObjectDataset. func (pod PrestoObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -137100,7 +137961,7 @@ type PrestoSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -137444,6 +138305,11 @@ func (ps PrestoSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for PrestoSource. func (ps PrestoSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -138322,7 +139188,7 @@ type QuickBooksObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -138583,6 +139449,16 @@ func (qbod QuickBooksObjectDataset) AsSapCloudForCustomerResourceDataset() (*Sap return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. func (qbod QuickBooksObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -138883,7 +139759,7 @@ type QuickBooksSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -139227,6 +140103,11 @@ func (qbs QuickBooksSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for QuickBooksSource. func (qbs QuickBooksSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -139668,7 +140549,7 @@ type RelationalSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -140012,6 +140893,11 @@ func (rs RelationalSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for RelationalSource. func (rs RelationalSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -140199,7 +141085,7 @@ type RelationalTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -140460,6 +141346,16 @@ func (rtd RelationalTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCl return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for RelationalTableDataset. func (rtd RelationalTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -141891,7 +142787,7 @@ type ResponsysObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -142152,6 +143048,16 @@ func (rod ResponsysObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCl return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. func (rod ResponsysObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -142452,7 +143358,7 @@ type ResponsysSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -142796,6 +143702,11 @@ func (rs ResponsysSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for ResponsysSource. func (rs ResponsysSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -142983,7 +143894,7 @@ type RestResourceDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -143244,6 +144155,16 @@ func (rrd RestResourceDataset) AsSapCloudForCustomerResourceDataset() (*SapCloud return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for RestResourceDataset. func (rrd RestResourceDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -144274,7 +145195,7 @@ type RestSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -144621,6 +145542,11 @@ func (rs RestSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for RestSource. func (rs RestSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -146188,7 +147114,7 @@ type SalesforceMarketingCloudObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -146449,6 +147375,16 @@ func (smcod SalesforceMarketingCloudObjectDataset) AsSapCloudForCustomerResource return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. func (smcod SalesforceMarketingCloudObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -146749,7 +147685,7 @@ type SalesforceMarketingCloudSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -147093,6 +148029,11 @@ func (smcs SalesforceMarketingCloudSource) AsODataSource() (*ODataSource, bool) return nil, false } +// AsSapBwSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. func (smcs SalesforceMarketingCloudSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -147280,7 +148221,7 @@ type SalesforceObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -147541,6 +148482,16 @@ func (sod SalesforceObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapC return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. func (sod SalesforceObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -148525,7 +149476,7 @@ type SalesforceServiceCloudObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -148786,6 +149737,16 @@ func (sscod SalesforceServiceCloudObjectDataset) AsSapCloudForCustomerResourceDa return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. func (sscod SalesforceServiceCloudObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return &sscod, true @@ -149418,7 +150379,7 @@ type SalesforceServiceCloudSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -149765,6 +150726,11 @@ func (sscs SalesforceServiceCloudSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for SalesforceServiceCloudSource. func (sscs SalesforceServiceCloudSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -150279,7 +151245,7 @@ type SalesforceSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -150626,6 +151592,11 @@ func (ss SalesforceSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for SalesforceSource. func (ss SalesforceSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -150802,6 +151773,571 @@ func (ss *SalesforceSource) UnmarshalJSON(body []byte) error { return nil } +// SapBwCubeDataset the SAP BW cube dataset. +type SapBwCubeDataset struct { + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Description - Dataset description. + Description *string `json:"description,omitempty"` + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) MarshalJSON() ([]byte, error) { + sbcd.Type = TypeSapBwCube + objectMap := make(map[string]interface{}) + if sbcd.Description != nil { + objectMap["description"] = sbcd.Description + } + if sbcd.Structure != nil { + objectMap["structure"] = sbcd.Structure + } + if sbcd.Schema != nil { + objectMap["schema"] = sbcd.Schema + } + if sbcd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = sbcd.LinkedServiceName + } + if sbcd.Parameters != nil { + objectMap["parameters"] = sbcd.Parameters + } + if sbcd.Annotations != nil { + objectMap["annotations"] = sbcd.Annotations + } + if sbcd.Folder != nil { + objectMap["folder"] = sbcd.Folder + } + if sbcd.Type != "" { + objectMap["type"] = sbcd.Type + } + for k, v := range sbcd.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { + return nil, false +} + +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { + return nil, false +} + +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { + return nil, false +} + +// AsDynamicsAXResourceDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { + return nil, false +} + +// AsResponsysObjectDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { + return nil, false +} + +// AsVerticaTableDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false +} + +// AsNetezzaTableDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false +} + +// AsZohoObjectDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { + return nil, false +} + +// AsXeroObjectDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { + return nil, false +} + +// AsSquareObjectDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { + return nil, false +} + +// AsSparkObjectDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { + return nil, false +} + +// AsShopifyObjectDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { + return nil, false +} + +// AsServiceNowObjectDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { + return nil, false +} + +// AsQuickBooksObjectDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { + return nil, false +} + +// AsPrestoObjectDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { + return nil, false +} + +// AsPhoenixObjectDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { + return nil, false +} + +// AsPaypalObjectDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { + return nil, false +} + +// AsMarketoObjectDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { + return nil, false +} + +// AsMariaDBTableDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { + return nil, false +} + +// AsMagentoObjectDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { + return nil, false +} + +// AsJiraObjectDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { + return nil, false +} + +// AsImpalaObjectDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { + return nil, false +} + +// AsHubspotObjectDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { + return nil, false +} + +// AsHiveObjectDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { + return nil, false +} + +// AsHBaseObjectDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { + return nil, false +} + +// AsGreenplumTableDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { + return nil, false +} + +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { + return nil, false +} + +// AsEloquaObjectDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { + return nil, false +} + +// AsDrillTableDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { + return nil, false +} + +// AsCouchbaseTableDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { + return nil, false +} + +// AsConcurObjectDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { + return nil, false +} + +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { + return nil, false +} + +// AsAmazonMWSObjectDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { + return nil, false +} + +// AsHTTPDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsHTTPDataset() (*HTTPDataset, bool) { + return nil, false +} + +// AsAzureSearchIndexDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { + return nil, false +} + +// AsWebTableDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsWebTableDataset() (*WebTableDataset, bool) { + return nil, false +} + +// AsSapTableResourceDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { + return nil, false +} + +// AsRestResourceDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { + return nil, false +} + +// AsSQLServerTableDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { + return nil, false +} + +// AsSapOpenHubTableDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { + return nil, false +} + +// AsSapHanaTableDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { + return nil, false +} + +// AsSapEccResourceDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { + return nil, false +} + +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { + return nil, false +} + +// AsSapBwCubeDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return &sbcd, true +} + +// AsSybaseTableDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { + return nil, false +} + +// AsSalesforceObjectDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { + return nil, false +} + +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { + return nil, false +} + +// AsPostgreSQLTableDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { + return nil, false +} + +// AsMySQLTableDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { + return nil, false +} + +// AsOdbcTableDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { + return nil, false +} + +// AsInformixTableDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { + return nil, false +} + +// AsRelationalTableDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { + return nil, false +} + +// AsAzureMySQLTableDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { + return nil, false +} + +// AsTeradataTableDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { + return nil, false +} + +// AsOracleTableDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { + return nil, false +} + +// AsODataResourceDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { + return nil, false +} + +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { + return nil, false +} + +// AsMongoDbCollectionDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { + return nil, false +} + +// AsFileShareDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsFileShareDataset() (*FileShareDataset, bool) { + return nil, false +} + +// AsOffice365Dataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsOffice365Dataset() (*Office365Dataset, bool) { + return nil, false +} + +// AsAzureBlobFSDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { + return nil, false +} + +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { + return nil, false +} + +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { + return nil, false +} + +// AsDynamicsEntityDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { + return nil, false +} + +// AsDocumentDbCollectionDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { + return nil, false +} + +// AsCustomDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsCustomDataset() (*CustomDataset, bool) { + return nil, false +} + +// AsCassandraTableDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { + return nil, false +} + +// AsAzureSQLDWTableDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { + return nil, false +} + +// AsAzureSQLMITableDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + +// AsAzureSQLTableDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { + return nil, false +} + +// AsAzureTableDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { + return nil, false +} + +// AsAzureBlobDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { + return nil, false +} + +// AsBinaryDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + +// AsDelimitedTextDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { + return nil, false +} + +// AsParquetDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsBasicDataset() (BasicDataset, bool) { + return &sbcd, true +} + +// UnmarshalJSON is the custom unmarshaler for SapBwCubeDataset struct. +func (sbcd *SapBwCubeDataset) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if sbcd.AdditionalProperties == nil { + sbcd.AdditionalProperties = make(map[string]interface{}) + } + sbcd.AdditionalProperties[k] = additionalProperties + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + sbcd.Description = &description + } + case "structure": + if v != nil { + var structure interface{} + err = json.Unmarshal(*v, &structure) + if err != nil { + return err + } + sbcd.Structure = structure + } + case "schema": + if v != nil { + var schema interface{} + err = json.Unmarshal(*v, &schema) + if err != nil { + return err + } + sbcd.Schema = schema + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + sbcd.LinkedServiceName = &linkedServiceName + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + sbcd.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + sbcd.Annotations = &annotations + } + case "folder": + if v != nil { + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) + if err != nil { + return err + } + sbcd.Folder = &folder + } + case "type": + if v != nil { + var typeVar TypeBasicDataset + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + sbcd.Type = typeVar + } + } + } + + return nil +} + // SapBWLinkedService SAP Business Warehouse Linked Service. type SapBWLinkedService struct { // SapBWLinkedServiceTypeProperties - Properties specific to this linked service type. @@ -151473,6 +153009,534 @@ func (sblstp *SapBWLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error return nil } +// SapBwSource a copy activity source for SapBW server via MDX. +type SapBwSource struct { + // Query - MDX query. Type: string (or Expression with resultType string). + Query interface{} `json:"query,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + Type TypeBasicCopySource `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for SapBwSource. +func (sbs SapBwSource) MarshalJSON() ([]byte, error) { + sbs.Type = TypeSapBwSource + objectMap := make(map[string]interface{}) + if sbs.Query != nil { + objectMap["query"] = sbs.Query + } + if sbs.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = sbs.SourceRetryCount + } + if sbs.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = sbs.SourceRetryWait + } + if sbs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = sbs.MaxConcurrentConnections + } + if sbs.Type != "" { + objectMap["type"] = sbs.Type + } + for k, v := range sbs.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAmazonRedshiftSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { + return nil, false +} + +// AsGoogleAdWordsSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { + return nil, false +} + +// AsOracleServiceCloudSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { + return nil, false +} + +// AsDynamicsAXSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { + return nil, false +} + +// AsResponsysSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsResponsysSource() (*ResponsysSource, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { + return nil, false +} + +// AsVerticaSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false +} + +// AsNetezzaSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false +} + +// AsZohoSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsZohoSource() (*ZohoSource, bool) { + return nil, false +} + +// AsXeroSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsXeroSource() (*XeroSource, bool) { + return nil, false +} + +// AsSquareSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsSquareSource() (*SquareSource, bool) { + return nil, false +} + +// AsSparkSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsSparkSource() (*SparkSource, bool) { + return nil, false +} + +// AsShopifySource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsShopifySource() (*ShopifySource, bool) { + return nil, false +} + +// AsServiceNowSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsServiceNowSource() (*ServiceNowSource, bool) { + return nil, false +} + +// AsQuickBooksSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsQuickBooksSource() (*QuickBooksSource, bool) { + return nil, false +} + +// AsPrestoSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsPrestoSource() (*PrestoSource, bool) { + return nil, false +} + +// AsPhoenixSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsPhoenixSource() (*PhoenixSource, bool) { + return nil, false +} + +// AsPaypalSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsPaypalSource() (*PaypalSource, bool) { + return nil, false +} + +// AsMarketoSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsMarketoSource() (*MarketoSource, bool) { + return nil, false +} + +// AsMariaDBSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsMariaDBSource() (*MariaDBSource, bool) { + return nil, false +} + +// AsMagentoSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsMagentoSource() (*MagentoSource, bool) { + return nil, false +} + +// AsJiraSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsJiraSource() (*JiraSource, bool) { + return nil, false +} + +// AsImpalaSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsImpalaSource() (*ImpalaSource, bool) { + return nil, false +} + +// AsHubspotSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsHubspotSource() (*HubspotSource, bool) { + return nil, false +} + +// AsHiveSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsHiveSource() (*HiveSource, bool) { + return nil, false +} + +// AsHBaseSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsHBaseSource() (*HBaseSource, bool) { + return nil, false +} + +// AsGreenplumSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsGreenplumSource() (*GreenplumSource, bool) { + return nil, false +} + +// AsGoogleBigQuerySource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { + return nil, false +} + +// AsEloquaSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsEloquaSource() (*EloquaSource, bool) { + return nil, false +} + +// AsDrillSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsDrillSource() (*DrillSource, bool) { + return nil, false +} + +// AsCouchbaseSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsCouchbaseSource() (*CouchbaseSource, bool) { + return nil, false +} + +// AsConcurSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsConcurSource() (*ConcurSource, bool) { + return nil, false +} + +// AsAzurePostgreSQLSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { + return nil, false +} + +// AsAmazonMWSSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { + return nil, false +} + +// AsHTTPSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsCassandraSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsCassandraSource() (*CassandraSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsTeradataSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsAzureMySQLSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsSQLDWSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsSQLDWSource() (*SQLDWSource, bool) { + return nil, false +} + +// AsSQLMISource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsSQLMISource() (*SQLMISource, bool) { + return nil, false +} + +// AsAzureSQLSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsAzureSQLSource() (*AzureSQLSource, bool) { + return nil, false +} + +// AsSQLServerSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsSQLServerSource() (*SQLServerSource, bool) { + return nil, false +} + +// AsSQLSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsSQLSource() (*SQLSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSapTableSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsSapTableSource() (*SapTableSource, bool) { + return nil, false +} + +// AsSapOpenHubSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { + return nil, false +} + +// AsSapHanaSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsSapHanaSource() (*SapHanaSource, bool) { + return nil, false +} + +// AsSapEccSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsSapEccSource() (*SapEccSource, bool) { + return nil, false +} + +// AsSapCloudForCustomerSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsSalesforceSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsSalesforceSource() (*SalesforceSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsSapBwSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsSapBwSource() (*SapBwSource, bool) { + return &sbs, true +} + +// AsSybaseSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsSybaseSource() (*SybaseSource, bool) { + return nil, false +} + +// AsPostgreSQLSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false +} + +// AsMySQLSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false +} + +// AsOdbcSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false +} + +// AsDb2Source is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsDb2Source() (*Db2Source, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + +// AsRelationalSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + +// AsDynamicsSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + +// AsAzureTableSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsBinarySource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsDelimitedTextSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false +} + +// AsParquetSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsBasicCopySource() (BasicCopySource, bool) { + return &sbs, true +} + +// UnmarshalJSON is the custom unmarshaler for SapBwSource struct. +func (sbs *SapBwSource) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "query": + if v != nil { + var query interface{} + err = json.Unmarshal(*v, &query) + if err != nil { + return err + } + sbs.Query = query + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if sbs.AdditionalProperties == nil { + sbs.AdditionalProperties = make(map[string]interface{}) + } + sbs.AdditionalProperties[k] = additionalProperties + } + case "sourceRetryCount": + if v != nil { + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) + if err != nil { + return err + } + sbs.SourceRetryCount = sourceRetryCount + } + case "sourceRetryWait": + if v != nil { + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) + if err != nil { + return err + } + sbs.SourceRetryWait = sourceRetryWait + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + sbs.MaxConcurrentConnections = maxConcurrentConnections + } + case "type": + if v != nil { + var typeVar TypeBasicCopySource + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + sbs.Type = typeVar + } + } + } + + return nil +} + // SapCloudForCustomerLinkedService linked service for SAP Cloud for Customer. type SapCloudForCustomerLinkedService struct { // SapCloudForCustomerLinkedServiceTypeProperties - SAP Cloud for Customer linked service properties. @@ -152142,7 +154206,7 @@ type SapCloudForCustomerResourceDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -152403,6 +154467,16 @@ func (scfcrd SapCloudForCustomerResourceDataset) AsSapCloudForCustomerResourceDa return &scfcrd, true } +// AsSapBwCubeDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. func (scfcrd SapCloudForCustomerResourceDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -153006,7 +155080,7 @@ type SapCloudForCustomerSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -153350,6 +155424,11 @@ func (scfcs SapCloudForCustomerSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for SapCloudForCustomerSource. func (scfcs SapCloudForCustomerSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -154186,7 +156265,7 @@ type SapEccResourceDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -154447,6 +156526,16 @@ func (serd SapEccResourceDataset) AsSapCloudForCustomerResourceDataset() (*SapCl return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for SapEccResourceDataset. func (serd SapEccResourceDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -154753,7 +156842,7 @@ type SapEccSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -155097,6 +157186,11 @@ func (ses SapEccSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for SapEccSource. func (ses SapEccSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -155949,7 +158043,7 @@ type SapHanaSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -156296,6 +158390,11 @@ func (shs SapHanaSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for SapHanaSource. +func (shs SapHanaSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for SapHanaSource. func (shs SapHanaSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -156492,7 +158591,7 @@ type SapHanaTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -156753,6 +158852,16 @@ func (shtd SapHanaTableDataset) AsSapCloudForCustomerResourceDataset() (*SapClou return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for SapHanaTableDataset. +func (shtd SapHanaTableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for SapHanaTableDataset. +func (shtd SapHanaTableDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for SapHanaTableDataset. func (shtd SapHanaTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -157742,7 +159851,7 @@ type SapOpenHubSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -158083,6 +160192,11 @@ func (sohs SapOpenHubSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for SapOpenHubSource. +func (sohs SapOpenHubSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for SapOpenHubSource. func (sohs SapOpenHubSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -158261,7 +160375,7 @@ type SapOpenHubTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -158522,6 +160636,16 @@ func (sohtd SapOpenHubTableDataset) AsSapCloudForCustomerResourceDataset() (*Sap return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for SapOpenHubTableDataset. +func (sohtd SapOpenHubTableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for SapOpenHubTableDataset. +func (sohtd SapOpenHubTableDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for SapOpenHubTableDataset. func (sohtd SapOpenHubTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -159633,7 +161757,7 @@ type SapTableResourceDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -159894,6 +162018,16 @@ func (strd SapTableResourceDataset) AsSapCloudForCustomerResourceDataset() (*Sap return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for SapTableResourceDataset. +func (strd SapTableResourceDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for SapTableResourceDataset. +func (strd SapTableResourceDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for SapTableResourceDataset. func (strd SapTableResourceDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -160214,7 +162348,7 @@ type SapTableSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -160579,6 +162713,11 @@ func (sts SapTableSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for SapTableSource. +func (sts SapTableSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for SapTableSource. func (sts SapTableSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -162379,7 +164518,7 @@ type ServiceNowObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -162640,6 +164779,16 @@ func (snod ServiceNowObjectDataset) AsSapCloudForCustomerResourceDataset() (*Sap return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset. func (snod ServiceNowObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -162940,7 +165089,7 @@ type ServiceNowSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -163284,6 +165433,11 @@ func (sns ServiceNowSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for ServiceNowSource. func (sns ServiceNowSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -165410,7 +167564,7 @@ type ShopifyObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -165671,6 +167825,16 @@ func (sod ShopifyObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapClou return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. func (sod ShopifyObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -165971,7 +168135,7 @@ type ShopifySource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -166315,6 +168479,11 @@ func (ss ShopifySource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for ShopifySource. func (ss ShopifySource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -167271,7 +169440,7 @@ type SparkObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -167532,6 +169701,16 @@ func (sod SparkObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudF return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for SparkObjectDataset. func (sod SparkObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -167832,7 +170011,7 @@ type SparkSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -168176,6 +170355,11 @@ func (ss SparkSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for SparkSource. func (ss SparkSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -168683,7 +170867,7 @@ type SQLDWSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -169033,6 +171217,11 @@ func (sds SQLDWSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for SQLDWSource. func (sds SQLDWSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -169588,7 +171777,7 @@ type SQLMISource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -169941,6 +172130,11 @@ func (sms SQLMISource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for SQLMISource. func (sms SQLMISource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -171154,7 +173348,7 @@ type SQLServerSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -171507,6 +173701,11 @@ func (sss SQLServerSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for SQLServerSource. func (sss SQLServerSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -172081,7 +174280,7 @@ type SQLServerTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -172342,6 +174541,16 @@ func (sstd SQLServerTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCl return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for SQLServerTableDataset. func (sstd SQLServerTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -173008,7 +175217,7 @@ type SQLSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -173358,6 +175567,11 @@ func (ss SQLSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for SQLSource. func (ss SQLSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -174256,7 +176470,7 @@ type SquareObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -174517,6 +176731,16 @@ func (sod SquareObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloud return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for SquareObjectDataset. func (sod SquareObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -174817,7 +177041,7 @@ type SquareSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -175161,6 +177385,11 @@ func (ss SquareSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for SquareSource. func (ss SquareSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -176991,7 +179220,7 @@ type SybaseSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -177335,6 +179564,11 @@ func (ss SybaseSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for SybaseSource. func (ss SybaseSource) AsSybaseSource() (*SybaseSource, bool) { return &ss, true @@ -177502,6 +179736,591 @@ func (ss *SybaseSource) UnmarshalJSON(body []byte) error { return nil } +// SybaseTableDataset the Sybase table dataset. +type SybaseTableDataset struct { + // SybaseTableDatasetTypeProperties - Sybase table dataset properties. + *SybaseTableDatasetTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Description - Dataset description. + Description *string `json:"description,omitempty"` + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for SybaseTableDataset. +func (std SybaseTableDataset) MarshalJSON() ([]byte, error) { + std.Type = TypeSybaseTable + objectMap := make(map[string]interface{}) + if std.SybaseTableDatasetTypeProperties != nil { + objectMap["typeProperties"] = std.SybaseTableDatasetTypeProperties + } + if std.Description != nil { + objectMap["description"] = std.Description + } + if std.Structure != nil { + objectMap["structure"] = std.Structure + } + if std.Schema != nil { + objectMap["schema"] = std.Schema + } + if std.LinkedServiceName != nil { + objectMap["linkedServiceName"] = std.LinkedServiceName + } + if std.Parameters != nil { + objectMap["parameters"] = std.Parameters + } + if std.Annotations != nil { + objectMap["annotations"] = std.Annotations + } + if std.Folder != nil { + objectMap["folder"] = std.Folder + } + if std.Type != "" { + objectMap["type"] = std.Type + } + for k, v := range std.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { + return nil, false +} + +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { + return nil, false +} + +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { + return nil, false +} + +// AsDynamicsAXResourceDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { + return nil, false +} + +// AsResponsysObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { + return nil, false +} + +// AsVerticaTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false +} + +// AsNetezzaTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false +} + +// AsZohoObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { + return nil, false +} + +// AsXeroObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { + return nil, false +} + +// AsSquareObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { + return nil, false +} + +// AsSparkObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { + return nil, false +} + +// AsShopifyObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { + return nil, false +} + +// AsServiceNowObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { + return nil, false +} + +// AsQuickBooksObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { + return nil, false +} + +// AsPrestoObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { + return nil, false +} + +// AsPhoenixObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { + return nil, false +} + +// AsPaypalObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { + return nil, false +} + +// AsMarketoObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { + return nil, false +} + +// AsMariaDBTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { + return nil, false +} + +// AsMagentoObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { + return nil, false +} + +// AsJiraObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { + return nil, false +} + +// AsImpalaObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { + return nil, false +} + +// AsHubspotObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { + return nil, false +} + +// AsHiveObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { + return nil, false +} + +// AsHBaseObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { + return nil, false +} + +// AsGreenplumTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { + return nil, false +} + +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { + return nil, false +} + +// AsEloquaObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { + return nil, false +} + +// AsDrillTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { + return nil, false +} + +// AsCouchbaseTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { + return nil, false +} + +// AsConcurObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { + return nil, false +} + +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { + return nil, false +} + +// AsAmazonMWSObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { + return nil, false +} + +// AsHTTPDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { + return nil, false +} + +// AsAzureSearchIndexDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { + return nil, false +} + +// AsWebTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { + return nil, false +} + +// AsSapTableResourceDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { + return nil, false +} + +// AsRestResourceDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { + return nil, false +} + +// AsSQLServerTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { + return nil, false +} + +// AsSapOpenHubTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { + return nil, false +} + +// AsSapHanaTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { + return nil, false +} + +// AsSapEccResourceDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { + return nil, false +} + +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { + return nil, false +} + +// AsSapBwCubeDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return &std, true +} + +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { + return nil, false +} + +// AsSalesforceObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { + return nil, false +} + +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { + return nil, false +} + +// AsPostgreSQLTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { + return nil, false +} + +// AsMySQLTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { + return nil, false +} + +// AsOdbcTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { + return nil, false +} + +// AsInformixTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { + return nil, false +} + +// AsRelationalTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { + return nil, false +} + +// AsAzureMySQLTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { + return nil, false +} + +// AsTeradataTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { + return nil, false +} + +// AsOracleTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { + return nil, false +} + +// AsODataResourceDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { + return nil, false +} + +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { + return nil, false +} + +// AsMongoDbCollectionDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { + return nil, false +} + +// AsFileShareDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { + return nil, false +} + +// AsOffice365Dataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { + return nil, false +} + +// AsAzureBlobFSDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { + return nil, false +} + +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { + return nil, false +} + +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { + return nil, false +} + +// AsDynamicsEntityDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { + return nil, false +} + +// AsDocumentDbCollectionDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { + return nil, false +} + +// AsCustomDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsCustomDataset() (*CustomDataset, bool) { + return nil, false +} + +// AsCassandraTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { + return nil, false +} + +// AsAzureSQLDWTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { + return nil, false +} + +// AsAzureSQLMITableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + +// AsAzureSQLTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { + return nil, false +} + +// AsAzureTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { + return nil, false +} + +// AsAzureBlobDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { + return nil, false +} + +// AsBinaryDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + +// AsDelimitedTextDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { + return nil, false +} + +// AsParquetDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsBasicDataset() (BasicDataset, bool) { + return &std, true +} + +// UnmarshalJSON is the custom unmarshaler for SybaseTableDataset struct. +func (std *SybaseTableDataset) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "typeProperties": + if v != nil { + var sybaseTableDatasetTypeProperties SybaseTableDatasetTypeProperties + err = json.Unmarshal(*v, &sybaseTableDatasetTypeProperties) + if err != nil { + return err + } + std.SybaseTableDatasetTypeProperties = &sybaseTableDatasetTypeProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if std.AdditionalProperties == nil { + std.AdditionalProperties = make(map[string]interface{}) + } + std.AdditionalProperties[k] = additionalProperties + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + std.Description = &description + } + case "structure": + if v != nil { + var structure interface{} + err = json.Unmarshal(*v, &structure) + if err != nil { + return err + } + std.Structure = structure + } + case "schema": + if v != nil { + var schema interface{} + err = json.Unmarshal(*v, &schema) + if err != nil { + return err + } + std.Schema = schema + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + std.LinkedServiceName = &linkedServiceName + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + std.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + std.Annotations = &annotations + } + case "folder": + if v != nil { + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) + if err != nil { + return err + } + std.Folder = &folder + } + case "type": + if v != nil { + var typeVar TypeBasicDataset + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + std.Type = typeVar + } + } + } + + return nil +} + +// SybaseTableDatasetTypeProperties sybase table dataset properties. +type SybaseTableDatasetTypeProperties struct { + // TableName - The Sybase table name. Type: string (or Expression with resultType string). + TableName interface{} `json:"tableName,omitempty"` +} + // TeradataLinkedService linked service for Teradata data source. type TeradataLinkedService struct { // TeradataLinkedServiceTypeProperties - Teradata linked service properties. @@ -178199,7 +181018,7 @@ type TeradataSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -178549,6 +181368,11 @@ func (ts TeradataSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for TeradataSource. func (ts TeradataSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -178754,7 +181578,7 @@ type TeradataTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -179015,6 +181839,16 @@ func (ttd TeradataTableDataset) AsSapCloudForCustomerResourceDataset() (*SapClou return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for TeradataTableDataset. func (ttd TeradataTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -181983,7 +184817,7 @@ type VerticaSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -182327,6 +185161,11 @@ func (vs VerticaSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for VerticaSource. func (vs VerticaSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -182514,7 +185353,7 @@ type VerticaTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -182775,6 +185614,16 @@ func (vtd VerticaTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloud return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for VerticaTableDataset. func (vtd VerticaTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -185031,7 +187880,7 @@ type WebSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -185372,6 +188221,11 @@ func (ws WebSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for WebSource. func (ws WebSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -185550,7 +188404,7 @@ type WebTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -185811,6 +188665,16 @@ func (wtd WebTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForC return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for WebTableDataset. func (wtd WebTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -186809,7 +189673,7 @@ type XeroObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -187070,6 +189934,16 @@ func (xod XeroObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudFo return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for XeroObjectDataset. func (xod XeroObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -187370,7 +190244,7 @@ type XeroSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -187714,6 +190588,11 @@ func (xs XeroSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for XeroSource. func (xs XeroSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false @@ -188572,7 +191451,7 @@ type ZohoObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -188833,6 +191712,16 @@ func (zod ZohoObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudFo return nil, false } +// AsSapBwCubeDataset is the BasicDataset implementation for ZohoObjectDataset. +func (zod ZohoObjectDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for ZohoObjectDataset. +func (zod ZohoObjectDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + // AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for ZohoObjectDataset. func (zod ZohoObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false @@ -189133,7 +192022,7 @@ type ZohoSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -189477,6 +192366,11 @@ func (zs ZohoSource) AsODataSource() (*ODataSource, bool) { return nil, false } +// AsSapBwSource is the BasicCopySource implementation for ZohoSource. +func (zs ZohoSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + // AsSybaseSource is the BasicCopySource implementation for ZohoSource. func (zs ZohoSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false